XML Parser in Servlet causes exception

David Brownell david-b at pacbell.net
Wed Oct 6 04:44:21 BST 1999


Lars George wrote:
> 
> Dave,
> 
> What channels do you talk about? One is the feedback address for the xml
> parser, which is located on the webpage where one can download the classes.
> What is the other one?

Through JDC there's a "report a bug" option that's pretty easy to find.
Since you downloaded that package, you have access to JDC.

 
> Sorry for not giving the full details of my problem (I thought I covered
> all, but .. :]):
> 
> I use JDK 1.1.8 Win32 as I want to run my servlet later under Linux using
> 1.1.7v3 Blackdown port.

So try JDK 1.2 then.  I use the Blackdown Linux JDK 1.2pre-v2 with
quite a lot of succes, as well as the a Win32 version of JDK 1.2
which also works fine.

If it checks out as not reproducible in JDK 1.2 then make clear that's
in your bug report against JDK 1.1.8 and highlight the fact that a fix
in the 1.1.x series is needed (if it is; and why.)  

- Dave

 
> Thanks,
> 
> Lars George
> Woodgate Research Pty Ltd
> Brisbane, Australia
> 
> > -----Original Message-----
> > From: owner-xml-dev at ic.ac.uk [mailto:owner-xml-dev at ic.ac.uk]On Behalf Of
> > David Brownell
> > Sent: Wednesday, 6 October 1999 12:07
> > To: Lars George
> > Cc: xml-dev at ic.ac.uk
> > Subject: Re: XML Parser in Servlet causes exception
> >
> >
> > Lars George wrote:
> > >
> > > Dave,
> > >
> > > Thanks for pointing that out, but unfortunately this does not
> > apply here.
> > > The release notes talk about recompiling the XML java classes,
> > which I have
> > > not done. Another indication is that it runs as the standalone
> > demo but not
> > > inside the servlet. Both VM point to the same classpath and both use the
> > > same jdk on my disk - so both should have the same problem.
> >
> > Hmm.  Seems like some kind of JVM bug then.  File it with Sun,
> > both through the JDK channels and through the Project X channels.
> >
> > Maybe try a more recent JDK; you didn't mention which one you're
> > using.
> >
> > - Dave
> >
> >
> >
> > >      As I have not
> > > recompiled the XML classes but use the precompiled one, this
> > error should
> > > not occur. BUT as I get this exception in a nearly similar
> > fashion I have
> > > the suspicion that this must be something related to it. But
> > how can I find
> > > out? Question, questions...
> > >
> > > Thanks,
> > >
> > > Lars George
> > > Woodgate Research Pty Ltd
> > > Brisbane, Australia
> > >
> > > > -----Original Message-----
> > > > From: owner-xml-dev at ic.ac.uk
> [mailto:owner-xml-dev at ic.ac.uk]On Behalf Of
> > > David Brownell
> > > Sent: Wednesday, 6 October 1999 5:01
> > > To: Lars George
> > > Cc: xml-dev at ic.ac.uk
> > > Subject: Re: XML Parser in Servlet causes exception
> > >
> > >
> > > Lars George wrote:
> > > >
> > > > java.lang.IllegalAccessError: com/sun/xml/tree/ParentNode at
> > >
> > > There's some information in the release notes about this
> > > diagnostic, which so far as I know _only_ shows up if the
> > > source code was recompiled with a JDK 1.1 version of "javac".
> > >
> > > The issue is that the JDK 1.1 compiler (and many derived
> > > compilers) generate incorrect bytecodes, which cause that
> > > exception to be reported.  I've not heard of any JVM which
> > > reports that error when given _correct_ bytecodes.
> > >
> > > - Dave
> > >
> 
> xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
> Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN
> 981-02-3594-1
> To unsubscribe, mailto:majordomo at ic.ac.uk the following message;
> unsubscribe xml-dev
> To subscribe to the digests, mailto:majordomo at ic.ac.uk the following
> message;
> subscribe xml-dev-digest
> List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)

xml-dev: A list for W3C XML Developers. To post, mailto:xml-dev at ic.ac.uk
Archived as: http://www.lists.ic.ac.uk/hypermail/xml-dev/ and on CD-ROM/ISBN 981-02-3594-1
To unsubscribe, mailto:majordomo at ic.ac.uk the following message;
unsubscribe xml-dev
To subscribe to the digests, mailto:majordomo at ic.ac.uk the following message;
subscribe xml-dev-digest
List coordinator, Henry Rzepa (mailto:rzepa at ic.ac.uk)





More information about the Xml-dev mailing list