java.lang.RuntimeException: Untyped external variable $input

Oracle Community | 3004 | 1 decade ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Using XQuery as XSLT replacement

    Oracle Community | 1 decade ago | 3004
    java.lang.RuntimeException: Untyped external variable $input

    Root Cause Analysis

    1. com.bea.xquery.exceptions.XQRLUserException

      Untyped external variable $input

      at com.bea.xquery.compiler.ExternalVariable.checkIfTyped()
    2. com.bea.xquery
      XqueryStatement.compileQuery
      1. com.bea.xquery.compiler.ExternalVariable.checkIfTyped(ExternalVariable.java:73)
      2. com.bea.xquery.xdbcimpl.XqueryStatement.checkTypeExternalVariables(XqueryStatement.java:184)
      3. com.bea.xquery.xdbcimpl.XqueryStatement.compileQuery(XqueryStatement.java:70)
      3 frames
    3. com.bea.xbean
      XqrlImpl.compileQuery
      1. com.bea.xbean.store.XqrlImpl$CompiledQuery.prepare(XqrlImpl.java:310)
      2. com.bea.xbean.store.XqrlImpl$CompiledQuery.<init>(XqrlImpl.java:230)
      3. com.bea.xbean.store.XqrlImpl.compileQuery(XqrlImpl.java:455)
      3 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      4 frames
    5. com.bea.xbean
      XmlObjectBase.execQuery
      1. com.bea.xbean.store.XqrlDelegate.invoke(XqrlDelegate.java:78)
      2. com.bea.xbean.store.XqrlDelegate.compileQuery(XqrlDelegate.java:47)
      3. com.bea.xbean.store.Path.getCompiledQuery(Path.java:194)
      4. com.bea.xbean.store.Path.getQuery(Path.java:172)
      5. com.bea.xbean.store.Path.query(Path.java:214)
      6. com.bea.xbean.store.Type.exec_query(Type.java:943)
      7. com.bea.xbean.values.XmlObjectBase.execQuery(XmlObjectBase.java:360)
      8. com.bea.xbean.values.XmlObjectBase.execQuery(XmlObjectBase.java:342)
      8 frames
    6. com.toyota.xquery
      Testing.main
      1. com.toyota.xquery.dim.Testing.main(Testing.java:56)
      1 frame