java.lang.IllegalArgumentException: path must be convex

Stack Overflow | Theo | 5 months ago
  1. 0

    Robolectric gives an exception

    Stack Overflow | 5 months ago | Theo
    java.lang.IllegalArgumentException: path must be convex
  2. 0

    GitHub comment 2324#191927023

    GitHub | 9 months ago | nrxus
    java.lang.IllegalArgumentException: No view found for id 0x7f0a0016 (io.pivotal.weatherbus.app:id/mapContainer) for fragment MapFragment{248d3a #1 id=0x7f0a0016}
  3. 0

    HttpTransportSE.call() throws IllegalArgumentException

    Stack Overflow | 4 years ago | harshbodhi
    java.lang.IllegalArgumentException: size <= 0 12-07 17:19:20.261: W/System.err(1180): at java.io.BufferedInputStream.<init>(BufferedInputStream.java:94) 12-07 17:19:20.271: W/System.err(1180): at org.ksoap2.transport.HttpTransportSE.call(HttpTransportSE.java:226) 12-07 17:19:20.271: W/System.err(1180): at org.ksoap2.transport.HttpTransportSE.call(HttpTransportSE.java:114) 12-07 17:19:20.281: W/System.err(1180): at com.example.test.MainActivity.onClick(MainActivity.java:103) 12-07 17:19:20.281: W/System.err(1180): at android.view.View.performClick(View.java:4202)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Lollipop elevation on concave outline

    Stack Overflow | 2 years ago | oneway
    java.lang.IllegalArgumentException: path must be convex
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.IllegalArgumentException

    path must be convex

    at android.graphics.Outline.setConvexPath()
  2. Android Platform
    Handler.dispatchMessage
    1. android.graphics.Outline.setConvexPath(Outline.java:216)
    2. android.graphics.drawable.GradientDrawable.getOutline(GradientDrawable.java:1441)
    3. android.view.ViewOutlineProvider$1.getOutline(ViewOutlineProvider.java:38)
    4. android.view.View.rebuildOutline(View.java:11116)
    5. android.view.View.onAttachedToWindow(View.java:12960)
    6. android.view.ViewGroup.onAttachedToWindow(ViewGroup.java:3815)
    7. android.view.View.dispatchAttachedToWindow(View.java:13406)
    8. android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2707)
    9. android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2714)
    10. android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2714)
    11. android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2714)
    12. android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2714)
    13. android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2714)
    14. android.view.ViewGroup.dispatchAttachedToWindow(ViewGroup.java:2714)
    15. android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1292)
    16. android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:1054)
    17. android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:5779)
    18. android.os.Handler.handleCallback(Handler.java:739)
    19. android.os.Handler.dispatchMessage(Handler.java:95)
    19 frames
  3. Roboelectric HTTP
    ShadowMessageQueue$1.run
    1. org.robolectric.shadows.ShadowMessageQueue.dispatchMessage(ShadowMessageQueue.java:130)
    2. org.robolectric.shadows.ShadowMessageQueue.access$100(ShadowMessageQueue.java:30)
    3. org.robolectric.shadows.ShadowMessageQueue$1.run(ShadowMessageQueue.java:95)
    3 frames
  4. Roboelectric
    Scheduler.unPause
    1. org.robolectric.util.Scheduler$ScheduledRunnable.run(Scheduler.java:269)
    2. org.robolectric.util.Scheduler.runOneTask(Scheduler.java:179)
    3. org.robolectric.util.Scheduler.advanceTo(Scheduler.java:160)
    4. org.robolectric.util.Scheduler.advanceBy(Scheduler.java:143)
    5. org.robolectric.util.Scheduler.unPause(Scheduler.java:54)
    5 frames
  5. Roboelectric HTTP
    CoreShadowsAdapter$2.runPaused
    1. org.robolectric.shadows.ShadowLooper.unPause(ShadowLooper.java:266)
    2. org.robolectric.shadows.ShadowLooper.runPaused(ShadowLooper.java:306)
    3. org.robolectric.shadows.CoreShadowsAdapter$2.runPaused(CoreShadowsAdapter.java:45)
    3 frames
  6. Roboelectric
    Robolectric.setupActivity
    1. org.robolectric.util.ActivityController.visible(ActivityController.java:173)
    2. org.robolectric.util.ActivityController.setup(ActivityController.java:210)
    3. org.robolectric.Robolectric.setupActivity(Robolectric.java:46)
    3 frames
  7. team.football.ael
    MainActivityTest.shouldNotBeNull
    1. team.football.ael.MainActivityTest.shouldNotBeNull(MainActivityTest.java:24)
    1 frame
  8. JUnit
    InvokeMethod.evaluate
    1. org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:50)
    2. org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12)
    3. org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:47)
    4. org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:17)
    4 frames
  9. Roboelectric
    RobolectricTestRunner.runChild
    1. org.robolectric.RobolectricTestRunner$2.evaluate(RobolectricTestRunner.java:251)
    2. org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:188)
    3. org.robolectric.RobolectricTestRunner.runChild(RobolectricTestRunner.java:54)
    3 frames
  10. JUnit
    ParentRunner$2.evaluate
    1. org.junit.runners.ParentRunner$3.run(ParentRunner.java:290)
    2. org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71)
    3. org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288)
    4. org.junit.runners.ParentRunner.access$000(ParentRunner.java:58)
    5. org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268)
    5 frames
  11. Roboelectric
    RobolectricTestRunner$1.evaluate
    1. org.robolectric.RobolectricTestRunner$1.evaluate(RobolectricTestRunner.java:152)
    1 frame
  12. JUnit
    JUnitCore.run
    1. org.junit.runners.ParentRunner.run(ParentRunner.java:363)
    2. org.junit.runner.JUnitCore.run(JUnitCore.java:137)
    2 frames
  13. IntelliJ junit4 module
    JUnit4IdeaTestRunner.startRunnerWithArgs
    1. com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69)
    1 frame
  14. IDEA
    AppMain.main
    1. com.intellij.rt.execution.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:234)
    2. com.intellij.rt.execution.junit.JUnitStarter.main(JUnitStarter.java:74)
    3. com.intellij.rt.execution.application.AppMain.main(AppMain.java:144)
    3 frames