The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Can't write AverageBuilder result from command line?
Legacy User
Member Posts: 0 Newbie
I can use IOObjectWriter and ResultWriter to write the results of an AverageBuilder to a file when I run the setup from the GUI. But when I run it from the command line, it fails with:
G Apr 28, 2009 10:24:09 AM: [Fatal] NullPointerException occured in 1st application of IOObjectWriter (IOObjectWriter)The rest of the file works fine; just the IOObjectWriter or ResultWriter fails.
G Apr 28, 2009 10:24:09 AM: [Fatal] Process failed: operator cannot be executed. Check the log messages...
How do you write the results of an AverageBuilder to a file from the command line?
Here's the XML of the operators:
I
<operator name="AverageBuilder" class="AverageBuilder">
</operator>
<operator name="IOObjectWriter" class="IOObjectWriter">
<parameter key="object_file" value="training_perf_%{t}.txt"/>
<parameter key="io_object" value="AverageVector"/>
<parameter key="output_type" value="XML"/>
</operator>
0
Answers
Looks like a bug in Operator.java, getParameterAsFile():
lines 1123-- What if getParentFile() returns null?
Sure enough, if I change my ResultWriter result_file to 'results/training_res_%{t}.txt', it works.
Where do I file a bug report?
this issue is fixed in the latest developer edition (as far as I know already delivered via the update server to the Enterprise Edition users) and will also be part of the next community release.
Thanks for pointing this out. Cheers,
Ingo
Is there already a release date for the next version of RapidMiner Community Edition?
-Rasputin
it's already on it's way to the servers...It will be available for downloads within the next days.
Greetings,
Sebastian
-Rasputin