java.lang.RuntimeException: Error: retrieve cognitive test data

JIRA | Dennis Spathis | 8 years ago
  1. 0

    Steps to reproduce: 1. Launch and complete the NoddleTest Cognitive Test stage. 2. Press "Next". RESULT: The following error is displayed, "Instrument application has encountered an unexpected failure." The InstrumentBootstrap log contains the following information: 2009-03-12 09:45:34 org.obiba.onyx.jade.client.JnlpClient main GRAVE: Unexpected error while executing runner java.lang.RuntimeException: Error: retrieve cognitive test data at org.obiba.onyx.jade.instrument.cardiffuniversity.NoddleTestInstrumentRunner.extractTestsFromResultFile(NoddleTestInstrumentRunner.java:181) at org.obiba.onyx.jade.instrument.cardiffuniversity.NoddleTestInstrumentRunner.getDataFiles(NoddleTestInstrumentRunner.java:119) at org.obiba.onyx.jade.instrument.cardiffuniversity.NoddleTestInstrumentRunner.run(NoddleTestInstrumentRunner.java:71) 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) Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 2 at java.lang.String.substring(Unknown Source) at org.obiba.onyx.jade.instrument.cardiffuniversity.NoddleTestInstrumentRunner$2.handleLine(NoddleTestInstrumentRunner.java:121) at org.obiba.onyx.jade.instrument.cardiffuniversity.NoddleTestInstrumentRunner.extractTestsFromResultFile(NoddleTestInstrumentRunner.java:168) ... 12 more 2009-03-12 09:45:35 org.obiba.onyx.jade.client.JnlpClient main INFO: Shutting down runner 2009-03-12 09:45:35 org.obiba.onyx.jade.client.JnlpClient main INFO: Destroying application context 2009-03-12 09:45:35 org.springframework.context.support.AbstractApplicationContext doClose INFO: Closing org.springframework.context.support.GenericApplicationContext@1e940b: display name [org.springframework.context.support.GenericApplicationContext@1e940b]; startup date [Thu Mar 12 09:39:34 EDT 2009]; root of context hierarchy 2009-03-12 09:45:35 org.springframework.beans.factory.support.DefaultSingletonBeanRegistry destroySingletons INFO: Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@23d275: defining beans [instrumentExecutionService,clientLoggingService,cookieRequestExecutor,remoteHandler,locale,instrumentRunner,externalAppHelper]; root of factory hierarchy 2009-03-12 09:45:35 org.obiba.onyx.jade.client.JnlpClient main INFO: Exiting VM

    JIRA | 8 years ago | Dennis Spathis
    java.lang.RuntimeException: Error: retrieve cognitive test data
  2. 0

    Steps to reproduce: 1. Launch and complete the NoddleTest Cognitive Test stage. 2. Press "Next". RESULT: The following error is displayed, "Instrument application has encountered an unexpected failure." The InstrumentBootstrap log contains the following information: 2009-03-12 09:45:34 org.obiba.onyx.jade.client.JnlpClient main GRAVE: Unexpected error while executing runner java.lang.RuntimeException: Error: retrieve cognitive test data at org.obiba.onyx.jade.instrument.cardiffuniversity.NoddleTestInstrumentRunner.extractTestsFromResultFile(NoddleTestInstrumentRunner.java:181) at org.obiba.onyx.jade.instrument.cardiffuniversity.NoddleTestInstrumentRunner.getDataFiles(NoddleTestInstrumentRunner.java:119) at org.obiba.onyx.jade.instrument.cardiffuniversity.NoddleTestInstrumentRunner.run(NoddleTestInstrumentRunner.java:71) 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) Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 2 at java.lang.String.substring(Unknown Source) at org.obiba.onyx.jade.instrument.cardiffuniversity.NoddleTestInstrumentRunner$2.handleLine(NoddleTestInstrumentRunner.java:121) at org.obiba.onyx.jade.instrument.cardiffuniversity.NoddleTestInstrumentRunner.extractTestsFromResultFile(NoddleTestInstrumentRunner.java:168) ... 12 more 2009-03-12 09:45:35 org.obiba.onyx.jade.client.JnlpClient main INFO: Shutting down runner 2009-03-12 09:45:35 org.obiba.onyx.jade.client.JnlpClient main INFO: Destroying application context 2009-03-12 09:45:35 org.springframework.context.support.AbstractApplicationContext doClose INFO: Closing org.springframework.context.support.GenericApplicationContext@1e940b: display name [org.springframework.context.support.GenericApplicationContext@1e940b]; startup date [Thu Mar 12 09:39:34 EDT 2009]; root of context hierarchy 2009-03-12 09:45:35 org.springframework.beans.factory.support.DefaultSingletonBeanRegistry destroySingletons INFO: Destroying singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@23d275: defining beans [instrumentExecutionService,clientLoggingService,cookieRequestExecutor,remoteHandler,locale,instrumentRunner,externalAppHelper]; root of factory hierarchy 2009-03-12 09:45:35 org.obiba.onyx.jade.client.JnlpClient main INFO: Exiting VM

    JIRA | 8 years ago | Dennis Spathis
    java.lang.RuntimeException: Error: retrieve cognitive test data
  3. 0

    Java Exception in thread "main" java.lang.StringIndexOutOfBoundsException Error

    Stack Overflow | 3 years ago | WindwardLeaf
    java.lang.StringIndexOutOfBoundsException: String index out of range: 2
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Java error java.lang.StringIndexOutOfBoundsException: String index out of range: 2? | Yahoo Answers

    yahoo.com | 5 months ago
    java.lang.StringIndexOutOfBoundsException: String index out of range: 2
  6. 0

    OutOfBoundException: Scanner.nextLine() after System.out.println()

    Stack Overflow | 10 months ago | C-3ow
    java.lang.StringIndexOutOfBoundsException: String index out of range: 2

  1. richard77 2 times, last 4 days ago
  2. kjhdofjosvs 2 times, last 1 week ago
  3. archenroot 17 times, last 2 weeks ago
  4. Alexandru Popa 2 times, last 4 weeks ago
  5. poroszd 3 times, last 1 month ago
18 more registered users
58 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.StringIndexOutOfBoundsException

    String index out of range: 2

    at java.lang.String.substring()
  2. Java RT
    String.substring
    1. java.lang.String.substring(Unknown Source)
    1 frame
  3. org.obiba.onyx
    JnlpClient.main
    1. org.obiba.onyx.jade.instrument.cardiffuniversity.NoddleTestInstrumentRunner$2.handleLine(NoddleTestInstrumentRunner.java:121)
    2. org.obiba.onyx.jade.instrument.cardiffuniversity.NoddleTestInstrumentRunner.extractTestsFromResultFile(NoddleTestInstrumentRunner.java:168)
    3. org.obiba.onyx.jade.instrument.cardiffuniversity.NoddleTestInstrumentRunner.getDataFiles(NoddleTestInstrumentRunner.java:119)
    4. org.obiba.onyx.jade.instrument.cardiffuniversity.NoddleTestInstrumentRunner.run(NoddleTestInstrumentRunner.java:71)
    5. org.obiba.onyx.jade.client.JnlpClient.main(JnlpClient.java:51)
    5 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