1 Reply Latest reply: Jul 13, 2012 1:01 PM by Denis T RSS

    BPEL Web Service Data Control creation failure

    Harsangeet
      Hi,

      We created a web service data control and provide the URL of a BPEL WSDL.It created a data control,but when we click on data control in the 'Data Controls' section to access that it throws a null pointer exception as

      java.lang.NullPointerException
           at oracle.adfinternal.model.adapter.webservice.WSDefinition.getWSDL(WSDefinition.java:550)
           at oracle.adfinternal.model.adapter.webservice.WSDefinition.loadDCOperations(WSDefinition.java:1590)
           at oracle.adfinternal.model.adapter.webservice.WSDefinition.loadFromMetadata(WSDefinition.java:765)
           at oracle.adfdt.model.datacontrols.JUDTAdapterDataControl.loadDefinitionFromElement(JUDTAdapterDataControl.java:311)
           at oracle.adfdt.model.datacontrols.JUDTAdapterDataControl.getDef(JUDTAdapterDataControl.java:748)
           at oracle.adfdt.model.datacontrols.JUDTAdapterDataControl.getDataControlDefinition(JUDTAdapterDataControl.java:491)
           at oracle.adfdtinternal.model.ide.controls.treemodel.jsr227.JSR227DataControlTreeNode.getDefinition(JSR227DataControlTreeNode.java:454)
           at oracle.adfdtinternal.model.ide.xmled.editors.configuration.AccessorInformationPanel.refresh(AccessorInformationPanel.java:96)
           at oracle.adfdtinternal.model.ide.xmled.editors.configuration.AccessorInformationPanel.valueChanged(AccessorInformationPanel.java:86)
           at javax.swing.tree.DefaultTreeSelectionModel.fireValueChanged(DefaultTreeSelectionModel.java:629)
           at javax.swing.tree.DefaultTreeSelectionModel.notifyPathChange(DefaultTreeSelectionModel.java:1078)
           at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPaths(DefaultTreeSelectionModel.java:287)
           at javax.swing.tree.DefaultTreeSelectionModel.setSelectionPath(DefaultTreeSelectionModel.java:170)
           at javax.swing.JTree.setSelectionPath(JTree.java:1598)
           at javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(BasicTreeUI.java:2311)
           at com.jgoodies.looks.plastic.PlasticTreeUI.access$1700(PlasticTreeUI.java:120)
           at com.jgoodies.looks.plastic.PlasticTreeUI$MouseHandler.mousePressed(PlasticTreeUI.java:303)
           at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:262)
           at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:262)
           at java.awt.AWTEventMulticaster.mousePressed(AWTEventMulticaster.java:262)
           at java.awt.Component.processMouseEvent(Component.java:6372)
           at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
           at java.awt.Component.processEvent(Component.java:6140)
           at java.awt.Container.processEvent(Container.java:2083)
           at java.awt.Component.dispatchEventImpl(Component.java:4737)
           at java.awt.Container.dispatchEventImpl(Container.java:2141)
           at java.awt.Component.dispatchEvent(Component.java:4565)
           at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4619)
           at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4277)
           at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4210)
           at java.awt.Container.dispatchEventImpl(Container.java:2127)
           at java.awt.Window.dispatchEventImpl(Window.java:2482)
           at java.awt.Component.dispatchEvent(Component.java:4565)
           at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:684)
           at java.awt.EventQueue.access$000(EventQueue.java:85)
           at java.awt.EventQueue$1.run(EventQueue.java:643)
           at java.awt.EventQueue$1.run(EventQueue.java:641)
           at java.security.AccessController.doPrivileged(Native Method)
           at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
           at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
           at java.awt.EventQueue$2.run(EventQueue.java:657)
           at java.awt.EventQueue$2.run(EventQueue.java:655)
           at java.security.AccessController.doPrivileged(Native Method)
           at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
           at java.awt.EventQueue.dispatchEvent(EventQueue.java:654)
           at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
           at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
           at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
           at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
           at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
           at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
           at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
           at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)


      Also in the DataControls.dcx file, the Data Control is seen but when expanded, the methods are not visible but on restarting the Jdeveloper, methods are seen in this file but not in Data Controls section. Hence, this is not allowing to drag drop the controls.

      Please suggest a possible solution for this.

      Thanks in advance.
      Harsangeet