My Oracle Support Banner

"JBO-25009: Cannot create an object of type: oracle.jbo.domain.Number" (Doc ID 1557698.1)

Last updated on MAY 12, 2021

Applies to:

Oracle JDeveloper - Version to [Release Oracle10g]
Information in this document applies to any platform.


A web application is developed using JDeveloper and deployed to Oracle Containers for J2EE (OC4J).
BC4J Libraries are installed through JDeveloper to the OC4J instance.

The web page consists of date fields. The below error is thrown while executing the application:

oracle.jbo.domain.DataCreationException: JBO-25009: Cannot create an object
of type:oracle.jbo.domain.Number with value:2013-01-18
  at oracle.jbo.domain.TypeFactory.get(
  at oracle.jbo.domain.TypeFactory.getInstance(
  at oracle.jbo.domain.TypeFactory.checkEquals(
  at oracle.jbo.server.RowFilterKey.paramQualifies(
  at oracle.jbo.server.EntityCache.findUnpostedRows(
  . . .
## Detail 0 ##
java.lang.NumberFormatException: For input string: "1-"
  at java.lang.NumberFormatException.forInputString(
  at java.lang.Integer.parseInt(
  at java.lang.Integer.parseInt(
  at oracle.sql.NUMBER.toBytes(
  at oracle.sql.NUMBER.stringToBytes(
  at oracle.sql.NUMBER.(
  at oracle.jbo.domain.Number.(
  at sun.reflect.NativeConstructorAccessorImpl.newInstance0(NativeMethod)
  at sun.reflect.NativeConstructorAccessorImpl.newInstance(
  . . .

The application works well when the JDeveloper BC4J library installed on
OC4J is replaced with 9i BC4J library.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.