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

NullPointerException in RuntimeMatcher.RuntimeMatcher.findExistingRuntimes()

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.1.1.CR1
    • None
    • central, server
    • None

      What I did to Reproduce (Used JBDS 7.1.Beta1: jbdevstudio-product-eap-universal-7.1.0.Beta1-v20131102-1529-B493):

      EXECUTE: Start jbdevstudio, proceed to continue with the Central
      EXECUTE: Open "Help->Install New Software..." dialog
      EXECUTE: Add new Software Site and make it to point to Central TP (http://download.jboss.org/jbosstools/targetplatforms/jbtcentraltarget/4.31.0.CR1-SNAPSHOT/REPO/)
      EXECUTE: Choose the Software Site just created, uncheck "Group items by Category", then find and install "Google Plugin for Eclipse 4.3", restart when requested
      EXECUTE: Open "Help->Install New Software..." dialog
      EXECUTE: Click on "What's already installed" link due to open "JBoss Developer Studio Installation Details" dialog.
      EXECUTE: Select "Google Plugin for Eclipse" and press "Uninstall..." button, proceed with all the uninstallation steps and restart when requested
      FAILED: See NPE dialog poping up after restart and error message is logged:

      !ENTRY org.eclipse.core.jobs 4 2 2013-11-15 17:07:31.748
      !MESSAGE An internal error occurred during: "Refreshing JBoss Tutorials...".
      !STACK 0
      java.lang.NullPointerException
      	at org.jboss.tools.as.runtimes.integration.util.RuntimeMatcher.findExistingRuntimes(RuntimeMatcher.java:158)
      	at org.jboss.tools.as.runtimes.integration.util.RuntimeMatcher.findExistingRuntimes(RuntimeMatcher.java:151)
      	at org.jboss.tools.project.examples.fixes.WTPRuntimeFix.getRuntimesFromPattern(WTPRuntimeFix.java:102)
      	at org.jboss.tools.project.examples.fixes.WTPRuntimeFix.getBestRuntime(WTPRuntimeFix.java:249)
      	at org.jboss.tools.project.examples.fixes.WTPRuntimeFix.canFix(WTPRuntimeFix.java:130)
      	at org.jboss.tools.project.examples.ProjectExamplesActivator.canFix(ProjectExamplesActivator.java:796)
      	at org.jboss.tools.central.jobs.RefreshTutorialsJob.run(RefreshTutorialsJob.java:68)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)
      

            rob.stryker Rob Stryker (Inactive)
            vrubezhny Victor Rubezhny (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: