[jbosstools-issues] [JBoss JIRA] (JBIDE-12569) Runtime Detection preference page and RuntimeScanner are broken in trunk
Snjezana Peco (JIRA)
jira-events at lists.jboss.org
Sat Sep 8 17:26:32 EDT 2012
[ https://issues.jboss.org/browse/JBIDE-12569?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Snjezana Peco resolved JBIDE-12569.
-----------------------------------
Resolution: Done
Committed to the trunk.
> Runtime Detection preference page and RuntimeScanner are broken in trunk
> ------------------------------------------------------------------------
>
> Key: JBIDE-12569
> URL: https://issues.jboss.org/browse/JBIDE-12569
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: runtime detection
> Affects Versions: 4.0.0.Alpha2
> Reporter: Snjezana Peco
> Assignee: Snjezana Peco
> Fix For: 4.0.0.Alpha2
>
>
> The issue is caused by fixing JBIDE-12448.
> When starting JBoss Tools the first time, you will get the following exception:
> !MESSAGE An internal error occurred during: "Searching runtimes...".
> !STACK 0
> java.lang.NullPointerException
> at org.jboss.tools.runtime.ui.RuntimeScanner.runtimeExists(RuntimeScanner.java:100)
> at org.jboss.tools.runtime.ui.RuntimeScanner.access$0(RuntimeScanner.java:98)
> at org.jboss.tools.runtime.ui.RuntimeScanner$1.run(RuntimeScanner.java:50)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
> If you try to open the Runtime Detection preference page, you will get a dialog with the message "The currently displayed page contains invalid values" as well as the following exception in the error log:
> !ENTRY org.eclipse.jface 4 2 2012-09-08 23:04:09.526
> !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
> !STACK 0
> java.lang.NullPointerException
> at org.jboss.tools.runtime.ui.preferences.RuntimePreferencePage.createRuntimePathsButtons(RuntimePreferencePage.java:424)
> at org.jboss.tools.runtime.ui.preferences.RuntimePreferencePage.createRuntimePathViewer(RuntimePreferencePage.java:256)
> at org.jboss.tools.runtime.ui.preferences.RuntimePreferencePage.createContents(RuntimePreferencePage.java:130)
> at org.eclipse.jface.preference.PreferencePage.createControl(PreferencePage.java:232)
> at org.eclipse.jface.preference.PreferenceDialog.createPageControl(PreferenceDialog.java:1502)
> at org.eclipse.jface.preference.PreferenceDialog$14.run(PreferenceDialog.java:1259)
> at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
--
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