[jbosstools-issues] [JBoss JIRA] (JBIDE-26158) Server adapter: NPE when starting adapter into Debug

Andre Dietisheim (JIRA) issues at jboss.org
Mon Jul 2 17:45:00 EDT 2018


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

Andre Dietisheim edited comment on JBIDE-26158 at 7/2/18 5:44 PM:
------------------------------------------------------------------

[~jeffmaury] the project is opened, the file and the project both return true to #isAccessible. The main project (which is not the same as the chromium tools working project as shown above) - is not in the workspace, it's in a a clone location (~/git/nodejs-ex):
The chromium tools project (*nodejs-ex (1)*) is told to exist in the workspace, but it doesn't really:

 !screenshot-1.png! 

 !screenshot-2.png! 

Still feels weird to me that #isAccessible returns true here.


was (Author: adietish):
[~jeffmaury] the project is opened, the file and the project both return true to #isAccessible. The main project (which is not the same as the chromium tools working project as shown above) - is not in the workspace, it's in a a clone location (~/git/nodejs-ex):
The chromium tools project (*nodejs-ex (1)*) is told to exist in the workspace, but it doesn't really:

 !screenshot-1.png! 

 !screenshot-2.png! 

> Server adapter: NPE when starting adapter into Debug 
> -----------------------------------------------------
>
>                 Key: JBIDE-26158
>                 URL: https://issues.jboss.org/browse/JBIDE-26158
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: openshift
>    Affects Versions: 4.6.0.AM3
>            Reporter: Andre Dietisheim
>            Priority: Critical
>              Labels: upstream
>             Fix For: 4.9.0.AM1
>
>         Attachments: image-2018-07-02-22-33-13-396.png, image-2018-07-02-22-49-45-246.png, image-2018-07-02-23-17-34-099.png, screenshot-1.png, screenshot-2.png
>
>
> steps:
> # EXEC: launch new application wizard, choose nodejs-mongo-persistent template and finish
> # EXEC: when asked import the app and create a server adapter
> # ASSERT: server adapter is created
> # EXEC: start the server adapter
> # ASSERT: server adapter is launched
> # EXEC: restart the server adapter into Debug 
> Result:
> Debuggin works, but you get the following error dialog:
>  !image-2018-07-02-22-33-13-396.png! 
> In the Eclipse log you'll find the following:
> {code}
> java.lang.NullPointerException
> 	at org.eclipse.core.internal.resources.CheckMissingNaturesListener.updateRange(CheckMissingNaturesListener.java:209)
> 	at org.eclipse.core.internal.resources.CheckMissingNaturesListener$3.runInWorkspace(CheckMissingNaturesListener.java:179)
> 	at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:39)
> 	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:60)
> {code}
> ps. project context menu: Convert > Javascript Project doesn't help.



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)


More information about the jbosstools-issues mailing list