[jbosstools-issues] [JBoss JIRA] (JBDS-4157) Validation doesn't work - NoClassDefFoundError: jdk/nashorn/internal/runtime/ECMAException
Lukáš Valach (JIRA)
issues at jboss.org
Mon Nov 7 07:07:00 EST 2016
[ https://issues.jboss.org/browse/JBDS-4157?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13318085#comment-13318085 ]
Lukáš Valach commented on JBDS-4157:
------------------------------------
Thanks for comments. I am not able to find some of rpms in versions as you want. I am using this repository
http://download-node-02.eng.bos.redhat.com/rel-eng/RHSCL-2.3-RHEL-7-RC-1.1/compose/Server/x86_64/os/Packages/
[~nickboldt], could you provide your yum repository configuration please?
Today I tried it again with rh-eclipse46-devstudio-10.2-0.20161107.1006.el7.x86_64. I didn't reproduce the ECMAException when I import [^jboss-as-kitchensink-html5-mobile.zip] from zip archive, but I get this error again when I import this project as Maven project.
!ECMAException_import_as_maven_project_20161107.png|thumbnail!
[^rh-eclipse46-devstudio10.2.log.20161107-1117.txt]
Could you try it once again please?
# Download [^jboss-as-kitchensink-html5-mobile.zip]
# Unzip
# File > Import > Maven > Existing Maven Projects > /home/lvalach/Downloads/jboss-as-kitchensink-html5-mobile/
I think you didn't reproduce this error because of project configuration.
I also tried to import clean project from Central, I didn't get ECMAException, but validation still doesn't work.
??Curiously, your noted class, test.RestService, is not in the current version of the quickstart??
Yes, you are right, I created this class by myself because of test [JBDS-5753|https://polarion.engineering.redhat.com/polarion/#/project/JBDS/workitem?id=JBDS-5753].
Validation works fine on my Fedora where I have Devstudio installed form jar.
> Validation doesn't work - NoClassDefFoundError: jdk/nashorn/internal/runtime/ECMAException
> ------------------------------------------------------------------------------------------
>
> Key: JBDS-4157
> URL: https://issues.jboss.org/browse/JBDS-4157
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Bug
> Components: rpm, webservices
> Affects Versions: 10.2.0.AM3
> Environment: RHEL7, 64bit
> Reporter: Lukáš Valach
> Assignee: Lukáš Valach
> Fix For: 10.2.0.GA
>
> Attachments: eclipse_log_ECMAException.txt, ECMAException_import_as_maven_project_20161107.png, jboss-as-kitchensink-html5-mobile.zip, nope.png, rh-eclipse46-devstudio10.2.log.20161107-1117.txt
>
>
> I notice that devstudio isn't able to validate rest service class. There is following error in the log.
> {code}
> !ENTRY org.eclipse.core.jobs 4 2 2016-11-03 11:52:21.836
> !MESSAGE An internal error occurred during: "Validating jboss-as-kitchensink-html5-mobile".
> !STACK 0
> java.lang.NoClassDefFoundError: jdk/nashorn/internal/runtime/ECMAException
> at org.eclipse.wst.jsdt.core.dom.ASTParser.internalCreateAST(ASTParser.java:903)
> at org.eclipse.wst.jsdt.core.dom.ASTParser.createAST(ASTParser.java:673)
> at org.eclipse.wst.jsdt.internal.core.validation.JavaScriptValidator.validate(JavaScriptValidator.java:62)
> at org.eclipse.wst.validation.Validator$V2.validate(Validator.java:1159)
> at org.eclipse.wst.validation.internal.ValManager.validate(ValManager.java:704)
> at org.eclipse.wst.validation.internal.ValManager$1.visit(ValManager.java:665)
> at org.eclipse.wst.validation.internal.ValManager.accept(ValManager.java:810)
> at org.eclipse.wst.validation.internal.ValManager.validate(ValManager.java:669)
> at org.eclipse.wst.validation.internal.ValBuilderJob$Visitor.visit(ValBuilderJob.java:299)
> at org.eclipse.core.internal.resources.Resource$2.visit(Resource.java:120)
> at org.eclipse.core.internal.resources.Resource$1.visitElement(Resource.java:84)
> at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:82)
> at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)
> at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)
> at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)
> at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)
> at org.eclipse.core.internal.watson.ElementTreeIterator.doIteration(ElementTreeIterator.java:87)
> at org.eclipse.core.internal.watson.ElementTreeIterator.iterate(ElementTreeIterator.java:129)
> at org.eclipse.core.internal.resources.Resource.accept(Resource.java:94)
> at org.eclipse.core.internal.resources.Resource.accept(Resource.java:52)
> at org.eclipse.core.internal.resources.Resource.accept(Resource.java:117)
> at org.eclipse.core.internal.resources.Resource.accept(Resource.java:105)
> at org.eclipse.wst.validation.internal.ValBuilderJob.fullBuild(ValBuilderJob.java:219)
> at org.eclipse.wst.validation.internal.ValBuilderJob.run(ValBuilderJob.java:178)
> at org.eclipse.wst.validation.internal.ValBuilderJob.runInWorkspace(ValBuilderJob.java:126)
> at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:39)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> Caused by: java.lang.ClassNotFoundException: jdk.nashorn.internal.runtime.ECMAException cannot be found by org.eclipse.wst.jsdt.core_2.0.0.v201610121400
> at org.eclipse.osgi.internal.loader.BundleLoader.findClassInternal(BundleLoader.java:461)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:372)
> at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:364)
> at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:161)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> ... 27 more
> {code}
> There are also errors like this
> {code}
> java.lang.NoClassDefFoundError: org/apache/lucene/analysis/standard/StandardAnalyzer
> {code}
> I know that lucene is known issue but what about ECMAException?
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
More information about the jbosstools-issues
mailing list