Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
RE: [aspectj-users] Problem with classcastexception

Hi

I also found the first one, but there was no response as to if the suggestion solved the problem. The second one I did not catch, thanks for pointing to me.

mvh
Hermod 
-----Original Message-----
From: aspectj-users-bounces@xxxxxxxxxxx [mailto:aspectj-users-bounces@xxxxxxxxxxx] On Behalf Of Andy Clement
Sent: Wednesday, May 06, 2009 4:52 AM
To: aspectj-users@xxxxxxxxxxx
Subject: Re: [aspectj-users] Problem with classcastexception

I don't know of any, but the error you quoted seemed familar to me.  I did some googling and found an AspectJ reference:

http://www.mail-archive.com/aspectj-users@xxxxxxxxxxx/msg00413.html

and some websphere references:

http://www-01.ibm.com/support/docview.wss?rs=180&uid=swg1PK57660

any use?

Andy

2009/5/4  <hermod.opstvedt@xxxxxxxxx>:
> Hi
>
> Are there any requirements for running LTW with respect to SAX? For 
> one of our applications running on WebSphere I am getting a 
> ClassCastException when LTW is enabled. If I turn of LTW it disappears :
>
>
> 27.04.09 13:00:21:446 CEST] 0000004f SystemErr     R 
> [ExtJarClassLoader@1ebe346] warning parse definitions failed --
> (ClassCastException) org.apache.xerces.jaxp.SAXParserFactoryImpl
> org.apache.xerces.jaxp.SAXParserFactoryImpl
> java.lang.ClassCastException:
> org.apache.xerces.jaxp.SAXParserFactoryImpl
>        at javax.xml.parsers.SAXParserFactory.newInstance(Unknown
> Source)
>        at
> org.aspectj.weaver.loadtime.definition.DocumentParser.getXMLReader(Doc
> um
> entParser.java:130)
>        at
> org.aspectj.weaver.loadtime.definition.DocumentParser.parse(DocumentPa
> rs
> er.java:87)
>        at
> org.aspectj.weaver.loadtime.ClassLoaderWeavingAdaptor.parseDefinitions
> (C
> lassLoaderWeavingAdaptor.java:237)
>        at
> org.aspectj.weaver.loadtime.DefaultWeavingContext.getDefinitions(Defau
> lt
> WeavingContext.java:123)
>        at
> org.aspectj.weaver.loadtime.ClassLoaderWeavingAdaptor.initialize(Class
> Lo
> aderWeavingAdaptor.java:144)
>        at
> org.aspectj.weaver.loadtime.Aj$ExplicitlyInitializedClassLoaderWeaving
> Ad
> aptor.initialize(Aj.java:269)
>        at
> org.aspectj.weaver.loadtime.Aj$ExplicitlyInitializedClassLoaderWeaving
> Ad
> aptor.getWeavingAdaptor(Aj.java:274)
>        at
> org.aspectj.weaver.loadtime.Aj$WeaverContainer.getWeaver(Aj.java:252)
>        at org.aspectj.weaver.loadtime.Aj.preProcess(Aj.java:89)
>        at
> org.aspectj.weaver.loadtime.ClassPreProcessorAgentAdapter.transform(Cl
> as
> sPreProcessorAgentAdapter.java:52)
>        at
> sun.instrument.TransformerManager.transform(TransformerManager.java:12
> 2)
> ....
>
>
> Hermod
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
> * * *
>
> This email with attachments is solely for the use of the individual or 
> entity to whom it is addressed. Please also be aware that the DnB NOR 
> Group cannot accept any payment orders or other legally binding 
> correspondence with customers as a part of an email.
>
> This email message has been virus checked by the anti virus programs 
> used in the DnB NOR Group.
>
> * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
> * * *
>
> _______________________________________________
> aspectj-users mailing list
> aspectj-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/aspectj-users
>
_______________________________________________
aspectj-users mailing list
aspectj-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aspectj-users
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *

This email with attachments is solely for the use of the individual or
entity to whom it is addressed. Please also be aware that the DnB NOR Group
cannot accept any payment orders or other legally binding correspondence with
customers as a part of an email. 

This email message has been virus checked by the anti virus programs used
in the DnB NOR Group.

* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *



Back to the top