java.lang.NullPointerException

SpringSource Issue Tracker | Radhika Madala (c) | 7 years ago
  1. 0

    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)

    SpringSource Issue Tracker | 7 years ago | Radhika Madala (c)
    java.lang.NullPointerException
  2. 0

    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)

    SpringSource Issue Tracker | 7 years ago | Radhika Madala (c)
    java.lang.NullPointerException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    RpcHandler: Unexpected exception caught while serving

    Google Groups | 4 years ago | oc....@gmail.com
    java.lang.NullPointerException

  1. Kialandei 1 times, last 1 month ago
4 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.concurrent.ConcurrentHashMap.put()
  2. Java RT
    ConcurrentHashMap.put
    1. java.util.concurrent.ConcurrentHashMap.put(ConcurrentHashMap.java:881)
    1 frame
  3. com.springsource.server
    WebBundleLifecycleListener.onStarted
    1. com.springsource.server.web.core.internal.WebAppClassLoaderDelegateHook.addWebApplication(WebAppClassLoaderDelegateHook.java:56)
    2. com.springsource.server.web.core.internal.WebBundleLifecycleListener.onStarted(WebBundleLifecycleListener.java:88)
    2 frames
  4. com.springsource.kernel
    BundleStartTracker$1.run
    1. com.springsource.kernel.install.artifact.internal.ArtifactStateMonitor.onStarted(ArtifactStateMonitor.java:241)
    2. com.springsource.kernel.install.artifact.internal.AbstractInstallArtifact.asyncStartSucceeded(AbstractInstallArtifact.java:245)
    3. com.springsource.kernel.install.artifact.internal.AbstractInstallArtifact$StateMonitorSignal.signalSuccessfulCompletion(AbstractInstallArtifact.java:207)
    4. com.springsource.kernel.core.internal.BundleStartTracker$1.run(BundleStartTracker.java:150)
    4 frames
  5. Java RT
    Thread.run
    1. java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    3. java.lang.Thread.run(Thread.java:637)
    3 frames