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

RE: JTidy IllegalAccessError

From: Gary L Peskin <garyp@firstech.com>
Date: Wed, 21 Nov 2001 12:04:44 -0800
To: "'Kington, Tim'" <Tim_Kington@stercomm.com>, <html-tidy@w3.org>
Message-ID: <00b101c172c7$c3a91120$116da8c0@GARY004>
It could have to do with a ClassLoader that they're using.  Recompile
the Jtidy classes and rebuild the .jar and all should be fine.

Gary

> -----Original Message-----
> From: html-tidy-request@w3.org 
> [mailto:html-tidy-request@w3.org] On Behalf Of Kington, Tim
> Sent: Tuesday, November 20, 2001 7:48 AM
> To: 'html-tidy@w3.org'
> Subject: JTidy IllegalAccessError
> 
> 
> 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 15:05:38 GMT

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