Error While viewing data on XML model- java.sql.SQLException: constante num

I am trying to read an XML file and I keep getting an error. At first it worked, and the it stopped working. I re-did everthing exactly as first time and I cannot get it work
Here is what I do :
1)     Create Physical Architecture under the XML Technology.
a) we create a Data Server with these data:
          Name: XML_SERIVA_TM_DES
          Technology: XML
          JDBC Driver: com.sunopsis.jdbc.driver.xml.SnpsXmlDriver
          JDBC Url: jdbc:snps:xml?file=c:\Temp\hoy\CRM_CR_CURRENCY.xml&dtd=c:\Temp\hoy\ServiciosSerivaConsultasTypes0.xsd
     b) We place the files xml and xsd files according to the JDBC provided in previous point.
     We click on "Test Connection" and Connection is correct
     c) We create a physical schema under the Data Server created in point a) , with these data:
          Name: XML_SERIVA_TM_DES (After created the name is replaced by XML_SERIVA_TM_DES.Esquema)
          Schema (Schema) : <No Definido> ( not sure of english value, it should be <Undefined>)
          Schema (Work Schema) : <No Definido> ( not sure of english value, it should be <Undefined>)
          Default :It is a checkbox , and it is ticked.
          Under the "Context" tab, we add a logical schema named XML_SERIVA_TM for the "Desarrollo" Context
2) Create a Model On the Designer Navigator, we expand the "Models" panel
     a) For Organization, We create a "Folder" Model. It is named "XML"
     b) Under the Folder created in a), we create a new Model , with these data:
          Name: XML_SERIVA_TM
          Code: XML_SERIVA_TM
          Technology: XML
          Logical Schema: XML_SERIVA_TM
     c) Do reverse-engineering.
          In the Reverse tab of the model,
               + "Standard" is selected
               + Context: "Desarrollo"
               + The types of objects to reverse-engineer are: Table
          In the Selective reverse tab, we select : New Datastores, Existing Datastores, Objects to reverse.
          All the datastores that appear are checked
          We click on Reverse Engineer in the toolbar menu
          And the reverse engineer is done successfully and the datastores appear in the model panel
     d) We try to test the reverse engineering by clicking on the datastores and select "View Data",
          after click we get the folloging exception (running with Local agent) :
          See com.borland.dx.dataset.DataSetException error code: BASE+66
          com.borland.dx.dataset.DataSetException: constante numérica mal escrita
          Chained exception:
          java.sql.SQLException: constante numérica mal escrita
               at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
               at org.hsqldb.jdbc.JDBCPreparedStatement.<init>(Unknown Source)
               at org.hsqldb.jdbc.JDBCConnection.prepareStatement(Unknown Source)
               at com.sunopsis.jdbc.driver.xml.SnpsXmlConnection.prepareStatement(SnpsXmlConnection.java:1192)
               at sun.reflect.GeneratedMethodAccessor65.invoke(Unknown Source)
               at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
               at java.lang.reflect.Method.invoke(Method.java:597)
               at oracle.odi.core.datasource.dwgobject.support.OnConnectOnDisconnectDataSourceAdapter$OnDisconnectCommandExecutionHandler.invoke(OnConnectOnDisconnectDataSourceAdapter.java:200)
               at $Proxy2.prepareStatement(Unknown Source)
               at com.borland.dx.sql.dataset.Database.createPreparedStatement(Unknown Source)
               at com.borland.dx.sql.dataset.o.a(Unknown Source)
               at com.borland.dx.sql.dataset.o.d(Unknown Source)
               at com.borland.dx.sql.dataset.o.f(Unknown Source)
               at com.borland.dx.sql.dataset.QueryProvider.e(Unknown Source)
               at com.borland.dx.sql.dataset.JdbcProvider.provideData(Unknown Source)
               at com.borland.dx.dataset.StorageDataSet.refresh(Unknown Source)
               at com.borland.dx.sql.dataset.QueryDataSet.refresh(Unknown Source)
               at com.sunopsis.graphical.frame.edit.AbstractEditFrameGridBorland.initialize(AbstractEditFrameGridBorland.java:624)
               at com.sunopsis.graphical.frame.edit.AbstractEditFrameGridBorland.<init>(AbstractEditFrameGridBorland.java:864)
               at com.sunopsis.graphical.frame.edit.EditFrameTableData.<init>(EditFrameTableData.java:50)
               at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
               at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
               at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
               at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
               at oracle.odi.ui.editor.AbstractOdiEditor$1.run(AbstractOdiEditor.java:153)
               at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
               at java.lang.Thread.run(Thread.java:662)
          Caused by: org.hsqldb.HsqlException: constante numérica mal escrita
               at org.hsqldb.error.Error.error(Unknown Source)
               at org.hsqldb.error.Error.error(Unknown Source)
               at org.hsqldb.ParserBase.read(Unknown Source)
               at org.hsqldb.ParserBase.readThis(Unknown Source)
               at org.hsqldb.ParserDQL.XreadFromClause(Unknown Source)
               at org.hsqldb.ParserDQL.XreadTableExpression(Unknown Source)
               at org.hsqldb.ParserDQL.XreadQuerySpecification(Unknown Source)
               at org.hsqldb.ParserDQL.XreadSimpleTable(Unknown Source)
               at org.hsqldb.ParserDQL.XreadQueryPrimary(Unknown Source)
               at org.hsqldb.ParserDQL.XreadQueryTerm(Unknown Source)
               at org.hsqldb.ParserDQL.XreadQueryExpressionBody(Unknown Source)
               at org.hsqldb.ParserDQL.XreadQueryExpression(Unknown Source)
               at org.hsqldb.ParserDQL.compileCursorSpecification(Unknown Source)
               at org.hsqldb.ParserCommand.compilePart(Unknown Source)
               at org.hsqldb.ParserCommand.compileStatement(Unknown Source)
               at org.hsqldb.Session.compileStatement(Unknown Source)
               at org.hsqldb.StatementManager.compile(Unknown Source)
               at org.hsqldb.Session.execute(Unknown Source)
               ... 26 more
We also try to create an interface with the datastore of the model as source of the interface, and
get the same exact exception as above, when interfaces in executed either with no-agent(local) or with an agent.
Bellow I pasted the xsd schema and XML data:
CRM_CR_CURRENCY.xml
<?xml version = '1.0' encoding = 'UTF-8'?>
<m:indicadoresResponse xmlns:m="http://co/com/bancodecredito/eai/serviciosLinea/seriva">
<ns0:WS_ResultadoConsultaIndicadores xmlns:ns0="http://co/com/bancodecredito/eai/serviciosLinea/seriva/impl">
<ns0:Error>0</ns0:Error>
<ns0:Descripcion>Transacción exitosa</ns0:Descripcion>
<ns0:indicadores>
<ns0:fecha>2011-08-10 00:00:00.0</ns0:fecha>
<ns0:descripcion>VALORACION (TRM VIGENTE) UVR/UVR</ns0:descripcion>
<ns0:tipoIndicador>3</ns0:tipoIndicador>
<ns0:codigoIndicador>312</ns0:codigoIndicador>
<ns0:codigoVertice>0</ns0:codigoVertice>
<ns0:plazo>0</ns0:plazo>
<ns0:valor>196.9975</ns0:valor>
<ns0:comportamiento>1</ns0:comportamiento>
<ns0:formato>3</ns0:formato>
</ns0:indicadores>
</ns0:WS_ResultadoConsultaIndicadores>
</m:indicadoresResponse>          
ServiciosSerivaConsultasTypes0.xsd
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://co/com/bancodecredito/eai/serviciosLinea/seriva" xmlns:s0="http://schemas.xmlsoap.org/wsdl/" xmlns:s1="http://co/com/bancodecredito/eai/serviciosLinea/seriva" xmlns:s2="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s3="http://www.openuri.org/2006/12/wsdl/upgradedJWS" xmlns:xs="http://www.w3.org/2001/XMLSchema">
     <xs:import namespace="http://co/com/bancodecredito/eai/serviciosLinea/seriva/impl" schemaLocation="resultado.xsd" />
     <xs:element name="indicadoresResponse">
          <xs:complexType>
               <xs:sequence>
                    <xs:element ref="impl:WS_ResultadoConsultaIndicadores" xmlns:impl="http://co/com/bancodecredito/eai/serviciosLinea/seriva/impl" />
               </xs:sequence>
          </xs:complexType>
     </xs:element>
</xs:schema>
resultado.xsd
<?xml version="1.0" encoding="UTF-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://co/com/bancodecredito/eai/serviciosLinea/seriva/impl" xmlns:s0="http://schemas.xmlsoap.org/wsdl/" xmlns:s1="http://co/com/bancodecredito/eai/serviciosLinea/seriva" xmlns:s2="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:s3="http://www.openuri.org/2006/12/wsdl/upgradedJWS" xmlns:tns="http://co/com/bancodecredito/eai/serviciosLinea/seriva/impl" xmlns:xs="http://www.w3.org/2001/XMLSchema">
     <xs:element name="WS_ResultadoConsultaIndicadores">
          <xs:complexType>
               <xs:sequence>
                    <xs:element name="Error" type="xs:string" />
                    <xs:element name="Descripcion" type="xs:string" />
                    <xs:sequence maxOccurs="unbounded" minOccurs="0">
                         <xs:element name="indicadores">
                              <xs:complexType>
                                   <xs:sequence>
                                   <xs:element name="fecha" type="xs:string" />
                                   <xs:element name="descripcion" type="xs:string" />
                                   <xs:element name="tipoIndicador" type="xs:int" />
                                   <xs:element name="codigoIndicador" type="xs:int" />
                                   <xs:element name="codigoVertice" type="xs:int" />
                                   <xs:element name="plazo" type="xs:int" />
                                   <xs:element name="valor" type="xs:double" />
                                   <xs:element name="comportamiento" type="xs:int" />
                                   <xs:element name="formato" type="xs:int" />
                                   </xs:sequence>
                              </xs:complexType>
                         </xs:element>
                    </xs:sequence>
               </xs:sequence>
          </xs:complexType>
</xs:element>
</xs:schema>
I really don't have any clue about what is happening. I have made sure files are in UTF-8 encoding. I don't know if any jar might be corrupted.

You may sure have found the answer but it can help futur visitors:
Did you specified a Schema name for your physical schema ?
I had the same problem and no schema was set in my physical schema, when setting it, it must be OK.

Similar Messages

  • Error while importing data from XML file to a Oracle database

    I am getting the following error while importing data
    *** atg.xml.XMLFileException: No XML files were found for "/Dynamusic/config/dynamusic/songs-data.xml". 
    The files must be located  under the name "/Dynamusic/config/dyna
    *** java.io.FileNotFoundException: D:\MyApp\ATG\ATG10.0.3 (Access is denied)
    java.io.FileNotFoundException: D:\MyApp\ATG\ATG10.0.3 (Access is denied)
            at java.io.FileInputStream.open(Native Method)
            at java.io.FileInputStream.<init>(FileInputStream.java:120)
            at atg.adapter.gsa.xml.TemplateParser.importFiles(TemplateParser.java:6675)
            at atg.adapter.gsa.xml.TemplateParser.runParser(TemplateParser.java:5795)
            at atg.adapter.gsa.xml.TemplateParser.main(TemplateParser.java:5241)
    I have placed the FakeXADataSource and JTDataSource properties files as required. In fact I have been able to import data in all machines. Just this one machine is giving problems. I have also checked out the access rights. Can someone help me please?

    Confirm that you have access to D:\MyApp\ATG\ATG10.0.3 and existence of Dynamusic/config/dynamusic/songs-data.xm

  • Error while viewing data from data store

    Hello Gurus,
    We are facing issue with driver when we try to view data from a data store related to Hyperion Essbase technology.
    ODI version is 11.1.1.6.
    Following is the error that we are getting:
    java.lang.IllegalArgumentException: Driver name cannot be empty
         at org.springframework.util.Assert.hasText(Assert.java:161)
         at com.sunopsis.sql.SnpsConnection.setDriverName(SnpsConnection.java:302)
         at com.sunopsis.dwg.dbobj.DwgConnectConnection.setDefaultConnectDefinition(DwgConnectConnection.java:380)
         at com.sunopsis.dwg.dbobj.DwgConnectConnection.<init>(DwgConnectConnection.java:274)
         at com.sunopsis.dwg.dbobj.DwgConnectConnection.<init>(DwgConnectConnection.java:288)
         at oracle.odi.core.datasource.dwgobject.support.DwgConnectConnectionCreatorImpl.createDwgConnectConnection(DwgConnectConnectionCreatorImpl.java:53)
         at com.sunopsis.graphical.frame.edit.EditFrameTableData.snpsInitializeSnpsComponentsSpecificRules(EditFrameTableData.java:85)
         at com.sunopsis.graphical.frame.SnpsEditFrame.snpsInitialize(SnpsEditFrame.java:1413)
         at com.sunopsis.graphical.frame.edit.AbstractEditFrameGridBorland.initialize(AbstractEditFrameGridBorland.java:623)
         at com.sunopsis.graphical.frame.edit.AbstractEditFrameGridBorland.<init>(AbstractEditFrameGridBorland.java:868)
         at com.sunopsis.graphical.frame.edit.EditFrameTableData.<init>(EditFrameTableData.java:50)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at oracle.odi.ui.editor.AbstractOdiEditor$1.run(AbstractOdiEditor.java:176)
         at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:655)
         at java.lang.Thread.run(Thread.java:662)Is there any specific JAR file related to Hyperion Essbase ?
    and where do we find the default drivers that come with ODI?
    Please help.
    Thanks,
    Santy.

    You cannot view the data from an essbase data store as it isn't configured with a jdbc driver that supports this function

  • Error While Viewing Data from MARA Table

    Hi All,
    After Importing SAP Tables, ex MARA  and viewing Data Getting "Error Calling RFC function to get table data: <DATA_BUFFER_EXCEEDED "r  . After decreasing or applying filters on fields , still not able to get data.
    Able to extract data from T001 table.
    Need to pull data in volumes right, so how to tackle this problem.
    Thanks,
    Ravindra

    Hi Ravindra ,
      You can check the OSS note - 1186277 for the resolution of this issue .
    Note- 1186277 is a SAP knowledge article .
    You can access it from here  - [Note - 1186277|https://css.wdf.sap.corp/sap(bD1lbiZjPTAwMQ==)/bc/bsp/sno/ui_entry/entry.htm?param=69765F6D6F64653D3030312669765F7361706E6F7465735F6E756D6265723D3131383632373726]
    Regards,
    Lokesh

  • Error while retrieving data in VC model Portal Request Failed

    Hello,
    I'm trying to use a ES workplace Webservice but not getting any results. The error message is Portal Request Failed ( Index: 0 , Size: 0). I tested calling the service from  the esworkplace and it worked. Although I hade to use some NULL value as variables. Is it also possible to give a null value along while testing the webservice from VC ?
    I'm on release 7.0 sp08. The service I call is on HU2 800 , service is MaterialSimpleByIDAndDescriptionQueryResponse_In.
    If any one knows a solution for this problem i like to hear from you.
    Regards,
    Jasper

    Hi Jasper,
    Have you followed the steps mentioned in this document?- > https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a160392c-0e01-0010-7784-9cc564d871d2
    and optionally
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5e9ca25b-0e01-0010-bbaa-f3b963e89edd
    If not, these How-to documents will solve your problem
    With Best Regards,
    Swapnil

  • JDBC Sender Adapter : java.sql.SQLException: Cursor state not valid.

    Hello all,
    We have configured JDBC Sender Adapter which fetches around 10K records with poll interval 1hr  from DB2 System .
    It was working fine,suddenly it started throwing an exception in Adapter Monitoring :
    Error during conversion of query result to XML: java.sql.SQLException: Cursor state not valid.
    It is not fetching any records.
    Without changing any configurations when we tried to fetch to around 1000 records it's working fine.
    For 10K records same exception persists
    What could be the reason ?How to resolve this issue?
    regards
    GangaPrasad

    Hello Christophe ,
    Trace in VA :::
    Date : 05/09/2008
    Time : 11:45:57:750
    Message : Unexpected error converting database resultset to XML, reason: java.sql.SQLException: Cursor state not valid.
         at java.lang.Throwable.<init>(Throwable.java:194)
         at java.lang.Exception.<init>(Exception.java:41)
         at java.sql.SQLException.<init>(SQLException.java:40)
         at com.ibm.as400.access.JDError.throwSQLException(JDError.java:389)
         at com.ibm.as400.access.JDError.throwSQLException(JDError.java:366)
         at com.ibm.as400.access.AS400JDBCResultSet.getValue(AS400JDBCResultSet.java:3580)
         at com.ibm.as400.access.AS400JDBCResultSet.getString(AS400JDBCResultSet.java:3223)
         at sun.reflect.GeneratedMethodAccessor459222074.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:309)
         at com.sap.aii.adapter.jdbc.sql.jdbctrace.TraceInvocationHandler.invoke(TraceInvocationHandler.java:45)
         at com.sap.aii.adapter.jdbc.sql.jdbctrace.$Proxy254.getString(Unknown Source)
         at com.sap.aii.adapter.jdbc.JDBC2XI.convert2XML(JDBC2XI.java:954)
         at com.sap.aii.adapter.jdbc.JDBC2XI.invoke(JDBC2XI.java:492)
         at com.sap.aii.af.service.scheduler.JobBroker$Worker.run(JobBroker.java:475)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:99)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:119)
    Severity : Error
    Category : /Applications/ExchangeInfrastructure/AdapterFramework/Services/ADAPTER/ADMIN/JDBC
    Location : com.sap.aii.adapter.jdbc.JDBC2XI.convert2XML(ResultSet, ResultSetMetaData)
    Application :
    Thread : XI JDBC2XI[JDBC_SND_DB2_VehicleReceiving/DB2PRD00/]_170
    Datasource : 12428950:/usr/sap/PXI/DVEBMGS01/j2ee/cluster/server0/log/applications/com.sap.xi/xi.log
    Message ID : 00145E742794005E0014980B000000BE00044CC763766C4F
    Source Name : /Applications/ExchangeInfrastructure/AdapterFramework/Services/ADAPTER/ADMIN/JDBC
    Argument Objs : java.sql.SQLException: Cursor state not valid.
         at java.lang.Throwable.<init>(Throwable.java:194)
         at java.lang.Exception.<init>(Exception.java:41)
         at java.sql.SQLException.<init>(SQLException.java:40)
         at com.ibm.as400.access.JDError.throwSQLException(JDError.java:389)
         at com.ibm.as400.access.JDError.throwSQLException(JDError.java:366)
         at com.ibm.as400.access.AS400JDBCResultSet.getValue(AS400JDBCResultSet.java:3580)
         at com.ibm.as400.access.AS400JDBCResultSet.getString(AS400JDBCResultSet.java:3223)
         at sun.reflect.GeneratedMethodAccessor459222074.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:309)
         at com.sap.aii.adapter.jdbc.sql.jdbctrace.TraceInvocationHandler.invoke(TraceInvocationHandler.java:45)
         at com.sap.aii.adapter.jdbc.sql.jdbctrace.$Proxy254.getString(Unknown Source)
         at com.sap.aii.adapter.jdbc.JDBC2XI.convert2XML(JDBC2XI.java:954)
         at com.sap.aii.adapter.jdbc.JDBC2XI.invoke(JDBC2XI.java:492)
         at com.sap.aii.af.service.scheduler.JobBroker$Worker.run(JobBroker.java:475)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:99)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:119)
    Arguments : java.sql.SQLException: Cursor state not valid.
         at java.lang.Throwable.<init>(Throwable.java:194)
         at java.lang.Exception.<init>(Exception.java:41)
         at java.sql.SQLException.<init>(SQLException.java:40)
         at com.ibm.as400.access.JDError.throwSQLException(JDError.java:389)
         at com.ibm.as400.access.JDError.throwSQLException(JDError.java:366)
         at com.ibm.as400.access.AS400JDBCResultSet.getValue(AS400JDBCResultSet.java:3580)
         at com.ibm.as400.access.AS400JDBCResultSet.getString(AS400JDBCResultSet.java:3223)
         at sun.reflect.GeneratedMethodAccessor459222074.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:309)
         at com.sap.aii.adapter.jdbc.sql.jdbctrace.TraceInvocationHandler.invoke(TraceInvocationHandler.java:45)
         at com.sap.aii.adapter.jdbc.sql.jdbctrace.$Proxy254.getString(Unknown Source)
         at com.sap.aii.adapter.jdbc.JDBC2XI.convert2XML(JDBC2XI.java:954)
         at com.sap.aii.adapter.jdbc.JDBC2XI.invoke(JDBC2XI.java:492)
         at com.sap.aii.af.service.scheduler.JobBroker$Worker.run(JobBroker.java:475)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:99)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:119)
    Dsr Component :
    Dsr Transaction : d1f629d01d9b11dd984200145e742794
    Dsr User :
    Indent : 0
    Level : 0
    Message Code :
    Message Type : 1
    Relatives : com.sap.aii.adapter.jdbc.JDBC2XI
    Resource Bundlename :
    Session : 0
    Source : /Applications/ExchangeInfrastructure/AdapterFramework/Services/ADAPTER/ADMIN/JDBC
    ThreadObject : XI JDBC2XI[JDBC_SND_DB2_VehicleReceiving/DB2PRD00/]_170
    Transaction : SAP J2EE Engine JTA Transaction : [0ffffffbdffffffa6ffffff960086]
    User : J2EE_GUEST
    Regards
    Ganga Prasad

  • Reg: Error in Data Template ( java.sql.SQLException: ORA-00900: invalid SQL

    Hi Experts,
    Good Morning..
    I registered the data template which i created in oracle apps and while i run that, ended in error... Plz help me..
    Step :-1 Used Data Template as below:-
    <?xml version="1.0" encoding="WINDOWS-1252" ?>
    <dataTemplate name="EMP" defaultPackage="" description="Employee Data">
    - <properties>
    <property name="include_parameters" value="true" />
    <property name="include_null_Element" value="true" />
    <property name="xml_tag_case" value="upper" />
    <property name="db_fetch_size" value="500" />
    <property name="scalable_mode" value="off" />
    <property name="include_rowsettag" value="false" />
    <property name="debug_mode" value="off" />
    </properties>
    <parameters/>
    <parameters name="pdeptno" dataType="number" defaultValue=" ">
    </parameters>
    <lexicals />
    - <dataQuery>
    - <sqlStatement name="DEPT" dataSourceRef="">
    - <![CDATA[
              SELECT DEPTNO,DNAME,
              LOC,CURSOR(SELECT  EMPNO,ENAME,JOB,MGR,HIREDATE,SAL,nvl(COMM,0) COMM from EMP ) as EMP
              from dept
              where deptno=pdeptno
              order by deptno]]>
    </sqlStatement>
    </dataQuery>
    </dataTemplate>
    Step -2:-
    Registered in xml publisher administrator
    Step -3:-
    While i am running this getting below error-
    XDO Data Engine Version No: 5.6.3
    Resp: 20419
    Org ID : 204
    Request ID: 5380496
    All Parameters: pdeptno=10
    Data Template Code: EMP_DD
    Data Template Application Short Name: FND
    Debug Flag: N
    {pdeptno=10}
    Calling XDO Data Engine...
    java.sql.SQLException: ORA-00900: invalid SQL statement
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:745)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:810)
         at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1039)
         at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:850)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1134)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3339)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3384)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeDefaultGroup(XMLPGEN.java:392)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:286)
         at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:273)
         at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:215)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:254)
         at oracle.apps.xdo.dataengine.DataProcessor.processDataStructre(DataProcessor.java:390)
         at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.java:355)
         at oracle.apps.xdo.oa.util.DataTemplate.processData(DataTemplate.java:348)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:293)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    Start of log messages from FND_FILE
    Any mistake i made.. Issue may be silly..plz help me...
    Thanks in advance..
    Happy

    Hi all,,,,
    Thank so much for your valuable response regarding this issue..
    Actually my scenario meet this below example, path for that example:-.
    http://blogs.oracle.com/xmlpublisher/2007/02/data_templates_without_groupin.html
    I am simply executing that data template. but getting this error :-
    XDO Data Engine Version No: 5.6.3
    Resp: 20419
    Org ID : 204
    Request ID: 5380496
    All Parameters: pdeptno=10
    Data Template Code: EMP_DD
    Data Template Application Short Name: FND
    Debug Flag: N
    {pdeptno=10}
    Calling XDO Data Engine...
    java.sql.SQLException: ORA-00900: invalid SQL statement
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
         at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:745)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:810)
         at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1039)
         at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:850)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1134)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3339)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3384)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeDefaultGroup(XMLPGEN.java:392)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:286)
         at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:273)
         at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:215)
         at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:254)
         at oracle.apps.xdo.dataengine.DataProcessor.processDataStructre(DataProcessor.java:390)
         at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.java:355)
         at oracle.apps.xdo.oa.util.DataTemplate.processData(DataTemplate.java:348)
         at oracle.apps.xdo.oa.cp.JCP4XDODataEngine.runProgram(JCP4XDODataEngine.java:293)
         at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
    Start of log messages from FND_FILE

  • Error while exporting data

    i get the following error while exporting data evn after running catexp.sql
    EXP-00056: ORACLE error 31600 encountered
    ORA-31600: invalid input value EMIT_SCHEMA for parameter NAME in function SET_TRANSFORM_PARAM
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.DBMS_METADATA_INT", line 3926
    ORA-06512: at "SYS.DBMS_METADATA_INT", line 4050
    ORA-06512: at "SYS.DBMS_METADATA", line 836
    ORA-06512: at line 1
    can anyone help me on this

    copy past from the notes referred above -
    Symptom(s)
    ~~~~~~~~~~
    You are performing a database export against your 9.2 database. The database
    export abnormally ends with the following errors:
    EXP-00056: ORACLE error 31600 encountered
    ORA-31600: invalid input value EMIT_SCHEMA for parameter NAME in function
    SET_TRANSFORM_PARAM
    ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
    ORA-06512: at "SYS.DBMS_METADATA_INT", line 3926
    ORA-06512: at "SYS.DBMS_METADATA_INT", line 4050
    ORA-06512: at "SYS.DBMS_METADATA", line 836
    ORA-06512: at line 1
    EXP-00000: Export terminated unsuccessfully
    Change(s)
    ~~~~~~~~~~
    One of the known causes for the error above is that a patchset was recently
    applied to the database but one or more of the patchset steps were not
    performed.
    Cause
    ~~~~~~~
    View the readme notes for the patchset recently installed. You will see a step
    that should have been performed that directs you to run the script named
    catpatch.sql. Very likely this step was never performed.
    Fix
    ~~~~
    As the sysdba user run the catpatch.sql script found in the directory named
    $ORACLE_HOME/rdbms/admin. Before you submit this script, view it's contents.
    You may see that this script places the database in restricted mode.
    rgds

  • Error while trying to add a Model

    I am getting the following error while try to add a new Model.
    java.sql.SQLException: ORA-00001: unique constraint (SNPW.PK_MODEL) violate.
    I am using 10.1.3.4.4 version of ODI. Can any help me to solve the issue.

    Are you trying to create a new Model or trying to import a Model ?

  • Java.sql.SQLException: Error accessing jdbc driver

    Hi,
    We are using WebLogic Server 7.0 as Application Server.
    We now create a connection pool named regPool and
    a Tx datasource named regDS.
    When we get the connection from the datasource, exception occurred.
    java.sql.SQLException: Error accessing jdbc driver: driverURL =
    jdbc:weblogic:pool:regPool, props = {enableTwoPhaseCommit=false,
    jdbcTxDataSource=true, connectionPoolID=regPool}
    at
    weblogic.jdbc.jts.Driver.wrapAndThrowSQLException(Driver.java:323)
    at weblogic.jdbc.jts.Driver.getNonTxConnection(Driver.java:377)
    at weblogic.jdbc.jts.Driver.connect(Driver.java:129)
    at
    weblogic.jdbc.common.internal.RmiDataSource.getConnection(RmiDataSource.java
    :265)
    So I guess that why we can't use CMP for finding data. Here is the error when we call the finder.
    javax.ejb.FinderException: Exception in findAllEmr while preparing or
    executing statement: 'null'
    java.sql.SQLException: Cannot obtain connection after 30 seconds. ,
    Exception = Access not allowed
    java.sql.SQLException: Cannot obtain connection after 30 seconds. ,
    Exception = Access not allowed
    at
    weblogic.jdbc.jts.Connection.wrapAndThrowSQLException(Connection.java:694)
    According to the exception message, it looks
    like the connection fail between WLS and Oracle 9.2.
    Here is a scenario I think you should need to know.
    I change the table-name in the weblogic-cmp-rdbms-jar.xml
    to a name that doesn't exist in the database.
    Then, re-package the EJB, copy it to server and restart the server.
    A exception occurred that says the table doesn't exist.
    So, in this case, it looks like the datasource works and
    connection is fine.
    Any recommendation will be appreciated.
    Jimmy Chang

    Hi!
    I am a default user to the databse server. I connect to the database with '\' as the username and blank passoword(I mean with Network authentication may be).When I am trying to create connection using
    con = DriverManager.getConnection("jdbc:oracle:thin:@DRACINAL2:BSAJ", "/","" )
    it gives me followint error
    ava.sql.SQLException: Null user or password not supported in THIN driver
         void oracle.jdbc.dbaccess.DBError.throwSqlException(java.lang.String, java.lang.String, int)
         void oracle.jdbc.dbaccess.DBError.throwSqlException(int, java.lang.Object)
         void oracle.jdbc.dbaccess.DBError.check_error(int)
         oracle.jdbc.dbaccess.DBConversion oracle.jdbc.ttc7.TTC7Protocol.logon(java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
         void oracle.jdbc.driver.OracleConnection.<init>(oracle.jdbc.dbaccess.DBAccess, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
         java.sql.Connection oracle.jdbc.driver.OracleDriver.getConnectionInstance(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.util.Properties)
         java.sql.Connection oracle.jdbc.driver.OracleDriver.connect(java.lang.String, java.util.Properties)
         java.sql.Connection java.sql.DriverManager.getConnection(java.lang.String, java.util.Properties, java.lang.ClassLoader)
         java.sql.Connection java.sql.DriverManager.getConnection(java.lang.String, java.lang.String, java.lang.String)
         void textPack.GenTextFile.main(java.lang.String[])
    How should I go about it?
    Thanks for your help.
    -Sreekanth Varidhireddy

  • Java.sql.SQLException: XA error: XAER_PROTO : Routine was invoked in an inp

    we're using wls 8.1sp2 w/ oracle. our database connection setup works fine when using a JBDCConnectionPool, and specifying SupportsLocalTransactions="true", RollbackLocalxUponClose="true" (among many other settings).
              i'm looking into moving from using a JDBCConnectionPool/DataSource configured in the config.xml to using a DataSourceFactory along with using a <jdbc-connection-pool> in the weblogic-application.xml. the reason for this is to keep the data source from being publicly available. if someone else wants to get to our data, they're going to go through our beans, not a jdbc connection from the ds. please let me know if i'm mistaken that this will accomplish that goal.
              here's the settings setup for the xa-parms in the weblogic-application.xml:
              <xa-params>
              <debug-level>3</debug-level>
              <keep-conn-until-tx-complete-enabled>true</keep-conn-until-tx-complete-enabled>
              <local-transaction-supported>true</local-transaction-supported>
              <xa-transaction-timeout>30</xa-transaction-timeout>
              <rollback-localtx-upon-connclose>true</rollback-localtx-upon-connclose>
              </xa-params>
              that's the setup. now the problem. when using the weblogic-application.xml method, we see various errors with stack traces that look like:
              java.sql.SQLException: XA error: XAER_PROTO : Routine was invoked in an inproper context start() failed on resource 'weblogic.jdbc.jta.DataSource': XAER_PROTO : Routine was invoked in an inproper context
              javax.transaction.xa.XAException
                   at oracle.jdbc.xa.OracleXAResource.disallowLocalTxnMode(OracleXAResource.java:1048)
                   at oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:153)
                   at weblogic.jdbc.jta.DataSource.start(DataSource.java:617)
                   at weblogic.transaction.internal.XAServerResourceInfo.start(XAServerResourceInfo.java:1075)
                   at weblogic.transaction.internal.XAServerResourceInfo.xaStart(XAServerResourceInfo.java:1007)
                   at weblogic.transaction.internal.XAServerResourceInfo.enlist(XAServerResourceInfo.java:203)
                   at weblogic.transaction.internal.ServerTransactionImpl.enlistResource(ServerTransactionImpl.java:419)
                   at weblogic.jdbc.jta.DataSource.enlist(DataSource.java:1287)
                   at weblogic.jdbc.jta.DataSource.refreshXAConnAndEnlist(DataSource.java:1250)
              this is with using the oracle.jdbc.xa.client.OracleXADataSource driver in the ojdbc14.jar supplied with our weblogic. they don't happen every time a bean uses a connection, and it seems to be fairly consistant where the stack traces occur (when a bean tries to get a connection from the ds).
              i grabbed the 10g version of odjbc14.jar from oracle (is there a way to tell specifically what version the ojdbc14.jar is from the jar itself?), and these errors went away. are driver upgrades like this supported by weblogic? i don't want to get into a situation where we have a critical issue and weblogic support tells me it's not a driver they issued. i'd really like to use this driver as to the 8.1.sp2 driver, as the 10g driver now supports clob/blob in a more vendor neutral way.
              if anyone has comments/suggestions on this it would be most appreciated.

    The driver itself is from oracle so any issues with the driver are supported by oracle not by BEA.
              I think you should be fine using the latest driver.
              sree

  • Java.sql.SQLException errors in Tomcat log

    When bringing up a RoboHelp 8 help page using a URL like this:
    http://server:port/configuration/server?project=ProjectName&context=mapid
    an error is logged to my Tomcat localhost.date.log file.  The help page displays fine with no errors, but I'd rather not have the log files filling up with errors every time help is invoked.  Any idea what is causing these and how to avoid?  Is opening a browser window with a url the best way to invoke context sensitive help from a web app?
    Feb 24, 2010 1:46:09 PM org.apache.catalina.core.ApplicationContext log
    SEVERE: java.sql.SQLException: [Microsoft][ODBC SQL Server Driver][SQL Server]String or binary data would be truncated.
    java.sql.SQLException: [Microsoft][ODBC SQL Server Driver][SQL Server]String or binary data would be truncated.
        at sun.jdbc.odbc.JdbcOdbc.createSQLException(Unknown Source)
        at sun.jdbc.odbc.JdbcOdbc.standardError(Unknown Source)
        at sun.jdbc.odbc.JdbcOdbc.SQLExecDirect(Unknown Source)
        at sun.jdbc.odbc.JdbcOdbcStatement.execute(Unknown Source)
        at sun.jdbc.odbc.JdbcOdbcStatement.executeUpdate(Unknown Source)
        at adobe.robohelp.server.DatabaseManager.ExecuteUpdateNoCommit(DatabaseManager.java:237)
        at adobe.robohelp.server.DatabaseManager.GetNewUserId(DatabaseManager.java:447)
        at adobe.robohelp.server.CSystemManager.CreateCookies(CSystemManager.java:531)
        at adobe.robohelp.server.CSystemManager.doCommand(CSystemManager.java:207)
        at adobe.robohelp.server.HelpArea.doGet(HelpArea.java:62)
        at adobe.robohelp.server.AreaManager.doGet(AreaManager.java:79)
        at adobe.robohelp.server.RoboHelpServer.doGet(RoboHelpServer.java:149)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.j ava:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:433)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:849)
        at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.ja va:583)
        at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:454)
        at java.lang.Thread.run(Unknown Source)

    I did a couple of things like fix the type that was being passed etc., and I get this exception now
    java.sql.SQLException: ORA-06550: line 1, column 28:
    PLS-00103: Encountered the symbol "COMPUTER" when expecting one of the following:
    . ( ) , * @ % & = - + < / > at in is mod remainder not rem =>
    <an exponent (**)> <> or != or ~= >= <= <> and or like like2
    like4 likec as between from using || multiset member
    submultiset
    The symbol ". was inserted before "COMPUTER" to continue.
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:440)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:396)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:837)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:445)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:191)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:523)
         at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:204)
         at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:1006)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1315)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3576)
         at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3677)
         at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:4714)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1374)
         at dao.CallableStatementDAO.callProcedure(CallableStatementDAO.java:69)
         at integration.IntegrationService.main(IntegrationService.java:192)

  • Java.sql.SQLException: [TimesTen][TimesTen 6.0.1 ODBC Driver][TimesTen]TT08

    Hi,
    I have installed TimesTen 6.0.1 and created Server/Client DSN's and trying to connect from a simple Java File using Client DSN, but encounter the following error. What could be the reason
    java.sql.SQLException: [TimesTen][TimesTen 6.0.1 ODBC Driver][TimesTen]TT0830: Cannot create data store file. OS-detected error: The system c
    annot find the path specified. -- file "db.c", lineno 7188, procedure "sbDbCreate()"
    at com.timesten.jdbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6268)
    at com.timesten.jdbc.JdbcOdbc.standardError(JdbcOdbc.java:6391)
    at com.timesten.jdbc.JdbcOdbc.standardError(JdbcOdbc.java:6356)
    at com.timesten.jdbc.JdbcOdbc.SQLDriverConnect(JdbcOdbc.java:3822)
    at com.timesten.jdbc.JdbcOdbcConnection.connect(JdbcOdbcConnection.java:1714)
    at com.timesten.jdbc.TimesTenDriver.connect(TimesTenDriver.java:362)
    at com.timesten.jdbc.TimesTenDriver.connect(TimesTenDriver.java:218)
    at java.sql.DriverManager.getConnection(DriverManager.java:512)
    at java.sql.DriverManager.getConnection(DriverManager.java:193)
    at Example.main(Example.java:20)
    Thanks in Adv
    Venkata

    It looks like you encountered a permission problem. Can you share the details of what operation you were trying to do, your connection and DSN settings and configuration file?
    - scheung

  • Unexpected exception : java.sql.SQLException

    I tried to execute a query by reading it from the console and passing it as an argument to executeQuery( ) method.
    It is giving the following error message
    Unexpected exception : java.sql.SQLException: [Microsoft][ODBC Microsoft Access
    Driver] Syntax error in FROM clause. , sqlstate = 37000
    java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] Syntax error in
    FROM clause.
    at sun.jdbc.odbc.JdbcOdbc.createSQLException(JdbcOdbc.java:6031)
    at sun.jdbc.odbc.JdbcOdbc.standardError(JdbcOdbc.java:6188)
    at sun.jdbc.odbc.JdbcOdbc.SQLExecDirect(JdbcOdbc.java:2494)
    at sun.jdbc.odbc.JdbcOdbcStatement.execute(JdbcOdbcStatement.java:314)
    at sun.jdbc.odbc.JdbcOdbcStatement.executeQuery(JdbcOdbcStatement.java:2
    29)
    at assignment1.main(assignment1.java:63)
    Can anyone help me to get rid of this error.
    Thanks,
    Suma

    It's telling you that the query you read in from the console is not valid SQL, in particular that there is an error somewhere in the FROM clause of the query. To solve this problem, only type valid queries into this program. Or if you can't guarantee that -- and you can't -- report the error to the person typing in the invalid queries.

  • XML Publisher error while viewing a report

    I get the following error while viewing a report I have just written using a data template:
    The report cannot be rendered because of an error, please contact the administrator.
    I am using XML Publisher 562 Enterprise.
    The Data template I have loaded is as follows:
    <dataTemplate name="FLEETMASTERS" description="Fleet Masters Listing">
         <dataQuery>
              <sqlStatement name="Q1">
                   <![CDATA[SELECT fm.fms_id, fm.reg_no, fm.vsn, fm.vin
                     FROM fleet_masters fm
                     WHERE rownum <= 100]]>
              </sqlStatement>
         </dataQuery>
    </dataTemplate>
    The rtf template loaded is simply
    Fms Id     Reg No     Vin
    F FMS_ID REG_NO VIN E
    If I use a Data Model using a SQL Query and type in above select statement, it works fine. The moment I use a Data Template I get the error mentioned above.
    A dump of the error in the log is
    [080406_041655194][][EXCEPTION] java.lang.IndexOutOfBoundsException: Index: 0, S
    ize: 0
    at com.sun.java.util.collections.ArrayList.RangeCheck(ArrayList.java:492
    at com.sun.java.util.collections.ArrayList.get(ArrayList.java:306)
    at oracle.apps.xdo.dataengine.DataTemplateParser.getParentDataSource(Dat
    aTemplateParser.java:1449)
    at oracle.apps.xdo.dataengine.XMLPGEN.writeDefaultGroup(XMLPGEN.java:298
    at oracle.apps.xdo.dataengine.XMLPGEN.writeGroupStructure(XMLPGEN.java:2
    64)
    at oracle.apps.xdo.dataengine.XMLPGEN.processData(XMLPGEN.java:251)
    at oracle.apps.xdo.dataengine.XMLPGEN.processXML(XMLPGEN.java:192)
    at oracle.apps.xdo.dataengine.XMLPGEN.writeXML(XMLPGEN.java:229)
    at oracle.apps.xdo.dataengine.DataProcessor.processData(DataProcessor.ja
    va:336)
    at oracle.apps.xdo.servlet.data.bind.AdvancedQueryBoundValue11.callDataP
    rocessor(AdvancedQueryBoundValue11.java:126)
    at oracle.apps.xdo.servlet.data.bind.AdvancedQueryBoundValue11.getValue(
    AdvancedQueryBoundValue11.java:79)
    at oracle.apps.xdo.servlet.ReportContextImplV11.getReportXMLData(ReportC
    ontextImplV11.java:335)
    at oracle.apps.xdo.servlet.XDOProcessor.process(XDOProcessor.java:235)
    at oracle.apps.xdo.servlet.ReportImpl.renderBody(ReportImpl.java:227)
    at oracle.apps.xdo.servlet.ReportImpl.renderReportBody(ReportImpl.java:4
    6)
    at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:319)
    at oracle.apps.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:223)
    at oracle.apps.xdo.servlet.XDOServlet.doGet(XDOServlet.java:159)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:743)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ResourceFilterChain.doFilter(ResourceFilterC
    hain.java:64)
    at oracle.apps.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilt
    er.java:52)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletReque
    stDispatcher.java:629)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(Ser
    vletRequestDispatcher.java:376)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequ
    estHandler.java:870)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpReques
    tHandler.java:451)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpReque
    stHandler.java:218)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:119)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.ja
    va:112)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSo
    cketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(Relea
    sableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    If anyone has experienced something similar please help.
    Thank you

    Okay some more information:
    If I change the data template to this
    <dataTemplate name="FLEETMASTERS" description="Fleet Masters Listing">
         <dataQuery>
              <sqlStatement name="Q1">
                   <![CDATA[SELECT fms.fms_id FMS_ID, fm.reg_no REG_NO , fm.vin VIN
                     FROM fleet_masters fm
                     WHERE fm.fms_id BETWEEN 55531 and 55620 ]]>
              </sqlStatement>
         </dataQuery>
    </dataTemplate>
    I only get the titles being printed but no errors i.e the select does not seem to retrieve data from the database(85 records in database). If I remove the where clause I get the same titles as per the template with no data(49089 records in Database).
    Layout of template
    Fms Id Reg No Vin
    Now it begs the question, is XML Publisher finicky about the syntaxes you can use inside the "sqlStatement" clause?
    I have to say that this is really frustrating as I have had no successes using Data Templates

Maybe you are looking for

  • How can I buy more than one item at a time?

    How can I buy more than one item at a time i iPhote fx a book and a calander? It would be nice to place one order and only pay for the shipping once!

  • CSA 6.0.1 Customizing Reports on Hosts Who Have Disabled Agents

    We set up a rule which asks the user to supply a reason when they disable the CSA Agent. Is there a way to customize a report to include the reason in a report? We want to generate a report weekly which would include the end user name and the reason

  • Two repairs and still no good! AAAAAARRRRGHH!!!!

    So yesterday the local service center takes my laptop to repair it. New logic board - again. New power inverter for the screen New Super Drive. Thanks to help her it was pinpointed that my SD was busted. SO I'm in the office to burn backups of the La

  • Debugger issues...

    I've been trying to figure this out for a while now but I just can't.... for some strange reason the debugger does not display any arrays. Everything else works fine, but arrays don't. They just don't show up in the list of variables at all as if the

  • OGG-00665  OCI Error executing single row select (status = 4060-ORA-04060:

    Unable to start Replica. Is it Oracle user permission issue ? ERROR OGG-00665 OCI Error executing single row select (status = 4060-ORA-04060: insufficient privileges to execute DBMS_STREAMS.SET_TAG ORA-06512: at "SYS.DBMS_STREAMS", line 16 ORA-06512: