[jbosstools-issues] [JBoss JIRA] (JBIDE-26158) [UPSTREAM] Server adapter: NPE when starting adapter for nodejs-mongo-persistent into Debug

Mickael Istria (Jira) issues at jboss.org
Thu Oct 18 12:19:00 EDT 2018


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

Mickael Istria commented on JBIDE-26158:
----------------------------------------

I'm going to fix the NPE, but I think this error you see can highlight and issue in the Chromium Debug code.
It would be interesting to see what `projectProject.getProjectURI()` returns, and what is getLocation() in the project after creation; or to check whether the folder isn't deleted by something else. The case you're seeing (a project in the workspace but not folder to back it) doesn't seem to be what ChromiumDebugPluginUtil.createEmptyProject() is supposed to build.

> [UPSTREAM] Server adapter: NPE when starting adapter for nodejs-mongo-persistent 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
>            Assignee: Andre Dietisheim
>            Priority: Major
>              Labels: upstream
>             Fix For: 4.10.x
>
>         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, image-2018-07-03-00-03-56-346.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.12.1#712002)


More information about the jbosstools-issues mailing list