"java.lang.IllegalArgumentException: null schema location" BPEL Compilation Failed in SOA Server During Composite Deployment (Doc ID 1305519.1)

Last updated on DECEMBER 01, 2016

Applies to:

Oracle SOA Suite - Version 11.1.1.3.0 and later
Information in this document applies to any platform.
***Checked for relevance on 29-November-2013***

Symptoms

A BPEL instance having external web service references within the WSDL that also contains references to external schema files. The composite deployment fails with the following exception:

Exception:
Exception not handled by the Collaxa Cube system.
an unhandled exception has been thrown in the Collaxa Cube systemr; exception reported is: "java.lang.Exception: BPEL compilation failed
at com.collaxa.cube.lang.compiler.BPEL1Processor.generateProcessClass(BPEL1Processor.java:529)
at com.collaxa.cube.lang.compiler.BPEL1Processor.loadProcess(BPEL1Processor.java:495)
at com.collaxa.cube.lang.compiler.BPEL1Processor.loadProcess(BPEL1Processor.java:438)
at com.collaxa.cube.lang.compiler.BPEL1Processor.createCubeProcess(BPEL1Processor.java:396)
at com.collaxa.cube.engine.deployment.CubeProcessFactory.create(CubeProcessFactory.java:61)
at com.collaxa.cube.engine.deployment.CubeProcessLoader.create(CubeProcessLoader.java:112)
at com.collaxa.cube.engine.deployment.DeploymentManager.deployProcess(DeploymentManager.java:238)
at com.collaxa.cube.engine.deployment.DeploymentManager.deployComponent(DeploymentManager.java:182)
at com.collaxa.cube.ejb.impl.CubeServerManagerBean._deployOrLoadComponent(CubeServerManagerBean.java:726)
at com.collaxa.cube.ejb.impl.CubeServerManagerBean.deployComponent(CubeServerManagerBean.java:114)
at com.collaxa.cube.ejb.impl.bpel.BPELServerManagerBean.deployComponent(BPELServerManagerBean.java:85)


The above exception is generic and just above the exception, following error logs are reported in the diagnostics log.


[2011-03-16T15:32:14.661-05:00] [soa_server1] [ERROR] [] [oracle.soa.bpel.engine.compiler] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: ohsadmin] [ecid: 0000Iv0McJi1VcRMuYi8UH1DWHYO0000Aj,0] [APP: soa-infra] [dcid: 81d52bf6e79d2c45:-3099930d:12ec048cba7:-7ffd-0000000000001bf6] <BPEL1Processor::generateProcessClass> InvoiceSynchronization.bpel(line 700): invalid query[[
query "/ns14:GetInvoiceTransactionFromPeopleSoftOutputCollection/ns14:GetInvoiceTransactionFromPeopleSoftOutput/ns14:VENDOR_NAME" is invalid, because java.lang.IllegalArgumentException: null schema location for ns=http://xmlns.oracle.com/pcbpel/adapter/db/GetInvoiceTransactionFromPeopleSoft [Cause=null schema location for ns=http://xmlns.oracle.com/pcbpel/adapter/db/GetInvoiceTransactionFromPeopleSoft]
Check the XML schema and make sure your query string is valid
]]
[2011-03-16T15:32:14.661-05:00] [soa_server1] [ERROR] [] [oracle.soa.bpel.engine.compiler] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: ohsadmin] [ecid: 0000Iv0McJi1VcRMuYi8UH1DWHYO0000Aj,0] [APP: soa-infra] [dcid: 81d52bf6e79d2c45:-3099930d:12ec048cba7:-7ffd-0000000000001bf6] <BPEL1Processor::generateProcessClass> InvoiceSynchronization.bpel(line 707): invalid query[[
query "/ns14:GetInvoiceTransactionFromPeopleSoftOutputCollection/ns14:GetInvoiceTransactionFromPeopleSoftOutput/ns14:INVOICE_ID" is invalid, because java.lang.IllegalArgumentException: null schema location for ns=http://xmlns.oracle.com/pcbpel/adapter/db/GetInvoiceTransactionFromPeopleSoft [Cause=null schema location for ns=http://xmlns.oracle.com/pcbpel/adapter/db/GetInvoiceTransactionFromPeopleSoft]
Check the XML schema and make sure your query string is valid
]]
[2011-03-16T15:32:14.661-05:00] [soa_server1] [ERROR] [] [oracle.soa.bpel.engine.compiler] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: ohsadmin] [ecid: 0000Iv0McJi1VcRMuYi8UH1DWHYO0000Aj,0] [APP: soa-infra] [dcid: 81d52bf6e79d2c45:-3099930d:12ec048cba7:-7ffd-0000000000001bf6] <BPEL1Processor::generateProcessClass> InvoiceSynchronization.bpel(line 719): invalid query[[
query "/ns14:GetInvoiceTransactionFromPeopleSoftOutputCollection/ns14:GetInvoiceTransactionFromPeopleSoftOutput/ns14:LUCID" is invalid, because java.lang.IllegalArgumentException: null schema location for ns=http://xmlns.oracle.com/pcbpel/adapter/db/GetInvoiceTransactionFromPeopleSoft [Cause=null schema location for ns=http://xmlns.oracle.com/pcbpel/adapter/db/GetInvoiceTransactionFromPeopleSoft]
Check the XML schema and make sure your query string is valid
]]
[2011-03-16T15:32:14.662-05:00] [soa_server1] [ERROR] [] [oracle.soa.bpel.engine.compiler] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: ohsadmin] [ecid: 0000Iv0McJi1VcRMuYi8UH1DWHYO0000Aj,0] [APP: soa-infra] [dcid: 81d52bf6e79d2c45:-3099930d:12ec048cba7:-7ffd-0000000000001bf6] <BPEL1Processor::generateProcessClass> InvoiceSynchronization.bpel(line 727): invalid query[[
query "self::node()" is invalid, because java.lang.IllegalArgumentException: null schema location for ns=http://xmlns.oracle.com/pcbpel/adapter/db/GetInvoiceTransactionFromPeopleSoft [Cause=null schema location for ns=http://xmlns.oracle.com/pcbpel/adapter/db/GetInvoiceTransactionFromPeopleSoft]
Check the XML schema and make sure your query string is valid
]]
[2011-03-16T15:32:14.662-05:00] [soa_server1] [ERROR] [] [oracle.soa.bpel.engine.compiler] [tid: [ACTIVE].ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: ohsadmin] [ecid: 0000Iv0McJi1VcRMuYi8UH1DWHYO0000Aj,0] [APP: soa-infra] [dcid: 81d52bf6e79d2c45:-3099930d:12ec048cba7:-7ffd-0000000000001bf6] <BPEL1Processor::generateProcessClass> InvoiceSynchronization.bpel(line 743): invalid query[[
query "self::node()" is invalid, because java.lang.IllegalArgumentException: null schema location for ns=http://xmlns.oracle.com/pcbpel/adapter/db/GetInvoiceTransactionFromPeopleSoft [Cause=null schema location for ns=http://xmlns.oracle.com/pcbpel/adapter/db/GetInvoiceTransactionFromPeopleSoft]
Check the XML schema and make sure your query string is valid

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms