[antlr-interest] antlrworks

fhaupt at informatik.uni-wuerzburg.de fhaupt at informatik.uni-wuerzburg.de
Mon Dec 4 03:18:55 PST 2006


Hi there,

i'm trying to use antlrworks-1.07b(http://www.antlr.org/download/antlrworks-1.0b7.jar) . i'm trying to execute it as 
described at the homepage. 

i have java, as it is required, at least it says so in the docu:
java -version
java version "1.4.2_12"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_12-b03)
Java HotSpot(TM) Client VM (build 1.4.2_12-b03, mixed mode)

but i get an error at starting :


java -jar antlrworks-1.07b.jar 
Warning: Cannot convert string "-b&h-lucida-medium-r-normal-sans-*-140-*-*-p-*-iso8859-1" to type FontStruct
java.lang.NullPointerException
	at java.io.File.<init>(File.java:180)
	at org.antlr.works.components.grammar.CEditorGrammar.isFileWritable(Unknown Source)
	at org.antlr.works.components.grammar.CEditorGrammar.updateInformation(Unknown Source)
	at org.antlr.works.components.grammar.CEditorGrammar.componentDidAwake(Unknown Source)
	at org.antlr.works.components.grammar.CContainerGrammar.becomingVisibleForTheFirstTime(Unknown Source)
	at edu.usfca.xj.appkit.frame.XJFrame.setVisible(Unknown Source)
	at edu.usfca.xj.appkit.frame.XJFrame.show(Unknown Source)
	at edu.usfca.xj.appkit.document.XJDocument.showWindow(Unknown Source)
	at edu.usfca.xj.appkit.app.XJApplication.newDocument(Unknown Source)
	at edu.usfca.xj.appkit.app.XJApplication.newDocument(Unknown Source)
	at org.antlr.works.IDE.appDidLaunch(Unknown Source)
	at edu.usfca.xj.appkit.app.XJApplication$1.run(Unknown Source)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
	at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)


am I missing something here? Could someone point me in the right direction please?

Thanks a lot for any advice.

greets
Fabian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.antlr.org/pipermail/antlr-interest/attachments/20061204/bb52e1da/attachment.bin 


More information about the antlr-interest mailing list