sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #36558
[Bug 1537216] [NEW] [request] sikulixapi.jar should be useable with OSGI
Public bug reported:
****************** see related question
Hi,
I am facing a null pointer exception when trying to use sikuli api in my
project:
java.lang.ExceptionInInitializerError
at eu.iac3.mathMS.guiTestingTest.GuiTestingTest.testEditor(GuiTestingTest.java:144)
Caused by: java.lang.NullPointerException
at org.sikuli.script.RunTime.init(RunTime.java:635)
at org.sikuli.script.RunTime.get(RunTime.java:291)
at org.sikuli.script.RunTime.get(RunTime.java:126)
at org.sikuli.script.RunTime.get(RunTime.java:316)
at org.sikuli.script.Region.<clinit>(Region.java:31)
I am using maven integration in eclipse to launch an OSGI Springframework test and I think I have a misconfiguration or something similar.
I set the SIKULI_HOME to the sikuli installation path.
The error seems relative to getting the parent directory of a class. The following line returns null and is the origin of the problem:
File fSxBase = fSxBaseJar.getParentFile();
The class related to the problem is org.sikuli.ide.SikuliIDE or org.sikuli.setup.RunSetup, I am not sure.
Can anyone help me? I am desperate, using Sikuli api would help a lot in
my project tests.
** 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
** Description changed:
+ ****************** see related question
+
Hi,
I am facing a null pointer exception when trying to use sikuli api in my
project:
java.lang.ExceptionInInitializerError
- at eu.iac3.mathMS.guiTestingTest.GuiTestingTest.testEditor(GuiTestingTest.java:144)
+ at eu.iac3.mathMS.guiTestingTest.GuiTestingTest.testEditor(GuiTestingTest.java:144)
Caused by: java.lang.NullPointerException
- at org.sikuli.script.RunTime.init(RunTime.java:635)
- at org.sikuli.script.RunTime.get(RunTime.java:291)
- at org.sikuli.script.RunTime.get(RunTime.java:126)
- at org.sikuli.script.RunTime.get(RunTime.java:316)
- at org.sikuli.script.Region.<clinit>(Region.java:31)
+ at org.sikuli.script.RunTime.init(RunTime.java:635)
+ at org.sikuli.script.RunTime.get(RunTime.java:291)
+ at org.sikuli.script.RunTime.get(RunTime.java:126)
+ at org.sikuli.script.RunTime.get(RunTime.java:316)
+ at org.sikuli.script.Region.<clinit>(Region.java:31)
- I am using maven integration in eclipse to launch an OSGI Springframework test and I think I have a misconfiguration or something similar.
+ I am using maven integration in eclipse to launch an OSGI Springframework test and I think I have a misconfiguration or something similar.
I set the SIKULI_HOME to the sikuli installation path.
The error seems relative to getting the parent directory of a class. The following line returns null and is the origin of the problem:
- File fSxBase = fSxBaseJar.getParentFile();
+ File fSxBase = fSxBaseJar.getParentFile();
The class related to the problem is org.sikuli.ide.SikuliIDE or org.sikuli.setup.RunSetup, I am not sure.
Can anyone help me? I am desperate, using Sikuli api would help a lot in
my project tests.
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/1537216
Title:
[request] sikulixapi.jar should be useable with OSGI
Status in Sikuli:
In Progress
Bug description:
****************** see related question
Hi,
I am facing a null pointer exception when trying to use sikuli api in
my project:
java.lang.ExceptionInInitializerError
at eu.iac3.mathMS.guiTestingTest.GuiTestingTest.testEditor(GuiTestingTest.java:144)
Caused by: java.lang.NullPointerException
at org.sikuli.script.RunTime.init(RunTime.java:635)
at org.sikuli.script.RunTime.get(RunTime.java:291)
at org.sikuli.script.RunTime.get(RunTime.java:126)
at org.sikuli.script.RunTime.get(RunTime.java:316)
at org.sikuli.script.Region.<clinit>(Region.java:31)
I am using maven integration in eclipse to launch an OSGI Springframework test and I think I have a misconfiguration or something similar.
I set the SIKULI_HOME to the sikuli installation path.
The error seems relative to getting the parent directory of a class. The following line returns null and is the origin of the problem:
File fSxBase = fSxBaseJar.getParentFile();
The class related to the problem is org.sikuli.ide.SikuliIDE or org.sikuli.setup.RunSetup, I am not sure.
Can anyone help me? I am desperate, using Sikuli api would help a lot
in my project tests.
To manage notifications about this bug go to:
https://bugs.launchpad.net/sikuli/+bug/1537216/+subscriptions
Follow ups