sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #53504
[Bug 1853339] [NEW] [2.0.x] Maven project: images cannot be loaded using ...class.getResource("someImage.png") --- crashes with NPE
Public bug reported:
Uptil version 1.1.3 i was using the following to define images
final Pattern FILE = new Pattern(Main.class.getResource("file.PNG"));
But i tried in 1.1.4 and also in 2.0.0
It returns NPE
java.lang.NullPointerException
at jarvis.tests.CreateAcpTest.createNewProject(Test.java:23)
** Affects: sikuli
Importance: Medium
Assignee: RaiMan (raimund-hocke)
Status: In Progress
** Changed in: sikuli
Status: New => In Progress
** Changed in: sikuli
Importance: Undecided => Medium
** Changed in: sikuli
Assignee: (unassigned) => RaiMan (raimund-hocke)
** Changed in: sikuli
Milestone: None => 2.0.0
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1853339
Title:
[2.0.x] Maven project: images cannot be loaded using
...class.getResource("someImage.png") --- crashes with NPE
Status in Sikuli:
In Progress
Bug description:
Uptil version 1.1.3 i was using the following to define images
final Pattern FILE = new Pattern(Main.class.getResource("file.PNG"));
But i tried in 1.1.4 and also in 2.0.0
It returns NPE
java.lang.NullPointerException
at jarvis.tests.CreateAcpTest.createNewProject(Test.java:23)
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1853339/+subscriptions
Follow ups