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.
Steps to reproduce: - Create StockServer sample (or use some other service in following steps). - Invoke popup menu 'Edit Web Service Attributes' for service 'stockservice'. - In opened window check in checkbox 'Enable Message Level Security', choose some security mechanism and push 'OK' button. - Following exception occurs (stack trace is attached). - Invoke popup menu 'Edit Web Service Attributes' for service 'stockservice' again and notice that message level security is disabled. java.lang.annotation.AnnotationTypeMismatchException: Incorrectly typed data found for annotation element public abstract javax.xml.bind.annotation.AccessType javax.xml.bind.annotation.XmlAccessorType.value() (Found data of type Ljavax/xml/bind/annotation/XmlAccessType;.FIELD)
Created attachment 36530 [details] Exception stack trace
This bug is reproducible on JDK 1.6
*** Issue 92430 has been marked as a duplicate of this issue. ***
Exception from bug 92430: This bug is reproducible only with JDK 6. Steps to reproduce: - Create Web Application. - Create Web Service in this application. - Invoke web service attributes dialog. - Enable message level security and press OK button. - Following exception occurs. java.lang.NoClassDefFoundError: Could not initialize class com.sun.xml.bind.v2.model.impl.RuntimeModelBuilder at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:389) at com.sun.xml.bind.v2.runtime.JAXBContextImpl.<init>(JAXBContextImpl.java:253) at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:84) at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:66) at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:132) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:132) at javax.xml.bind.ContextFinder.find(ContextFinder.java:286) at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:372) at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:337) at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:244) at org.netbeans.modules.identity.profile.api.configurator.impl.file.AMConfigManager.createMarshaller(AMConfigManager.java:137) at org.netbeans.modules.identity.profile.api.configurator.impl.file.AMConfigManager.saveAMConfig(AMConfigManager.java:82) at org.netbeans.modules.identity.profile.api.configurator.impl.file.ProviderConfigImpl.saveProvider(ProviderConfigImpl.java:184) at org.netbeans.modules.identity.profile.api.configurator.ProviderConfigurator.save(ProviderConfigurator.java:391) at org.netbeans.modules.identity.profile.ui.WSPSecurityPanel.save(WSPSecurityPanel.java:129) at org.netbeans.modules.identity.profile.ui.WSPSectionNode.save(WSPSectionNode.java:53) at org.netbeans.modules.identity.profile.ui.SecurityView.save(SecurityView.java:74) at org.netbeans.modules.identity.profile.ui.editor.SecurityWSEditor.save(SecurityWSEditor.java:100) ...
This is probably related to the duplicate jaxb libraries issue in jdk1.6.
I am closing this issue as a duplicate of IZ 91622. Fixing bug 91622 should also fix this bug. In addition, I'll mark IZ 91622 as blocking the identity umbrella task. *** This issue has been marked as a duplicate of 91622 ***