With P6 Professional API call works only when Java application is launched in administrator mode.
I see strange behavior with P6 20.12 Professional Project Management Integration API. If main application which launches Java applicating using Javaw.exe, it works only if main application is launched as an administrator mode. It shows the errors if main application which launches Java application is not launched as admin. It was working OK with P6 18.8 but this is a strange behavior. Below are the errors:
Original Exception:
java.lang.ExceptionInInitializerError
at com.primavera.integration.client.LocalSession.login(LocalSession.java:91)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)