Uploaded image for project: 'JBoss Web'
  1. JBoss Web
  2. JBWEB-259

NPE at org.apache.catalina.core.StandardWrapper.unload(StandardWrapper.java:1380)

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: JBossWeb-7.2.0.Alpha3
    • Fix Version/s: None
    • Component/s: Tomcat
    • Labels:
      None
    • Steps to Reproduce:
      Hide

      1) Drop Felix Web Console bundle into standalone/deployments
      2) Drop Felix Metatype bundle into standalone/deployments
      3) Start the standalone JBoss AS

      Show
      1) Drop Felix Web Console bundle into standalone/deployments 2) Drop Felix Metatype bundle into standalone/deployments 3) Start the standalone JBoss AS

      Description

      Using the standalone.bat to start up JBoss

      When I try to deploy Felix web console 3.1.6.SP1, and Felix Metatype 1.0.4 for the org.osgi.service.metatype.* dependencies I eventually get the following exception

      16:45:43,603 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/system/console]] (CM Configuration Updater (ManagedService Update: pid=org.apache.felix.webconsole.internal.servlet.OsgiManager)) JBWEB000266: Servlet system/console threw unload exception: javax.servlet.ServletException: JBWEB000265: Servlet.destroy() for servlet system/console threw exception
      	at org.apache.catalina.core.StandardWrapper.unload(StandardWrapper.java:1390)
      	at org.apache.catalina.core.StandardWrapper.stop(StandardWrapper.java:1669)
      	at org.apache.catalina.core.StandardContext.stop(StandardContext.java:3906)
      	at org.jboss.as.osgi.httpservice.HttpServiceImpl.unregisterInternal(HttpServiceImpl.java:215)
      	at org.jboss.as.osgi.httpservice.HttpServiceImpl.unregister(HttpServiceImpl.java:203)
      	at org.apache.felix.webconsole.internal.servlet.OsgiManager.unbindHttpService(OsgiManager.java:772) [OsgiManager.class:]
      	at org.apache.felix.webconsole.internal.servlet.OsgiManager$HttpServiceTracker.removedService(OsgiManager.java:660) [OsgiManager$HttpServiceTracker.class:]
      	at org.osgi.util.tracker.ServiceTracker$Tracked.untrack(ServiceTracker.java:1126) [ServiceTracker$Tracked.class:]
      	at org.osgi.util.tracker.ServiceTracker.close(ServiceTracker.java:347) [ServiceTracker.class:]
      	at org.apache.felix.webconsole.internal.servlet.OsgiManager.updateConfiguration(OsgiManager.java:826) [OsgiManager.class:]
      	at org.apache.felix.webconsole.internal.servlet.ConfigurationListener.updated(ConfigurationListener.java:66) [ConfigurationListener.class:]
      	at org.apache.felix.cm.impl.ConfigurationManager$ManagedServiceUpdate.run(ConfigurationManager.java:1160)
      	at org.apache.felix.cm.impl.UpdateThread.run(UpdateThread.java:104)
      	at java.lang.Thread.run(Unknown Source) [rt.jar:1.6.0_32]
      Caused by: java.lang.NullPointerException
      	at org.apache.catalina.core.StandardWrapper.unload(StandardWrapper.java:1380)
      	... 13 more
      

      The Servlet has deployed successfully

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                rmaucher Remy Maucherat
                Reporter:
                ejroberts Ed Roberts
              • Votes:
                2 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: