-
Bug
-
Resolution: Done
-
Blocker
-
4.19.0.Final
-
None
-
-
Workaround Exists
-
-
Undefined
I got an error dialog with NPE on "Load Model" when opening OS Application Explorer view when I do not have odo downloaded.
eclipse.buildId=12.19.0.GA-v20210408-1554-B85
java.version=11.0.10
java.vendor=Red Hat, Inc.
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Framework arguments: -product com.jboss.devstudio.core.product
Command-line arguments: -os linux -ws gtk -arch x86_64 -product com.jboss.devstudio.core.product
org.eclipse.core.jobs
Error
Mon Apr 12 10:30:25 CEST 2021
An internal error occurred during: "Load model".
java.lang.NullPointerException
at org.jboss.tools.common.util.DownloadHelper.isDownloadAllowed(DownloadHelper.java:240)
at org.jboss.tools.common.util.DownloadHelper.askAndDownloadTool(DownloadHelper.java:216)
at org.jboss.tools.common.util.DownloadHelper.downloadIfRequired(DownloadHelper.java:205)
at org.jboss.tools.openshift.internal.ui.odo.OdoCli.getOdoCommand(OdoCli.java:149)
at org.jboss.tools.openshift.internal.ui.odo.OdoCli.getCommand(OdoCli.java:143)
at org.jboss.tools.openshift.internal.ui.odo.OdoCli.<init>(OdoCli.java:129)
at org.jboss.tools.openshift.internal.ui.odo.OdoCli.get(OdoCli.java:136)
at org.jboss.tools.openshift.internal.ui.models.applicationexplorer.ApplicationExplorerUIModel$ClusterInfo.getOdo(ApplicationExplorerUIModel.java:68)
at org.jboss.tools.openshift.internal.ui.models.applicationexplorer.ApplicationExplorerUIModel.getOdo(ApplicationExplorerUIModel.java:118)
at org.jboss.tools.openshift.internal.ui.models.applicationexplorer.ApplicationExplorerUIModel.addContext(ApplicationExplorerUIModel.java:147)
at org.jboss.tools.openshift.internal.ui.models.applicationexplorer.ApplicationExplorerUIModel.internalLoadProjects(ApplicationExplorerUIModel.java:166)
at org.jboss.tools.openshift.internal.ui.models.applicationexplorer.ApplicationExplorerUIModel.lambda$2(ApplicationExplorerUIModel.java:175)
at org.eclipse.core.runtime.jobs.Job$1.run(Job.java:166)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)