[JBoss JIRA] (JBIDE-26158) Server adapter: NPE when starting adapter into Debug
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-26158?page=com.atlassian.jira.plugi... ]
Andre Dietisheim edited comment on JBIDE-26158 at 7/2/18 4:59 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!
This latter project is created and opened by the chromium tools in
{code:title=org.eclipse.wst.jsdt.chromium.debug.core.util.ChromiumDebugPluginUtil#createEmptyProject}
try {
project.create(description, null);
project.open(null);
return project;
} catch (CoreException e) {
ChromiumDebugPlugin.log(e);
return null;
}
{code}
*project.open(null)* causes the *CheckMissingNaturesListener* to check for the missing natures.
{code}
CheckMissingNaturesListener$3(InternalWorkspaceJob).<init>(String) line: 27
CheckMissingNaturesListener$3(WorkspaceJob).<init>(String) line: 63
CheckMissingNaturesListener$3.<init>(CheckMissingNaturesListener, String, Set, IProject, Set) line: 163
CheckMissingNaturesListener.updateMarkers(Collection<IProject>) line: 163
CheckMissingNaturesListener.resourceChanged(IResourceChangeEvent) line: 46
NotificationManager$1.run() line: 297
SafeRunner.run(ISafeRunnable) line: 42
NotificationManager.notify(ResourceChangeListenerList$ListenerEntry[], ResourceChangeEvent, boolean) line: 287
NotificationManager.broadcastChanges(ElementTree, ResourceChangeEvent, boolean) line: 150
Workspace.broadcastPostChange() line: 376
Workspace.endOperation(ISchedulingRule, boolean) line: 1499
Project.open(int, IProgressMonitor) line: 1098
Project.open(IProgressMonitor) line: 1107
ChromiumDebugPluginUtil.createEmptyProject(String) line: 143
VProjectWorkspaceBridge.<init>(String, ConnectedTargetData, JavascriptVm) line: 101
VProjectWorkspaceBridge$FactoryImpl.attachedToVm(ConnectedTargetData, JavascriptVm) line: 78
ConnectedTargetData.initWorkspaceRelations() line: 222
ConnectedTargetData.setVmEmbedder(JavascriptVmEmbedder) line: 85
DebugTargetImpl.attach(DebugTargetImpl, JavascriptVmEmbedder$ConnectionToRemote, DestructingGuard, Runnable, IProgressMonitor) line: 86
StandaloneV8LaunchType(LaunchTypeBase).launch(ILaunchConfiguration, String, ILaunch, IProgressMonitor) line: 101
LaunchConfigurationWorkingCopy(LaunchConfiguration).launch(String, IProgressMonitor, boolean, boolean) line: 859
LaunchConfigurationWorkingCopy(LaunchConfiguration).launch(String, IProgressMonitor, boolean) line: 717
DebugUIPlugin.buildAndLaunch(ILaunchConfiguration, String, IProgressMonitor) line: 1039
DebugUIPlugin$8.run(IProgressMonitor) line: 1256
Worker.run() line: 60
{code}
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*). The latter is visible in the navigator though (decorated with a chrome tools icon):
!image-2018-07-02-22-49-45-246.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
> 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)
7 years, 9 months
[JBoss JIRA] (JBIDE-26158) Server adapter: NPE when starting adapter into Debug
by Andre Dietisheim (JIRA)
[ 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)
7 years, 9 months
[JBoss JIRA] (JBIDE-26158) Server adapter: NPE when starting adapter into Debug
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-26158?page=com.atlassian.jira.plugi... ]
Andre Dietisheim commented on JBIDE-26158:
------------------------------------------
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
>
>
> 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)
7 years, 9 months
[JBoss JIRA] (JBIDE-26158) Server adapter: NPE when starting adapter into Debug
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-26158?page=com.atlassian.jira.plugi... ]
Andre Dietisheim edited comment on JBIDE-26158 at 7/2/18 4:47 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*).
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
>
>
> 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)
7 years, 9 months
[JBoss JIRA] (JBIDE-26158) Server adapter: NPE when starting adapter into Debug
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-26158?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-26158:
-------------------------------------
Description:
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.
was:
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:
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}
> 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
>
>
> 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)
7 years, 9 months
[JBoss JIRA] (JBIDE-26158) Server adapter: NPE when starting adapter into Debug
by Andre Dietisheim (JIRA)
Andre Dietisheim created JBIDE-26158:
----------------------------------------
Summary: 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
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:
You get the following error dialog:
!image-2018-07-02-22-33-13-396.png!
{code}
In the Eclipse log you'll find the following
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}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 9 months
[JBoss JIRA] (JBIDE-26158) Server adapter: NPE when starting adapter into Debug
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-26158?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-26158:
-------------------------------------
Description:
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:
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}
was:
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:
You get the following error dialog:
!image-2018-07-02-22-33-13-396.png!
{code}
In the Eclipse log you'll find the following
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}
> 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
>
>
> 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:
> 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}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 9 months
[JBoss JIRA] (JBIDE-26084) Explorer: pods are show twice if they're controlled by an rc (no dc, no service)
by Jeff Cantrill (JIRA)
[ https://issues.jboss.org/browse/JBIDE-26084?page=com.atlassian.jira.plugi... ]
Jeff Cantrill commented on JBIDE-26084:
---------------------------------------
I don't know what ownerReferences does but previously the only way to map relationships between resources was to either:
* walk well-known annotations or labels from children to a parent
* make assumptions based on how things are wired. (e.g. service labels/ports which select a set of given pods, pod names derived as a result of RS/DC
> Explorer: pods are show twice if they're controlled by an rc (no dc, no service)
> --------------------------------------------------------------------------------
>
> Key: JBIDE-26084
> URL: https://issues.jboss.org/browse/JBIDE-26084
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.6.0.AM2
> Reporter: Andre Dietisheim
> Assignee: Dmitrii Bocharov
> Labels: explorer
> Fix For: 4.6.0.Final
>
> Attachments: eap-without-service-nor-deploymentconfig.json, image-2018-06-06-10-33-55-241.png
>
>
> steps:
> # EXEC: Create a new application via the following custom template [^eap-without-service-nor-deploymentconfig.json]
> # EXEC: look into OpenShift explorer and see where the pods for the application are shown
> Result:
> They're listed twice, once as pods on their own and a 2nd time as children for the replication controller (that the template creates)
> !image-2018-06-06-10-33-55-241.png!
> Also see the discussion in the PR Also see discussion for the corresponding [PR|https://github.com/jbosstools/jbosstools-openshift/pull/1748] for JBIDE-24979
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 9 months
[JBoss JIRA] (JBDS-4711) Add support for LFS via egit to Devstudio/JBoss Tools? (was ClassNotFoundException in Error Log after start: Builtin LFS support not present/detected)
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBDS-4711?page=com.atlassian.jira.plugin.... ]
Nick Boldt commented on JBDS-4711:
----------------------------------
Fix is in egit 5.0.1:
> See https://bugs.eclipse.org/bugs/show_bug.cgi?id=535917 and https://bugs.eclipse.org/bugs/show_bug.cgi?id=535954.
> To fix, install EGit/JGit 5.0.1, or the nightly build.
> EGit 5.0.1: http://download.eclipse.org/egit/updates/
> EGit nightly: http://download.eclipse.org/egit/updates-nightly/
> Add support for LFS via egit to Devstudio/JBoss Tools? (was ClassNotFoundException in Error Log after start: Builtin LFS support not present/detected)
> ------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: JBDS-4711
> URL: https://issues.jboss.org/browse/JBDS-4711
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Bug
> Components: build, upstream
> Affects Versions: 12.0.0.GA
> Environment: F28 + 12.0.0.GA-v20180625-0632-B2859
> Reporter: Josef Kopriva
> Assignee: Nick Boldt
> Priority: Minor
> Fix For: 12.x
>
>
> After every start of devstudio, there is a warning:
> {code:java}
> eclipse.buildId=12.0.0.GA-v20180625-0632-B2859
> java.version=1.8.0_172
> java.vendor=Oracle Corporation
> BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
> Framework arguments: -product com.jboss.devstudio.core.product
> Command-line arguments: -data file:/home/jkopriva/devstudio_B2859_2/workspace/ -os linux -ws gtk -arch x86_64 -product com.jboss.devstudio.core.product
> org.eclipse.egit.core
> Warning
> Mon Jun 25 13:18:32 CEST 2018
> Builtin LFS support not present/detected
> java.lang.ClassNotFoundException: org.eclipse.jgit.lfs.BuiltinLFS cannot be found by org.eclipse.egit.core_5.0.0.201806131550-r
> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:508)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:419)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:411)
> at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:264)
> at org.eclipse.egit.core.Activator.registerBuiltinLFS(Activator.java:279)
> at org.eclipse.egit.core.Activator.start(Activator.java:212)
> at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:779)
> at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:772)
> at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:729)
> at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:1002)
> at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:354)
> at org.eclipse.osgi.container.Module.doStart(Module.java:581)
> at org.eclipse.osgi.container.Module.start(Module.java:449)
> at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:468)
> at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:114)
> at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:505)
> at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:328)
> at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:392)
> at org.eclipse.osgi.internal.loader.sources.SingleSourcePackage.loadClass(SingleSourcePackage.java:36)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:454)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:419)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:411)
> at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> at org.eclipse.egit.ui.Activator$RepositoryChangeScanner.<init>(Activator.java:921)
> at org.eclipse.egit.ui.Activator.setupRepoChangeScanner(Activator.java:1034)
> at org.eclipse.egit.ui.Activator.start(Activator.java:336)
> at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:779)
> at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
> at java.security.AccessController.doPrivileged(Native Method)
> at org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:772)
> at org.eclipse.osgi.internal.framework.BundleContextImpl.start(BundleContextImpl.java:729)
> at org.eclipse.osgi.internal.framework.EquinoxBundle.startWorker0(EquinoxBundle.java:1002)
> at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.startWorker(EquinoxBundle.java:354)
> at org.eclipse.osgi.container.Module.doStart(Module.java:581)
> at org.eclipse.osgi.container.Module.start(Module.java:449)
> at org.eclipse.osgi.framework.util.SecureAction.start(SecureAction.java:468)
> at org.eclipse.osgi.internal.hooks.EclipseLazyStarter.postFindLocalClass(EclipseLazyStarter.java:114)
> at org.eclipse.osgi.internal.loader.classpath.ClasspathManager.findLocalClass(ClasspathManager.java:505)
> at org.eclipse.osgi.internal.loader.ModuleClassLoader.findLocalClass(ModuleClassLoader.java:328)
> at org.eclipse.osgi.internal.loader.BundleLoader.findLocalClass(BundleLoader.java:392)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:470)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:419)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:411)
> at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:150)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> at org.eclipse.osgi.internal.framework.EquinoxBundle.loadClass(EquinoxBundle.java:609)
> at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:177)
> at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:931)
> at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:243)
> at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:60)
> at org.eclipse.ui.internal.services.WorkbenchServiceRegistry.getSourceProviders(WorkbenchServiceRegistry.java:174)
> at org.eclipse.ui.internal.services.SourceProviderService.readRegistry(SourceProviderService.java:104)
> at org.eclipse.ui.internal.Workbench$34.runWithException(Workbench.java:2378)
> at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:32)
> at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:233)
> at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:144)
> at org.eclipse.swt.widgets.Display.syncExec(Display.java:5831)
> at org.eclipse.ui.internal.StartupThreading.runWithoutExceptions(StartupThreading.java:95)
> at org.eclipse.ui.internal.Workbench.initializeDefaultServices(Workbench.java:2373)
> at org.eclipse.ui.internal.Workbench.init(Workbench.java:1654)
> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2859)
> at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:654)
> at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
> at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:597)
> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
> at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
> at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
> at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
> at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:498)
> at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:656)
> at org.eclipse.equinox.launcher.Main.basicRun(Main.java:592)
> at org.eclipse.equinox.launcher.Main.run(Main.java:1498)
> at org.eclipse.equinox.launcher.Main.main(Main.java:1471)
> {code}
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
7 years, 9 months