Quivr / Android-Week-View

Android Week View is an android library to display calendars (week view or day view) within the app. It supports custom styling.
Apache License 2.0
258 stars 64 forks source link

Crash issue #112

Open thelittlefireman opened 6 years ago

thelittlefireman commented 6 years ago

Hi, on my app i got this crash from crashlitycs could you check please ?

Fatal Exception: java.lang.NegativeArraySizeException: -24
       at com.alamkanak.weekview.WeekView.drawHeaderRowAndEvents(SourceFile:836)
       at com.alamkanak.weekview.WeekView.onDraw(SourceFile:696)
       at android.view.View.draw(View.java:19348)
       at android.view.View.updateDisplayListIfDirty(View.java:18298)
       at android.view.View.draw(View.java:19076)
       at android.view.ViewGroup.drawChild(ViewGroup.java:4240)
       at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4026)
       at android.view.View.draw(View.java:19351)
       at android.view.View.updateDisplayListIfDirty(View.java:18298)
       at android.view.View.draw(View.java:19076)
       at android.view.ViewGroup.drawChild(ViewGroup.java:4240)
       at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4026)
       at android.view.View.draw(View.java:19351)
       at android.view.View.updateDisplayListIfDirty(View.java:18298)
       at android.view.View.draw(View.java:19076)
       at android.view.ViewGroup.drawChild(ViewGroup.java:4240)
       at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4026)
       at android.view.View.draw(View.java:19351)
       at android.support.v4.view.ViewPager.draw(SourceFile:2420)
       at android.view.View.updateDisplayListIfDirty(View.java:18298)
       at android.view.View.draw(View.java:19076)
       at android.view.ViewGroup.drawChild(ViewGroup.java:4240)
       at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4026)
       at android.view.View.updateDisplayListIfDirty(View.java:18289)
       at android.view.View.draw(View.java:19076)
       at android.view.ViewGroup.drawChild(ViewGroup.java:4240)
       at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4026)
       at android.view.View.draw(View.java:19351)
       at android.view.View.updateDisplayListIfDirty(View.java:18298)
       at android.view.View.draw(View.java:19076)
       at android.view.ViewGroup.drawChild(ViewGroup.java:4240)
       at android.support.v4.widget.DrawerLayout.drawChild(SourceFile:1366)
       at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4026)
       at android.view.View.draw(View.java:19351)
       at android.view.View.updateDisplayListIfDirty(View.java:18298)
       at android.view.View.draw(View.java:19076)
       at android.view.ViewGroup.drawChild(ViewGroup.java:4240)
       at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4026)
       at android.view.View.updateDisplayListIfDirty(View.java:18289)
       at android.view.View.draw(View.java:19076)
       at android.view.ViewGroup.drawChild(ViewGroup.java:4240)
       at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4026)
       at android.view.View.updateDisplayListIfDirty(View.java:18289)
       at android.view.View.draw(View.java:19076)
       at android.view.ViewGroup.drawChild(ViewGroup.java:4240)
       at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4026)
       at android.view.View.updateDisplayListIfDirty(View.java:18289)
       at android.view.View.draw(View.java:19076)
       at android.view.ViewGroup.drawChild(ViewGroup.java:4240)
       at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4026)
       at android.view.View.updateDisplayListIfDirty(View.java:18289)
       at android.view.View.draw(View.java:19076)
       at android.view.ViewGroup.drawChild(ViewGroup.java:4240)
       at android.view.ViewGroup.dispatchDraw(ViewGroup.java:4026)
       at android.view.View.draw(View.java:19351)
       at com.android.internal.policy.DecorView.draw(DecorView.java:789)
       at android.view.View.updateDisplayListIfDirty(View.java:18298)
       at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:680)
       at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:686)
       at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:794)
       at android.view.ViewRootImpl.draw(ViewRootImpl.java:3191)
       at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2995)
       at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2548)
       at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1559)
       at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:7358)
       at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1039)
       at android.view.Choreographer.doCallbacks(Choreographer.java:851)
       at android.view.Choreographer.doFrame(Choreographer.java:742)
       at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1025)
       at android.os.Handler.handleCallback(Handler.java:790)
       at android.os.Handler.dispatchMessage(Handler.java:99)
       at android.os.Looper.loop(Looper.java:164)
       at android.app.ActivityThread.main(ActivityThread.java:6753)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:482)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807)