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] [Resolved] (KARAF-5336) NullPointerException during instance start in InstanceServiceImpl.getKarafPort
Date Fri, 15 Jun 2018 10:52:00 GMT

     [ https://issues.apache.org/jira/browse/KARAF-5336?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Martin Lichtin resolved KARAF-5336.
-----------------------------------
    Resolution: Cannot Reproduce

> NullPointerException during instance start 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
>            Priority: Major
>
> Starting an instance 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
(v7.6.3#76005)

Mime
View raw message