javax.xml.transform.TransformerException: The URI does not identify an external Java class

Stack Overflow | Vedant Terkar | 4 months ago
  1. 0

    Calling Java API from XSL throws exception "The URI does not identify an external Java class"

    Stack Overflow | 4 months ago | Vedant Terkar
    javax.xml.transform.TransformerException: The URI does not identify an external Java class
  2. 0

    How to debug XSL in Intellij? URI does not identify an external Java class

    Stack Overflow | 9 months ago | John Doe
    javax.xml.transform.TransformerException: The URI does not identify an external Java class
  3. 0

    mosser@asmodeus:~/TvShowsOrchestration$ stop ... bla bla bla ... 16:56:06,224 INFO [BpelServerImpl] BPEL Server Stopped. 16:56:06,225 INFO [ODEServer] Shutdown completed. ... bla bla bla ... mosser@asmodeus:~/TvShowsOrchestration$ start ... bla bla bla ... 16:56:53,337 INFO [ODEServer] Using DAO Connection Factory class org.apache.ode.dao.jpa.BPELDAOConnectionFactoryImpl. 16:56:54,328 INFO [BpelServerImpl] BPEL Server Started. 16:56:56,819 INFO [BpelServerImpl] Registered process {}OnTvTonight-10. 16:56:56,871 INFO [DeploymentPoller] Poller started. 16:56:56,871 INFO [ODEServer] Process deployment polling started on path /opt/tomcat/webapps/ode/WEB-INF/processes. 16:56:56,876 INFO [ODEServer] ODE Service Engine has been started. ... bla bla bla ... As far as we are, there is no trouble. Nos, let's try to invoke the process (each process using xsl stylesheet has the same weird behaviour) ( is basically a 'curl | xmllint --format -' script) mosser@asmodeus:~/TvShowsOrchestration$ http://localhost:8080/ode/processes/TvShowsOrchestrations/process ERROR - GeronimoLog.error(108) | Scheduled job failed; jobDetail={type=INVOKE_RESPONSE, inmem=true, mexid=4611686018427387905, channel=31, iid=0} java.lang.RuntimeException: java.lang.NullPointerException at org.apache.ode.jacob.vpu.JacobVPU$ at org.apache.ode.jacob.vpu.JacobVPU.execute( at org.apache.ode.bpel.engine.BpelRuntimeContextImpl.execute( at org.apache.ode.bpel.engine.BpelProcess.handleWorkEvent( at org.apache.ode.bpel.engine.BpelEngineImpl.onScheduledJob( at org.apache.ode.bpel.engine.BpelServerImpl.onScheduledJob( at org.apache.ode.scheduler.simple.SimpleScheduler$4$ at org.apache.ode.scheduler.simple.SimpleScheduler$4$ at org.apache.ode.scheduler.simple.SimpleScheduler.execTransaction( at org.apache.ode.scheduler.simple.SimpleScheduler$ at org.apache.ode.scheduler.simple.SimpleScheduler$ at java.util.concurrent.FutureTask$Sync.innerRun( at at java.util.concurrent.ThreadPoolExecutor$Worker.runTask( at java.util.concurrent.ThreadPoolExecutor$ at Caused by: java.lang.NullPointerException at org.apache.ode.utils.xsl.XslTransformHandler.parseXSLSheet( at org.apache.ode.utils.xsl.XslTransformHandler.cacheXSLSheet( at org.apache.ode.bpel.elang.xpath10.runtime.JaxenContexts$ at org.jaxen.expr.DefaultFunctionCallExpr.evaluate( at org.jaxen.expr.DefaultXPathExpr.asList( at org.jaxen.BaseXPath.selectNodesForContext( at org.jaxen.BaseXPath.selectNodes( at org.apache.ode.bpel.elang.xpath10.runtime.XPath10ExpressionRuntime.evaluate( at org.apache.ode.bpel.runtime.ExpressionLanguageRuntimeRegistry.evaluate( at org.apache.ode.bpel.runtime.ASSIGN.evalRValue( at org.apache.ode.bpel.runtime.ASSIGN.copy( at at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke( at java.lang.reflect.Method.invoke( at org.apache.ode.jacob.vpu.JacobVPU$ ... 15 more Ouch ... it seems that my XSL stylesheet does not work ... BUT ... let's redeploy the process : mosser@asmodeus:~/TvShowsOrchestration$ ant deploy Buildfile: build.xml compile: deploy: [copy] Copying 1 file to /opt/tomcat/webapps/ode/WEB-INF/processes/TvShowsOrchestrations [copy] Copying /Users/mosser/workspaces/seduite/TvShowsOrchestration/OnTvTonight.cbp to /opt/tomcat/webapps/ode/WEB-INF/processes/TvShowsOrchestrations/OnTvTonight.cbp reload: [delete] Deleting /opt/tomcat/webapps/ode/WEB-INF/processes/TvShowsOrchestrations.deployed BUILD SUCCESSFUL Total time: 2 seconds Tomcat logs : 17:01:30,054 INFO [BpelServerImpl] Unregistered process {}OnTvTonight-10. 17:01:30,829 INFO [BpelServerImpl] Registered process {}OnTvTonight-11. 17:01:30,829 INFO [DeploymentPoller] Deployment of artifact TvShowsOrchestrations successful: [{}OnTvTonight-11] And now, let's invoke again : mosser@asmodeus:~/TvShowsOrchestration$ http://localhost:8080/ode/processes/TvShowsOrchestrations/process % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 3444 0 3444 0 0 4656 0 --:--:-- --:--:-- --:--:-- 0 <?xml version="1.0"?> <axis2ns7:OnTvTonightResponse xmlns:axis2ns7="" xmlns:tns=""> <tns:shows> <tns:show> <tns:channel>Star academy </tns:channel> <tns:startAt> 20:50</tns:startAt> <tns:showTitle/> </tns:show> <!-- others french tv shows goes here ... --> </tns:shows> </axis2ns7:OnTvTonightResponse> So : MY STYLESHEET works ! Let's restart tomcat : mosser@asmodeus:~/TvShowsOrchestration$ restart mosser@asmodeus:~/TvShowsOrchestration$ http://localhost:8080/ode/processes/TvShowsOrchestrations/process And ... null pointer exception again ...

    Apache's JIRA Issue Tracker | 9 years ago | Sebastian Mosser
    javax.xml.transform.TransformerException: Running an XSLT 1.0 stylesheet with an XSLT 2.0 processor
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    problems with "ant create.db.schema.script"

    xplanner | 1 decade ago | herstep
    javax.xml.transform.TransformerException: External entity not found: "".
  6. 0

    error when running ant create.db.schema.scrip

    xplanner | 1 decade ago | aegcp
    javax.xml.transform.TransformerException: External entity not found: " pping-1.1.dtd".

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.xml.transform.TransformerException

      The URI does not identify an external Java class

    2. com.icl.saxon
      1 frame