Skip to content

Instantly share code, notes, and snippets.

@Redrield
Created March 27, 2017 01:51
Show Gist options
  • Select an option

  • Save Redrield/64e4eca488e2ef817d4e4571c1fc60e3 to your computer and use it in GitHub Desktop.

Select an option

Save Redrield/64e4eca488e2ef817d4e4571c1fc60e3 to your computer and use it in GitHub Desktop.
03-26 21:50:17.410 7133-7133/ca.loellenrobotics.scouting E/AndroidRuntime: FATAL EXCEPTION: main
Process: ca.loellenrobotics.scouting, PID: 7133
java.lang.RuntimeException: Unable to start activity ComponentInfo{ca.loellenrobotics.scouting/ca.loellenrobotics.scouting.activities.ConfirmationActivity}: java.lang.IllegalArgumentException: supplied LayoutParams are of the wrong type.
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2665)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2726)
at android.app.ActivityThread.-wrap12(ActivityThread.java)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1477)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6119)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
Caused by: java.lang.IllegalArgumentException: supplied LayoutParams are of the wrong type.
at android.widget.GridLayout.handleInvalidParams(GridLayout.java:823)
at android.widget.GridLayout.onSetLayoutParams(GridLayout.java:812)
at android.view.View.setLayoutParams(View.java:13328)
at org.jetbrains.anko._RelativeLayout.lparams(Layouts.kt:708)
at org.jetbrains.anko._RelativeLayout.lparams$default(Layouts.kt:704)
at ca.loellenrobotics.scouting.activities.ConfirmationActivity$onCreate$1$1$layout$2.invoke(ConfirmationActivity.kt:75)
at ca.loellenrobotics.scouting.activities.ConfirmationActivity$onCreate$1$1$layout$2.invoke(ConfirmationActivity.kt:14)
at org.jetbrains.anko.internals.AnkoInternals.applyRecursively(Internals.kt:69)
at org.jetbrains.anko.internals.AnkoInternals.applyRecursively(Internals.kt:73)
at org.jetbrains.anko.UiKt.applyRecursively(Ui.kt:29)
at ca.loellenrobotics.scouting.activities.ConfirmationActivity.onCreate(ConfirmationActivity.kt:71)
at android.app.Activity.performCreate(Activity.java:6679)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1118)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2618)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2726) 
at android.app.ActivityThread.-wrap12(ActivityThread.java) 
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1477) 
at android.os.Handler.dispatchMessage(Handler.java:102) 
at android.os.Looper.loop(Looper.java:154) 
at android.app.ActivityThread.main(ActivityThread.java:6119) 
at java.lang.reflect.Method.invoke(Native Method) 
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886) 
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776) 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment