Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java Exception Error #107

Closed
Armin268 opened this issue Jan 18, 2023 · 1 comment
Closed

Java Exception Error #107

Armin268 opened this issue Jan 18, 2023 · 1 comment
Labels
duplicate Issue or pull request already exists.

Comments

@Armin268
Copy link

During running the codes, I got this error.
any help would be appreciated.

ERROR:

Traceback (most recent call last):
File "SourceFile", line 169, in com.comsol.model.util.ModelUtil.load
Exception: Java Exception

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.10_3.10.2544.0_x64__qbz5n2kfra8p0\lib\idlelib\run.py", line 578, in runcode
exec(code, self.locals)
File "C:\Users\armin\Documents\PFC-CFD\PFC_COMSOL\MPh-Test\MPh-main\tests\capacitor.py", line 3, in
model = client.load('capacitor.mph')
File "C:\Users\armin\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\mph\client.py", line 322, in load
model = Model(self.java.load(tag, str(file)))
java.lang.java.lang.UnsatisfiedLinkError: java.lang.UnsatisfiedLinkError: 'void com.comsol.nativejni.util.FlLicense.initWS0(com.comsol.nativejni.CPointer, java.lang.String)'

@john-hen
Copy link
Collaborator

This has been reported before. Please refer to the original issue #57 or the other duplicate #87.

@john-hen john-hen added the duplicate Issue or pull request already exists. label Jan 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate Issue or pull request already exists.
Projects
None yet
Development

No branches or pull requests

2 participants