Re: Firma elettronica e supporto aruba.
ho alzato il livello di log e su bookworm trovo questi errori:
2024-02-21 16:40:01,148 [main] [ERROR] Browser.<init>(Browser.java:27) -
java.lang.reflect.InvocationTargetException
at
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
Source)
at
java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
at
java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Unknown
Source)
at java.base/java.lang.reflect.Constructor.newInstance(Unknown
Source)
at
esecurity.desktop.swt.ReflectedClass.init(ReflectedClass.java:49)
at esecurity.desktop.swt.Browser.<init>(Browser.java:25)
at
esecurity.desktop.swt.SWTView.lambda$initialize$2(SWTView.java:316)
at org.eclipse.swt.widgets.RunnableLock.run(Unknown Source)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Unknown
Source)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Unknown
Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at jdk.internal.reflect.GeneratedMethodAccessor7.invoke(Unknown
Source)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at
esecurity.desktop.swt.ReflectedClass.callMethod(ReflectedClass.java:62)
at
esecurity.desktop.swt.ReflectedClass.callMethodAsBoolean(ReflectedClass.java:110)
at esecurity.desktop.swt.Display.readAndDispatch(Display.java:57)
at esecurity.desktop.swt.SWTView.startUIThread(SWTView.java:110)
at it.arubapec.arubasign.ArubaSignApp.main(ArubaSignApp.java:240)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at esecurity.trustloader.TrustLauncher.run(TrustLauncher.java:26)
at esecurity.trustloader.TrustLauncher.runMain(Native Method)
at esecurity.trustloader.ArubaLauncher.main(ArubaLauncher.java:20)
Caused by: org.eclipse.swt.SWTError: No more handles [Browser style
SWT.MOZILLA and Java system property
org.eclipse.swt.browser.DefaultType=mozilla are not supported with GTK 3
as XULRunner is not ported for GTK 3 yet]
at org.eclipse.swt.SWT.error(Unknown Source)
at org.eclipse.swt.browser.MozillaDelegate.<init>(Unknown Source)
at org.eclipse.swt.browser.Mozilla.create(Unknown Source)
at org.eclipse.swt.browser.Browser.<init>(Unknown Source)
... 27 more
2024-02-21 16:40:01,151 [main] [ERROR]
Browser.addProgressListener(Browser.java:44) - Cannot invoke
"Object.getClass()" because "<parameter1>" is null
java.lang.NullPointerException: Cannot invoke "Object.getClass()" because
"<parameter1>" is null
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at
esecurity.desktop.swt.ReflectedClass.callMethod(ReflectedClass.java:62)
at
esecurity.desktop.swt.Browser.addProgressListener(Browser.java:42)
at
esecurity.desktop.swt.SWTView.lambda$initialize$2(SWTView.java:321)
at org.eclipse.swt.widgets.RunnableLock.run(Unknown Source)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Unknown
Source)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Unknown
Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at jdk.internal.reflect.GeneratedMethodAccessor7.invoke(Unknown
Source)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at
esecurity.desktop.swt.ReflectedClass.callMethod(ReflectedClass.java:62)
at
esecurity.desktop.swt.ReflectedClass.callMethodAsBoolean(ReflectedClass.java:110)
at esecurity.desktop.swt.Display.readAndDispatch(Display.java:57)
at esecurity.desktop.swt.SWTView.startUIThread(SWTView.java:110)
at it.arubapec.arubasign.ArubaSignApp.main(ArubaSignApp.java:240)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at esecurity.trustloader.TrustLauncher.run(TrustLauncher.java:26)
at esecurity.trustloader.TrustLauncher.runMain(Native Method)
at esecurity.trustloader.ArubaLauncher.main(ArubaLauncher.java:20)
2024-02-21 16:40:01,161 [main] [ERROR]
BrowserFunction.<init>(BrowserFunction.java:36) -
java.lang.reflect.InvocationTargetException
at
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Method)
at
java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(Unknown
Source)
at
java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
Source)
at
java.base/java.lang.reflect.Constructor.newInstanceWithCaller(Unknown
Source)
at java.base/java.lang.reflect.Constructor.newInstance(Unknown
Source)
at
esecurity.desktop.swt.ReflectedClass.init(ReflectedClass.java:49)
at
esecurity.desktop.swt.BrowserFunction.<init>(BrowserFunction.java:34)
at esecurity.desktop.swt.SWTView$10.<init>(SWTView.java:578)
at
esecurity.desktop.swt.SWTView.lambda$registerJsMethod$6(SWTView.java:578)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Unknown Source)
at org.eclipse.swt.widgets.Display.syncExec(Unknown Source)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at
esecurity.desktop.swt.ReflectedClass.callMethod(ReflectedClass.java:62)
at esecurity.desktop.swt.Display.syncExec(Display.java:75)
at
esecurity.desktop.swt.SWTView.registerJsMethod(SWTView.java:577)
at
esecurity.desktop.swt.SWTView.lambda$initialize$2(SWTView.java:337)
at org.eclipse.swt.widgets.RunnableLock.run(Unknown Source)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Unknown
Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at jdk.internal.reflect.GeneratedMethodAccessor7.invoke(Unknown
Source)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at
esecurity.desktop.swt.ReflectedClass.callMethod(ReflectedClass.java:62)
at
esecurity.desktop.swt.ReflectedClass.callMethodAsBoolean(ReflectedClass.java:110)
at esecurity.desktop.swt.Display.readAndDispatch(Display.java:57)
at esecurity.desktop.swt.SWTView.startUIThread(SWTView.java:110)
at it.arubapec.arubasign.ArubaSignApp.main(ArubaSignApp.java:240)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at esecurity.trustloader.TrustLauncher.run(TrustLauncher.java:26)
at esecurity.trustloader.TrustLauncher.runMain(Native Method)
at esecurity.trustloader.ArubaLauncher.main(ArubaLauncher.java:20)
Caused by: java.lang.IllegalArgumentException: Argument cannot be null
at org.eclipse.swt.SWT.error(Unknown Source)
at org.eclipse.swt.SWT.error(Unknown Source)
at org.eclipse.swt.SWT.error(Unknown Source)
at org.eclipse.swt.SWT.error(Unknown Source)
at org.eclipse.swt.browser.BrowserFunction.<init>(Unknown Source)
at org.eclipse.swt.browser.BrowserFunction.<init>(Unknown Source)
at
esecurity.browserfunction.BrowserFunction$1.<init>(BrowserFunction.java:21)
at
esecurity.browserfunction.BrowserFunction.<init>(BrowserFunction.java:21)
... 38 more
2024-02-21 16:40:01,255 [main] [DEBUG]
SWTView.lambda$initialize$2(SWTView.java:341) - Platform is Linux, create
file: /tmp/page14658092683642417262.html
2024-02-21 16:40:01,262 [main] [ERROR] Browser.setUrl(Browser.java:61) -
Cannot invoke "Object.getClass()" because "<parameter1>" is null
java.lang.NullPointerException: Cannot invoke "Object.getClass()" because
"<parameter1>" is null
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at
esecurity.desktop.swt.ReflectedClass.callMethod(ReflectedClass.java:62)
at
esecurity.desktop.swt.ReflectedClass.callMethodAsBoolean(ReflectedClass.java:110)
at esecurity.desktop.swt.Browser.setUrl(Browser.java:59)
at
esecurity.desktop.swt.SWTView.lambda$initialize$2(SWTView.java:345)
at org.eclipse.swt.widgets.RunnableLock.run(Unknown Source)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Unknown
Source)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Unknown
Source)
at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
at jdk.internal.reflect.GeneratedMethodAccessor7.invoke(Unknown
Source)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at
esecurity.desktop.swt.ReflectedClass.callMethod(ReflectedClass.java:62)
at
esecurity.desktop.swt.ReflectedClass.callMethodAsBoolean(ReflectedClass.java:110)
at esecurity.desktop.swt.Display.readAndDispatch(Display.java:57)
at esecurity.desktop.swt.SWTView.startUIThread(SWTView.java:110)
at it.arubapec.arubasign.ArubaSignApp.main(ArubaSignApp.java:240)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native
Method)
at
java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown
Source)
at
java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown
Source)
at java.base/java.lang.reflect.Method.invoke(Unknown Source)
at esecurity.trustloader.TrustLauncher.run(TrustLauncher.java:26)
(…)
e così via.
Idee sul perché e rimedi ?
On Wed, 21 Feb 2024, Roberto Resoli wrote:
Credo si tratti di un problema che altri hanno riscontrato, non si tratta di
un crash, ma 'solo' del fatto che la finestra di interfaccia è completamente
vuota.
Per avere un log di debug prova ad aggiuungere
core.logLevel=DEBUG
al file di properties
~/.ArubaSign/ArubaSign.properties
--
Leonardo Boselli
Firenze, Toscana, Europa
Reply to: