[
https://issues.jboss.org/browse/JBIDE-26158?page=com.atlassian.jira.plugi...
]
Andre Dietisheim edited comment on JBIDE-26158 at 7/2/18 4:50 PM:
------------------------------------------------------------------
The NPE occurs at the following code in the eclipse platform:
{code:title=org.eclipse.core.internal.resources.CheckMissingNaturesListener#updateRange}
FileUtil.transferStreams(input, output, file.getLocation().toString(), new
NullProgressMonitor());
{code}
The culprit is
{code}
file.getLocation()
{code}
The weird thing is that the file that's being used (*L/nodejs-ex (1)/.project*) is not
matching the project that one sees in the project explorer (*nodes-ex*). The latter is
visible in the navigator though (decorated with a chrome tools icon):
!image-2018-07-02-22-49-45-246.png!
was (Author: adietish):
The NPE occurs at the following code in the eclipse platform:
{code:title=org.eclipse.core.internal.resources.CheckMissingNaturesListener#updateRange}
FileUtil.transferStreams(input, output, file.getLocation().toString(), new
NullProgressMonitor());
{code}
The culprit is
{code}
file.getLocation()
{code}
The weird thing is that the file that's being used (*L/nodejs-ex (1)/.project*) is not
matching the project that one sees in the project explorer (*nodes-ex*).
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
Attachments: image-2018-07-02-22-33-13-396.png,
image-2018-07-02-22-49-45-246.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)