Re: [Webunitproj-users] random errors - please help!
Brought to you by:
dgan
From: Doron <dg...@sh...> - 2003-07-21 13:54:20
|
Hi Brian, Sounds like there maybe a spurious timing issue (hard to solve as it is spurious). It would hard to debug it without actually being there. Is there some javascript that changes the page while web unit is trying to do something? It looks like the error is here: com/zeborg/webunit/ie/ExplorerNativeWebClient.setOption (ExplorerNativeWebClient.java:65 You may want to look at that line of code and see what would cause a null pointer exception there. -Doron On Sun, 2003-07-20 at 16:49, Brian Knorr wrote: > We are encountering some very strange problems with webunit… we can > run a webunit script with no problems and then run it again an > encounter errors (“Bad Stuff happened”)… it’s very random – we cannot > cause something to fail consistently. Here is one of the stack > tracing we get when these random errors occur… please help… thanks. > > > > > > java.lang.NullPointerException > > at com/zeborg/webunit/ie/ExplorerNativeWebClient.setOption > (ExplorerNativeWebClient.java:657) > > at java/lang/reflect/Method.invoke (Method.java) > > at com/zeborg/iorpc/RemoteProcessServer.process > (RemoteProcessServer.java:125) > > at com/zeborg/iorpc/RemoteProcessServer.run > (RemoteProcessServer.java:179) > > at com/zeborg/webunit/ie/ExplorerIORPCServer.main > (ExplorerIORPCServer.java:35) > > toStrign(Th) > > toString(Throwable) > > toString(Throwable) > > Error invoking method:setOption er:java.rmi.RemoteException: Error > invoking method:java.rmi.RemoteException: Error on invoking: > com.zeborg.webunit.ie.ExplorerNativeWebClient.setOptionjava.lang.reflect.InvocationTargetException > > at java/lang/reflect/Method.invoke (Method.java) > > at com/zeborg/iorpc/RemoteProcessServer.process > (RemoteProcessServer.java:125) > > at com/zeborg/iorpc/RemoteProcessServer.run > (RemoteProcessServer.java:179) > > at com/zeborg/webunit/ie/ExplorerIORPCServer.main > (ExplorerIORPCServer.java:35) > > > > RootCause:java.lang.RuntimeException: Error in > click:java.lang.NullPointerException > > at com/zeborg/webunit/ie/ExplorerNativeWebClient.setOption > (ExplorerNativeWebClient.java:657) > > at java/lang/reflect/Method.invoke (Method.java) > > at com/zeborg/iorpc/RemoteProcessServer.process > (RemoteProcessServer.java:125) > > at com/zeborg/iorpc/RemoteProcessServer.run > (RemoteProcessServer.java:179) > > at com/zeborg/webunit/ie/ExplorerIORPCServer.main > (ExplorerIORPCServer.java:35) > > > > at com/zeborg/webunit/ie/ExplorerNativeWebClient.setOption > (ExplorerNativeWebClient.java:660) > > at java/lang/reflect/Method.invoke (Method.java) > > at com/zeborg/iorpc/RemoteProcessServer.process > (RemoteProcessServer.java:125) > > at com/zeborg/iorpc/RemoteProcessServer.run > (RemoteProcessServer.java:179) > > at com/zeborg/webunit/ie/ExplorerIORPCServer.main > (ExplorerIORPCServer.java:35) > > > > <<no stack trace available>> |