java.lang.RuntimeException

If you like a tip written by other Samebug users, mark is as helpful! Marks help our algorithm provide you better solutions and also help other users.
tip

You need to make sure that capitalisation of the case for the plugin in the
properties file is exactly: "AllocinePlugin" and not "allocineplugin"


rprp
tip

This is a bug when using Micromax devices with VideoView. You can either exclude these devices or look at this workaround: http://stackoverflow.com/a/31942841/4347859

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

  • 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
    via by Dennis Spathis,
  • 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
    via by Dennis Spathis,
  • GitHub comment 11#40014680
    via GitHub by pcingola
    ,
    • 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

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor2 times, last one,
    Unknown visitor
    Unknown visitor1 times, last one,
    92 more bugmates