Skip to content

JVM cannot be restarted #6

Closed
Closed
@xtrojak

Description

@xtrojak

Restarting a node (eg. end and start again) resulted to the following error:

192.168.17.1 - - [24/Oct/2019 18:02:19] "POST /initiate HTTP/1.1" 200 -

Exception in thread 1PBR-checker:
Traceback (most recent call last):
  File "/usr/lib/python3.5/threading.py", line 914, in _bootstrap_inner
    self.run()
  File "/home/pi/PBRcontrol/DataManager/executioner.py", line 48, in run
    device = interpreter.DeviceManager(*arguments)  # initiate the physical device and its interpreter
  File "/home/pi/PBRcontrol/DataManager/interpreterPBR.py", line 49, in __init__
    super(DeviceManager, self).__init__(device_details, device_class, log)
  File "/home/pi/PBRcontrol/DataManager/base_interpreter.py", line 9, in __init__
    self.device = device_class(self.device_details['device_type'], self.device_details['address'])
  File "/home/pi/PBRcontrol/HWdevices/PSI_java/PBR.py", line 7, in __init__
    super(PBR, self).__init__(ID, address, "/home/pi/PBRcontrol/HWdevices/PSI_java/lib/config/device_PBR.config")
  File "/home/pi/PBRcontrol/HWdevices/PSI_java/Device.py", line 16, in __init__
    self.device = self.connect(device_config)
  File "/home/pi/PBRcontrol/HWdevices/PSI_java/Device.py", line 20, in connect
    "-Djava.class.path=/home/pi/PBRcontrol/HWdevices/PSI_java/lib/jar/bioreactor-commander-0.8.7.jar")
  File "/home/pi/.local/lib/python3.5/site-packages/jpype/_core.py", line 157, in startJVM
    raise OSError('JVM cannot be restarted')
OSError: JVM cannot be restarted

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions