NPE in InstanceServiceImpl.getKarafPort

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

NPE in InstanceServiceImpl.getKarafPort

lichtin
Seeing the following once in a while when starting an instance:

java.lang.NullPointerException
    at org.apache.karaf.instance.core.internal.InstanceServiceImpl$14.call(InstanceServiceImpl.java:912)
    at org.apache.karaf.instance.core.internal.InstanceServiceImpl$14.call(InstanceServiceImpl.java:910)
    at org.apache.karaf.util.locks.FileLockUtils$2.call(FileLockUtils.java:103)
    at org.apache.karaf.util.locks.FileLockUtils.execute(FileLockUtils.java:69)
    at org.apache.karaf.util.locks.FileLockUtils.execute(FileLockUtils.java:97)
    at org.apache.karaf.instance.core.internal.InstanceServiceImpl.getKarafPort(InstanceServiceImpl.java:910)
    at org.apache.karaf.instance.core.internal.InstanceServiceImpl.access$2000(InstanceServiceImpl.java:64)
    at org.apache.karaf.instance.core.internal.InstanceServiceImpl$23.call(InstanceServiceImpl.java:1038)
    at org.apache.karaf.instance.core.internal.InstanceServiceImpl$23.call(InstanceServiceImpl.java:1032)
    at org.apache.karaf.instance.core.internal.InstanceServiceImpl$1.call(InstanceServiceImpl.java:250)
    at org.apache.karaf.util.locks.FileLockUtils$2.call(FileLockUtils.java:103)
    at org.apache.karaf.util.locks.FileLockUtils.execute(FileLockUtils.java:69)
    at org.apache.karaf.util.locks.FileLockUtils.execute(FileLockUtils.java:97)
    at org.apache.karaf.instance.core.internal.InstanceServiceImpl.execute(InstanceServiceImpl.java:247)
    at org.apache.karaf.instance.core.internal.InstanceServiceImpl.getInstanceState(InstanceServiceImpl.java:1032)
    at org.apache.karaf.instance.core.internal.InstanceImpl.getState(InstanceImpl.java:112)
    at org.apache.karaf.instance.command.StartCommand.doExecute(StartCommand.java:84)
    at org.apache.karaf.instance.command.InstanceCommandSupport.execute(InstanceCommandSupport.java:90)
    at org.apache.karaf.shell.impl.action.command.ActionCommand.execute(ActionCommand.java:83)
    at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:67)
    at org.apache.karaf.shell.impl.console.osgi.secured.SecuredCommand.execute(SecuredCommand.java:87)
    at org.apache.felix.gogo.runtime.Closure.executeCmd(Closure.java:480)
    ...

Any idea what could cause this?

- Martin
Loading...