Hi - the other day I post a message about a problem I was getting with using Axis inside an Idea plugin. Havn't had any response so thought I'd try again.

Anyone know what the problem here is? Any idea why I'd be getting a ClassCastException? Thinking it might be conflict in Xerces between what I was using standalone, and what Idea uses in its lib directory, I copied its version to my app, but it worked, so I have no idea what the problem is, anyone able to help?




6 [SendTests] ERROR utils.XMLUtils - Exception:
java.lang.ClassCastException
at javax.xml.parsers.DocumentBuilderFactory.newInstance(Unknown Source)
at org.apache.axis.utils.XMLUtils.getDOMFactory(XMLUtils.java:230)
at org.apache.axis.utils.XMLUtils.<clinit>(XMLUtils.java:110)
at org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.jav
a:209)
at org.apache.axis.AxisEngine.init(AxisEngine.java:185)
at org.apache.axis.AxisEngine.<init>(AxisEngine.java:170)
at org.apache.axis.client.AxisClient.<init>(AxisClient.java:88)
at org.apache.axis.client.Service.getAxisClient(Service.java:140)
at org.apache.axis.client.Service.<init>(Service.java:182)
at com.bulletinwireless.message.soap.BulletinServerProxy.<init>(BulletinServer
Proxy.java:84)
at com.bulletinwireless.testharness.support.SoapSender.<init>(SoapSender.java:
25)
at com.bulletinwireless.testharness.test.SoapMessageTest.<init>(SoapMessageTes
t.java:18)
at com.bulletinwireless.testharness.test.SendTests.run(SendTests.java:46)
at java.lang.Thread.run(Thread.java:536)
[ 61083] ERROR - intellij.plugins.PluginManager -
[ 61086] ERROR - intellij.plugins.PluginManager - IntelliJ IDEA (Aurora) Build #807
[ 61086] ERROR - intellij.plugins.PluginManager - JDK: 1.4.1_02
[ 61087] ERROR - intellij.plugins.PluginManager - VM: Java HotSpot(TM) Client VM
[ 61087] ERROR - intellij.plugins.PluginManager - Vendor: Sun Microsystems Inc.
[ 61087] ERROR - intellij.plugins.PluginManager - OS: Linux
[ 61087] ERROR - intellij.plugins.PluginManager - Last Action:
[ 61140] ERROR - intellij.plugins.PluginManager - Original exception:
java.lang.ClassCastException
at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
at org.apache.axis.utils.XMLUtils.initSAXFactory(XMLUtils.java:218)
at org.apache.axis.utils.XMLUtils.<clinit>(XMLUtils.java:119)
at org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.jav
a:209)
at org.apache.axis.AxisEngine.init(AxisEngine.java:185)
at org.apache.axis.AxisEngine.<init>(AxisEngine.java:170)
at org.apache.axis.client.AxisClient.<init>(AxisClient.java:88)
at org.apache.axis.client.Service.getAxisClient(Service.java:140)
at org.apache.axis.client.Service.<init>(Service.java:182)
at com.bulletinwireless.message.soap.BulletinServerProxy.<init>(BulletinServer
Proxy.java:84)
at com.bulletinwireless.testharness.support.SoapSender.<init>(SoapSender.java:
25)
at com.bulletinwireless.testharness.test.SoapMessageTest.<init>(SoapMessageTes
t.java:18)
at com.bulletinwireless.testharness.test.SendTests.run(SendTests.java:46)
at java.lang.Thread.run(Thread.java:536)
[ 61380] ERROR - intellij.plugins.PluginManager -
java.lang.ExceptionInInitializerError
at org.apache.axis.configuration.FileProvider.configureEngine(FileProvider.jav
a:209)
at org.apache.axis.AxisEngine.init(AxisEngine.java:185)
at org.apache.axis.AxisEngine.<init>(AxisEngine.java:170)
at org.apache.axis.client.AxisClient.<init>(AxisClient.java:88)
at org.apache.axis.client.Service.getAxisClient(Service.java:140)
at org.apache.axis.client.Service.<init>(Service.java:182)
at com.bulletinwireless.message.soap.BulletinServerProxy.<init>(BulletinServer
Proxy.java:84)
at com.bulletinwireless.testharness.support.SoapSender.<init>(SoapSender.java:
25)
at com.bulletinwireless.testharness.test.SoapMessageTest.<init>(SoapMessageTes
t.java:18)
at com.bulletinwireless.testharness.test.SendTests.run(SendTests.java:46)
at java.lang.Thread.run(Thread.java:536)
Caused by: java.lang.ClassCastException
at javax.xml.parsers.SAXParserFactory.newInstance(Unknown Source)
at org.apache.axis.utils.XMLUtils.initSAXFactory(XMLUtils.java:218)
at org.apache.axis.utils.XMLUtils.<clinit>(XMLUtils.java:119)
... 11 more


Reply via email to