Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Tycho build fails using version 1.4.0 with JDK 11(Tycho build fails using version 1.4.0 with JDK 11)
Tycho build fails using version 1.4.0 with JDK 11 [message #1817360] Thu, 21 November 2019 05:35 Go to next message
Veerababu  Maragani is currently offline Veerababu MaraganiFriend
Messages: 21
Registered: June 2019
Junior Member
Hi ,

Recently i upgraded all my target platform plugins to latest like the above attached file.

When i am trying to build the plugins with tycho version 1.4.0 with JDK 11, i am facing the below error ,
can you please let me know the problem.



[INFO] Scanning for projects...
[ERROR] Internal error: de.pdark.decentxml.XMLParseException: Line 2416, column 4: Expected '<!--' -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: de.pdark.decentxml.XMLParseException: Line 2416, column 4: Expected '<!--'
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:120)
at org.apache.maven.cli.MavenCli.execute(MavenCli.java:956)
at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:288)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:192)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
Caused by: de.pdark.decentxml.XMLParseException: Line 2416, column 4: Expected '<!--'
at de.pdark.decentxml.XMLTokenizer.parseComment(XMLTokenizer.java:454)
at de.pdark.decentxml.XMLTokenizer.parseExcalamation(XMLTokenizer.java:372)
at de.pdark.decentxml.XMLTokenizer.parseBeginSomething(XMLTokenizer.java:305)
at de.pdark.decentxml.XMLTokenizer.next(XMLTokenizer.java:235)
at de.pdark.decentxml.XMLParser.parseElementContent(XMLParser.java:835)
at de.pdark.decentxml.XMLParser.parseElement(XMLParser.java:821)
at de.pdark.decentxml.XMLParser.parse(XMLParser.java:159)
at org.eclipse.tycho.model.Feature.read(Feature.java:213)
at org.eclipse.tycho.model.Feature.read(Feature.java:208)
at org.eclipse.tycho.model.Feature.loadFeature(Feature.java:266)
at org.eclipse.tycho.core.osgitools.EclipseFeatureProject.setupProject(EclipseFeatureProject.java:53)
at org.eclipse.tycho.core.resolver.DefaultTychoResolver.setupProject(DefaultTychoResolver.java:75)
at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:90)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:264)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
... 11 more
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/InternalErrorException
  • Attachment: Capture.PNG
    (Size: 33.11KB, Downloaded 90 times)
Re: Tycho build fails using version 1.4.0 with JDK 11 [message #1817872 is a reply to message #1817360] Mon, 02 December 2019 04:51 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33133
Registered: July 2009
Senior Member
I can't tell which file is being parsed with this problem. Some feature.xml I suppose has XML comments that can't be processed properly....

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: Tycho build fails using version 1.4.0 with JDK 11 [message #1818599 is a reply to message #1817872] Fri, 20 December 2019 10:53 Go to previous message
Rolf Theunissen is currently offline Rolf TheunissenFriend
Messages: 260
Registered: April 2012
Senior Member
For reference, this question is answered in the Tycho mailing lists: https://www.eclipse.org/lists/tycho-user/msg08345.html
Previous Topic:Some Help With Changing to Java 13
Next Topic:Java runtime environment not found fix
Goto Forum:
  


Current Time: Tue Apr 16 10:11:42 GMT 2024

Powered by FUDForum. Page generated in 1.36991 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top