W3C home > Mailing lists > Public > html-tidy@w3.org > October to December 2001

JTidy IllegalAccessError

From: Kington, Tim <Tim_Kington@stercomm.com>
Date: Tue, 20 Nov 2001 10:47:45 -0500 (EST)
Message-ID: <73839EE85D27D4118703000629383540038BFCA7@cmh0401xcn01.isg.stercomm.com>
To: "'html-tidy@w3.org'" <html-tidy@w3.org>
I have been using JTidy successfully for a while, and I am now trying to get
my application working with Java Web Start.  When my app is running from
inside WebStart, I am getting the following exception:

Exception occurred during event dispatching:
java.lang.IllegalAccessError: try to access field
org.w3c.tidy.ParserImpl._parseHead from class
org.w3c.tidy.ParserImpl$ParseHTML
	at org.w3c.tidy.ParserImpl$ParseHTML.parse(ParserImpl.java)
 	at org.w3c.tidy.ParserImpl.parseDocument(ParserImpl.java) 
	at org.w3c.tidy.Tidy.parse(Tidy.java) 
	at org.w3c.tidy.Tidy.parseDOM(Tidy.java)

I have seen the old messages about this being a problem with MS VMs, so I
took a look at the WebStart settings, and it is pointing to the JRE 1.3
javaw.exe file.  I have tried running my program with this VM, and it works
fine as long as I'm not running it from WebStart.

Does anyone have any ideas?

Tim Kington
Received on Wednesday, 21 November 2001 14:53:03 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 3 April 2012 06:13:46 GMT