Activity log for bug #1537216

Date Who What changed Old value New value Message
2016-01-22 21:53:18 RaiMan bug added bug
2016-01-22 21:53:40 RaiMan sikuli: status New In Progress
2016-01-22 21:53:47 RaiMan sikuli: importance Undecided Medium
2016-01-22 21:53:51 RaiMan sikuli: assignee RaiMan (raimund-hocke)
2016-01-22 21:53:54 RaiMan sikuli: milestone 2.0.0
2016-01-22 21:54:06 RaiMan description 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. ****************** 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.
2019-11-18 18:00:14 RaiMan sikuli: status In Progress Fix Released