I'm new to codename one and attempting a brand new installation and have not been able to run the simulator.
I've installed eclipse Version: Oxygen.2 Release (4.7.2) Build id: 20171218-0600 with Java 1.8.0_162 on windows 7 enterprise service pack 1 and am experiencing the following exception which seems related to
[EDT] 0:0:0,64 - Exception: java.io.IOException - /theme.res not found
java.io.IOException: /theme.res not found
at com.codename1.ui.util.Resources.open(Resources.java:740)
at com.codename1.ui.util.Resources.openLayered(Resources.java:704)
at com.codename1.ui.util.Resources.openLayered(Resources.java:668)
at com.codename1.ui.plaf.UIManager.initFirstTheme(UIManager.java:1827)
at com.drb.test01.MyApplication.init(MyApplication.java:36)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.codename1.impl.javase.Executor$1$1.run(Executor.java:117)
at com.codename1.ui.Display.processSerialCalls(Display.java:1129)
at com.codename1.ui.Display.mainEDTLoop(Display.java:924)
at com.codename1.ui.RunnableWrapper.run(RunnableWrapper.java:120)
at com.codename1.impl.CodenameOneThread.run(CodenameOneThread.java:176)
java.lang.NullPointerException
at com.drb.test01.MyApplication.start(MyApplication.java:61)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at com.codename1.impl.javase.Executor$1$1.run(Executor.java:123)
at com.codename1.ui.Display.processSerialCalls(Display.java:1129)
at com.codename1.ui.Display.mainEDTLoop(Display.java:924)
at com.codename1.ui.RunnableWrapper.run(RunnableWrapper.java:120)
at com.codename1.impl.CodenameOneThread.run(CodenameOneThread.java:176)
I've followed these threads and applied all suggestions with no success. Can I provide more information?
One strange thing I noticed is on the New CodenameOne Project window has a grayed out Java 8 Project checkbox and a message underneath "Java 8 project requires a newer Eclipse version.
eclipse.inifile and recreate the project: wiki.eclipse.org/Eclipse.ini - Shai Almog