I have a Jdeveloper 12.2.1.3.0
I have created an ADF REST Web Application
The application consists of one application module and View Object. In the view object there is a custom method that simply return employee name.
I generated a web service rest for the application module.
When I click on the custom methods tab ,and check enable "getEmpForRst" method , I got this error :
an unexpected server error has occurred in JDeveloper.
Error details:
null:Mar 14, 2019 1:40:19 PM oracle.bali.xml.gui.base.inspector.TransactedPIMultiModel _updateProperties
INFO: SelectionModel has no selected items
Performing action (539) Application... [ from ApplicationNavigatorWindow ] [ for ( demo.jws, RESTModel.jpr, demo.jws ) ]
Invoking command: [ from ApplicationNavigatorWindow ] [ for ( demo.jws, RESTModel.jpr, demo.jws ) ]
null:Mar 14, 2019 1:42:26 PM oracle.bali.xml.gui.base.inspector.TransactedPIMultiModel _updateProperties
INFO: SelectionModel has no selected items
org.netbeans.modules.netbinox:Mar 14, 2019 1:42:31 PM org.netbeans.modules.netbinox.JarBundleFile$1 checkedOpen
WARNING: Cannot open bundle delegate C:\oracle123\oracle_common\modules\oracle.adf.model\ramp-server.jar
null:Mar 14, 2019 1:43:09 PM oracle.bali.xml.gui.base.inspector.TransactedPIMultiModel _updateProperties
INFO: SelectionModel has no selected items
Mar 14, 2019 1:45:34 PM oracle.ideimpl.feedback2.client.FeedbackManagerImpl uncaughtException
SEVERE: Uncaught Exception
java.lang.NullPointerException
at oracle.jbo.dt.jdevx.ui.editors.rest.RSTCustomMethodTab.editingStopped(RSTCustomMethodTab.java:416)
at oracle.jbo.dt.ui.main.controls.DtcTable.editingStopped(DtcTable.java:476)
at javax.swing.AbstractCellEditor.fireEditingStopped(AbstractCellEditor.java:141)
at javax.swing.DefaultCellEditor$EditorDelegate.stopCellEditing(DefaultCellEditor.java:368)
at javax.swing.DefaultCellEditor.stopCellEditing(DefaultCellEditor.java:233)
at javax.swing.DefaultCellEditor$EditorDelegate.actionPerformed(DefaultCellEditor.j
ATTACHED A picture for the error.
Has any one tried to expose custom method before?
please help