kingdom578 / maven-android-plugin

Automatically exported from code.google.com/p/maven-android-plugin
0 stars 0 forks source link

Resource not found: NotFoundException: Resource ID #0x7f0d0001 #455

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Compile the application using 3.8.2 instead of 3.8.1 and run it.

What is the expected output?

The application runs fine when compiled on 3.8.1

What do you see instead?

When I compile it using 3.8.2 it compiles fine but during normal run I see:

E/AndroidRuntime﹕ FATAL EXCEPTION: main
    android.content.res.Resources$NotFoundException: Resource ID #0x7f0d0001
            at android.content.res.Resources.getValue(Resources.java:1883)
            at android.content.res.Resources.loadXmlResourceParser(Resources.java:3028)
            at android.content.res.Resources.getLayout(Resources.java:1722)
            at android.view.MenuInflater.inflate(MenuInflater.java:108)
            at eu.*.android.*.common.activity.ApplicationConditionActivity.onCreateOptionsMenu(ApplicationConditionActivity.java:72)
            at android.app.Activity.onCreatePanelMenu(Activity.java:2550)
            at android.support.v4.app.FragmentActivity.onCreatePanelMenu(FragmentActivity.java:209)
            at com.android.internal.policy.impl.PhoneWindow.preparePanel(PhoneWindow.java:479)
            at com.android.internal.policy.impl.PhoneWindow.doInvalidatePanelMenu(PhoneWindow.java:866)
            at com.android.internal.policy.impl.PhoneWindow$1.run(PhoneWindow.java:273)
            at android.view.Choreographer$CallbackRecord.run(Choreographer.java:791)
            at android.view.Choreographer.doCallbacks(Choreographer.java:591)
            at android.view.Choreographer.doFrame(Choreographer.java:560)
            at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:777)
            at android.os.Handler.handleCallback(Handler.java:725)
            at android.os.Handler.dispatchMessage(Handler.java:92)
            at android.os.Looper.loop(Looper.java:137)
            at android.app.ActivityThread.main(ActivityThread.java:5306)
            at java.lang.reflect.Method.invokeNative(Native Method)
            at java.lang.reflect.Method.invoke(Method.java:511)
            at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1102)
            at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:869)
            at dalvik.system.NativeStart.main(Native Method)

What version of maven-android-plugin are you using?

<android-maven-plugin.version>3.8.2</android-maven-plugin.version>

What are the complete output lines of "mvn -version" on your machine?

 mvn --version
Apache Maven 3.2.1 (ea8b2b07643dbb1b84b6d16e1f08391b666bc1e9; 
2014-02-14T18:37:52+01:00)
Maven home: /home/jmp/Develop/apache-maven-3.2.1
Java version: 1.7.0_51, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-oracle/jre
Default locale: pl_PL, platform encoding: UTF-8
OS name: "linux", version: "3.11.0-12-generic", arch: "amd64", family: "unix"

Please provide any additional information below.

NotFoundException: Resource ID #0x7f0d0001

Original issue reported on code.google.com by kosiara87 on 27 Mar 2014 at 11:58

GoogleCodeExporter commented 9 years ago
Does it work for version 3.9.0-rc.1?
If not what is the link to the project that fails? Pictures or it didn't happen.

Original comment by william....@xandar.com.au on 27 Mar 2014 at 1:12

GoogleCodeExporter commented 9 years ago
It works on 3.9.0-rc.1. It fails on 3.8.2.
What pictures? 

Original comment by kosiara87 on 27 Mar 2014 at 1:23

GoogleCodeExporter commented 9 years ago
<android-maven-plugin.version>3.8.2</android-maven-plugin.version>
<maven-compiler-plugin.version>3.1</maven-compiler-plugin.version>

Original comment by kosiara87 on 27 Mar 2014 at 1:24

GoogleCodeExporter commented 9 years ago
Fixed in 3.9.0-rc.1

Original comment by william....@xandar.com.au on 27 Mar 2014 at 4:49