This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 146597

Summary: javax.xml.soap.SOAPException: Unable to create message factory for SOAP: com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl cannot be cast to javax.xml.soap.MessageFactory
Product: webservices Reporter: Lukas Jungmann <jungi>
Component: CodeAssignee: Milan Kuchtiak <mkuchtiak>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P2    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=1692
Issue Type: DEFECT Exception Reporter: 1692

Description Lukas Jungmann 2008-09-09 00:47:51 UTC
11dups and still happing, but looks harmless though

Build: NetBeans IDE Dev (Build 200708191200)
VM: Java HotSpot(TM) Client VM, 1.6.0-b88-17-release
OS: Mac OS X, 10.4.10, i386
User comments: Created a new Web Application, then right clicked to create a Web Service... Error dialog popped up.
STACKTRACE: (first 10 lines)
javax.xml.soap.SOAPException: Unable to create message factory for SOAP:
com.sun.xml.messaging.saaj.soap.ver1_1.SOAPMessageFactory1_1Impl cannot be cast to javax.xml.soap.MessageFactory
        at javax.xml.soap.MessageFactory.newInstance(MessageFactory.java:0)
        at org.netbeans.modules.websvc.design.javamodel.Utils.setSoapResponse(Utils.java:501)
        at org.netbeans.modules.websvc.design.javamodel.Utils.populateOperation(Utils.java:403)
        at org.netbeans.modules.websvc.design.javamodel.Utils.access$000(Utils.java:79)
        at org.netbeans.modules.websvc.design.javamodel.Utils$1.run(Utils.java:238)
        at org.netbeans.modules.websvc.design.javamodel.Utils$1.run(Utils.java:244)
        at org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:564)
        at org.netbeans.modules.websvc.design.javamodel.Utils.populateModel(Utils.java:248)
        at org.netbeans.modules.websvc.design.javamodel.ServiceModel.populateModel(ServiceModel.java:299)
        at org.netbeans.modules.websvc.design.javamodel.ServiceModel.<init>(ServiceModel.java:63)
Comment 1 Milan Kuchtiak 2008-09-09 14:02:12 UTC
Fixed.
The logger level can be FINE:
http://hg.netbeans.org/main?cmd=changeset;node=ac98d7e4bef5
Comment 2 Quality Engineering 2008-09-10 06:04:05 UTC
Integrated into 'main-golden', will be available in build *200809100201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/ac98d7e4bef5
User: mkuchtiak@netbeans.org
Log: #146597: changing Logger level to FINE
Comment 3 Lukas Jungmann 2008-09-17 16:21:08 UTC
v.