java.lang.NullPointerException

ICEsoft JIRA Issue Tracker | Carmen Cristurean | 2 years ago
  1. 0

    The following issues were found while testing showcase on Jetty 9.2.9: 1) ace:fileEntry (Jetty specific) Overview/Listener/Validation: unable to upload valid files, no matter their size or extension type; a message is rendered about the files being 'invalid', screen shot attached. 2) Camera (Jetty specific, iOS 7 specific - cannot be reproduced on Android) A server warning is seen each time after taking a picture, when clicking the "Use Photo" link: 2015-03-16 13:14:15.202:WARN:oeju.MultiPartInputStreamParser:qtp1238180295-19: Badly formatted multipart request No errors are seen afterwards when uploading the photo.. 3) Camcorder/Microphone (Jetty specific) A server warning is seen each time after recording a video/audio, when clicking the "Use video/Use" button: Mar 16, 2015 1:06:07 PM com.sun.faces.application.view.ViewScopeManager <init> INFO: CDI @ViewScoped bean functionality unavailable 2015-03-16 13:06:26.865:WARN:oeju.MultiPartInputStreamParser:qtp1238180295-18: Badly formatted multipart request Afterwards, a NullPointerException occurs when uploading the video/audio, although no functional issues are seen on the demo page, and the video/audio file is uploaded on the server. 2015-03-16 12:57:41.659:WARN:oejs.HttpChannel:qtp1238180295-106: /showcase/javax.faces.resource/edde ed94-33a4-4beb-a864-5cd36c0fa20d.jsf;jsessionid=1bdjdyhqrky9ya3icxwefvllg java.lang.NullPointerException at org.icefaces.application.ResourceRegistry.handleSessionAwareResourceRequest(ResourceRegis try.java:209) at org.icefaces.impl.application.SessionAwareResourceHandlerWrapper.handleResourceRequest(Se ssionAwareResourceHandlerWrapper.java:40) at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapp er.java:153) at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapp er.java:153) at org.icefaces.impl.push.DynamicResourceDispatcher.handleResourceRequest(DynamicResourceDis patcher.java:78) at org.icefaces.impl.application.WindowScopeManager.handleSessionAwareResourceRequest(Window ScopeManager.java:82) at org.icefaces.impl.application.SessionAwareResourceHandlerWrapper.handleResourceRequest(Se ssionAwareResourceHandlerWrapper.java:40) at org.icefaces.impl.push.servlet.ICEpushResourceHandler$ICEpushResourceHandlerImpl.handleRe sourceRequest(ICEpushResourceHandler.java:228) at org.icefaces.impl.push.servlet.ICEpushResourceHandler.handleResourceRequest(ICEpushResour ceHandler.java:128) at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapp er.java:153) at org.icefaces.impl.application.ClientDescriptorSetup.handleSessionAwareResourceRequest(Cli entDescriptorSetup.java:44) at org.icefaces.impl.application.SessionAwareResourceHandlerWrapper.handleResourceRequest(Se ssionAwareResourceHandlerWrapper.java:40) at org.icefaces.impl.application.SessionTimeoutMonitor.handleSessionAwareResourceRequest(Ses sionTimeoutMonitor.java:63) at org.icefaces.impl.application.SessionAwareResourceHandlerWrapper.handleResourceRequest(Se ssionAwareResourceHandlerWrapper.java:40) at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapp er.java:153) at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapp er.java:153) at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapp er.java:153) at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapp er.java:153) at org.icefaces.ace.component.qrcode.generator.QRCodeResourceHandler.handleResourceRequest(Q RCodeResourceHandler.java:67) at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapp er.java:153) at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapp er.java:153) at org.icefaces.mobi.component.geotrack.GeoTrackResourceHandler.handleResourceRequest(GeoTra ckResourceHandler.java:131) at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapp er.java:153) at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapp er.java:153) at org.icefaces.impl.application.AuxUploadResourceHandler.handleResourceRequest(AuxUploadRes ourceHandler.java:82) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:643) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection .java:215) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) at org.eclipse.jetty.server.Server.handle(Server.java:497) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257) at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) at java.lang.Thread.run(Unknown Source) 2015-03-16 12:57:41.697:WARN:oejs.HttpChannel:qtp1238180295-106: Could not send response error 500: java.lang.NullPointerException

    ICEsoft JIRA Issue Tracker | 2 years ago | Carmen Cristurean
    java.lang.NullPointerException
  2. 0

    The following issues were found while testing showcase on Jetty 9.2.9: 1) ace:fileEntry (Jetty specific) Overview/Listener/Validation: unable to upload valid files, no matter their size or extension type; a message is rendered about the files being 'invalid', screen shot attached. 2) Camera (Jetty specific, iOS 7 specific - cannot be reproduced on Android) A server warning is seen each time after taking a picture, when clicking the "Use Photo" link: 2015-03-16 13:14:15.202:WARN:oeju.MultiPartInputStreamParser:qtp1238180295-19: Badly formatted multipart request No errors are seen afterwards when uploading the photo.. 3) Camcorder/Microphone (Jetty specific) A server warning is seen each time after recording a video/audio, when clicking the "Use video/Use" button: Mar 16, 2015 1:06:07 PM com.sun.faces.application.view.ViewScopeManager <init> INFO: CDI @ViewScoped bean functionality unavailable 2015-03-16 13:06:26.865:WARN:oeju.MultiPartInputStreamParser:qtp1238180295-18: Badly formatted multipart request Afterwards, a NullPointerException occurs when uploading the video/audio, although no functional issues are seen on the demo page, and the video/audio file is uploaded on the server. 2015-03-16 12:57:41.659:WARN:oejs.HttpChannel:qtp1238180295-106: /showcase/javax.faces.resource/edde ed94-33a4-4beb-a864-5cd36c0fa20d.jsf;jsessionid=1bdjdyhqrky9ya3icxwefvllg java.lang.NullPointerException at org.icefaces.application.ResourceRegistry.handleSessionAwareResourceRequest(ResourceRegis try.java:209) at org.icefaces.impl.application.SessionAwareResourceHandlerWrapper.handleResourceRequest(Se ssionAwareResourceHandlerWrapper.java:40) at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapp er.java:153) at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapp er.java:153) at org.icefaces.impl.push.DynamicResourceDispatcher.handleResourceRequest(DynamicResourceDis patcher.java:78) at org.icefaces.impl.application.WindowScopeManager.handleSessionAwareResourceRequest(Window ScopeManager.java:82) at org.icefaces.impl.application.SessionAwareResourceHandlerWrapper.handleResourceRequest(Se ssionAwareResourceHandlerWrapper.java:40) at org.icefaces.impl.push.servlet.ICEpushResourceHandler$ICEpushResourceHandlerImpl.handleRe sourceRequest(ICEpushResourceHandler.java:228) at org.icefaces.impl.push.servlet.ICEpushResourceHandler.handleResourceRequest(ICEpushResour ceHandler.java:128) at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapp er.java:153) at org.icefaces.impl.application.ClientDescriptorSetup.handleSessionAwareResourceRequest(Cli entDescriptorSetup.java:44) at org.icefaces.impl.application.SessionAwareResourceHandlerWrapper.handleResourceRequest(Se ssionAwareResourceHandlerWrapper.java:40) at org.icefaces.impl.application.SessionTimeoutMonitor.handleSessionAwareResourceRequest(Ses sionTimeoutMonitor.java:63) at org.icefaces.impl.application.SessionAwareResourceHandlerWrapper.handleResourceRequest(Se ssionAwareResourceHandlerWrapper.java:40) at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapp er.java:153) at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapp er.java:153) at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapp er.java:153) at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapp er.java:153) at org.icefaces.ace.component.qrcode.generator.QRCodeResourceHandler.handleResourceRequest(Q RCodeResourceHandler.java:67) at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapp er.java:153) at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapp er.java:153) at org.icefaces.mobi.component.geotrack.GeoTrackResourceHandler.handleResourceRequest(GeoTra ckResourceHandler.java:131) at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapp er.java:153) at javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapp er.java:153) at org.icefaces.impl.application.AuxUploadResourceHandler.handleResourceRequest(AuxUploadRes ourceHandler.java:82) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:643) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection .java:215) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97) at org.eclipse.jetty.server.Server.handle(Server.java:497) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257) at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635) at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555) at java.lang.Thread.run(Unknown Source) 2015-03-16 12:57:41.697:WARN:oejs.HttpChannel:qtp1238180295-106: Could not send response error 500: java.lang.NullPointerException

    ICEsoft JIRA Issue Tracker | 2 years ago | Carmen Cristurean
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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 org.icefaces.application.ResourceRegistry.handleSessionAwareResourceRequest()
    2. org.icefaces.application
      ResourceRegistry.handleSessionAwareResourceRequest
      1. org.icefaces.application.ResourceRegistry.handleSessionAwareResourceRequest(ResourceRegistry.java:209)
      1 frame
    3. org.icefaces.impl
      SessionAwareResourceHandlerWrapper.handleResourceRequest
      1. org.icefaces.impl.application.SessionAwareResourceHandlerWrapper.handleResourceRequest(SessionAwareResourceHandlerWrapper.java:40)
      1 frame
    4. JavaEE 7
      ResourceHandlerWrapper.handleResourceRequest
      1. javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:153)
      2. javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:153)
      2 frames
    5. org.icefaces.impl
      ICEpushResourceHandler.handleResourceRequest
      1. org.icefaces.impl.push.DynamicResourceDispatcher.handleResourceRequest(DynamicResourceDispatcher.java:78)
      2. org.icefaces.impl.application.WindowScopeManager.handleSessionAwareResourceRequest(WindowScopeManager.java:82)
      3. org.icefaces.impl.application.SessionAwareResourceHandlerWrapper.handleResourceRequest(SessionAwareResourceHandlerWrapper.java:40)
      4. org.icefaces.impl.push.servlet.ICEpushResourceHandler$ICEpushResourceHandlerImpl.handleResourceRequest(ICEpushResourceHandler.java:228)
      5. org.icefaces.impl.push.servlet.ICEpushResourceHandler.handleResourceRequest(ICEpushResourceHandler.java:128)
      5 frames
    6. JavaEE 7
      ResourceHandlerWrapper.handleResourceRequest
      1. javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:153)
      1 frame
    7. org.icefaces.impl
      SessionAwareResourceHandlerWrapper.handleResourceRequest
      1. org.icefaces.impl.application.ClientDescriptorSetup.handleSessionAwareResourceRequest(ClientDescriptorSetup.java:44)
      2. org.icefaces.impl.application.SessionAwareResourceHandlerWrapper.handleResourceRequest(SessionAwareResourceHandlerWrapper.java:40)
      3. org.icefaces.impl.application.SessionTimeoutMonitor.handleSessionAwareResourceRequest(SessionTimeoutMonitor.java:63)
      4. org.icefaces.impl.application.SessionAwareResourceHandlerWrapper.handleResourceRequest(SessionAwareResourceHandlerWrapper.java:40)
      4 frames
    8. JavaEE 7
      ResourceHandlerWrapper.handleResourceRequest
      1. javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:153)
      2. javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:153)
      3. javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:153)
      4. javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:153)
      4 frames
    9. org.icefaces.ace
      QRCodeResourceHandler.handleResourceRequest
      1. org.icefaces.ace.component.qrcode.generator.QRCodeResourceHandler.handleResourceRequest(QRCodeResourceHandler.java:67)
      1 frame
    10. JavaEE 7
      ResourceHandlerWrapper.handleResourceRequest
      1. javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:153)
      2. javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:153)
      2 frames
    11. org.icefaces.mobi
      GeoTrackResourceHandler.handleResourceRequest
      1. org.icefaces.mobi.component.geotrack.GeoTrackResourceHandler.handleResourceRequest(GeoTrackResourceHandler.java:131)
      1 frame
    12. JavaEE 7
      ResourceHandlerWrapper.handleResourceRequest
      1. javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:153)
      2. javax.faces.application.ResourceHandlerWrapper.handleResourceRequest(ResourceHandlerWrapper.java:153)
      2 frames
    13. org.icefaces.impl
      AuxUploadResourceHandler.handleResourceRequest
      1. org.icefaces.impl.application.AuxUploadResourceHandler.handleResourceRequest(AuxUploadResourceHandler.java:82)
      1 frame
    14. JavaEE 7
      FacesServlet.service
      1. javax.faces.webapp.FacesServlet.service(FacesServlet.java:643)
      1 frame
    15. Jetty
      QueuedThreadPool$3.run
      1. org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:808)
      2. org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:587)
      3. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
      4. org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
      5. org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
      6. org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
      7. org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
      8. org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
      9. org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
      10. org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
      11. org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:215)
      12. org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:110)
      13. org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
      14. org.eclipse.jetty.server.Server.handle(Server.java:497)
      15. org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:310)
      16. org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
      17. org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:540)
      18. org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
      19. org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
      19 frames
    16. Java RT
      Thread.run
      1. java.lang.Thread.run(Unknown Source)
      1 frame