Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-18782

NPE from pda portal if user agent is null

    XMLWordPrintable

    Details

    • CLE Team Issue:
      Yes

      Description

      seen in our 2.6 production environment:

      bug-id: 646d748d-3277-4bff-ad30-108a910a64ac
      usage-session: e8520f58-5c6f-479b-96e2-9b2c98c55033
      stack-trace-digest: 34C5755AF777DADE362104723406D905BD4484DD
      sakai-version: 2.6
      service-version: [r79040-r8244]
      app-server: vula5a
      user-agent: null
      browser-id: UnknownBrowser
      IP: 93.186.20.194
      request-path: /portal/pda/
      time: 14-Jul-2010 15:51:26

      stack trace:

      org.sakaiproject.portal.api.PortalHandlerException: java.lang.NullPointerException
      at org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:768)
      caused by: java.lang.NullPointerException
      at net.sourceforge.wurfl.wurflapi.Wurfl.getDeviceIDFromUALoose(Wurfl.java:617)
      at net.sourceforge.wurfl.wurflapi.UAManager.getDeviceIDFromUALoose(UAManager.java:77)
      at org.sakaiproject.portal.charon.SkinnableCharonPortal.setupMobileDevice(SkinnableCharonPortal.java:931)
      at org.sakaiproject.portal.charon.handlers.PDAHandler.doGet(PDAHandler.java:181)
      at org.sakaiproject.portal.charon.SkinnableCharonPortal.doGet(SkinnableCharonPortal.java:768)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:627)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.sakaiproject.util.RequestFilter.doFilter(RequestFilter.java:616)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:215)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
      at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
      at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:200)
      at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:291)
      at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:775)
      at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:704)
      at org.apache.jk.common.ChannelSocket$SocketConnection.runIt(ChannelSocket.java:897)
      at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
      at java.lang.Thread.run(Thread.java:595)

      Tool Placement:
      No Placement

        Gliffy Diagrams

          Zeplin

            Attachments

              Issue Links

                Activity

                  People

                  • Assignee:
                    maintenanceteam Core Team
                    Reporter:
                    dhorwitz David Horwitz
                  • Votes:
                    0 Vote for this issue
                    Watchers:
                    1 Start watching this issue

                    Dates

                    • Created:
                      Updated:
                      Resolved:

                      Git Integration