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

JIRA | Martin Boulanger | 8 years ago
  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 | 2 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. marcbouvierdav 2 times, last 3 months ago
  2. kuldeep 4 times, last 3 months ago
  3. Piz 2 times, last 4 months ago
  4. mortalman7 4 times, last 5 months ago
  5. bpbhat77 681 times, last 8 months ago
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