Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-26389

NPE while "Searching Runtimes"

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Major
    • 4.10.0.AM1
    • 4.9.0.Final
    • cdk, runtime-detection
    • None
    • devex #156 October 2018
    • Hide

      1. Have configured cdk in ~/.minishift (call minishift setup-cdk)
      2. Run devstudio in new workspace
      3. Let Runtime detection create CDK 3.2+ server adapter
      4. Delete ~/.minishift
      5. Restart devstudio

      Show
      1. Have configured cdk in ~/.minishift (call minishift setup-cdk) 2. Run devstudio in new workspace 3. Let Runtime detection create CDK 3.2+ server adapter 4. Delete ~/.minishift 5. Restart devstudio

    Description

      eclipse.buildId=12.9.0.GA-v20180928-1629-B3448
      java.version=1.8.0_181
      java.vendor=Oracle Corporation
      BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
      Framework arguments:  -product com.jboss.devstudio.core.product
      Command-line arguments:  -data file:/home/odockal/workspace1290GA/ -os linux -ws gtk -arch x86_64 -product com.jboss.devstudio.core.product
      
      org.eclipse.core.jobs
      Error
      Sun Sep 30 20:56:59 CEST 2018
      An internal error occurred during: "Searching runtimes...".
      
      java.lang.NullPointerException
      	at org.jboss.tools.openshift.internal.cdk.server.core.detection.UnifiedMinishiftRuntimeDetector.folderWhiteListBin(UnifiedMinishiftRuntimeDetector.java:150)
      	at org.jboss.tools.openshift.internal.cdk.server.core.detection.UnifiedMinishiftRuntimeDetector.getMinishiftBinary(UnifiedMinishiftRuntimeDetector.java:139)
      	at org.jboss.tools.openshift.internal.cdk.server.core.detection.UnifiedMinishiftRuntimeDetector.folderContainsMinishiftBinary(UnifiedMinishiftRuntimeDetector.java:144)
      	at org.jboss.tools.openshift.internal.cdk.server.core.detection.UnifiedMinishiftRuntimeDetector.minishiftHomeMatches(UnifiedMinishiftRuntimeDetector.java:180)
      	at org.jboss.tools.openshift.internal.cdk.server.core.detection.UnifiedMinishiftRuntimeDetector.matches(UnifiedMinishiftRuntimeDetector.java:171)
      	at org.jboss.tools.openshift.internal.cdk.server.core.detection.AbstractCDKRuntimeDetector.exists(AbstractCDKRuntimeDetector.java:111)
      	at org.jboss.tools.runtime.core.internal.RuntimeDetector.exists(RuntimeDetector.java:68)
      	at org.jboss.tools.runtime.core.util.RuntimeModelUtil.verifyRuntimeDefinitionCreated(RuntimeModelUtil.java:131)
      	at org.jboss.tools.runtime.core.util.RuntimeModelUtil.verifyRuntimeDefinitionCreated(RuntimeModelUtil.java:122)
      	at org.jboss.tools.runtime.core.util.RuntimeModelUtil.verifyRuntimeDefinitionCreated(RuntimeModelUtil.java:118)
      	at org.jboss.tools.runtime.ui.internal.startup.RuntimeScanner.wouldOpenSearchRuntimePathDialog(RuntimeScanner.java:152)
      	at org.jboss.tools.runtime.ui.internal.startup.RuntimeScanner.access$0(RuntimeScanner.java:129)
      	at org.jboss.tools.runtime.ui.internal.startup.RuntimeScanner$1.run(RuntimeScanner.java:81)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
      
      

      Attachments

        Activity

          People

            rob.stryker Rob Stryker (Inactive)
            odockal@redhat.com Ondrej Dockal
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: