java.io.IOException: /theme.res not found

Stack Overflow | Sourav Das | 8 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. java.io.IOException

    /theme.res not found

    at com.codename1.ui.util.Resources.open()
  2. com.codename1.ui
    UIManager.initFirstTheme
    1. com.codename1.ui.util.Resources.open(Resources.java:736)
    2. com.codename1.ui.util.Resources.openLayered(Resources.java:700)
    3. com.codename1.ui.util.Resources.openLayered(Resources.java:664)
    4. com.codename1.ui.plaf.UIManager.initFirstTheme(UIManager.java:1534)
    4 frames
  3. com.mycompany.myapp
    MyApplication.init
    1. com.mycompany.myapp.MyApplication.init(MyApplication.java:31)
    1 frame
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  5. com.codename1.impl
    Executor$1$1.run
    1. com.codename1.impl.javase.Executor$1$1.run(Executor.java:81)
    1 frame
  6. com.codename1.ui
    RunnableWrapper.run
    1. com.codename1.ui.Display.processSerialCalls(Display.java:1151)
    2. com.codename1.ui.Display.mainEDTLoop(Display.java:968)
    3. com.codename1.ui.RunnableWrapper.run(RunnableWrapper.java:120)
    3 frames
  7. com.codename1.impl
    CodenameOneThread.run
    1. com.codename1.impl.CodenameOneThread.run(CodenameOneThread.java:176)
    1 frame