-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
When using a rule that triggers an XSL Transformation (like the rule set found at https://github.com/selrahal/xpdl-to-bpmn2), the following NPE is thrown during execution and the output of the transformation does not have any templates from the included files applied:
java.lang.NullPointerException at org.jboss.windup.rules.apps.xml.operation.xslt.XSLTTransformation$1.resolve(XSLTTransformation.java:201) at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.loadSource(TransformerFactoryImpl.java:1270) at com.sun.org.apache.xalan.internal.xsltc.compiler.Include.parseContents(Include.java:73) at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.parseOwnChildren(Stylesheet.java:596) at com.sun.org.apache.xalan.internal.xsltc.compiler.Stylesheet.parseContents(Stylesheet.java:558) at com.sun.org.apache.xalan.internal.xsltc.compiler.Parser.createAST(Parser.java:399) at com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.java:483) at com.sun.org.apache.xalan.internal.xsltc.compiler.XSLTC.compile(XSLTC.java:568) at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:977) at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTransformer(TransformerFactoryImpl.java:791) at org.jboss.windup.rules.apps.xml.operation.xslt.XSLTTransformation$2.call(XSLTTransformation.java:210) at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42) at org.jboss.windup.rules.apps.xml.operation.xslt.XSLTTransformation.setup(XSLTTransformation.java:204) at org.jboss.windup.rules.apps.xml.operation.xslt.XSLTTransformation.perform(XSLTTransformation.java:240) at org.jboss.windup.rules.apps.xml.operation.xslt.XSLTTransformation.perform(XSLTTransformation.java:85) at org.jboss.windup.config.operation.GraphOperation.perform(GraphOperation.java:24) at org.ocpsoft.rewrite.config.DefaultOperationBuilder$DefaultOperationBuilderInternal.perform(DefaultOperationBuilder.java:55) at org.jboss.windup.config.operation.Iteration.perform(Iteration.java:263) at org.jboss.windup.config.operation.Iteration.perform(Iteration.java:203) at org.ocpsoft.rewrite.config.RuleBuilder.perform(RuleBuilder.java:168) at org.jboss.windup.config.RuleSubset.perform(RuleSubset.java:250) at org.jboss.windup.exec.WindupProcessorImpl.execute(WindupProcessorImpl.java:140) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor$1.call(ClassLoaderInterceptor.java:87) at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42) at org.jboss.forge.furnace.proxy.ClassLoaderInterceptor.invoke(ClassLoaderInterceptor.java:103) at org.jboss.windup.exec.WindupProcessorImpl_$$_javassist_6a26549d-909e-4ad2-a766-666ffdef54ce.execute(WindupProcessorImpl_$$_javassist_6a26549d-909e-4ad2-a766-666ffdef54ce.java) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback$2.call(ClassLoaderAdapterCallback.java:123) at org.jboss.forge.furnace.util.ClassLoaders.executeIn(ClassLoaders.java:42) at org.jboss.forge.furnace.proxy.ClassLoaderAdapterCallback.invoke(ClassLoaderAdapterCallback.java:96) at org.jboss.windup.exec.WindupProcessor_$$_javassist_398b7e93-96ee-4c10-8d2b-004eac965af8.execute(WindupProcessor_$$_javassist_398b7e93-96ee-4c10-8d2b-004eac965af8.java) at org.jboss.windup.bootstrap.commands.windup.RunWindupCommand.runWindup(RunWindupCommand.java:209) at org.jboss.windup.bootstrap.commands.windup.RunWindupCommand.execute(RunWindupCommand.java:53) at org.jboss.windup.bootstrap.Bootstrap.executePhase(Bootstrap.java:286) at org.jboss.windup.bootstrap.Bootstrap.run(Bootstrap.java:165) at org.jboss.windup.bootstrap.Bootstrap.main(Bootstrap.java:95)