Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
NPE on invoking JFrames with tray within AssertJSwingJUnitTestCase #197
Running the test results in an NPE. Doing the same without extending AssertJSwingJUnitTestCase works fine.
I have the same problem in my project and i have no idea how to solve.
I am using this assert library: assertj-core-3.5.1.jar, assertj-swing-3.4.0.jar, assertj-swing-jide-3.4.0.jar, assertj-swing-junit-3.4.0.jar, assertj-swing-testng-3.4.0.jar, bsh-2.0b4.jar, fest-reflect-1.4.1.jar, fest-util-1.2.5.jar, jcommander-1.48.jar, slf4j-api-1.7.16.jar, testng-6.9.10.jar
In the StackTrace, the part org.assertj.swing.input.InputState.screenLocation(InputState.java:129) has event with toString: java.awt.event.MouseEvent[MOUSE_MOVED,(27,382),absolute(27,382),clickCount=0] on java.awt.TrayIcon@530271d6
My question is, why this event happened in Windows 10 ?
Sistema Operacional: Windows 10 10.0