[jbosstools-issues] [JBoss JIRA] (JBIDE-15635) Unable to create Java EE Web project probably due to n internal error occurred during: "Refreshing JBoss Tutorials...". java.lang.NullPointerException

Lars Heinemann (JIRA) jira-events at lists.jboss.org
Wed Oct 9 01:01:16 EDT 2013


    [ https://issues.jboss.org/browse/JBIDE-15635?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12812468#comment-12812468 ] 

Lars Heinemann edited comment on JBIDE-15635 at 10/9/13 1:00 AM:
-----------------------------------------------------------------

Just had a look at the diagnostic files. You don't even have Fuse bundles / features installed inside JBDS. The runtime definition in your workspace is still refering to what you defined in a different application (Fuse IDE) and which is no longer available as you started JBDS now. So this runtime config is a zombie runtime definition as there are no fuse plugins installed in your JBDS which provide the runtime type for it. That is not really an error of JBDS or Fuse IDE. Its just the result of sharing a workspace between fully different products.

It will probably also not change the situation if you install now Fuse Tools (the upcoming Fuse IDE 6.1) into your JBDS as the server adapter part changed a lot and might be no longer compatible with the 6.0. 

To make it short...use separate workspaces for IDE 6.0 and JBDS.

Hope that makes sense to you.

Lars

                
      was (Author: lhein):
    Just had a look at the diagnostic files. You don't even have Fuse bundles / features installed inside JBDS. The runtime definition in your workspace is still refering to what you defined in a different application (Fuse IDE) and which is no longer available as you started JBDS now. So this runtime config is a zombie runtimes as there are no fuse plugins installed in your JBDS which provide it. That is not really an error of JBDS or Fuse IDE. Its just the result of sharing a workspace between fully different products.

It will probably also not change the situation if you install now Fuse Tools (the upcoming Fuse IDE 6.1) into your JBDS as the server adapter part changed a lot and might be no longer compatible with the 6.0. 

To make it short...use separate workspaces for IDE 6.0 and JBDS.

Hope that makes sense to you.

Lars

                  
> Unable to create Java EE Web project probably due to n internal error occurred during: "Refreshing JBoss Tutorials...". java.lang.NullPointerException
> ------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 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
>             Fix For: 4.1.1.Beta1
>
>         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