Error while invoking the commit operation in a data control

JDeveloper 11.1.2
When we invoke the commit operation exposed thru the data control, sometimes we get the following error:
Caused by: java.lang.NullPointerException
at oracle.jbo.server.DBTransactionImpl.addPendingEvent(DBTransactionImpl.java:5751)
at oracle.jbo.server.DBTransactionImpl.sendOrQueueEventForSharedTrans(DBTransactionImpl.java:6659)
at oracle.jbo.server.DBTransactionImpl.fireTransactionStateEvent(DBTransactionImpl.java:6693)
at oracle.jbo.server.DBTransactionImpl.doAfterCommit(DBTransactionImpl.java:2301)
at oracle.jbo.server.DBTransactionImpl.commitInternal(DBTransactionImpl.java:2159)
at oracle.jbo.server.DBTransactionImpl.commit(DBTransactionImpl.java:2352)
This issue is intermittent but occurs many times.
I am NOT able to find any issues with the code.
Any pointers on resolving the issue.
Thanks,
Navaneeth

My problem is special, we change the AM configuration to EJB (2.1 stateful, let's put performance issue aside) and deploy remotely, however, there's a NullPointerException occurred at the same line number as your case when we change the task flow id of the dynamic region, because the ADF framework always calls Rollback during region refresh, this Rollback cause the NullPointerException. Even if I caught and ignore this error, there will be always a NullPointerException thrown the next time we do any VO attribute update (kind of same as the blog entry described below).
http://adfbugs.blogspot.com/2011/08/rollback-is-executed-when-region-is.html
I am not sure if we could benefit from fixing of your SR by Oracle. Please share if you have any hints, thank you!
Edited by: codeplay on Mar 30, 2012 9:42 AM

Similar Messages

  • InvocationTargetException:There was an error while invoking the operation.

    Hi,
    I am having issues getting my remote server configured right after everything working properly on the local host. I am getting the following error:
    InvocationTargetException:There was an error while invoking the operation. Check your operation inputs or server code and try invoking the operation again.
    The key parts of the large message I am getting after that are:
    Class "test" does not exist: Plugin by name 'Test' was not found in the registry; used paths:: ..../smii/test/  ID5D8FE3F-A1D1-4174-98B3-4BED10FD8FFE I79685B66-D792-E4E9-13B3-00004DA5951B  I0F94D267-0704-3C89-0B5B-0000090BA097  134950398900    
    I don't know how this last part of the address with random number and letters is getting there.
    Also, when searching for my server settings today it seems to add a "-1" on the end of the initial directory on the server...not sure why but I seem to be having major issues implementing the service remotely.
    Any help would be appreciated.
    Cheers, Andrew

    I also cannot get my flex server to validate. It always comes up with the error of the server is either off or wrong root url even when everything is set up right and I can access everything via either finder or the web browser.
    Any suggestions? The server does not have any fire walls up to prevent access.

  • Initializing error while invoking the SQLPULS in Oracle 11G.

    Hello All,
    I installed Oracle 11G freshly and now I am geting following errors while invoking the sqlplus from the client side.
    C:\Documents and Settings\Administrator.SC14FT1>sqlplus
    Error 57 initializing SQL*Plus
    Error loading message shared library
    Any idea ?
    Thanks
    With Regards
    Hemant Joshi.

    Hello,
    I am getting the same error even after setting the oracle_home.
    C:\Documents and Settings\Administrator.SC14FT1>set ORACLE_HOME=D:\Oracle\Ora11g
    C:\Documents and Settings\Administrator.SC14FT1>echo %ORACLE_HOME%
    D:\Oracle\Ora11g
    C:\Documents and Settings\Administrator.SC14FT1>sqlplus
    Error 57 initializing SQL*Plus
    Error loading message shared library
    Thanks
    With Regards
    Hemant Joshi

  • Exception occured while invoking the webservice operation

    I have deployed a Webservice that consist of a DB Adapter that fetches data from Master and detail Tabels from DB. Now i insert this data to some other data base having same types of table there. The below problem is only come when i try to insert data from one DB to other but when i only show output of my webservice it works fine and shows the master and details data. Mater table have approx 38 rows while detail have approx 500 rows. Kindly help me to resolve this issue..
    The selected operation process could not be invoked.
    An exception occured while invoking the webservice operation. Please see logs for more details.
    oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Client received SOAP Fault from server : Transaction Rolledback.: weblogic.transaction.internal.TimedOutException: Transaction timed out after 300 seconds
    BEA1-12097AA8772D3C8BB607
    at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1788)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1676)
    at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1988)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1586)
    at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35)
    at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    ; nested exception is: weblogic.transaction.internal.TimedOutException: Transaction timed out after 300 seconds
    BEA1-12097AA8772D3C8BB607
    Thanks
    Nasir

    I have deployed a Webservice that consist of a DB Adapter that fetches data from Master and detail Tabels from DB. Now i insert this data to some other data base having same types of table there. The below problem is only come when i try to insert data from one DB to other but when i only show output of my webservice it works fine and shows the master and details data. Mater table have approx 38 rows while detail have approx 500 rows. Kindly help me to resolve this issue..
    The selected operation process could not be invoked.
    An exception occured while invoking the webservice operation. Please see logs for more details.
    oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: Client received SOAP Fault from server : Transaction Rolledback.: weblogic.transaction.internal.TimedOutException: Transaction timed out after 300 seconds
    BEA1-12097AA8772D3C8BB607
    at weblogic.transaction.internal.ServerTransactionImpl.wakeUp(ServerTransactionImpl.java:1788)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.processTimedOutTransactions(ServerTransactionManagerImpl.java:1676)
    at weblogic.transaction.internal.TransactionManagerImpl.wakeUp(TransactionManagerImpl.java:1988)
    at weblogic.transaction.internal.ServerTransactionManagerImpl.wakeUp(ServerTransactionManagerImpl.java:1586)
    at weblogic.transaction.internal.WLSTimer.timerExpired(WLSTimer.java:35)
    at weblogic.timers.internal.TimerImpl.run(TimerImpl.java:273)
    at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    ; nested exception is: weblogic.transaction.internal.TimedOutException: Transaction timed out after 300 seconds
    BEA1-12097AA8772D3C8BB607
    Thanks
    Nasir

  • Error while opening the file store file "WLS_DIAGNOSTICS000000.DAT".....

    I have a WL 9.2.1 running on Sun solaris o/s .....it is failing to start thowing the following exception
    <Mar 19, 2009 5:21:17 PM EDT> <Critical> <WebLogicServer> <BEA-000362> <Server failed. Reason:
    There are 1 nested errors:
    weblogic.diagnostics.lifecycle.DiagnosticComponentLifecycleException: weblogic.store.PersistentStoreException: java.io.IOException: [Store:280021]There was a
    n error while opening the file store file "WLS_DIAGNOSTICS000000.DAT"
    at weblogic.diagnostics.lifecycle.ArchiveLifecycleImpl.initialize(ArchiveLifecycleImpl.java:44)
    at weblogic.diagnostics.lifecycle.DiagnosticFoundationService.start(DiagnosticFoundationService.java:107)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:181)
    Caused by: weblogic.store.PersistentStoreException: java.io.IOException: [Store:280021]There was an error while opening the file store file "WLS_DIAGNOSTICS0
    00000.DAT"
    at weblogic.store.io.file.Heap.open(Heap.java:166)
    at weblogic.store.io.file.FileStoreIO.open(FileStoreIO.java:85)
    at weblogic.store.internal.PersistentStoreImpl.open(PersistentStoreImpl.java:350)
    at weblogic.store.PersistentStoreManager.createFileStore(PersistentStoreManager.java:202)
    at weblogic.diagnostics.archive.DiagnosticStoreRepository.getStore(DiagnosticStoreRepository.java:61)
    at weblogic.diagnostics.lifecycle.ArchiveLifecycleImpl.initialize(ArchiveLifecycleImpl.java:42)
    ... 4 more
    Caused by: java.io.IOException: [Store:280021]There was an error while opening the file store file "WLS_DIAGNOSTICS000000.DAT"
    at weblogic.store.io.file.StoreDir.throwIOException(StoreDir.java:213)
    at weblogic.store.io.file.StoreDir.open(StoreDir.java:103)
    at weblogic.store.io.file.Heap.open(Heap.java:164)
    ... 9 more
    Caused by: java.io.IOException: Error from fcntl() for file locking, Resource temporarily unavailable, errno=11
    at weblogic.store.io.file.direct.DirectIONative.open(Native Method)
    at weblogic.store.io.file.direct.DirectFileChannel.<init>(DirectFileChannel.java:51)
    at weblogic.store.io.file.direct.DirectIOManager.open(DirectIOManager.java:138)
    at weblogic.store.io.file.StoreFile.openInternal(StoreFile.java:112)
    at weblogic.store.io.file.StoreFile.open(StoreFile.java:142)
    at weblogic.store.io.file.StoreDir.open(StoreDir.java:95)
    ... 10 more
    i went ahead and checkd the file and the privs on the file they look correct -rw-r--r-- ...but when i just restart it ..it starts with no errors the next time......What could be the issue.....please help
    Then only reason i could think of is the size of the file is 35MB now...is this the problem....if yes....is there a way to automaticaly rotate this file ....

    The root cause appears to be right in the stack trace:
    Caused by: java.io.IOException: Error from fcntl() for file locking, Resource temporarily unavailable, errno=11I think this indicates that either the file was either locked (because another instance of WebLogic had it opened), or that the file was unavailable for some reason. WebLogic locks files as a safety precaution to prevent misconfigured setups (multiple domains sharing the same directory and store name) from attempting to share the same file.
    I don't think that this message necessarily means there is a file corruption.
    As for rotation, the file store automatically adds new files as needed (I think its 1 file for every 2GB of data). The "diagnostics" file store is generated by the optional diagnostics feature, and I think that this feature has options for controlling the amount of stored data.
    Tom

  • Error while invoking the DB adapter

    Trying to create simple BPEL process which will read the csv file and invoke the db adapter to insert the data in database. While invoking the db adapter I am getting following error
    <bindingFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="code"><code>null</code>
    </part><part name="summary"><summary>file:/C:/SOA/bpel/domains/default/tmp/.bpel_InvoiceInterfaceBpelProcess_1.0_498d7f87aea45176551864b959e5a666.tmp/Insertin2db.wsdl [ Insertin2db_ptt::insert(HboxDataCollection) ] - WSIF JCA Execute of operation 'insert' failed due to: Mapping Not Found Exception.
    The mapping [Voucher_id] for descriptor [class bpel___localhost_default_InvoiceInterfaceBpelProcess_1_0__MD5_432fb7660f0d9b3a1a97de70f60261ee_.Insertin2db.HboxData] could not be found. The input xml record had an element [HboxData/Voucher_id].
    ; nested exception is:
         ORABPEL-11627
    Mapping Not Found Exception.
    The mapping [Voucher_id] for descriptor [class bpel___localhost_default_InvoiceInterfaceBpelProcess_1_0__MD5_432fb7660f0d9b3a1a97de70f60261ee_.Insertin2db.HboxData] could not be found. The input xml record had an element [HboxData/Voucher_id].
    Make sure that the input xml is valid relative to the xsd and that the mapping exists in the Mappings.xml. If an old version of the descriptor without this mapping has been loaded by the database adapter, you may need to bounce the app server. If the same descriptor is described in two separate Mappings.xml files, make sure both versions include this attribute/mapping.
    </summary>
    </part><part name="detail"><detail>null</detail>
    </part></bindingFault>
    your help is appriciated.
    Thanks,
    Vipul

    I'm having the same issue with my toplink mappings used by the database adapter-insert operation.
    The mapping for the ID, primary key field, exists in the mapping-file op toplink and the attribute exists as well in the java generated wrapper classes.
    I'm still getting the following exception:
    file:/C:/oracle/product/10.1.3.1/OracleAS/bpel/domains/default/tmp/.bpel_CreateDossierAdoption_1.0_4ffe4561c54c844933a9c0246cd89c90.tmp/InsertNewDossier.wsdl [ InsertNewDossier_ptt::insert(DossiersCollection,DossiersCollection) ] - WSIF JCA Execute of operation 'insert' failed due to: Mapping Not Found Exception. The mapping [ID] for descriptor [class bpel___localhost_default_CreateDossierAdoption_1_0__MD5_e6a42f53d5d0212f9c27acd74ba41e7a_.InsertNewDossier.Dossiers] could not be found. The input xml record had an element [Dossiers/ID]. ; nested exception is: ORABPEL-11627 Mapping Not Found Exception. The mapping [ID] for descriptor [class bpel___localhost_default_CreateDossierAdoption_1_0__MD5_e6a42f53d5d0212f9c27acd74ba41e7a_.InsertNewDossier.Dossiers] could not be found. The input xml record had an element [Dossiers/ID]. Make sure that the input xml is valid relative to the xsd and that the mapping exists in the Mappings.xml. If an old version of the descriptor without this mapping has been loaded by the database adapter, you may need to bounce the app server. If the same descriptor is described in two separate Mappings.xml files, make sure both versions include this attribute/mapping.
    Regards,
    Nathalie

  • Error while invoking the WSDL service of EBS from BPEL process

    Hi Team,
    when we are calling webservice client to call WSDL service which is published in Oracle EBS integrated SOA Gateway from BPEL process.
    After invoking, we are getting the below error
    <bpelFault><faultType>0</faultType><remoteFault xmlns="http://schemas.oracle.com/bpel/extension"><part name="summary"><summary>FND_SOA_SERVICE_EXECUTION_ERR:oracle.apps.fnd.soa.util.SOAException: ServiceExecutionError: Error while executing the service Exception returned from JCA Service Runtime. Exception returned from JCA Service Runtime. null :Please see service monitor logs for full error trace</summary></part><part name="detail"><detail>oracle.j2ee.ws.client.jaxws.JRFSOAPFaultException: Client received SOAP Fault from server : FND_SOA_SERVICE_EXECUTION_ERR:oracle.apps.fnd.soa.util.SOAException: ServiceExecutionError: Error while executing the service Exception returned from JCA Service Runtime. Exception returned from JCA Service Runtime. null :Please see service monitor logs for full error trace</detail></part><part name="code"><code>{http://schemas.xmlsoap.org/soap/envelope/}Server</code></part></remoteFault></bpelFault>
    API Name : OE_ORDER_PUB.PROCESS_ORDER
    could you please let me know the exact problem and provide the solution.
    Thanks
    Phani Ch.

    Hi Phani,
    Are you able to reproduce issue as below:
    1. Login to Application as sysadmin.
    2. Navigate to Intergrated SOA Gateway > Integration Repository.
    3. Click on search on right hand side of the page.
    4. In the Internal Name type "FND_USER_PKG" and click Go.
    5. Click on the User link.
    6. Under the "Web Service - SOA Provider", click in the "View WSDL". Copy the complete URL "http://test:8003/webservices/SOAProvider/plsql/fnd_user_pkg/?wsdl"
    7. Open the soapUI.
    8. Click File > new soapUI Project.
    9. Test the web service.
    If yes,
    I think you might be need to execute a patch:
    solution:
    To implement the solution, please execute the following steps:
    1. Download and review the readme and pre-requisites for iAS Patch 18855074.
    Note: Above Merge Label Request (MLR) is build for EBS 12.1.3 having OC4J 10.1.3.5.
    2. Enable the profile option "EBS Adapter for BPEL, Function Security Enabled".
    a. Login as SYSADMIN user and Navigate to System >Profile  and Search for "EBS Adapter for BPEL, Function Security Enabled" (Internal name :EBS_ADAPTER_FUNCTION_SEC_ENABLED)
    b. Set the Value to 'Y' at SITE level . This means  function security feature is enabled and all API calls for PL/SQL APIs, Oracle e-Commerce Gateway, and concurrent programs will be checked for user security before they are invoked.
    3. Retest the issue by Generating and Deploying the required package.
    4. Migrate the solution as appropriate to other environments.
    Thanks
    Ranjan

  • Error while invoking the ABAP Proxy via SOAP Adapter

    Hi,
    My scenario involves SOAP Client invoking a webservice hosted in PI which in turn invokes the ABAP Proxy asyncronously.
    SOAP Client -> PI -> ECC (ABAP Proxy) . This works fine.
    Next , I have exposed the ECC Service Interface as webservice using SOA Manager transaction. Now, once the service is created using SOAManager, i replaced the XI Adapter with SOAP Adapter and provided the target URL as the URL provided by the SOAManager.
    SOAP Client -> PI -> ECC (ABAP Proxy via SOAP Adapter)
    With this approach, i am encountering the below error message
    2009-05-29 12:17:55 Error Adapter Framework caught exception: null
    2009-05-29 12:17:55 Error Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException.
    Any ideas on the above errror message? Any pointers or inputs will be appreciated.
    Thanks,
    Vinayak Kamath

    > 2009-05-29 12:17:55 Error Adapter Framework caught exception: null
    > 2009-05-29 12:17:55 Error Delivering the message to the application using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException.
    This is a generic error message which does not have any information about the error which has occurred.
    Do you see any error messages in the SOAP client?
    Regards
    Stefan

  • Error while invoking the URL of xcm for ISA application

    Hi,
    I am getting the an error when I invoke the below urls. I am working on ISA application.
    http://localhost:port/xxx/b2b/init.do
    http://localhost:port/xxx/admin/xcm//init.do
    The code was build successfully without any errors.
    Error:
    Application error occurred during request processing.
    Details:   Error [javax.servlet.ServletException: Initialization of Extended Configuration Management failed.
    Could not initialize XCM configuration in Database.
    Check if you have deployed the Software Component 'SAP JAVA DATA DICTIONARY 5.0'].
    Exception id: [44455354420000790000005000001D3400047AAFFB0A8DAC]
    Could any one please help me in resolving this.
    Regards
    MQ

    Hi Rafael,
    Please deploy the following two sca files.
    SAPCRMDICXXXXX.SCA
    SAPJ2EECORPXXXXX.SCA
    Regards
    V. Suresh Kumar

  • Configure return type: There was an error while invoking the operation

    This error only occurs when I pass parameters to Configure return type dialog
    As a follow on from http://forums.adobe.com/message/2663481
    I am getting this in the log.
    !ENTRY com.adobe.flexbuilder.DCDService 4 1 2010-06-15 11:45:29.323
    !MESSAGE Please specify a valid <services/> file path in flex-config.xml.
    !STACK 0
    flex.messaging.config.ConfigurationException: Please specify a valid <services/> file path in flex-config.xml.
        at flex.messaging.config.LocalFileResolver.getConfigurationFile(LocalFileResolver.java:79)
        at flex.messaging.config.AbstractConfigurationParser.parse(AbstractConfigurationParser.java: 67)
        at flex.messaging.config.ServicesDependencies.getClientConfiguration(ServicesDependencies.ja va:150)
        at com.adobe.flexbuilder.dcrad.utils.DCRADUtility.getServiceSettingsOnServer(DCRADUtility.ja va:1398)
        at com.adobe.flexbuilder.dcrad.utils.DCRADUtility.getServerConfiguration(DCRADUtility.java:1 374)
        at com.adobe.flexbuilder.dcrad.views.ServiceExplorerView.refreshService(ServiceExplorerView. java:1703)
        at com.adobe.flexbuilder.dcrad.views.ServiceExplorerView.refreshSelectedServices(ServiceExpl orerView.java:1650)
        at com.adobe.flexbuilder.dcrad.views.internal.actions.ServiceRefreshAction.run(ServiceRefres hAction.java:41)
        at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
        at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionI tem.java:584)
        at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
        at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java :452)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3880)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3473)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at com.adobe.flexbuilder.standalone.FlexBuilderApplication.start(FlexBuilderApplication.java :109)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
    One problem I keep getting is that FB keeps setting this setting as J2EE Server even when I tell it is standalone. When I add a server an tell FB that it is Remote, does that mean its J2ee?

    Hi,
    This is definitely a Bug. I would have filed it but it would be better if we have the exact steps to reproduce the issue. I am aware that you might not be able to share all your source. But a scaled down example would really be helpful. Please  do log this bug at
    http://bugs.adobe.com/flex/
    Nishad
    Flash Builder Team

  • Error while invoking the client

    Hello guys ,
    I'm new to web services . i created a service call HelloWorld using apache axis2 and its working fine and later i created a client and when i try to invoke it . i'm getting a error which says null pointer exception .
    this is my client code
    public class HelloWorldClient
         public static void main(String[] args) throws ServiceException, MalformedURLException, RemoteException
              String endpoint = "http://localhost:8080/axis2/services/HelloWorld";
              Service ser=new Service();
              Call call=(Call)ser.createCall();
              call.setOperationName(new QName(endpoint,"sayHello"));
              call.setTargetEndpointAddress(new java.net.URL(endpoint));
              String result=(String)call.invoke(new Object[]{"ABC"});
              System.out.println(result);
    }And this is my Stack trace
    Feb 5, 2008 12:26:58 PM org.apache.axis.utils.JavaUtils isAttachmentSupported
    WARNING: Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.
    Exception in thread "main" AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
    faultSubcode:
    faultString: null; nested exception is:
         java.lang.NullPointerException
    faultActor:
    faultNode:
    faultDetail:
         {}Exception:org.apache.axis2.AxisFault: null; nested exception is:
         java.lang.NullPointerException
         at org.apache.axis2.AxisFault.makeFault(AxisFault.java:318)
         at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:136)
         at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:37)
         at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:454)
         at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:284)
         at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:136)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:731)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.NullPointerException
         at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:84)
         ... 20 more
    null; nested exception is:
         java.lang.NullPointerException
         at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
         at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
         at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
         at javax.xml.parsers.SAXParser.parse(Unknown Source)
         at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
         at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
         at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
         at org.apache.axis.client.Call.invoke(Call.java:2767)
         at org.apache.axis.client.Call.invoke(Call.java:2443)
         at org.apache.axis.client.Call.invoke(Call.java:2366)
         at org.apache.axis.client.Call.invoke(Call.java:1812)
         at HelloWorldClient.main(HelloWorldClient.java:33)Please help me out guys .. thank you :)

    Hello guys ,
    I'm new to web services . i created a service call HelloWorld using apache axis2 and its working fine and later i created a client and when i try to invoke it . i'm getting a error which says null pointer exception .
    this is my client code
    public class HelloWorldClient
         public static void main(String[] args) throws ServiceException, MalformedURLException, RemoteException
              String endpoint = "http://localhost:8080/axis2/services/HelloWorld";
              Service ser=new Service();
              Call call=(Call)ser.createCall();
              call.setOperationName(new QName(endpoint,"sayHello"));
              call.setTargetEndpointAddress(new java.net.URL(endpoint));
              String result=(String)call.invoke(new Object[]{"ABC"});
              System.out.println(result);
    }And this is my Stack trace
    Feb 5, 2008 12:26:58 PM org.apache.axis.utils.JavaUtils isAttachmentSupported
    WARNING: Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.
    Exception in thread "main" AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
    faultSubcode:
    faultString: null; nested exception is:
         java.lang.NullPointerException
    faultActor:
    faultNode:
    faultDetail:
         {}Exception:org.apache.axis2.AxisFault: null; nested exception is:
         java.lang.NullPointerException
         at org.apache.axis2.AxisFault.makeFault(AxisFault.java:318)
         at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:136)
         at org.apache.axis2.receivers.AbstractInOutSyncMessageReceiver.receive(AbstractInOutSyncMessageReceiver.java:37)
         at org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:454)
         at org.apache.axis2.transport.http.HTTPTransportUtils.processHTTPPostRequest(HTTPTransportUtils.java:284)
         at org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:136)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:731)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.NullPointerException
         at org.apache.axis2.rpc.receivers.RPCMessageReceiver.invokeBusinessLogic(RPCMessageReceiver.java:84)
         ... 20 more
    null; nested exception is:
         java.lang.NullPointerException
         at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
         at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
         at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanEndElement(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
         at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
         at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
         at javax.xml.parsers.SAXParser.parse(Unknown Source)
         at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
         at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
         at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
         at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
         at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
         at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
         at org.apache.axis.client.Call.invoke(Call.java:2767)
         at org.apache.axis.client.Call.invoke(Call.java:2443)
         at org.apache.axis.client.Call.invoke(Call.java:2366)
         at org.apache.axis.client.Call.invoke(Call.java:1812)
         at HelloWorldClient.main(HelloWorldClient.java:33)Please help me out guys .. thank you :)

  • Error while testing the CIMClient Test in SLD Data Supplier

    Hi Experts,
    I am setting my SLD Data Supplier in Visual Administrator. I had filled the host/port/user/password information for both "HTTP Settings" and "CIM Client Generation Settings". Now, when i click on the "CIMClient Test" button, its getting and error message saying "Failed to Generate and Test CIMOMClient Object".
    I have full authorization to use admin tools.
    What might be the problem.
    any help must be appreciated.
    regards
    sunil kumar

    Sunil,
    1. Try to restart the SLD Data Supplier Service in Visual Administrator.
    2. Check your input for testing CIMClient.
    Hostname should be fully qualified domain name.
    And cross verify the Port number properly.
    Regards,
    Karthick Eswaran

  • Error while deploying the application

    Hi,
    I am trying to deploy an application on WLS 9.0 on Windows XP.
    I get the following error while deploying.
    "Cannot set web app root system property when WAR file is not expanded"
    Here is the command I used and the output.
    C:\bea\weblogic90\server\bin>java weblogic.Deployer -adminurl t3://localhost:7001 -username weblogic -password weblogic -deploy -name prs -source C:\bea\user_projects\domains\consoleExtensions\applica
    tions\abc.war -targets AdminServer
    weblogic.Deployer invoked with options: -adminurl t3://localhost:7001 -username weblogic -deploy -name abc -source C:\bea\user_projects\domains\consoleExtensions\applications\abc.war -targets AdminServer
    <Feb 28, 2006 10:58:49 AM CST> <Info> <J2EE Deployment SPI> <BEA-260121> <Initiating deploy operatio
    n for application, abc [archive: C:\bea\user_projects\domains\consoleExtensions\applications\abc.war], to AdminServer .>
    Task 0 initiated: [Deployer:149026]deploy application abc on AdminServer.
    Task 0 failed: [Deployer:149026]deploy application abc on AdminServer.
    Target state: deploy failed on Server AdminServer
    Cannot set web app root system property when WAR file is not expanded
    I am deploying my application as a .war file. I dont get this error on solaris. I dont get this error even on windows when it is deployed in exploded format.
    Has anyone ran into such problem. Please let me know if you anyone knows what is the problem.
    Any help is greatly appreciated.
    Thanks in advance
    Sarat

    I changed the schema location in my WSDL and tried deploying it and it worked.
    But now there is a new problem that has come up. When I try testing the service, it gives me an error saying that there is a problem with the end point.
    The error I get is as follows:
    The selected operation process could not be invoked.
    An exception occured while invoking the webservice operation. Please see logs for more details.
    oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: oracle.fabric.common.FabricInvocationException: Unable to access the following endpoint(s): http://prodtest.sj.vindicia.com/soap.pl<br>
    java.lang.Exception: oracle.sysman.emSDK.webservices.wsdlapi.SoapTestException: oracle.fabric.common.FabricInvocationException: Unable to access the following endpoint(s): http://prodtest.sj.vindicia.com/soap.pl
    The server seems to be on but I'm not able to reach it.

  • Error while invoking a external Web service

    Hi all,
    I am getting a error while invoking the webservice.
    I have tested in soapUI its working there but in BPEL it gives me error.
    Soap request:
    <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd">
    <soap:Header>
    <wsa:Action xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" bpel:priority="" bpel:completionPersistPolicy="" xmlns:bpel="http://schemas.oracle.com/bpel">http://www.lodestarcorp.com/ProcessPayloadString</wsa:Action>
    <wsa:MessageID xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" bpel:priority="" bpel:completionPersistPolicy="" xmlns:bpel="http://schemas.oracle.com/bpel">uuid:058a8965-3bd3-4e29-8c2b-f96f74ccef7d</wsa:MessageID>
    <wsa:To xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing" bpel:priority="" bpel:completionPersistPolicy="" xmlns:bpel="http://schemas.oracle.com/bpel">http://mngktr51623/lodestar/platform/webservices/AdapterWS.asmx</wsa:To>
    <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns:env="http://schemas.xmlsoap.org/soap/envelope/" soap:mustUnderstand="1">
    <wsse:UsernameToken xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" xmlns="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd">
    <wsse:Username>Divya_V</wsse:Username>
    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">password1</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>
    </soap:Header>
    <soap:Body xmlns:ns1="http://www.lodestarcorp.com/">
    <ns1:ProcessPayloadString>
    <ns1:serviceID>WS_MDM_AVAILABILITY</ns1:serviceID>
    <ns1:payload><![CDATA[<MDMREQUEST><METERACTIVE METERID="CON_METER_00"/></MDMREQUEST>]]></ns1:payload>
    </ns1:ProcessPayloadString>
    </soap:Body>
    </soap:Envelope>
    Error Message:
    <remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    -<part name="code">
    <code>Security
    </code>
    </part>
    -<part name="summary">
    <summary>
    Header http://schemas.xmlsoap.org/ws/2004/08/addressing:Action for ultimate recipient is required but not present in the message.
    </summary>
    </part>
    -<part name="detail">
    <detail>null
    </detail>
    </part>
    </remoteFault>
    I have provided the Action header but still the same error message.
    Kindly assist.
    With Regards,
    Divz

    Hi,
    do you use 10.1.2 or 10.1.3?
    Take a look at:
    Re: How to create a web service with ArrayList or Collection

  • Error while invoking BPEL Process through HTML Page

    Hi ,
    I have created a HTML Page to invoke BPEL synchronous process .
    HTML Page contains :
    <html>
    <head>
    <title>Untitled Document</title>
    <h1>Add Macro Task Input Form </h1>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    </head>
    <body bgcolor="cyan" text="#000000">
    <form name="form1" method="get" action="/httpbinding/default/AddMacroSync/process">
    EmployeeId :
    <input type="text" name="EmployeeId" ><br>
    <br>
    TaskName :
    <input type="text" name="MacroTaskName" >
    <button
    id="identifier"
    class="dialog"
    label="OK"
    accesskey="t"/>
    <br>
    </form>
    </body>
    </html>
    I am able to invoke my BPEL Process named as " AddMacroSync" .
    It also creating instance for this BPEL Process .
    But when I go BPEL Console and check my instance , it is always faulted .
    I am providing two inputs : Employee Id and Taskname through HTML Page .
    These inputs got assigned to their respective output variables .
    But when I click on audit link ..it shows error while invoking the Process .
    It Show error :
    when invoking endpointAddress 'http://152.69.248.232:8990/AddMacroTask-AddMacroTask-context-root/AddMacroTaskWebService', [java.lang.NumberFormatException]
    But this end point address is working when I put this address in URL .
    Please someone help me how to solve this problem .
    Thanks
    Prashant Dwivedi
    Message was edited by:
    Prashant Dwivedi

    Hi Clemens ,
    I changed My HTML ...Now it looks like as :
    <html>
    <head>
    <title>Untitled Document</title>
    <meta http-equiv="Content-Type" content="application/x-www-form-urlencoded; charset=iso-8859-1">
    </head>
    <body bgcolor="#FFFFFF" text="#000000">
    <form name="form1" method="post" action="/httpbinding/default/AddMacroSync">
    <input type="hidden" name="msg_part" value="payload">
    <input type="hidden" name="namespace" value="http://xmlns.oracle.com/AddMacroSync">
    EmployeeId:
    <input type="text" name="EmployeeId">
    TaskName :
    <input type="text" name="TaskName">
    <input type="submit" name="Submit" value="Submit">
    </form>
    </body>
    </html>
    After this when I try to incoke my BPEL Process through this HTML :
    I am gettign following error :
    500 Internal Server Error
    java.lang.IllegalStateException: IOException: Premature end of POST data
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.EvermindHttpServletRequest.getParameter(EvermindHttpServletRequest.java:2452)
         at com.collaxa.cube.ws.http.HttpBindingServlet.checkSecurity(HttpBindingServlet.java:281)
         at com.collaxa.cube.ws.http.HttpBindingServlet.doPost(HttpBindingServlet.java:85)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:285)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.run(HttpRequestHandler.java:126)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)

Maybe you are looking for