Completed

Corregir errores app

Published on the June 03, 2017 in IT & Programming

About this project

Open

Hay que solucionar los errores de una app de tonos, los problemas son:

java.lang.NullPointerException:
  at com.wkapp.tonosnotificaciones.TabNuevosFragment$3.onClick(TabNuevosFragment.java:226)
  at android.view.View.performClick(View.java:4785)
  at android.view.View$PerformClick.run(View.java:19884)
  at android.os.Handler.handleCallback(Handler.java:739)
  at android.os.Handler.dispatchMessage(Handler.java:95)
  at android.os.Looper.loop(Looper.java:135)
  at android.app.ActivityThread.main(ActivityThread.java:5343)
  at java.lang.reflect.Method.invoke(Native Method:0)
  at java.lang.reflect.Method.invoke(Method.java:372)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:905)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:700)


java.lang.SecurityException:
  at android.os.Parcel.readException(Parcel.java:1620)
  at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:183)
  at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:135)
  at android.content.ContentProviderProxy.call(ContentProviderNative.java:646)
  at android.provider.Settings$NameValueCache.putStringForUser(Settings.java:1457)
  at android.provider.Settings$System.putStringForUser(Settings.java:1867)
  at android.media.RingtoneManager.setActualDefaultRingtoneUri(RingtoneManager.java:1234)
  at android.media.RingtoneManager.setActualDefaultRingtoneUri(RingtoneManager.java:1174)
  at com.wkapp.tonosnotificaciones.TonosGenerico.setTono(TonosGenerico.java:410)
  at com.wkapp.tonosnotificaciones.TonosGenerico.access$600(TonosGenerico.java:47)
  at com.wkapp.tonosnotificaciones.TonosGenerico$10.onPostExecute(TonosGenerico.java:365)
  at com.wkapp.tonosnotificaciones.TonosGenerico$10.onPostExecute(TonosGenerico.java:344)
  at android.os.AsyncTask.finish(AsyncTask.java:651)
  at android.os.AsyncTask.access$500(AsyncTask.java:180)
  at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:668)
  at android.os.Handler.dispatchMessage(Handler.java:102)
  at android.os.Looper.loop(Looper.java:158)
  at android.app.ActivityThread.main(ActivityThread.java:7230)
  at java.lang.reflect.Method.invoke(Native Method:0)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)


java.lang.NullPointerException:
  at com.wkapp.tonosnotificaciones.TonosGenerico$3.onClick(TonosGenerico.java:210)
  at android.view.View.performClick(View.java:5678)
  at android.view.View$PerformClick.run(View.java:22652)
  at android.os.Handler.handleCallback(Handler.java:836)
  at android.os.Handler.dispatchMessage(Handler.java:103)
  at android.os.Looper.loop(Looper.java:203)
  at android.app.ActivityThread.main(ActivityThread.java:6251)
  at java.lang.reflect.Method.invoke(Native Method:0)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1063)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:924)



java.lang.NullPointerException:
  at com.wkapp.tonosnotificaciones.TabNuevosFragment$AsyncTonos.onPostExecute(TabNuevosFragment.java:674)
  at com.wkapp.tonosnotificaciones.TabNuevosFragment$AsyncTonos.onPostExecute(TabNuevosFragment.java:655)
  at android.os.AsyncTask.finish(AsyncTask.java:636)
  at android.os.AsyncTask.access$500(AsyncTask.java:177)
  at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:653)
  at android.os.Handler.dispatchMessage(Handler.java:111)
  at android.os.Looper.loop(Looper.java:194)
  at android.app.ActivityThread.main(ActivityThread.java:5631)
  at java.lang.reflect.Method.invoke(Native Method:0)
  at java.lang.reflect.Method.invoke(Method.java:372)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:959)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:754)


java.lang.NullPointerException:
  at com.wkapp.tonosnotificaciones.TabFavoritosFragment.onResumeFragment(TabFavoritosFragment.java:283)
  at com.wkapp.tonosnotificaciones.principal$1.onPageSelected(principal.java:49)
  at android.support.v4.view.ViewPager.dispatchOnPageSelected(ViewPager.java:1967)
  at android.support.v4.view.ViewPager.scrollToItem(ViewPager.java:685)
  at android.support.v4.view.ViewPager.setCurrentItemInternal(ViewPager.java:669)
  at android.support.v4.view.ViewPager.setCurrentItemInternal(ViewPager.java:630)
  at android.support.v4.view.ViewPager.setCurrentItem(ViewPager.java:611)
  at android.support.design.widget.TabLayout$ViewPagerOnTabSelectedListener.onTabSelected(TabLayout.java:2191)
  at android.support.design.widget.TabLayout.dispatchTabSelected(TabLayout.java:1164)
  at android.support.design.widget.TabLayout.selectTab(TabLayout.java:1157)
  at android.support.design.widget.TabLayout.selectTab(TabLayout.java:1127)
  at android.support.design.widget.TabLayout$Tab.select(TabLayout.java:1426)
  at android.support.design.widget.TabLayout$TabView.performClick(TabLayout.java:1536)
  at android.view.View$PerformClick.run(View.java:21534)
  at android.os.Handler.handleCallback(Handler.java:815)
  at android.os.Handler.dispatchMessage(Handler.java:104)
  at android.os.Looper.loop(Looper.java:207)
  at android.app.ActivityThread.main(ActivityThread.java:5728)
  at java.lang.reflect.Method.invoke(Native Method:0)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:679)


java.lang.IllegalStateException:
  at android.media.MediaPlayer._pause(Native Method:0)
  at android.media.MediaPlayer.pause(MediaPlayer.java:1249)
  at com.wkapp.tonosnotificaciones.TabNuevosFragment$3.onClick(TabNuevosFragment.java:226)
  at android.view.View.performClick(View.java:5612)
  at android.view.View$PerformClick.run(View.java:22285)
  at android.os.Handler.handleCallback(Handler.java:751)
  at android.os.Handler.dispatchMessage(Handler.java:95)
  at android.os.Looper.loop(Looper.java:154)
  at android.app.ActivityThread.main(ActivityThread.java:6123)
  at java.lang.reflect.Method.invoke(Native Method:0)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:867)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:757)


java.lang.RuntimeException:
  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2338)
  at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2390)
  at android.app.ActivityThread.access$800(ActivityThread.java:151)
  at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1321)
  at android.os.Handler.dispatchMessage(Handler.java:110)
  at android.os.Looper.loop(Looper.java:193)
  at android.app.ActivityThread.main(ActivityThread.java:5299)
  at java.lang.reflect.Method.invokeNative(Native Method:0)
  at java.lang.reflect.Method.invoke(Method.java:515)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:829)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:645)
  at dalvik.system.NativeStart.main(Native Method:0)
Caused by: java.lang.NullPointerException:
  at com.wkapp.tonosnotificaciones.TabFavoritosFragment.onResumeFragment(TabFavoritosFragment.java:283)
  at com.wkapp.tonosnotificaciones.principal$1.onPageSelected(principal.java:49)
  at android.support.v4.view.ViewPager.dispatchOnPageSelected(ViewPager.java:1967)
  at android.support.v4.view.ViewPager.setCurrentItemInternal(ViewPager.java:664)
  at android.support.v4.view.ViewPager.setCurrentItemInternal(ViewPager.java:630)
  at android.support.v4.view.ViewPager.onRestoreInstanceState(ViewPager.java:1482)
  at android.view.View.dispatchRestoreInstanceState(View.java:12976)
  at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2756)
  at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2762)
  at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2762)
  at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2762)
  at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2762)
  at android.view.ViewGroup.dispatchRestoreInstanceState(ViewGroup.java:2762)
  at android.view.View.restoreHierarchyState(View.java:12954)
  at com.android.internal.policy.impl.PhoneWindow.restoreHierarchyState(PhoneWindow.java:1785)
  at android.app.Activity.onRestoreInstanceState(Activity.java:944)
  at android.app.Activity.performRestoreInstanceState(Activity.java:916)
  at android.app.Instrumentation.callActivityOnRestoreInstanceState(Instrumentation.java:1140)
  at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2316)


java.lang.NullPointerException:
  at com.wkapp.tonosnotificaciones.TabNuevosFragment$AsyncTonos.onPostExecute(TabNuevosFragment.java:674)
  at com.wkapp.tonosnotificaciones.TabNuevosFragment$AsyncTonos.onPostExecute(TabNuevosFragment.java:655)
  at android.os.AsyncTask.finish(AsyncTask.java:664)
  at android.os.AsyncTask.-Wrap1(AsyncTask.java:0)
  at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:681)
  at android.os.Handler.dispatchMessage(Handler.java:111)
  at android.os.Looper.loop(Looper.java:207)
  at android.app.ActivityThread.main(ActivityThread.java:5728)
  at java.lang.reflect.Method.invoke(Native Method:0)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:789)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:679)


java.lang.NullPointerException:
  at com.wkapp.tonosnotificaciones.TabNuevosFragment.onPrepared(TabNuevosFragment.java:608)
  at android.media.MediaPlayer$EventHandler.handleMessage(MediaPlayer.java:3387)
  at android.os.Handler.dispatchMessage(Handler.java:102)
  at android.os.Looper.loop(Looper.java:145)
  at android.app.ActivityThread.main(ActivityThread.java:6934)
  at java.lang.reflect.Method.invoke(Native Method:0)
  at java.lang.reflect.Method.invoke(Method.java:372)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1404)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1199)



java.lang.SecurityException:
  at android.os.Parcel.readException(Parcel.java:1620)
  at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:183)
  at android.database.DatabaseUtils.readExceptionFromParcel(DatabaseUtils.java:135)
  at android.content.ContentProviderProxy.delete(ContentProviderNative.java:544)
  at android.content.ContentResolver.delete(ContentResolver.java:1380)
  at com.wkapp.tonosnotificaciones.TabNuevosFragment.setTono(TabNuevosFragment.java:441)
  at com.wkapp.tonosnotificaciones.TabNuevosFragment.access$800(TabNuevosFragment.java:52)
  at com.wkapp.tonosnotificaciones.TabNuevosFragment$10.onPostExecute(TabNuevosFragment.java:398)
  at com.wkapp.tonosnotificaciones.TabNuevosFragment$10.onPostExecute(TabNuevosFragment.java:377)
  at android.os.AsyncTask.finish(AsyncTask.java:651)
  at android.os.AsyncTask.access$500(AsyncTask.java:180)
  at android.os.AsyncTask$InternalHandler.handleMessage(AsyncTask.java:668)
  at android.os.Handler.dispatchMessage(Handler.java:102)
  at android.os.Looper.loop(Looper.java:148)
  at android.app.ActivityThread.main(ActivityThread.java:7223)
  at java.lang.reflect.Method.invoke(Native Method:0)
  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)

Category IT & Programming
Subcategory Apps programming. Android, iOS and others
What is the scope of the project? Small change or bug
Is this a project or a position? Project
I currently have Not applicable
Required availability As needed
Experience in this type of projects Yes (I have managed this kind of project before)
API Integrations Other (Other APIs)
Required platforms Android

Delivery term: June 06, 2017

Skills needed

Other projects posted by K.