WindowTester fails to start application using xerces jar.

WindowTester allows you to easily create and run unit tests for every GUI they build. It can also be used to generate system level tests.

Moderators: gnebling, Eric Clayberg, Dan Rubel, keertip, Phil Quitslund

WindowTester fails to start application using xerces jar.

Postby turgaycelik » Wed Nov 03, 2010 5:24 am

Hi,
WindowTester fails to launch the application if it is using xerces.
I noticed that an exception that says "....SAXParserFactoryImpl not found" is logged after trying to launch the application. At second launch try exception turns to "...ApplicationException. No application id has been found".
There are some similar issues in other forums and it seems that the problem occurs if more there is a jar that contains SAXParserFactoryImpl class other than jdk's rt.jar.
I can launch my application normally, but WindowTester can't launch it. The problem can be reproduced by adding xercesImpl jar to example project ContactManagerSwing shipped with WindowTester plugin. Just add this jar and try to launch the application.
(I am using Eclipse Helios 3.6.1, WindowTester 6.0.0, Java 1.6.0_22, Xerces 2.6.2)

Regards,
turgaycelik
 
Posts: 3
Joined: Wed Nov 03, 2010 4:27 am

Re: WindowTester fails to start application using xerces jar

Postby keertip » Wed Nov 03, 2010 12:16 pm

Yes, we do see a problem if the xerces jar is on the classpath and we will look into it.
keertip
Moderator
 
Posts: 221
Joined: Thu Mar 15, 2007 10:26 am

Re: WindowTester fails to start application using xerces jar

Postby keertip » Mon Nov 15, 2010 8:36 am

There is a new beta available at

http://code.google.com/javadevtools/dow ... -beta.html

Could you try this and see and let us know if you still see the problem?
keertip
Moderator
 
Posts: 221
Joined: Thu Mar 15, 2007 10:26 am

Re: WindowTester fails to start application using xerces jar

Postby turgaycelik » Wed Dec 01, 2010 11:23 pm

I tried the beta version, unfortunately problem still continues. you can reproduce the bug easily by adding xercesimpl.jar to build path of sample application ContactManagerSwing shipped with WindowTester plugin.
Thanks,
turgaycelik
 
Posts: 3
Joined: Wed Nov 03, 2010 4:27 am

Re: WindowTester fails to start application using xerces jar

Postby keertip » Thu Dec 02, 2010 9:11 am

We will look into this issue. Could you list all the jars you would like to have on the classpath?
Thanks!
keertip
Moderator
 
Posts: 221
Joined: Thu Mar 15, 2007 10:26 am

Re: WindowTester fails to start application using xerces jar

Postby keertip » Thu Dec 02, 2010 1:42 pm

Not able to reproduce the problem! Added xercesimpl jar to classpath in ContactManagerSwing application. Was able to launch the application and record interactions. Maybe you could do an unistall for the WindowTester and install the beta again?
keertip
Moderator
 
Posts: 221
Joined: Thu Mar 15, 2007 10:26 am

Re: WindowTester fails to start application using xerces jar

Postby turgaycelik » Thu Dec 16, 2010 7:15 am

Hi,
I installed a fresh copy of eclipse 3.6 and beta version of the plugin and tested it again. unfortunately it still fails.
I cannot upload the whole project because max allowed attachment size is 256 kb. I uploaded classpath of project, the error logs( .log from .metadata folder and other two from .metadata\.plugins\org.eclipse.pde.core\tmp_workbench_launch_config folder).
I tested it in both java 1.6.0_22-b04 and java 1.6.0_18.
Regards,
Turgay
Attachments
classpath.zip
(337 Bytes) Downloaded 6 times
eclipse_configuration.zip
(44.33 KiB) Downloaded 5 times
logs.zip
(18.92 KiB) Downloaded 6 times
turgaycelik
 
Posts: 3
Joined: Wed Nov 03, 2010 4:27 am

Re: WindowTester fails to start application using xerces jar

Postby keertip » Thu Dec 16, 2010 8:40 am

Thanks for the information. Will look into it and get back to you.
keertip
Moderator
 
Posts: 221
Joined: Thu Mar 15, 2007 10:26 am


Return to Window Tester

Who is online

Users browsing this forum: No registered users and 1 guest

cron