-
Bug
-
Resolution: Done
-
Critical
-
4.19.0.AM1
-
None
-
Undefined
NPE occurs during multiple occasions when operating CRC adapter. Though it is not 100 percent reproducible on fedora 33. I was more lucky on windows where it was thrown multiple times during stopping the adapter.
java.lang.NullPointerException at org.jboss.tools.openshift.internal.crc.server.core.adapter.CRC100Poller.shouldUseJsonFlags(CRC100Poller.java:57) at org.jboss.tools.openshift.internal.crc.server.core.adapter.CRC100Poller.onePing(CRC100Poller.java:104) at org.jboss.tools.openshift.internal.cdk.server.core.adapter.AbstractCDKPoller.onePingSafe(AbstractCDKPoller.java:100) at org.jboss.tools.openshift.internal.cdk.server.core.adapter.AbstractCDKPoller.getCurrentStateSynchronous(AbstractCDKPoller.java:88) at org.jboss.ide.eclipse.as.core.util.PollThreadUtils.isServerStarted(PollThreadUtils.java:218) at org.jboss.tools.openshift.internal.cdk.server.core.adapter.controllers.AbstractCDKShutdownController.pollState(AbstractCDKShutdownController.java:89) at org.jboss.tools.openshift.internal.cdk.server.core.adapter.controllers.AbstractCDKShutdownController.stop(AbstractCDKShutdownController.java:104) at org.jboss.ide.eclipse.as.wtp.core.server.behavior.ControllableServerBehavior.stop(ControllableServerBehavior.java:255) at org.eclipse.wst.server.core.internal.Server.stopImpl2(Server.java:3700) at org.eclipse.wst.server.core.internal.Server.stopImpl(Server.java:3657) at org.eclipse.wst.server.core.internal.Server$StopJob.run(Server.java:415) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)