javax.xml.transform.TransformerException: Can't transform to a Result of type javax.xml.transform.stax.StAXResult

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Google Groups by Andreas Reichel, 10 months ago
Can't transform to a Result of type javax.xml.transform.stax.StAXResult
via Oracle Community by 843834, 1 year ago
java.io.FileNotFoundException: file:\C:\Documents%20and%20Settings\Pedro\Meus%20documentos\pmml_smartbase_57_COBWEB_2.xml (A sintaxe do nome do arquivo, pasta ou nome do volume est� incorreta)
javax.xml.transform.TransformerException: Can't transform to a Result of type javax.xml.transform.stax.StAXResult
at org.apache.xalan.transformer.TransformerIdentityImpl.createResultContentHandler(TransformerIdentityImpl.java:302)
at org.postgresql.test.jdbc4.XmlTest.testWrite(XmlTest.java:171)
at org.postgresql.test.jdbc4.XmlTest.testStAXWrite(XmlTest.java:202)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.