java.lang.Error: Invalid memory access

Stack Overflow | Mmarquee | 10 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.Error

    Invalid memory access

    at com.sun.jna.Native.invokeInt()
  2. Java Native Access
    Function.invokeInt
    1. com.sun.jna.Native.invokeInt(Native Method)
    2. com.sun.jna.Function.invoke(Function.java:386)
    3. com.sun.jna.Function.invoke(Function.java:321)
    4. com.sun.jna.Function.invoke(Function.java:276)
    5. com.sun.jna.Function.invoke(Function.java:267)
    6. com.sun.jna.Function.invokeInt(Function.java:674)
    6 frames
  3. Java Native Access Platform
    COMInvoker._invokeNativeInt
    1. com.sun.jna.platform.win32.COM.COMInvoker._invokeNativeInt(COMInvoker.java:27)
    1 frame
  4. mmarquee.automation.uiautomation
    UIAutomationHandler.CreateAndCondition
    1. mmarquee.automation.uiautomation.impl.UIAutomationHandler.CreateAndCondition(UIAutomationHandler.java:82)
    1 frame
  5. mmarquee.automation
    MainWPF.main
    1. mmarquee.automation.UIAutomation.getDesktopWindow(UIAutomation.java:205)
    2. mmarquee.automation.TestMainWPF.run(TestMainWPF.java:57)
    3. mmarquee.automation.MainWPF.main(MainWPF.java:23)
    3 frames