Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Stack Overflow by Leggit
, 1 year ago
via DataStax JIRA by thisvieira, 1 year ago
Illegal initial capacity: -29933
via DataStax JIRA by thisvieira, 1 year ago
Illegal initial capacity: -29933
via Appcelerator JIRA by Shalom Gibly, 1 year ago
via Appcelerator JIRA by Shalom Gibly, 1 year ago
via Terracotta Project Issue Tracker by Jeffrey Samarziya, 1 year ago
Illegal initial capacity: -128
java.lang.IllegalArgumentException: Capacity: -2147483647	at java.util.HashMap.(HashMap.java:140)	at java.util.HashMap.(HashMap.java:174)	at java.util.LinkedHashMap.(LinkedHashMap.java:119)	at java.util.LinkedHashMap.(LinkedHashMap.java:97)	at java.util.LinkedHashMap.(LinkedHashMap.java:81)	at com.jjoe64.graphview.GridLabelRenderer.adjustVertical(GridLabelRenderer.java:768)	at com.jjoe64.graphview.GridLabelRenderer.adjustSteps(GridLabelRenderer.java:932)	at com.jjoe64.graphview.GridLabelRenderer.draw(GridLabelRenderer.java:1067)	at com.jjoe64.graphview.GraphView.drawGraphElements(GraphView.java:299)	at com.jjoe64.graphview.GridLabelRenderer.draw(GridLabelRenderer.java:1062)	at com.jjoe64.graphview.GraphView.drawGraphElements(GraphView.java:299)	at com.jjoe64.graphview.GraphView.onDraw(GraphView.java:323)	at android.view.View.draw(View.java:16302)	at android.view.View.updateDisplayListIfDirty(View.java:15284)	at android.view.View.draw(View.java:16072)	at android.view.ViewGroup.drawChild(ViewGroup.java:3622)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3409)	at android.view.View.draw(View.java:16305)	at android.view.View.updateDisplayListIfDirty(View.java:15284)	at android.view.View.draw(View.java:16072)	at android.view.ViewGroup.drawChild(ViewGroup.java:3622)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3409)	at android.view.View.updateDisplayListIfDirty(View.java:15279)	at android.view.View.draw(View.java:16072)	at android.view.ViewGroup.drawChild(ViewGroup.java:3622)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3409)	at android.view.View.updateDisplayListIfDirty(View.java:15279)	at android.view.View.draw(View.java:16072)	at android.view.ViewGroup.drawChild(ViewGroup.java:3622)	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:3409)	at android.view.View.draw(View.java:16305)	at com.android.internal.policy.PhoneWindow$DecorView.draw(PhoneWindow.java:2760)	at android.view.View.updateDisplayListIfDirty(View.java:15284)	at android.view.ThreadedRenderer.updateViewTreeDisplayList(ThreadedRenderer.java:295)	at android.view.ThreadedRenderer.updateRootDisplayList(ThreadedRenderer.java:301)	at android.view.ThreadedRenderer.draw(ThreadedRenderer.java:345)	at android.view.ViewRootImpl.draw(ViewRootImpl.java:2686)	at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2495)	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:2120)	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1138)	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:6227)	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:884)	at android.view.Choreographer.doCallbacks(Choreographer.java:696)	at android.view.Choreographer.doFrame(Choreographer.java:631)	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:870)	at android.os.Handler.handleCallback(Handler.java:743)	at android.os.Handler.dispatchMessage(Handler.java:95)	at android.os.Looper.loop(Looper.java:150)	at android.app.ActivityThread.main(ActivityThread.java:5546)	at java.lang.reflect.Method.invoke(Native Method)	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:794)	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:684)