Operating System: Windows 8.1 64-bit
AUT: Netbeans Platform application, platform 7.0.1, Java 7, 32-bit
While evaluating Ranorex one of our AUTs continues to crash when Ranorex attempts to interact with it. While the application is running we cannot launch any Ranorex tool without crashing the application. We also tried launching the application from Ranorex but this had no effect. A stack trace produced in a console windows indicates there was a JNI fault.
Unfortunately we do not know what the cause could be.RanorexAutomation: main entry point
RanorexAutomation: begin
RanorexAutomation: platform is '32'
RanorexAutomation: process: 6068
RanorexAutomation: tg main not found, running fallback setup from tg IDE Main
RanorexAutomation: retrieving windows
RanorexAutomation: window count: 5
RanorexAutomation: registering initial window hwnd: 4791782 comp: class javax.swing.JFrame
RanorexAutomation: registering initial window hwnd: 7085288 comp: class javax.swing.SwingUtilities$SharedOwnerFrame
RanorexAutomation: registering initial window hwnd: 3546294 comp: class com.company.product.dpcontroller.view.AbsoluteJDialog
RanorexAutomation: registering initial window hwnd: 6627120 comp: class com.company.product.dpcontroller.view.RelativeJDialog
RanorexAutomation: listen at 127.0.0.1:16068
RanorexAutomation: sync init complete
FATAL ERROR in native method: Wrong field ID passed to JNI
at com.ranorex.RanorexAutomation.getHWND(Native Method)
at com.ranorex.RanorexAutomation.getHandle(RanorexAutomation.java:354)
at com.ranorex.RanorexAutomation$GlobalAwtListener.eventDispatched(RanorexAutomation.java:220)
at java.awt.Toolkit$SelectiveAWTEventListener.eventDispatched(Toolkit.java:2422)
at java.awt.Toolkit$ToolkitEventMulticaster.eventDispatched(Toolkit.java:2314)
at java.awt.Toolkit.notifyAWTEventListeners(Toolkit.java:2272)
at java.awt.Component.dispatchEventImpl(Component.java:4757)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:708)
at java.awt.EventQueue$4.run(EventQueue.java:706)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:148)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)
Thanks!