https://bugzilla.redhat.com/show_bug.cgi?id=1226956
Bug ID: 1226956
Summary: eclipse-jgit cause compilation errors when Scala-IDE
plugin is installed
Product: Fedora
Version: 22
Component: eclipse-jgit
Assignee: mat.booth(a)redhat.com
Reporter: robert(a)marcanoonline.com
QA Contact: extras-qa(a)fedoraproject.org
CC: andjrobins(a)gmail.com,
eclipse-sig(a)lists.fedoraproject.org,
jerboaa(a)gmail.com, krzysztof.daniel(a)gmail.com,
mat.booth(a)redhat.com, rgrunber(a)redhat.com,
swagiaal(a)redhat.com
Created attachment 1033363
-->
https://bugzilla.redhat.com/attachment.cgi?id=1033363&action=edit
Eclipse log file
Description of problem:
When Scala-IDE is installed all Scala projects show compilation errors, The
attached log shows a NullPointerException when calling:
javax.xml.bind.DatatypeConverter.printBase64Binary(DatatypeConverter.java:435)
trying to debug the problem, I checked the source of printBase64Binary and
noticed that the lines for that method aren't near 435 on the OpenJDK sources.
This made me thing another implementation is packaged and loaded by one of the
Eclipse classloaders. I found eclipse-jgit containing
javax.xml.bind_2.0.0.v20080604-1500.jar and that one is the one being used.
After removing that jar fromthe dropin directory, Scala-IDE was able to compile
projects without errors.
Version-Release number of selected component (if applicable):
eclipse-jgit-3.7.0-2.fc22.noarch
Steps to Reproduce:
1. Install Scala-IDE from
http://scala-ide.org/
2. Start Eclipse and create a new Scala project
3. Add a new Scala class to the project like:
Test.scala------
case object Test
end Test.scala------
Actual results:
Compilation errors on the project, Eclipse log file with the exception (see
attached log)
Expected results:
Compilation should be successful
Additional info:
A lot of time has passed since I packaged Eclipse plugins for Fedora, so things
changed a lot. I don't see manual replacement of jars with links to dependent
jars. I didn't find where the javax.xml.bind_2.0.0.v20080604-1500.jar is
pulled.
OpenJDK 8 already include that implementation, to use that specific
implementation look like is not needed, or at least to be isolated to only that
plugin and not make it public to other plugins.
--
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug
https://bugzilla.redhat.com/token.cgi?t=StcXBSevJy&a=cc_unsubscribe