amharrison / jactr-eclipse

jACT-R Eclipse Integration
GNU General Public License v3.0
3 stars 3 forks source link

IDE data routing to file/ide cannot be turned off entirely #2

Closed amharrison closed 9 years ago

amharrison commented 9 years ago

Specifically, one or the other must be enabled. Turning off both will result in an exception. The problem is in the generation of the environment file by the IDE. It assumes that we always listen to at least one or the other.

monochromata commented 9 years ago

Could you provide the name of the class that throws the exception, the type of exception, and the name of the class class that generates the environment file? Thanks!

amharrison commented 9 years ago

The exception is innocuous, String index exception. Arising from org.jactr.eclipse.runtime.launching.env.EnvironmentConfigurator.setupRuntimeTraces(). This class is responsible for converting run configurations into the environment.xml file that is used to setup the runtime. However, this is where things get complicated.

The class far predates any of the tracing functionality, and so it was shoe-horned in poorly.

amharrison commented 9 years ago

Fixed. Either turning off routing to IDE/File OR turning off all tracers will now work correctly.