Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » SimuLizar error2 (SimuLizar error2 )
SimuLizar error2 [message #1828387] Mon, 08 June 2020 22:20 Go to next message
Doaa Dorgham is currently offline Doaa DorghamFriend
Messages: 18
Registered: January 2019
Junior Member
I tried to use SimuLizar run configuration, and another error occurred
please help me in fixing it

[Worker-2: Launching New_configuration] INFO : Create workflow configuration
[Worker-2: Launching New_configuration] INFO : Validating workflow configuration
[Worker-2: Launching New_configuration] INFO : Creating workflow engine
[Worker-2: Launching New_configuration] INFO : Executing workflow
[Worker-2: Launching New_configuration] INFO : Creating workflow engine and starting workflow
[Worker-2: Launching New_configuration] INFO : Task Sequential Job Execution completed in 0.136300422 seconds
[Worker-2: Launching New_configuration] INFO : Start job: org.palladiosimulator.simulizar.launcher.jobs.PCMStartInterpretationJob@41e806dd
[Worker-2: Launching New_configuration] INFO : Initialise Simulizar runtime state
[Worker-2: Launching New_configuration] INFO : No transformations with extension .henshin was found.
[Worker-2: Launching New_configuration] INFO : No transformations with extension .qvto was found.
[Worker-2: Launching New_configuration] INFO : No transformations with extension .sdm was found.

[Worker-2: Launching New_configuration] FATAL: Workflow terminated unexpectedly
de.uka.ipd.sdq.workflow.WorkflowFailedException: A workflow job failed
at de.uka.ipd.sdq.workflow.jobs.SequentialJob.executeWithImmediateCleanUp(SequentialJob.java:165)
at de.uka.ipd.sdq.workflow.jobs.SequentialJob.execute(SequentialJob.java:77)
at de.uka.ipd.sdq.workflow.BlackboardBasedWorkflow.execute(BlackboardBasedWorkflow.java:82)
at de.uka.ipd.sdq.workflow.Workflow.run(Workflow.java:90)
at de.uka.ipd.sdq.workflow.launchconfig.AbstractWorkflowBasedLaunchConfigurationDelegate.createAndRunWorkflow(AbstractWorkflowBasedLaunchConfigurationDelegate.java:244)
at de.uka.ipd.sdq.workflow.launchconfig.AbstractWorkflowBasedLaunchConfigurationDelegate.launch(AbstractWorkflowBasedLaunchConfigurationDelegate.java:91)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:860)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:719)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1017)
at org.eclipse.debug.internal.ui.DebugUIPlugin$2.run(DebugUIPlugin.java:1220)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Caused by: java.lang.IllegalArgumentException: Calculator "org.palladiosimulator.probeframework.calculator.internal.IdentityCalculator [HDD [0] in Server; Resource Demand Tuple]" already in calculator registry as "org.palladiosimulator.probeframework.calculator.internal.IdentityCalculator [HDD [0] in Server; Resource Demand Tuple]"
at org.palladiosimulator.probeframework.calculator.RegisterCalculatorFactoryDecorator.register(RegisterCalculatorFactoryDecorator.java:124)
at org.palladiosimulator.probeframework.calculator.RegisterCalculatorFactoryDecorator.buildCalculator(RegisterCalculatorFactoryDecorator.java:141)
at org.palladiosimulator.probeframework.calculator.ICalculatorFactoryLegacyAdapter.buildResourceDemandCalculator(ICalculatorFactoryLegacyAdapter.java:122)
at de.uka.ipd.sdq.simucomframework.resources.CalculatorHelper.setupDemandCalculator(CalculatorHelper.java:208)
at org.palladiosimulator.simulizar.modelobserver.ResourceEnvironmentSyncer.attachMonitorForActiveResourceMeasuringPoint(ResourceEnvironmentSyncer.java:416)
at org.palladiosimulator.simulizar.modelobserver.ResourceEnvironmentSyncer$1.caseActiveResourceMeasuringPoint(ResourceEnvironmentSyncer.java:365)
at org.palladiosimulator.simulizar.modelobserver.ResourceEnvironmentSyncer$1.caseActiveResourceMeasuringPoint(ResourceEnvironmentSyncer.java:1)
at org.palladiosimulator.pcmmeasuringpoint.util.PcmmeasuringpointSwitch.doSwitch(PcmmeasuringpointSwitch.java:123)
at org.eclipse.emf.ecore.util.Switch.doSwitch(Switch.java:53)
at org.eclipse.emf.ecore.util.Switch.doSwitch(Switch.java:69)
at org.palladiosimulator.simulizar.modelobserver.ResourceEnvironmentSyncer.attachMonitors(ResourceEnvironmentSyncer.java:369)
at org.palladiosimulator.simulizar.modelobserver.ResourceEnvironmentSyncer.createSimulatedActiveResource(ResourceEnvironmentSyncer.java:258)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at org.palladiosimulator.simulizar.modelobserver.ResourceEnvironmentSyncer.createSimulatedResourceContainer(ResourceEnvironmentSyncer.java:197)
at java.base/java.lang.Iterable.forEach(Iterable.java:75)
at org.palladiosimulator.simulizar.modelobserver.ResourceEnvironmentSyncer.initialize(ResourceEnvironmentSyncer.java:82)
at org.palladiosimulator.simulizar.runtimestate.AbstractSimuLizarRuntimeState.lambda$3(AbstractSimuLizarRuntimeState.java:296)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1510)
at org.palladiosimulator.simulizar.runtimestate.AbstractSimuLizarRuntimeState.initializeModelObservers(AbstractSimuLizarRuntimeState.java:296)
at org.palladiosimulator.simulizar.runtimestate.AbstractSimuLizarRuntimeState.<init>(AbstractSimuLizarRuntimeState.java:109)
at org.palladiosimulator.simulizar.runtimestate.SimuLizarRuntimeState.<init>(SimuLizarRuntimeState.java:34)
at org.palladiosimulator.simulizar.launcher.jobs.PCMStartInterpretationJob.execute(PCMStartInterpretationJob.java:68)
at de.uka.ipd.sdq.workflow.jobs.SequentialJob.executeWithDelayedCleanUp(SequentialJob.java:111)
at de.uka.ipd.sdq.workflow.jobs.SequentialJob.execute(SequentialJob.java:79)
at de.uka.ipd.sdq.workflow.jobs.SequentialBlackboardInteractingJob.execute(SequentialBlackboardInteractingJob.java:86)
at de.uka.ipd.sdq.workflow.jobs.SequentialJob.executeWithImmediateCleanUp(SequentialJob.java:150)
... 10 more
[Worker-2: Launching New_configuration] INFO : Cleaning up...

[Updated on: Mon, 08 June 2020 22:22]

Report message to a moderator

Re: SimuLizar error2 [message #1828392 is a reply to message #1828387] Tue, 09 June 2020 07:36 Go to previous message
Karsten Thoms is currently offline Karsten ThomsFriend
Messages: 762
Registered: July 2009
Location: Dortmund, Germany
Senior Member

I don't know anything about the Palladio Simulator.

In that custom code an "IdentityCalculator" is tried to be registered in the RegisterCalculatorFactoryDecorator. It seems that this is only allowed once.

Could you please reach out to the Palladio team?

Caused by: java.lang.IllegalArgumentException: Calculator "org.palladiosimulator.probeframework.calculator.internal.IdentityCalculator [HDD [0] in Server; Resource Demand Tuple]" already in calculator registry as "org.palladiosimulator.probeframework.calculator.internal.IdentityCalculator [HDD [0] in Server; Resource Demand Tuple]"
at org.palladiosimulator.probeframework.calculator.RegisterCalculatorFactoryDecorator.register(RegisterCalculatorFactoryDecorator.java:124)
Previous Topic:[resolved] Debugging grammar issue not represented in ANTLR
Next Topic:Palladio Component Modeling
Goto Forum:
  


Current Time: Fri Apr 26 06:09:59 GMT 2024

Powered by FUDForum. Page generated in 0.03832 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top