New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NPE on invoking JFrames with tray within AssertJSwingJUnitTestCase #197
Comments
On which system and version are you runngin? Using the latest AssertJ Swing under Linux works well for me. I copied your test and it runs normally - no exception, no test failures. |
Its running fine on MacOS but fails on Windows 10 |
Thx for the quick answer |
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 |
Someone have any idea how to solve the problem ? |
Fix Issue assertj#197 assertj#197
Here my go at the problem (also happened to me on ubuntu). |
Thanks very much! |
Running the test results in an NPE. Doing the same without extending AssertJSwingJUnitTestCase works fine.
The text was updated successfully, but these errors were encountered: