Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
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(Docum
> entParser.java:130)
>        at
> org.aspectj.weaver.loadtime.definition.DocumentParser.parse(DocumentPars
> er.java:87)
>        at
> org.aspectj.weaver.loadtime.ClassLoaderWeavingAdaptor.parseDefinitions(C
> lassLoaderWeavingAdaptor.java:237)
>        at
> org.aspectj.weaver.loadtime.DefaultWeavingContext.getDefinitions(Default
> WeavingContext.java:123)
>        at
> org.aspectj.weaver.loadtime.ClassLoaderWeavingAdaptor.initialize(ClassLo
> aderWeavingAdaptor.java:144)
>        at
> org.aspectj.weaver.loadtime.Aj$ExplicitlyInitializedClassLoaderWeavingAd
> aptor.initialize(Aj.java:269)
>        at
> org.aspectj.weaver.loadtime.Aj$ExplicitlyInitializedClassLoaderWeavingAd
> 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(Clas
> sPreProcessorAgentAdapter.java:52)
>        at
> sun.instrument.TransformerManager.transform(TransformerManager.java:122)
> ....
>
>
> 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
>


Back to the top