[jbosstools-issues] [JBoss JIRA] (JBIDE-15980) NullPointerException in RuntimeMatcher.RuntimeMatcher.findExistingRuntimes()

Victor Rubezhny (JIRA) jira-events at lists.jboss.org
Fri Nov 15 10:35:08 EST 2013


     [ https://issues.jboss.org/browse/JBIDE-15980?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Victor Rubezhny updated JBIDE-15980:
------------------------------------

    Description: 
What I did to Reproduce:

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:

{code}
!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)
{code}

  was:
What I did to Reproduce:

EXECUTE: Start jbdevstudio

EXECUTE: I've replaced the "JBoss Developer Studio Central Update Site - Core" link to point to Central TP (

EXECUTE: proceed to continue with the Central
EXECUTE: Switch to "Software/Update" tab
EXECUTE: Check "Google Plugin + Web Toolkit" and press "Install", proceed with all the installation steps and restart Studio at the end.
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 Studio at the end.



    
> NullPointerException in RuntimeMatcher.RuntimeMatcher.findExistingRuntimes()
> ----------------------------------------------------------------------------
>
>                 Key: JBIDE-15980
>                 URL: https://issues.jboss.org/browse/JBIDE-15980
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: central, server
>            Reporter: Victor Rubezhny
>         Attachments: central-npe.png
>
>
> What I did to Reproduce:
> 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:
> {code}
> !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)
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list