[jbosstools-issues] [JBoss JIRA] (JBIDE-15635) Null Pointer when code assumes runtime type cannot be null

Max Rydahl Andersen (JIRA) issues at jboss.org
Tue Apr 29 09:00:36 EDT 2014


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

Max Rydahl Andersen updated JBIDE-15635:
----------------------------------------

    Fix Version/s: 4.2.0.Beta2
                       (was: 4.2.x)
         Priority: Critical  (was: Major)


reopen for clarificiation and raise priority.

This issue was kept opened because being sure we dont fail on runtime less servers...like what will happen when jboss servers are no longer supported in eclcipse Luna.
                
> Null Pointer when code assumes runtime type cannot be null
> ----------------------------------------------------------
>
>                 Key: JBIDE-15635
>                 URL: https://issues.jboss.org/browse/JBIDE-15635
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: server
>         Environment: Mac OSX 10.8.5
> Oracle JDK 1.7.0_40
> JBoss Developer Studio
> Version: 7.0.1.GA
> Build id: GA-v20130930-2238-B7
> Build date: 20130930-2238
>            Reporter: Cojan van Ballegooijen
>            Assignee: Rob Stryker
>            Priority: Critical
>             Fix For: 4.2.0.Beta2
>
>         Attachments: jbosstools-diagnostics-20131008232745.zip, Screen Shot 2013-10-08 at 2.22.05 PM.png
>
>
> - Installed JBoss Developer 7.0.0GA using
> - Upgraded to 7.0.1GA
> - Starting JBoss Developer Studio shows the following error window
> An internal error occurred during: "Refreshing JBoss Tutorials...".
> java.lang.NullPointerException
> - The error mentioned before also occurs when doing a refresh inside JBoss Central in the Start from a sample "portlet"
> - Starting a new Java EE Web project results in the following error
> An error has occurred. See error log for more details.
> java.lang.NullPointerException
> No error log is created in ~/workspace, tried to find *.log file in JBoss Developer Studio installation directory, no log files.
> Found .log in ~/workspace/.metadata
> !SESSION 2013-10-08 16:14:47.792 -----------------------------------------------
> eclipse.buildId=unknown
> java.version=1.7.0_40
> java.vendor=Oracle Corporation
> BootLoader constants: OS=macosx, ARCH=x86_64, WS=cocoa, NL=en_US
> Framework arguments:  -product com.jboss.jbds.product.product -keyring /Users/cballego/.eclipse_keyring -showlocation
> Command-line arguments:  -os macosx -ws cocoa -arch x86_64 -product com.jboss.jbds.product.product -keyring /Users/cballego/.eclipse_keyring -consoleLog -showlocation
> !ENTRY org.eclipse.core.net 1 0 2013-10-08 16:14:52.252
> !MESSAGE System property http.nonProxyHosts has been set to local|*.local|169.254/16|*.169.254/16 by an external source. This value will be overwritten using the values from the preferences
> !ENTRY org.eclipse.jface 2 0 2013-10-08 16:14:52.626
> !MESSAGE Keybinding conflicts occurred.  They may interfere with normal accelerator operation.
> !SUBENTRY 1 org.eclipse.jface 2 0 2013-10-08 16:14:52.626
> !MESSAGE A conflict occurred for ALT+COMMAND+Z:
> Binding(ALT+COMMAND+Z,
>         ParameterizedCommand(Command(org.jboss.tools.cdi.ui.open.namedBean,Open CDI Named Bean,
>                 Open CDI Named Bean,
>                 Category(org.eclipse.ui.category.navigate,Navigate,null,true),
>                 org.eclipse.ui.internal.WorkbenchHandlerServiceHandler at 54158353,
>                 ,,true),null),
>         org.eclipse.ui.defaultAcceleratorConfiguration,
>         org.eclipse.ui.contexts.window,,,system)
> Binding(ALT+COMMAND+Z,
>         ParameterizedCommand(Command(org.eclipse.jdt.ui.edit.text.java.surround.with.quickMenu,Surround With Quick Menu,
>                 Shows the Surround With quick menu,
>                 Category(org.eclipse.jdt.ui.category.source,Source,Java Source Actions,true),
>                 org.eclipse.ui.internal.WorkbenchHandlerServiceHandler at 5060e945,
>                 ,,true),null),
>         org.eclipse.ui.defaultAcceleratorConfiguration,
>         org.eclipse.ui.contexts.window,,cocoa,system)
> !SUBENTRY 1 org.eclipse.jface 2 0 2013-10-08 16:14:52.626
> !MESSAGE A conflict occurred for COMMAND+SHIFT+F10:
> Binding(COMMAND+SHIFT+F10,
>         ParameterizedCommand(Command(org.jboss.tools.common.ui.RegisterAsService,Register As Service,
>                 Adds class name to META-INF/services/%serviceType% file after service type is selected in the dialog from types extended and implemented by the class.,
>                 Category(org.eclipse.ui.category.file,File,null,true),
>                 org.eclipse.ui.internal.WorkbenchHandlerServiceHandler at a72da3d,
>                 ,,true),null),
>         org.eclipse.ui.defaultAcceleratorConfiguration,
>         org.eclipse.ui.contexts.window,,,system)
> Binding(COMMAND+SHIFT+F10,
>         ParameterizedCommand(Command(org.eclipse.ui.window.showSystemMenu,Show System Menu,
>                 Show the system menu,
>                 Category(org.eclipse.ui.category.window,Window,null,true),
>                 org.eclipse.ui.internal.WorkbenchHandlerServiceHandler at 7a55e026,
>                 ,,true),null),
>         org.eclipse.ui.defaultAcceleratorConfiguration,
>         org.eclipse.ui.contexts.window,,cocoa,system)
> !ENTRY org.eclipse.core.jobs 4 2 2013-10-08 16:15:04.413
> !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:248)
>         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)

--
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