Loading...

marathon-testing@googlegroups.com

[Prev] Thread [Next]  |  [Prev] Date [Next]

[marathon-testing] Null pointer while opening main window of AUT Денис Бойко Wed May 25 23:01:37 2011

Hi,
We tried 3.0 version, but we have not succeeded in capturing scripts
Login window of AUT is captured correctly (as yaml file)

But when main window opens, null pointer appears in console:

java.lang.NullPointerException
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.findLabel(ObjectMapNamingStrategy.java:
383)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.setPrecedingLabel(ObjectMapNamingStrategy.java:
366)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
301)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.setTopLevelComponent(ObjectMapNamingStrategy.java:
226)
        at
net.sourceforge.marathon.component.DelegatingNamingStrategy.setTopLevelComponent(DelegatingNamingStrategy.java:
39)
        at
net.sourceforge.marathon.component.ComponentFinder.findMComponentByComponent(ComponentFinder.java:
174)
        at
net.sourceforge.marathon.component.ComponentFinder.getMComponentByComponent(ComponentFinder.java:
138)
        at
net.sourceforge.marathon.component.ComponentFinder.getMComponentByComponent(ComponentFinder.java:
134)
        at net.sourceforge.marathon.recorder.RecordingEventListener
$3.focusGained(RecordingEventListener.java:262)
        at
net.sourceforge.marathon.recorder.RecordingEventListener.eventDispatched(RecordingEventListener.java:
777)
        at java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Unknown
Source)
        at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown
Source)
        at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown
Source)
        at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown
Source)
        at java.awt.Toolkit.notifyAWTEventListeners(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.KeyboardFocusManager.redispatchEvent(Unknown Source)
        at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown
Source)
        at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(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.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$000(Unknown Source)
        at java.awt.EventQueue$1.run(Unknown Source)
        at java.awt.EventQueue$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessControlContext
$1.doIntersectionPrivilege(Unknown Source)
        at java.security.AccessControlContext
$1.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue$2.run(Unknown Source)
        at java.awt.EventQueue$2.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessControlContext
$1.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at com.edge.util.a.dispatchEvent(a.java:15)
        at java.awt.SequencedEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$000(Unknown Source)
        at java.awt.EventQueue$1.run(Unknown Source)
        at java.awt.EventQueue$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessControlContext
$1.doIntersectionPrivilege(Unknown Source)
        at java.security.AccessControlContext
$1.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue$2.run(Unknown Source)
        at java.awt.EventQueue$2.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessControlContext
$1.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at com.edge.util.a.dispatchEvent(a.java:15)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(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)
<2011-05-25 17:15:07,681> <ERROR> <AWT-EventQueue-1> <com.edge.d$b_:
93:com.edge.d$b_.a(d$b_.java:93)> System configuration:
{edge.client.jide.version=2.9.6, edge.client.type=Application,
java.runtime.version=1.6.0_24-b07, java.version=1.6.0_24,
os.name=Windows 7, edge.client.version=2.1.2-SNAPSHOT}
java.lang.NullPointerException
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.findLabel(ObjectMapNamingStrategy.java:
383)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.setPrecedingLabel(ObjectMapNamingStrategy.java:
366)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
301)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.createNames(ObjectMapNamingStrategy.java:
321)
        at
net.sourceforge.marathon.objectmap.ObjectMapNamingStrategy.setTopLevelComponent(ObjectMapNamingStrategy.java:
226)
        at
net.sourceforge.marathon.component.DelegatingNamingStrategy.setTopLevelComponent(DelegatingNamingStrategy.java:
39)
        at
net.sourceforge.marathon.component.ComponentFinder.findMComponentByComponent(ComponentFinder.java:
174)
        at
net.sourceforge.marathon.component.ComponentFinder.getMComponentByComponent(ComponentFinder.java:
138)
        at
net.sourceforge.marathon.component.ComponentFinder.getMComponentByComponent(ComponentFinder.java:
134)
        at net.sourceforge.marathon.recorder.RecordingEventListener
$3.focusGained(RecordingEventListener.java:262)
        at
net.sourceforge.marathon.recorder.RecordingEventListener.eventDispatched(RecordingEventListener.java:
777)
        at java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Unknown
Source)
        at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown
Source)
        at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown
Source)
        at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Unknown
Source)
        at java.awt.Toolkit.notifyAWTEventListeners(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.KeyboardFocusManager.redispatchEvent(Unknown Source)
        at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown
Source)
        at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(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.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$000(Unknown Source)
        at java.awt.EventQueue$1.run(Unknown Source)
        at java.awt.EventQueue$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessControlContext
$1.doIntersectionPrivilege(Unknown Source)
        at java.security.AccessControlContext
$1.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue$2.run(Unknown Source)
        at java.awt.EventQueue$2.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessControlContext
$1.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at com.edge.util.a.dispatchEvent(a.java:15)
        at java.awt.SequencedEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$000(Unknown Source)
        at java.awt.EventQueue$1.run(Unknown Source)
        at java.awt.EventQueue$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessControlContext
$1.doIntersectionPrivilege(Unknown Source)
        at java.security.AccessControlContext
$1.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue$2.run(Unknown Source)
        at java.awt.EventQueue$2.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessControlContext
$1.doIntersectionPrivilege(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at com.edge.util.a.dispatchEvent(a.java:15)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown
Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(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)




-- 
You received this message because you are subscribed to the Google Groups 
"Marathon Java GUI Testing" group.
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/marathon-testing?hl=en.