karaf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin Lichtin (JIRA)" <j...@apache.org>
Subject [jira] [Created] (KARAF-5336) NullPointerException during instance creation in InstanceServiceImpl.getKarafPort
Date Tue, 05 Sep 2017 06:13:02 GMT
Martin Lichtin created KARAF-5336:
-------------------------------------

             Summary: NullPointerException during instance creation in InstanceServiceImpl.getKarafPort
                 Key: KARAF-5336
                 URL: https://issues.apache.org/jira/browse/KARAF-5336
             Project: Karaf
          Issue Type: Bug
          Components: karaf-instance
    Affects Versions: 4.0.9
            Reporter: Martin Lichtin


Instance creation sometimes causes a NullPointerException:
{noformat}
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)
    ...
{noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message