Error when trying to open JabRef with ADS plugin

Bug #485037 reported by Katherine Kretke
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
jabref-ads
Fix Released
Medium
Ryo IGARASHI

Bug Description

After putting the ADS plugin into my JabRef plugin folder I got the following error when I tried to run JabRef-2.4.2

$ java -jar JabRef-2.4.2.jar

ERROR while starting or running JabRef:

java.lang.NoClassDefFoundError: javax/xml/stream/XMLStreamException
        at java.lang.Class.getDeclaredConstructors0(Native Method)
        at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
        at java.lang.Class.getConstructor0(Class.java:2671)
        at java.lang.Class.newInstance0(Class.java:321)
        at java.lang.Class.newInstance(Class.java:303)
        at net.sf.jabref.plugin.util.ParameterAccessor.getClassParameter(ParameterAccessor.java:296)
        at net.sf.jabref.plugin.core.generated._JabRefPlugin$EntryFetcherExtension.getEntryFetcher(_JabRefPlugin.java:189)
        at net.sf.jabref.JabRefFrame.initSidePane(JabRefFrame.java:525)
        at net.sf.jabref.JabRefFrame.init(JabRefFrame.java:434)
        at net.sf.jabref.JabRefFrame.<init>(JabRefFrame.java:412)
        at net.sf.jabref.JabRef.openWindow(JabRef.java:696)
        at net.sf.jabref.JabRef.<init>(JabRef.java:159)
        at net.sf.jabref.JabRef.main(JabRef.java:79)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:592)
        at net.sf.jabref.JabRefMain.main(Unknown Source)

  * Java Version: 1.5.0_20
  * Java Vendor: Apple Inc.
  * Operating System: Mac OS X (10.5.8)
  * Hardware Architecture: i386

Thanks! Looking forwards fetching Bibtex entries directly from ADS!

Ryo IGARASHI (rigarash)
Changed in jabref-ads:
assignee: nobody → Ryo IGARASHI (rigarash)
Ryo IGARASHI (rigarash)
Changed in jabref-ads:
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Ryo IGARASHI (rigarash) wrote :

Hi, Katherine,

Thank you for your bug report.
Looks like my plugin code is not compatible with J2SE 5.0.
If you can use Java SE 6, there will be no problem.
(Update JabRef to 2.5 won't solve your problem)

The root cause of this problem is that the javax.xml.stream package
is introduced from Java SE 6

However I found that there is no Java SE 6 available for i386 OSX from Apple.
I will update the source code in order to work with J2SE 5.0.

Best regards,
--
Ryo IGARASHI, Ph.D.
<email address hidden>

Ryo IGARASHI (rigarash)
Changed in jabref-ads:
milestone: none → 0.3
Ryo IGARASHI (rigarash)
Changed in jabref-ads:
status: Confirmed → Fix Released
Revision history for this message
Katherine Kretke (kretke) wrote :

Thanks Ryo!

It works wonderfully for me now,
Katherine

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.