java.lang.NullPointerException

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

    NullPointerException with 2.5.5

    Oracle Community | 1 decade ago | 3004
    java.lang.NullPointerException
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    1 unregistered visitors
    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NullPointerException

      No message provided

      at java.util.Collections$UnmodifiableCollection.<init>()
    2. Java RT
      Collections.unmodifiableSet
      1. java.util.Collections$UnmodifiableCollection.<init>(Collections.java:976)
      2. java.util.Collections$UnmodifiableSet.<init>(Collections.java:1046)
      3. java.util.Collections.unmodifiableSet(Collections.java:1038)
      3 frames
    3. com.generator.dom
      Company.getContacts
      1. com.generator.dom.Company.getContacts(Company.java:107)
      1 frame
    4. com.generator.dao
      CompanyDaoImpl.getCompanyById
      1. com.generator.dao.CompanyDaoImpl.getCompanyById(CompanyDaoImpl.java:71)
      1 frame
    5. com.generator.ejb
      OrganizationBean.getCompany
      1. com.generator.ejb.organization.OrganizationBean.getCompany(OrganizationBean.java:35)
      1 frame
    6. 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
    7. JBoss Application Server Server
      StatelessSessionContainer$ContainerInterceptor.invoke
      1. org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:629)
      1 frame
    8. JBoss Application Server Connector
      CachedConnectionInterceptor.invoke
      1. org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186)
      1 frame
    9. 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
    10. Unknown
      $Proxy44.getCompany
      1. $Proxy44.getCompany(Unknown Source)
      1 frame
    11. com.generator.service
      OrganizationService.getCompany
      1. com.generator.service.OrganizationService.getCompany(OrganizationService.java:40)
      1 frame
    12. 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
    13. flashgateway.adapter.java
      JavaAdapter.invokeFunction
      1. flashgateway.adapter.java.JavaAdapter.invokeFunction(JavaAdapter.java:49)
      1 frame
    14. 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
    15. flashgateway
      Gateway.invoke
      1. flashgateway.Gateway.invoke(Gateway.java:184)
      1 frame
    16. flashgateway.controller
      GatewayServlet.service
      1. flashgateway.controller.GatewayServlet.service(GatewayServlet.java:56)
      1 frame
    17. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      1 frame
    18. 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
    19. org.mortbay.http
      HttpContext.handle
      1. org.mortbay.http.HttpContext.handle(HttpContext.java:1714)
      1 frame
    20. Jetty Server
      WebApplicationContext.handle
      1. org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:507)
      1 frame
    21. 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
    22. org.jboss.jetty
      Jetty.service
      1. org.jboss.jetty.Jetty.service(Jetty.java:460)
      1 frame
    23. 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
    24. 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