nextgis / mobile.forestviolate.user

:construction_worker: Мобильное приложение для сообщения о лесонарушениях
GNU General Public License v3.0
0 stars 3 forks source link

Падение при создании сообщения #90

Closed BishopGIS closed 8 years ago

BishopGIS commented 8 years ago
java.lang.RuntimeException: Unable to resume activity {com.nextgis.safeforest/com.nextgis.safeforest.activity.CreateMessageActivity}: android.view.InflateException: Binary XML file line #33: Error inflating class <unknown>
    at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2975)
    at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:3004)
    at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2397)
    at android.app.ActivityThread.access$900(ActivityThread.java:169)
    at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1280)
    at android.os.Handler.dispatchMessage(Handler.java:102)
    at android.os.Looper.loop(Looper.java:146)
    at android.app.ActivityThread.main(ActivityThread.java:5487)
    at java.lang.reflect.Method.invokeNative(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:515)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1283)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1099)
    at dalvik.system.NativeStart.main(Native Method)
Caused by: android.view.InflateException: Binary XML file line #33: Error inflating class <unknown>
    at android.view.LayoutInflater.createView(LayoutInflater.java:626)
    at com.android.internal.policy.impl.PhoneLayoutInflater.onCreateView(PhoneLayoutInflater.java:56)
    at android.view.LayoutInflater.onCreateView(LayoutInflater.java:675)
    at android.view.LayoutInflater.createViewFromTag(LayoutInflater.java:700)
    at android.view.LayoutInflater.rInflate(LayoutInflater.java:761)
    at android.view.LayoutInflater.inflate(LayoutInflater.java:498)
    at android.view.LayoutInflater.inflate(LayoutInflater.java:398)
    at android.view.LayoutInflater.inflate(LayoutInflater.java:354)
    at com.android.internal.policy.impl.PhoneWindow.setContentView(PhoneWindow.java:366)
    at android.app.Dialog.setContentView(Dialog.java:480)
    at com.nextgis.safeforest.dialog.YesNoDialog.onCreateDialog(YesNoDialog.java:111)
    at com.nextgis.safeforest.dialog.UserDataDialog.onCreateDialog(UserDataDialog.java:69)
    at android.support.v4.app.DialogFragment.getLayoutInflater(DialogFragment.java:307)
    at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1104)
    at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1286)
    at android.support.v4.app.BackStackRecord.run(BackStackRecord.java:758)
    at android.support.v4.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1671)
    at android.support.v4.app.FragmentController.execPendingActions(FragmentController.java:388)
    at android.support.v4.app.FragmentActivity.onResume(FragmentActivity.java:501)
    at com.nextgis.maplibui.activity.NGActivity.onResume(NGActivity.java:155)
    at com.nextgis.safeforest.activity.CreateMessageActivity.onResume(CreateMessageActivity.java:185)
    at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1198)
    at android.app.Activity.performResume(Activity.java:5530)
    at android.app.ActivityThread.performResumeActivity(ActivityThread.java:2965)
    ... 12 more
Caused by: java.lang.reflect.InvocationTargetException
    at java.lang.reflect.Constructor.constructNative(Native Method)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    at android.view.LayoutInflater.createView(LayoutInflater.java:600)
    ... 35 more
Caused by: android.content.res.Resources$NotFoundException: File res/drawable/dialog_yes_no_background.xml from drawable resource ID #0x7f020066
    at android.content.res.Resources.loadDrawable(Resources.java:3066)
    at android.content.res.TypedArray.getDrawable(TypedArray.java:602)
    at android.view.View.<init>(View.java:3694)
    at android.view.ViewGroup.<init>(ViewGroup.java:480)
    at android.widget.LinearLayout.<init>(LinearLayout.java:176)
    at android.widget.LinearLayout.<init>(LinearLayout.java:172)
    ... 38 more
Caused by: java.lang.UnsupportedOperationException: Can't convert to color: type=0x2
    at android.content.res.TypedArray.getColor(TypedArray.java:327)
    at android.graphics.drawable.GradientDrawable.inflate(GradientDrawable.java:970)
    at android.graphics.drawable.Drawable.createFromXmlInner(Drawable.java:990)
    at android.graphics.drawable.Drawable.createFromXml(Drawable.java:930)
    at android.content.res.Resources.loadDrawable(Resources.java:3062)
    ... 43 more