ava.lang.NumberFormatException: For input string: "1000

Oracle Community | 3004 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    NumberFormatException

    Oracle Community | 1 decade ago | 3004
    ava.lang.NumberFormatException: For input string: "1000

    Root Cause Analysis

    1. ava.lang.NumberFormatException

      For input string: "1000

      at com.solarmetric.kodo.util.ObjectIds$Id.<init>()
    2. com.solarmetric.kodo
      PersistenceManagerImpl.newObjectIdInstance
      1. com.solarmetric.kodo.util.ObjectIds$Id.<init>(ObjectIds.java:453)
      2. com.solarmetric.kodo.impl.jdbc.runtime.JDBCStoreManager.newDataStoreId(JDBCStoreManager.java:609)
      3. com.solarmetric.kodo.runtime.PersistenceManagerImpl.newObjectIdInstance(PersistenceManagerImpl.java:1165)
      3 frames
    3. com.generator.util
      JdoPersistentObjectFactory.getPersistentObject
      1. com.generator.util.JdoPersistentObjectFactory.getPersistentObject(JdoPersistentObjectFactory.java:23)
      1 frame
    4. com.generator.dao
      JdoCompanyDaoImpl$3.doInJdo
      1. com.generator.dao.JdoCompanyDaoImpl$3.doInJdo(JdoCompanyDaoImpl.java:82)
      1 frame
    5. Spring ORM
      JdoTemplate.execute
      1. org.springframework.orm.jdo.JdoTemplate.execute(JdoTemplate.java:137)
      1 frame
    6. com.generator.dao
      JdoCompanyDaoImpl.getCompanyById
      1. com.generator.dao.JdoCompanyDaoImpl.getCompanyById(JdoCompanyDaoImpl.java:80)
      1 frame
    7. com.generator.ejb
      OrganizationBean.getCompany
      1. com.generator.ejb.organization.OrganizationBean.getCompany(OrganizationBean.java:33)
      1 frame
    8. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      4 frames
    9. JBoss Application Server Server
      StatelessSessionContainer$ContainerInterceptor.invoke
      1. org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:629)
      1 frame
    10. JBoss Application Server Connector
      CachedConnectionInterceptor.invoke
      1. org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
      1 frame
    11. JBoss Application Server Server
      StatelessSessionProxy.invoke
      1. org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72)
      2. org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84)
      3. org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:243)
      4. org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:104)
      5. org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:117)
      6. org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191)
      7. org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
      8. org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:322)
      9. org.jboss.ejb.Container.invoke(Container.java:674)
      10. org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:353)
      11. org.jboss.ejb.plugins.local.StatelessSessionProxy.invoke(StatelessSessionProxy.java:83)
      11 frames
    12. Unknown
      $Proxy162.getCompany
      1. $Proxy162.getCompany(Unknown Source)
      1 frame
    13. com.generator.service
      OrganizationService.getCompany
      1. com.generator.service.OrganizationService.getCompany(OrganizationService.java:41)
      1 frame
    14. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      4 frames
    15. flashgateway.adapter.java
      JavaAdapter.invokeFunction
      1. flashgateway.adapter.java.JavaAdapter.invokeFunction(JavaAdapter.java:49)
      1 frame
    16. flashgateway.filter
      SerializationFilter.invoke
      1. flashgateway.filter.AdapterFilter.invoke(AdapterFilter.java:200)
      2. flashgateway.filter.SecurityFilter.invoke(SecurityFilter.java:84)
      3. flashgateway.filter.LicenseFilter.invoke(LicenseFilter.java:58)
      4. flashgateway.filter.ErrorFilter.invoke(ErrorFilter.java:44)
      5. flashgateway.filter.LogFilter.invoke(LogFilter.java:43)
      6. flashgateway.filter.BatchProcessFilter.invoke(BatchProcessFilter.java:63)
      7. flashgateway.filter.DebugFilter.invoke(DebugFilter.java:38)
      8. flashgateway.filter.SerializationFilter.invoke(SerializationFilter.java:59)
      8 frames
    17. flashgateway
      Gateway.invoke
      1. flashgateway.Gateway.invoke(Gateway.java:184)
      1 frame
    18. flashgateway.controller
      GatewayServlet.service
      1. flashgateway.controller.GatewayServlet.service(GatewayServlet.java:56)
      1 frame
    19. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      1 frame
    20. Jetty Server
      ServletHandler.handle
      1. org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:360)
      2. org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:294)
      3. org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:558)
      3 frames
    21. org.mortbay.http
      HttpContext.handle
      1. org.mortbay.http.HttpContext.handle(HttpContext.java:1714)
      1 frame
    22. Jetty Server
      WebApplicationContext.handle
      1. org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:507)
      1 frame
    23. org.mortbay.http
      HttpServer.service
      1. org.mortbay.http.HttpContext.handle(HttpContext.java:1664)
      2. org.mortbay.http.HttpServer.service(HttpServer.java:863)
      2 frames
    24. org.jboss.jetty
      Jetty.service
      1. org.jboss.jetty.Jetty.service(Jetty.java:460)
      1 frame
    25. org.mortbay.http
      SocketListener.handleConnection
      1. org.mortbay.http.HttpConnection.service(HttpConnection.java:775)
      2. org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:939)
      3. org.mortbay.http.HttpConnection.handle(HttpConnection.java:792)
      4. org.mortbay.http.SocketListener.handleConnection(SocketListener.java:201)
      4 frames
    26. Jetty Util
      ThreadPool$PoolThread.run
      1. org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:289)
      2. org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:455)
      2 frames