TransformerFactoryConfigurationError: Provider TransformerFactoryImpl not found

I tried to start a very simple PhoneGap 1.5. "Hello World" Application. In XCode all is fine, there are no problems to run the application in de emulator and on a real device. If I try to run the same application in AppCode, it won't start. Below copy paste from the logs:

No idea what is happening. Any references?

Mac OS X 10.7.3
Java JDK 1.6.0_29
AppCode 115.15


10:50:07 Build Started
10:50:08 Build Finished
10:50:08 TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found: Provider org.apache.xalan.processor.TransformerFactoryImpl not found

12 comments
Comment actions Permalink

Rob,
please attach the log file (Help->Reveal Log in Finder)

0
Comment actions Permalink

idea.log attached.



Attachment(s):
idea.log.txt.zip
0
Comment actions Permalink

Rob, please try this:
open AppCode.app/Contents/Info.plist
and appent VMOptions with following:

<key>VMOptions</key>
<string>... -Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl</string>




Does it solve the problem?
0
Comment actions Permalink

Yes! That fixed my problem. Thanks.

0
Comment actions Permalink

Do you have any plugins installed?
Did you 'clean-installed' the AppCode RC?

0
Comment actions Permalink

I did not install any additional plugins, but had AppCode 1.0.3, build OC-109.117 installed before.
Also I'm running the latest IntelliJ IDEA 11 eap versions.

0
Comment actions Permalink

Thanks for the info, Rob,
we have fixed the problem in a quick-and-dirty way.

Though, as I cannot think of any reason that could cause this issue I would ask you to check the following things for us:
* revert change in Info.plist file
* delete ~/Library/Caches/AppCode10, ~/Library/Preferences/AppCode10, ~/Library/ApplicationSupport/AppCode10 (or move them to some plece to restore afterwards)
* make sure thers is not way javax.xml.transform.TransformerFactory system property can be passed to AppCode on the start.

Run AppCode and try to start the simulator.
Will it work?

Thanks in advance

0
Comment actions Permalink

I completely removed those three directories ~/Library/Caches/AppCode10, ~/Library/Preferences/AppCode10, ~/Library/ApplicationSupport/AppCode10. That did not fix the problem.

0
Comment actions Permalink

OK, thanks, Rob, we'll investigate the reason.

The fix for you will be provided in the 1.5 release.

0
Comment actions Permalink

Some additional info, may give a clue.

I had the same issue with Java1.6.0_26 so I installed JDK 1.6.0_29. Now that's the current situation.

On my system I have multiple JDK's installed, JDK 1.7 pre releases included.

Screen Shot 2012-03-12 at 12.34.32.png

0
Comment actions Permalink

Thanks,
this, indeed, may be the root of this issue.

0

Please sign in to leave a comment.