Integer.parseInt throws a NumberFormatException if the passed string is not a valid representation of an integer. here you are trying to pass 2463025552 which is out of integer range.
use long instead
long phone = Long.parseLong(s2[1].trim() )
More Related Contents:
- how to perform character concatenation in java [duplicate]
- logical OR in Java not working?
- Setting Singleton property value in Firebase Listener
- How to write a Unit Test?
- Obtaining a powerset of a set in Java
- Android: checkbox listener
- Killing thread after some specified time limit in Java
- This app is not authorized to use Firebase Authentication.Please verify that the correct package name and SHA-1 are configured in the Firebase Console
- Serializing with Jackson (JSON) – getting “No serializer found”?
- JAX-RS Post multiple objects
- Is there a fixed sized queue which removes excessive elements?
- Asynchronous IO in Java?
- How to make a JButton in a JTable cell click-able?
- java.lang.OutOfMemoryError: Java heap space in Maven
- How to avoid type safety warnings with Hibernate HQL results?
- Java FileInputStream ObjectInputStream reaches end of file EOF
- BigDecimal – to use new or valueOf
- Exception in thread “main” java.sql.SQLException: Access denied for user ”@’localhost’ (using password: NO)
- Why is my JLabel not showing up
- Pascal’s triangle 2d array – formatting printed output
- How to access USB ports in java [closed]
- Android Retrofit Design Patterns
- Working with JSON streams efficiently (in Java)
- Java: Get month Integer from Date
- Getting class cast exception where both classes are exactly the same
- pdfBox – Signature validity checkmark not visible in Acrobat reader
- ClassNotFoundException DispatcherServlet when launching Tomcat (Maven dependencies not copied to wtpwebapps)
- How does this code for delaunay triangulation work?
- Is there a java setting for disabling certificate validation? [duplicate]
- How to use SortedMap interface or TreeMap in Java?