java.lang.RuntimeException: Cannot find namespace for: ns1

Oracle Community | 621283 | 9 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Jdeveloper 11.1.1.0.0 - Error when generating webservice from Collection or

    Oracle Community | 9 years ago | 621283
    java.lang.RuntimeException: Cannot find namespace for: ns1

    Root Cause Analysis

    1. java.lang.RuntimeException

      Cannot find namespace for: ns1

      at oracle.j2ee.ws.wsdl.extensions.oracle.schema.BaseSchemaElement.getQNameFromValue()
    2. oracle.j2ee.ws
      Util.createDeploymentDescriptors
      1. oracle.j2ee.ws.wsdl.extensions.oracle.schema.BaseSchemaElement.getQNameFromValue(BaseSchemaElement.java:185)
      2. oracle.j2ee.ws.wsdl.extensions.oracle.schema.BaseSchemaElement.getAttributeValueAsQNameOrNull(BaseSchemaElement.java:173)
      3. oracle.j2ee.ws.wsdl.extensions.oracle.schema.ElementSchemaElement.getTypeAsQName(ElementSchemaElement.java:63)
      4. oracle.j2ee.ws.common.processor.modeler.wsdl.SchemaValidator.validate(SchemaValidator.java:145)
      5. oracle.j2ee.ws.common.processor.modeler.wsdl.SchemaValidator.validateSequence(SchemaValidator.java:414)
      6. oracle.j2ee.ws.common.processor.modeler.wsdl.SchemaValidator.validateComplexType(SchemaValidator.java:224)
      7. oracle.j2ee.ws.common.processor.modeler.wsdl.SchemaValidator.validate(SchemaValidator.java:157)
      8. oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLValidator.validateElement(WSDLValidator.java:709)
      9. oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLValidator.validateParts(WSDLValidator.java:667)
      10. oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLValidator.validateMessage(WSDLValidator.java:644)
      11. oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLValidator.validateOutput(WSDLValidator.java:604)
      12. oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLValidator.validateOperations(WSDLValidator.java:596)
      13. oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLValidator.validatePortType(WSDLValidator.java:585)
      14. oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLValidator.validateDefinition(WSDLValidator.java:97)
      15. oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLValidator.validate(WSDLValidator.java:68)
      16. oracle.j2ee.ws.common.processor.modeler.wsdl.WSDLModeler.buildModel(WSDLModeler.java:247)
      17. oracle.j2ee.ws.common.processor.config.ModelInfo.buildModel(ModelInfo.java:171)
      18. oracle.j2ee.ws.common.processor.Processor.runModeler(Processor.java:73)
      19. oracle.j2ee.ws.tools.wsa.AssemblerTool.run(AssemblerTool.java:126)
      20. oracle.j2ee.ws.tools.wsa.WsdlToJavaTool.createModel(WsdlToJavaTool.java:471)
      21. oracle.j2ee.ws.tools.wsa.Util.createDeploymentDescriptors(Util.java:913)
      21 frames
    3. oracle.jdeveloper.webservices
      GeneratorAction.run
      1. oracle.jdeveloper.webservices.model.generator.GenerateDescriptors.action(GenerateDescriptors.java:146)
      2. oracle.jdeveloper.webservices.model.java.generator.JavaEjbGenerateDescriptors.action(JavaEjbGenerateDescriptors.java:78)
      3. oracle.jdeveloper.webservices.model.generator.GeneratorAction.run(GeneratorAction.java:151)
      3 frames
    4. Java RT
      Component.setVisible
      1. java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
      2. java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
      3. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
      4. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
      5. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
      6. java.awt.Dialog$1.run(Dialog.java:525)
      7. java.awt.Dialog$2.run(Dialog.java:553)
      8. java.security.AccessController.doPrivileged(Native Method)
      9. java.awt.Dialog.show(Dialog.java:551)
      10. java.awt.Component.show(Component.java:1300)
      11. java.awt.Component.setVisible(Component.java:1253)
      11 frames
    5. oracle.bali.ewt
      JEWTDialog.runDialog
      1. oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
      2. oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
      2 frames
    6. oracle.ide.dialogs
      ProgressBar.start
      1. oracle.ide.dialogs.ProgressBar.start(ProgressBar.java:358)
      2. oracle.ide.dialogs.ProgressBar.start(ProgressBar.java:222)
      3. oracle.ide.dialogs.ProgressBar.start(ProgressBar.java:194)
      3 frames
    7. oracle.jdeveloper.webservices
      Model.saveEditSync
      1. oracle.jdeveloper.webservices.model.Model.saveEditSync(Model.java:226)
      1 frame
    8. oracle.jdevimpl.webservices
      WebServicesAddin.handleEvent
      1. oracle.jdevimpl.webservices.wizard.jaxrpc.WebServicesEditor.showDialog(WebServicesEditor.java:296)
      2. oracle.jdevimpl.webservices.WebServicesAddin.findAndInvokeWizard(WebServicesAddin.java:1408)
      3. oracle.jdevimpl.webservices.WebServicesAddin.handleEvent(WebServicesAddin.java:837)
      3 frames
    9. oracle.ide.controller
      IdeAction.actionPerformed
      1. oracle.ide.controller.IdeAction.performAction(IdeAction.java:506)
      2. oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:779)
      3. oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:479)
      3 frames
    10. Java RT
      EventDispatchThread.run
      1. javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
      2. javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
      3. javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
      4. javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
      5. javax.swing.AbstractButton.doClick(AbstractButton.java:302)
      6. javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
      7. javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
      8. java.awt.Component.processMouseEvent(Component.java:5501)
      9. javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
      10. java.awt.Component.processEvent(Component.java:5266)
      11. java.awt.Container.processEvent(Container.java:1966)
      12. java.awt.Component.dispatchEventImpl(Component.java:3968)
      13. java.awt.Container.dispatchEventImpl(Container.java:2024)
      14. java.awt.Component.dispatchEvent(Component.java:3803)
      15. java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
      16. java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
      17. java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
      18. java.awt.Container.dispatchEventImpl(Container.java:2010)
      19. java.awt.Window.dispatchEventImpl(Window.java:1778)
      20. java.awt.Component.dispatchEvent(Component.java:3803)
      21. java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
      22. java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
      23. java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
      24. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
      25. java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
      26. java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
      26 frames