javax.xml.transform.TransformerConfigurationException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Problem in created jar file
    via by 843802,
  • Java: problem loading stylesheet
    via Stack Overflow by Dave
    ,
  • Tomcat to Weblogic | Oracle Community
    via by Unknown author,
  • Java XSL error
    via by Unknown author,
  • {noformat} 09:33:37,796 ERROR [STDERR] ERROR: 'resource:dcm4chee-cdw/sertoc.xsl: line 8: Required attribute 'file' is missing.' 09:33:37,796 ERROR [STDERR] FATAL ERROR: 'Could not compile stylesheet' 09:33:37,799 ERROR [MediaComposerService] java.lang.ExceptionInInitializerError at org.dcm4chex.cdw.mbean.MediaComposerService.process(MediaComposerService.java:516) at org.dcm4chex.cdw.mbean.MediaComposerService$1.onMessage(MediaComposerService.java:166) at org.jboss.jms.client.container.ClientConsumer.callOnMessage(ClientConsumer.java:229) at org.jboss.jms.client.container.ClientConsumer$ListenerRunner.run(ClientConsumer.java:1043) at org.jboss.messaging.util.OrderedExecutorFactory$ChildExecutor.run(OrderedExecutorFactory.java:120) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) Caused by: org.dcm4chex.cdw.common.ConfigurationException: javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet at org.dcm4chex.cdw.mbean.DicomDirDOM.<clinit>(DicomDirDOM.java:159) ... 8 more Caused by: javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(TransformerFactoryImpl.java:828) at org.dcm4chex.cdw.mbean.DicomDirDOM.<clinit>(DicomDirDOM.java:156) ... 8 more {noformat} caused by a limitation of the implementation of the redirect extension in XSLTC (s. [#XALANJ-1652|https://issues.apache.org/jira/browse/XALANJ-1652] Problem with XSLTC redirect function). Workaround: Deactivate use of XSLTC in {{DCM4CHEE_HOME/bin/run.con}}: {noformat} --- run.conf~ 2010-09-27 09:29:57.459737952 +0200 +++ run.conf 2010-09-27 09:38:28.011737884 +0200 @@ -51,7 +51,7 @@ # # Use Compiling XSLT Processor (XSLTC) # -JAVA_OPTS="$JAVA_OPTS -Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl" +# JAVA_OPTS="$JAVA_OPTS -Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl" # Uncomment to enable the jconsole agent locally # JAVA_OPTS="$JAVA_OPTS -Dcom.sun.management.jmxremote" {noformat}
    via by Gunter Zeilinger,
    • javax.xml.transform.TransformerConfigurationException: Could not compile stylesheet at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl.newTemplates(Unknown Source) at ya2.CombineUtility.processTransform(CombineUtility.java:379) at ya2.CombineUtility.jButton3ActionPerformed(CombineUtility.java:319) at ya2.CombineUtility.access$400(CombineUtility.java:21) at ya2.CombineUtility$5.actionPerformed(CombineUtility.java:181) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,