[Bug 100] New: jabref execution fails
| Newsgroups | gmane.comp.java.vm.sablevm.bugs |
|---|---|
| Message-ID | <[email protected]> |
http://sablevm.org/bugs/show_bug.cgi?id=100
Summary: jabref execution fails
Product: SableVM
Version: 1.1.7
Platform: PC
URL: http://jabref.sourceforge.net
OS/Version: Linux
Status: NEW
Severity: major
Priority: P2
Component: default
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
Hi,
I have tried to run JabRef (from jabref.sourceforge.net) using the SableVM
obtained from the Debian/testing repository.
I obtained a runtime error, which I mailed to the program's list. I was advised
that this was a bug specific to SableVM and that I should report it here.
Following are : version numbers, error report, and from the jabref mailing list
the code which allegedly creates this error (note I am unable to verify this part).
Cheers
aurelien.
------
aurelien@pcfizz:~$ java -V
SableVM version 1.1.9
- compile date and time: 2005-01-21 04:10:55 UTC
- gcc version: 3.3.5 (Debian 1:3.3.5-6)
- 'real life brokenness' features enabled
- signal based exception detection
- copying garbage collection
- bidirectional object layout
- inline-threaded interpreter
aurelien@pcfizz:~$ java -jar JabRef-1.7b.jar
java.lang.NullPointerException
at java.text.DecimalFormatSymbols.setCurrency (DecimalFormatSymbols.java:397)
at java.text.DecimalFormatSymbols.DecimalFormatSymbols
(DecimalFormatSymbols.java:151)
at java.text.NumberFormat.computeInstance (NumberFormat.java:327)
at java.text.NumberFormat.getNumberInstance (NumberFormat.java:456)
at java.text.NumberFormat.getInstance (NumberFormat.java:381)
at java.text.SimpleDateFormat.SimpleDateFormat (SimpleDateFormat.java:218)
at java.text.SimpleDateFormat.SimpleDateFormat (SimpleDateFormat.java:202)
at java.util.logging.XMLFormatter.this (XMLFormatter.java:82)
at java.util.logging.XMLFormatter.XMLFormatter (XMLFormatter.java:59)
at java.lang.reflect.Constructor.constructNative (Constructor.java)
at java.lang.reflect.Constructor.newInstance (Constructor.java:408)
at java.lang.Class.newInstance (Class.java:1504)
at java.util.logging.LogManager.getInstanceProperty (LogManager.java:765)
at java.util.logging.StreamHandler.StreamHandler (StreamHandler.java:138)
at java.util.logging.FileHandler.FileHandler (FileHandler.java:334)
at java.util.logging.FileHandler.FileHandler (FileHandler.java:254)
at net.sf.jabref.Globals.turnOnFileLogging (Globals.java:100)
at net.sf.jabref.JabRef.main (JabRef.java:80)
at java.lang.VirtualMachine.invokeMain (VirtualMachine.java)
at java.lang.VirtualMachine.main (VirtualMachine.java:108)
------
It would be useful if you could tell them what String was passed to the
method... mmm... I've looked at the JabRef code from where this error
occurs, and it's this piece:
Logger.global.setLevel(java.util.logging.Level.ALL);
java.util.logging.Handler handler;
try {
handler = new FileHandler(logfile); // this will overwrite
}
catch (IOException e) { //can't open log file so use console
e.printStackTrace();
handler = new ConsoleHandler();
}
Logger.global.addHandler(handler);
The handler = new FileHandler(logfile); line...
------
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.