Exception java.lang.IllegalStateException: Could not execute method for android:onClick
at androidx.appcompat.app.AppCompatViewInflater$DeclaredOnClickListener.onClick (AppCompatViewInflater.java:473)
at android.view.View.performClick (View.java:7931)
at android.view.View.performClickInternal (View.java:7908)
at android.view.View.-$$Nest$mperformClickInternal
at android.view.View$PerformClick.run (View.java:30990)
at android.os.Handler.handleCallback (Handler.java:959)
at android.os.Handler.dispatchMessage (Handler.java:100)
at android.os.Looper.loopOnce (Looper.java:232)
at android.os.Looper.loop (Looper.java:317)
at android.app.ActivityThread.main (ActivityThread.java:8592)
at java.lang.reflect.Method.invoke
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:580)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:878)
Caused by java.lang.reflect.InvocationTargetException:
at java.lang.reflect.Method.invoke
at androidx.appcompat.app.AppCompatViewInflater$DeclaredOnClickListener.onClick (AppCompatViewInflater.java:468)
Caused by java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.toUpperCase()' on a null object reference
at com.vagell.kv4pht.aprs.parser.APRSPacket. (APRSPacket.java:49)
at com.vagell.kv4pht.radio.RadioAudioService.sendChatMessage (RadioAudioService.java:1118)
at com.vagell.kv4pht.ui.MainActivity.sendTextClicked (MainActivity.java:529)
Exception java.lang.IllegalStateException: Could not execute method for android:onClick at androidx.appcompat.app.AppCompatViewInflater$DeclaredOnClickListener.onClick (AppCompatViewInflater.java:473) at android.view.View.performClick (View.java:7931) at android.view.View.performClickInternal (View.java:7908) at android.view.View.-$$Nest$mperformClickInternal at android.view.View$PerformClick.run (View.java:30990) at android.os.Handler.handleCallback (Handler.java:959) at android.os.Handler.dispatchMessage (Handler.java:100) at android.os.Looper.loopOnce (Looper.java:232) at android.os.Looper.loop (Looper.java:317) at android.app.ActivityThread.main (ActivityThread.java:8592) at java.lang.reflect.Method.invoke at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:580) at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:878) Caused by java.lang.reflect.InvocationTargetException: at java.lang.reflect.Method.invoke at androidx.appcompat.app.AppCompatViewInflater$DeclaredOnClickListener.onClick (AppCompatViewInflater.java:468) Caused by java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String java.lang.String.toUpperCase()' on a null object reference at com.vagell.kv4pht.aprs.parser.APRSPacket. (APRSPacket.java:49)
at com.vagell.kv4pht.radio.RadioAudioService.sendChatMessage (RadioAudioService.java:1118)
at com.vagell.kv4pht.ui.MainActivity.sendTextClicked (MainActivity.java:529)