java.lang.NumberFormatException: For input string: ""

JIRA | Martin Boulanger | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    The ECG sometime crash and we get the following error (see below). However, restarting the ECG and performing the measurement a second time seems to fix the problem. It looks like the variable "RestingECGMeasurements/QRSNum" does not always contain a valid number. We should investigate more and find out why this is happening. Why is this variable missing sometimes? java.lang.NumberFormatException: For input string: "" at java.lang.NumberFormatException.forInputString(Unknown Source) at java.lang.Long.parseLong(Unknown Source) at java.lang.Long.valueOf(Unknown Source) at org.obiba.onyx.jade.instrument.gehealthcare.CardiosoftInstrumentResultParser.extractRestingEcgMeasurements(CardiosoftInstrumentResultParser.java:352) at org.obiba.onyx.jade.instrument.gehealthcare.CardiosoftInstrumentResultParser.<init>(CardiosoftInstrumentResultParser.java:145) at org.obiba.onyx.jade.instrument.gehealthcare.CardiosoftInstrumentRunner.run(CardiosoftInstrumentRunner.java:382) at org.obiba.onyx.jade.client.JnlpClient.main(JnlpClient.java:51) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.sun.javaws.Launcher.executeApplication(Unknown Source) at com.sun.javaws.Launcher.executeMainClass(Unknown Source) at com.sun.javaws.Launcher.doLaunchApp(Unknown Source) at com.sun.javaws.Launcher.run(Unknown Source) at java.lang.Thread.run(Unknown Source)

    JIRA | 8 years ago | Martin Boulanger
    java.lang.NumberFormatException: For input string: ""
  2. 0

    The ECG sometime crash and we get the following error (see below). However, restarting the ECG and performing the measurement a second time seems to fix the problem. It looks like the variable "RestingECGMeasurements/QRSNum" does not always contain a valid number. We should investigate more and find out why this is happening. Why is this variable missing sometimes? java.lang.NumberFormatException: For input string: "" at java.lang.NumberFormatException.forInputString(Unknown Source) at java.lang.Long.parseLong(Unknown Source) at java.lang.Long.valueOf(Unknown Source) at org.obiba.onyx.jade.instrument.gehealthcare.CardiosoftInstrumentResultParser.extractRestingEcgMeasurements(CardiosoftInstrumentResultParser.java:352) at org.obiba.onyx.jade.instrument.gehealthcare.CardiosoftInstrumentResultParser.<init>(CardiosoftInstrumentResultParser.java:145) at org.obiba.onyx.jade.instrument.gehealthcare.CardiosoftInstrumentRunner.run(CardiosoftInstrumentRunner.java:382) at org.obiba.onyx.jade.client.JnlpClient.main(JnlpClient.java:51) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.sun.javaws.Launcher.executeApplication(Unknown Source) at com.sun.javaws.Launcher.executeMainClass(Unknown Source) at com.sun.javaws.Launcher.doLaunchApp(Unknown Source) at com.sun.javaws.Launcher.run(Unknown Source) at java.lang.Thread.run(Unknown Source)

    JIRA | 8 years ago | Martin Boulanger
    java.lang.NumberFormatException: For input string: ""
  3. 0

    Odd error messages?

    GitHub | 3 years ago | sunejak
    java.lang.NumberFormatException: For input string: ""
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Interval deserialization fails for negative start instants

    GitHub | 3 years ago | dgrabows
    java.lang.NumberFormatException: For input string: ""
  6. 0

    GitHub comment 46#31480785

    GitHub | 3 years ago | jpasqua
    java.lang.NumberFormatException: For input string: ""

  1. tomthomas 1 times, last 2 weeks ago
  2. SteVio1989 1046 times, last 3 weeks ago
  3. marcbouvierdav 2 times, last 7 months ago
  4. kuldeep 4 times, last 7 months ago
  5. Piz 2 times, last 8 months ago
2 more registered users
14 unregistered visitors
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.NumberFormatException

    For input string: ""

    at java.lang.NumberFormatException.forInputString()
  2. Java RT
    Long.valueOf
    1. java.lang.NumberFormatException.forInputString(Unknown Source)
    2. java.lang.Long.parseLong(Unknown Source)
    3. java.lang.Long.valueOf(Unknown Source)
    3 frames
  3. org.obiba.onyx
    JnlpClient.main
    1. org.obiba.onyx.jade.instrument.gehealthcare.CardiosoftInstrumentResultParser.extractRestingEcgMeasurements(CardiosoftInstrumentResultParser.java:352)
    2. org.obiba.onyx.jade.instrument.gehealthcare.CardiosoftInstrumentResultParser.<init>(CardiosoftInstrumentResultParser.java:145)
    3. org.obiba.onyx.jade.instrument.gehealthcare.CardiosoftInstrumentRunner.run(CardiosoftInstrumentRunner.java:382)
    4. org.obiba.onyx.jade.client.JnlpClient.main(JnlpClient.java:51)
    4 frames
  4. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    4. java.lang.reflect.Method.invoke(Unknown Source)
    4 frames
  5. com.sun.javaws
    Launcher.run
    1. com.sun.javaws.Launcher.executeApplication(Unknown Source)
    2. com.sun.javaws.Launcher.executeMainClass(Unknown Source)
    3. com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
    4. com.sun.javaws.Launcher.run(Unknown Source)
    4 frames
  6. Java RT
    Thread.run
    1. java.lang.Thread.run(Unknown Source)
    1 frame