java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • I tried of deploying two web bundles with the same context path.Getting NPE in dump with the following event logs. [2009-11-30 13:51:28.740] fs-watcher <HD0001I> Processing 'CREATED' event for file 'bundleB.war'. [2009-11-30 13:51:28.818] fs-watcher <DE0056I> Installing bundle 'bundleB' version '1.0.0'. [2009-11-30 13:51:28.954] fs-watcher <DE0057I> Installed bundle 'bundleB' version '1.0.0'. [2009-11-30 13:51:28.982] fs-watcher <DE0059I> Starting bundle 'bundleB' version '1.0.0'. [2009-11-30 13:51:28.988] Thread-2 <WE0000I> Starting web bundle 'bundleB' context path '/bundleBContext'. [2009-11-30 13:51:29.272] Thread-2 <WE0001I> Started web bundle 'bundleB' context path '/bundleBContext'. [2009-11-30 13:51:29.274] start-signalling-1 <DE0060I> Started bundle 'bundleB' version '1.0.0'. [2009-11-30 13:51:51.998] fs-watcher <HD0001I> Processing 'CREATED' event for file 'bundleB_updated.war'. [2009-11-30 13:51:52.161] fs-watcher <DE0056I> Installing bundle 'bundleB_updated' version '1.0.0'. [2009-11-30 13:51:52.214] fs-watcher <DE0057I> Installed bundle 'bundleB_updated' version '1.0.0'. [2009-11-30 13:51:52.223] fs-watcher <DE0059I> Starting bundle 'bundleB_updated' version '1.0.0'. [2009-11-30 13:51:52.229] Thread-2 <WE0000I> Starting web bundle 'bundleB_updated' context path '/bundleBContext'. [2009-11-30 13:51:52.239] Thread-2 <WE0004E> Failed to start web bundle '/bundleBContext': a web application with that context path already exists. [2009-11-30 13:51:55.522] start-signalling-1 <ME0003I> Dump 'serviceability/dump/200911301351239' generated Here is the summary of the state dump. Exception: java.lang.NullPointerException at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:881) at com.springsource.server.web.core.internal.WebAppClassLoaderDelegateHook.addWebApplication(WebAppClassLoaderDelegateHook.java:56) at com.springsource.server.web.core.internal.WebBundleLifecycleListener.onStarted(WebBundleLifecycleListener.java:88) at com.springsource.kernel.install.artifact.internal.ArtifactStateMonitor.onStarted(ArtifactStateMonitor.java:241) at com.springsource.kernel.install.artifact.internal.AbstractInstallArtifact.asyncStartSucceeded(AbstractInstallArtifact.java:245) at com.springsource.kernel.install.artifact.internal.AbstractInstallArtifact$StateMonitorSignal.signalSuccessfulCompletion(AbstractInstallArtifact.java:207) at com.springsource.kernel.core.internal.BundleStartTracker$1.run(BundleStartTracker.java:150) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:637)
    via by Radhika Madala (c),
  • I tried of deploying two web bundles with the same context path.Getting NPE in dump with the following event logs. [2009-11-30 13:51:28.740] fs-watcher <HD0001I> Processing 'CREATED' event for file 'bundleB.war'. [2009-11-30 13:51:28.818] fs-watcher <DE0056I> Installing bundle 'bundleB' version '1.0.0'. [2009-11-30 13:51:28.954] fs-watcher <DE0057I> Installed bundle 'bundleB' version '1.0.0'. [2009-11-30 13:51:28.982] fs-watcher <DE0059I> Starting bundle 'bundleB' version '1.0.0'. [2009-11-30 13:51:28.988] Thread-2 <WE0000I> Starting web bundle 'bundleB' context path '/bundleBContext'. [2009-11-30 13:51:29.272] Thread-2 <WE0001I> Started web bundle 'bundleB' context path '/bundleBContext'. [2009-11-30 13:51:29.274] start-signalling-1 <DE0060I> Started bundle 'bundleB' version '1.0.0'. [2009-11-30 13:51:51.998] fs-watcher <HD0001I> Processing 'CREATED' event for file 'bundleB_updated.war'. [2009-11-30 13:51:52.161] fs-watcher <DE0056I> Installing bundle 'bundleB_updated' version '1.0.0'. [2009-11-30 13:51:52.214] fs-watcher <DE0057I> Installed bundle 'bundleB_updated' version '1.0.0'. [2009-11-30 13:51:52.223] fs-watcher <DE0059I> Starting bundle 'bundleB_updated' version '1.0.0'. [2009-11-30 13:51:52.229] Thread-2 <WE0000I> Starting web bundle 'bundleB_updated' context path '/bundleBContext'. [2009-11-30 13:51:52.239] Thread-2 <WE0004E> Failed to start web bundle '/bundleBContext': a web application with that context path already exists. [2009-11-30 13:51:55.522] start-signalling-1 <ME0003I> Dump 'serviceability/dump/200911301351239' generated Here is the summary of the state dump. Exception: java.lang.NullPointerException at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:881) at com.springsource.server.web.core.internal.WebAppClassLoaderDelegateHook.addWebApplication(WebAppClassLoaderDelegateHook.java:56) at com.springsource.server.web.core.internal.WebBundleLifecycleListener.onStarted(WebBundleLifecycleListener.java:88) at com.springsource.kernel.install.artifact.internal.ArtifactStateMonitor.onStarted(ArtifactStateMonitor.java:241) at com.springsource.kernel.install.artifact.internal.AbstractInstallArtifact.asyncStartSucceeded(AbstractInstallArtifact.java:245) at com.springsource.kernel.install.artifact.internal.AbstractInstallArtifact$StateMonitorSignal.signalSuccessfulCompletion(AbstractInstallArtifact.java:207) at com.springsource.kernel.core.internal.BundleStartTracker$1.run(BundleStartTracker.java:150) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:637)
    via by Radhika Madala (c),
  • [Jersey] [0.9-SNAPSHOT] NPE
    via GitHub by ekochnev
    ,
  • Failed to lock the `MAXID_ROW` row
    via by Ivan Pouzyrevsky,
  • how to share local_db.bin to others
    via by dreamy,
    • java.lang.NullPointerException at java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:881) at com.springsource.server.web.core.internal.WebAppClassLoaderDelegateHook.addWebApplication(WebAppClassLoaderDelegateHook.java:56) at com.springsource.server.web.core.internal.WebBundleLifecycleListener.onStarted(WebBundleLifecycleListener.java:88) at com.springsource.kernel.install.artifact.internal.ArtifactStateMonitor.onStarted(ArtifactStateMonitor.java:241) at com.springsource.kernel.install.artifact.internal.AbstractInstallArtifact.asyncStartSucceeded(AbstractInstallArtifact.java:245) at com.springsource.kernel.install.artifact.internal.AbstractInstallArtifact$StateMonitorSignal.signalSuccessfulCompletion(AbstractInstallArtifact.java:207) at com.springsource.kernel.core.internal.BundleStartTracker$1.run(BundleStartTracker.java:150) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:637)

    Users with the same issue

    Kialandei
    1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    1 more bugmates