🎉Community Raffle - Win $25

An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
Join and Win

Exception: java.security.AccessControlException

User: "royapurba007"
New Altair Community Member
Updated by Jocelyn

Hello All,

 

I am trying to run a simple viola jones algorithm for detecting human eyes in the images using RapidMiner's Fast Haar Detector operator. 

But, unfortunately I'm getting error like,

 

Exception: java.security.AccessControlException
Message: access denied ("java.lang.RuntimePermission" "modifyThread")
Stack trace:

java.security.AccessControlContext.checkPermission(AccessControlContext.java:472)
java.security.AccessController.checkPermission(AccessController.java:884)
java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
com.rapidminer.security.PluginSecurityManager.checkPermission(PluginSecurityManager.java:42)
java.util.concurrent.ThreadPoolExecutor.checkShutdownAccess(ThreadPoolExecutor.java:742)
java.util.concurrent.ThreadPoolExecutor.shutdown(ThreadPoolExecutor.java:1397)
com.burgsys.image.core.parallel.Parallel.ForEachFeature(Parallel.java:54)
com.burgsys.image.core.detector.Adaboost.thresholdFunction(Adaboost.java:129)
com.burgsys.image.core.detector.Adaboost.trainFast(Adaboost.java:75)
com.burgsys.image.core.ioobjects.DetectorFastIOObject.selectFeatures(DetectorFastIOObject.java:70)
com.burgsys.image.op.detector.OperatorDetectorFast.doWork(OperatorDetectorFast.java:72)
com.rapidminer.operator.Operator.execute(Operator.java:1004)
com.rapidminer.operator.execution.SimpleUnitExecutor.execute(SimpleUnitExecutor.java:77)
com.rapidminer.operator.ExecutionUnit$3.run(ExecutionUnit.java:812)
com.rapidminer.operator.ExecutionUnit$3.run(ExecutionUnit.java:807)
java.security.AccessController.doPrivileged(Native Method)
com.rapidminer.operator.ExecutionUnit.execute(ExecutionUnit.java:807)
com.rapidminer.operator.OperatorChain.doWork(OperatorChain.java:428)
com.rapidminer.operator.Operator.execute(Operator.java:1004)
com.rapidminer.Process.execute(Process.java:1310)
com.rapidminer.Process.run(Process.java:1285)
com.rapidminer.Process.run(Process.java:1176)
com.rapidminer.Process.run(Process.java:1129)
com.rapidminer.Process.run(Process.java:1124)
com.rapidminer.Process.run(Process.java:1114)
com.rapidminer.gui.ProcessThread.run(ProcessThread.java:65)

 

The process XML is as follows,

<?xml version="1.0" encoding="UTF-8"?><process version="8.1.001">
<context>
<input/>
<output/>
<macros/>
</context>
<operator activated="true" class="process" compatibility="6.0.002" expanded="true" name="Process">
<process expanded="true">
<operator activated="true" class="image:read_image_set" compatibility="7.0.000" expanded="true" height="68" name="Read Image Set" width="90" x="313" y="85">
<list key="categories">
<parameter key="positive" value="C:\Users\U708980\Desktop\eye-detection-data\positive"/>
<parameter key="negative" value="C:\Users\U708980\Desktop\eye-detection-data\negative"/>
</list>
</operator>
<operator activated="true" class="image:Fast_Haar_detector" compatibility="7.0.000" expanded="true" height="68" name="Fast Haar Detector" width="90" x="514" y="34">
<parameter key="number_of_features" value="500"/>
<parameter key="window_width" value="20"/>
<parameter key="window_height" value="15"/>
<parameter key="cascade_threshold_change" value="30"/>
</operator>
<operator activated="true" class="image:read_image" compatibility="7.0.000" expanded="true" height="68" name="Read Image" width="90" x="514" y="391">
<parameter key="source_file" value="C:\Users\U708980\Desktop\eye-detection-data\test\3.jpg"/>
</operator>
<operator activated="true" class="legacy:write_model" compatibility="8.1.001" expanded="true" height="68" name="Write Model" width="90" x="715" y="34">
<parameter key="model_file" value="C:\Users\U708980\Desktop\eye.mod"/>
</operator>
<operator activated="true" class="image:Apply_detector" compatibility="7.0.000" expanded="true" height="82" name="Apply Detector" width="90" x="916" y="85">
<parameter key="base_scale" value="1.0"/>
<parameter key="maximal_scale" value="20.0"/>
<parameter key="detection_post-processing" value="number_of_the_best_detections "/>
<parameter key="number_of_detections" value="2.0"/>
</operator>
<operator activated="true" class="image:Interest_point_visualizer" compatibility="7.0.000" expanded="true" height="82" name="ROI Visualizer" width="90" x="1050" y="289"/>
<connect from_op="Read Image Set" from_port="collection of images" to_op="Fast Haar Detector" to_port="collection of images"/>
<connect from_op="Fast Haar Detector" from_port="Detector" to_op="Write Model" to_port="input"/>
<connect from_op="Read Image" from_port="output" to_op="Apply Detector" to_port="image"/>
<connect from_op="Write Model" from_port="through" to_op="Apply Detector" to_port="Detector"/>
<connect from_op="Apply Detector" from_port="RoI" to_op="ROI Visualizer" to_port="RoI"/>
<connect from_op="Apply Detector" from_port="image" to_op="ROI Visualizer" to_port="image"/>
<connect from_op="ROI Visualizer" from_port="image" 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>

 

Could somebody please help me in solving this??

 

Regards,

Apurba Roy

 

 

 

 

 

Find more posts tagged with

Sort by:
1 - 7 of 71