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
"java.io.FilePermission error when creating an HTML report with the reporting extension"
I have tried to create an HTML report with the reporting extension and have created the following process:
<?xml version="1.0" encoding="UTF-8"?><process version="7.2.000">
<context>
<input/>
<output/>
<macros/>
</context>
<operator activated="true" class="process" compatibility="7.2.000" expanded="true" name="Process">
<parameter key="logverbosity" value="init"/>
<parameter key="random_seed" value="2001"/>
<parameter key="send_mail" value="never"/>
<parameter key="notification_email" value=""/>
<parameter key="process_duration_for_mail" value="30"/>
<parameter key="encoding" value="SYSTEM"/>
<process expanded="true">
<operator activated="true" class="retrieve" compatibility="7.2.000" expanded="true" height="68" name="Retrieve asiaCLC_ ARSUNEOBOTL Day" width="90" x="45" y="34">
<parameter key="repository_entry" value="../../data/Triangl_SKU/asiaCLC_ ARSUNEOBOTL Day"/>
</operator>
<operator activated="true" class="reporting:generate_report" compatibility="5.3.000" expanded="true" height="82" name="Generate Report" width="90" x="246" y="34">
<parameter key="report_name" value="AsiaCLC"/>
<parameter key="format" value="HTML"/>
<parameter key="report_to_repository" value="true"/>
<parameter key="repository_entry" value="AsiaCLC-Report"/>
<parameter key="html_output_directory" value="C:\Users\suntietk\Documents\2_Big Data\RapidMiner\Report"/>
<parameter key="html_logo_file" value="C:\Users\suntietk\Documents\_Orga\Vorlagen\Hellmann Worldwide Logistics RGB_small.png"/>
<parameter key="html_image_format" value="png"/>
<parameter key="image_col_span" value="8"/>
<parameter key="image_row_span" value="17"/>
<parameter key="page_size" value="A4"/>
<parameter key="page_format" value="portrait"/>
<parameter key="template_type" value="none"/>
<parameter key="image_alignment" value="aspect_ratio"/>
<parameter key="set_background_color" value="false"/>
<parameter key="background_color" value="255,255,255"/>
<parameter key="page_width" value="595"/>
<parameter key="page_height" value="842"/>
<parameter key="top_page_margin" value="36"/>
<parameter key="bottom_page_margin" value="36"/>
<parameter key="left_page_margin" value="36"/>
<parameter key="right_page_margin" value="36"/>
<parameter key="section_one_font_size" value="12.0"/>
<parameter key="section_one_font_style_bold" value="false"/>
<parameter key="section_one_font_style_italic" value="false"/>
<parameter key="section_one_font_style_underline" value="false"/>
<parameter key="section_one_font_style_strikethrough" value="false"/>
<parameter key="section_one_font_color" value="0,0,0"/>
<parameter key="section_two_font_size" value="12.0"/>
<parameter key="section_two_font_style_bold" value="false"/>
<parameter key="section_two_font_style_italic" value="false"/>
<parameter key="section_two_font_style_underline" value="false"/>
<parameter key="section_two_font_style_strikethrough" value="false"/>
<parameter key="section_two_font_color" value="0,0,0"/>
<parameter key="section_three_font_size" value="12.0"/>
<parameter key="section_three_font_style_bold" value="false"/>
<parameter key="section_three_font_style_italic" value="false"/>
<parameter key="section_three_font_style_underline" value="false"/>
<parameter key="section_three_font_style_strikethrough" value="false"/>
<parameter key="section_three_font_color" value="0,0,0"/>
<parameter key="section_four_font_size" value="12.0"/>
<parameter key="section_four_font_style_bold" value="false"/>
<parameter key="section_four_font_style_italic" value="false"/>
<parameter key="section_four_font_style_underline" value="false"/>
<parameter key="section_four_font_style_strikethrough" value="false"/>
<parameter key="section_four_font_color" value="0,0,0"/>
<parameter key="section_five_font_size" value="12.0"/>
<parameter key="section_five_font_style_bold" value="false"/>
<parameter key="section_five_font_style_italic" value="false"/>
<parameter key="section_five_font_style_underline" value="false"/>
<parameter key="section_five_font_style_strikethrough" value="false"/>
<parameter key="section_five_font_color" value="0,0,0"/>
<parameter key="text_content_font_size" value="12.0"/>
<parameter key="text_content_font_style_bold" value="false"/>
<parameter key="text_content_font_style_italic" value="false"/>
<parameter key="text_content_font_style_underline" value="false"/>
<parameter key="text_content_font_style_strikethrough" value="false"/>
<parameter key="text_content_font_color" value="0,0,0"/>
<parameter key="system_fonts" value="false"/>
<parameter key="directory_fonts" value="false"/>
<parameter key="table_column_number" value="8"/>
<parameter key="table_header_color" value="128,128,128"/>
<parameter key="table_row_color_one" value="255,255,255"/>
<parameter key="table_row_color_two" value="192,192,192"/>
</operator>
<operator activated="true" class="reporting:report" compatibility="5.3.000" expanded="true" height="68" name="Report" width="90" x="380" y="34">
<parameter key="report_name" value="AsiaCLC"/>
<parameter key="specified" value="true"/>
<parameter key="reportable_type" value="Data Table"/>
<parameter key="renderer_name" value="Data View"/>
<list key="parameters">
<parameter key="attribute_filter_type" value="subset"/>
<parameter key="attributes" value="Quantity_shipped|Date|prediction(Quantity_shipped)|"/>
<parameter key="use_except_expression" value="false"/>
<parameter key="value_type" value="attribute_value"/>
<parameter key="use_value_type_exception" value="false"/>
<parameter key="except_value_type" value="time"/>
<parameter key="block_type" value="attribute_block"/>
<parameter key="use_block_type_exception" value="false"/>
<parameter key="except_block_type" value="value_matrix_row_start"/>
<parameter key="invert_selection" value="false"/>
<parameter key="include_special_attributes" value="false"/>
<parameter key="min_row" value="1"/>
<parameter key="max_row" value="2147483647"/>
</list>
<parameter key="image_width" value="800"/>
<parameter key="image_height" value="600"/>
</operator>
<connect from_op="Retrieve asiaCLC_ ARSUNEOBOTL Day" from_port="output" to_op="Generate Report" to_port="through 1"/>
<connect from_op="Generate Report" from_port="through 1" to_op="Report" to_port="reportable in"/>
<connect from_op="Report" from_port="reportable out" to_port="result 1"/>
<portSpacing port="source_input 1" spacing="0"/>
<portSpacing port="sink_result 1" spacing="0"/>
<portSpacing port="sink_result 2" spacing="0"/>
</process>
</operator>
</process>
Unfortunately I receive a java.io.FilePermission error saying "Access denied" for some tmp file (see screenshot below).
Since I don't why or where this file is needed, I have no idea how to fix this. Can anyone help?
Please note:
- PDF and Excel reports work fine with the process above
- HTML reports worked before I updated to RM 7.2 (I had 7.1.1 before)
- I already tried deinstalling and reinstalling the extension without success
Bets regards,
Saskia
Tagged:
0
Best Answer
-
IngoRM Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert, Community Manager, RMResearcher, Member, University Professor Posts: 1,751 RM Founder
Hi,
It looks like the new security mechanisms we put in place cause a problem for the Reporting extension. This is currently discussed here:
Best,
Ingo
0