java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{vertex2016.mvjce.edu.bluealert/vertex2016.mvjce.edu.bluealert.MainActivity}: java.lang.NumberFormatException: Invalid long: "0000‌​"

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Stack Overflow by Auro
, 1 year ago
Unable to instantiate activity ComponentInfo{vertex2016.mvjce.edu.bluealert/vertex2016.mvjce.edu.bluealert.MainActivity}: java.lang.NumberFormatException: Invalid long: "0000‌​"
via whohelpme.com by Unknown author, 1 year ago
Unable to instantiate activity ComponentInfo{vertex2016.mvjce.edu.bluealert/vertex2016.mvjce.edu.bluealert.ConnectedBTDevice}: java.lang.IllegalStateException: System services not available to Activities before onCreate()
via Stack Overflow by Auro
, 1 year ago
Unable to start activity ComponentInfo{vertex2016.mvjce.edu.bluealert/vertex2016.mvjce.edu.bluealert.SearchBTDevice}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean android.widget.ArrayAdapter.isEmpty()' on a null object reference
via Stack Overflow by Segue Diallo
, 1 year ago
Unable to start activity ComponentInfo{com.example.segue.vachetaureau/com.example.segue.vachetaureau.contestation}: java.lang.NumberFormatException: Invalid int: ""
via GitHub by jogrimst
, 7 months ago
Unable to start activity ComponentInfo{org.literacyapp/org.literacyapp.authentication.AuthenticationActivity}: java.lang.NumberFormatException: Invalid int: "null"
via GitHub by CKDPublishing
, 1 year ago
Unable to start activity ComponentInfo{au.com.company.test/au.com.company.test.MainActivity}: java.lang.NumberFormatException: Invalid int: "null"
java.lang.RuntimeException: Unable to instantiate activity ComponentInfo{vertex2016.mvjce.edu.bluealert/vertex2016.mvjce.edu.bluealert.MainActivity}: java.lang.NumberFormatException: Invalid long: "0000‌​"
at java.lang.Long.invalidLong(Long.java:124)
at java.lang.Long.parse(Long.java:363)
at java.lang.Long.parsePositiveLong(Long.java:413)
at java.util.UUID.fromString(UUID.java:191)
at vertex2016.mvjce.edu.bluealert.MainActivity.(MainActivity.java:52)
at java.lang.reflect.Constructor.newInstance(Native Method)
at java.lang.Class.newInstance(Class.java:1606)
at android.app.Instrumentation.newActivity(Instrumentation.java:1066)

Users with the same issue

Once, 8 months ago
Samebug visitor profile picture
Unknown user
Once, 2 months ago
11 times, 2 months ago
Once, 2 months ago
10 times, 5 months ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.