Registration: Failed to connect to Visual Paradigm servers

I’m trying to register Visual Paradigm v15.2 (Build 20190501) on Manjaro Linux.

However, after fulfilling my information and clicking “continue”, I keep getting the following error:

I don’t have any active firewalls that might be preventing the communication.

Hi,

Could you please attach your vp.log?

Looks like there is some permission issues:

[2019/05/29 10:27:47] [message] [Wed May 29 10:27:47 BRT 2019]: Start Visual Paradigm Community Edition [VP CE]: 15.2 (20190501)
[2019/05/29 10:27:47] [message] Operating system: Linux 4.19.42-1-MANJARO running on amd64
[2019/05/29 10:27:47] [message] Java VM: 1.8.0_212 Java HotSpot(TM) 64-Bit Server VM, vendor 25.212-b10 Oracle Corporation
[2019/05/29 10:27:47] [message] User: henrique, language: pt
[2019/05/29 10:27:47] [message] Installation ID: 933fd0183f65cb549983202a436a6b9f
[2019/05/29 10:27:47] [message] Memory: current=245M, max=455M
[2019/05/29 10:27:47] [message] start startup getLicenseKey on 29-mai-2019
[2019/05/29 10:27:47] [message] getLicenseKey in local ...
[2019/05/29 10:27:47] [message] finish startup getLicenseKey
[2019/05/29 10:27:47] [message] getVerifiedLicenseKey: null; state=Activating
[2019/05/29 10:27:47] [message] Workspace: /home/henrique/.config/VisualParadigm/ws
[2019/05/29 10:27:49] [message] Opening Project: /home/henrique/.config/VisualParadigm/ws/.vpprefdata/.systemproject.vpp
[2019/05/29 10:27:52] [message] Cannot write to folder: /usr/share/visual-paradigm-community/bin (Access is denied)
[2019/05/29 10:27:52] [message] Cannot write to file: /usr/share/visual-paradigm-community/bin/Visual_Paradigm_Fixed.vmoptions (Access is denied)
[2019/05/29 10:27:55] [message] Opening Project: /home/henrique/Desktop/Finaxis/Arquitetura/Geração Automática VI/apiTransferenciaVIautomatizado.vpp
[2019/05/29 10:27:57] [message] Open Project "/home/henrique/Desktop/Finaxis/Arquitetura/Geração Automática VI/apiTransferenciaVIautomatizado.vpp", Time Used: 2 seconds, Memory: 337.0 MB (353370112), Project File Size: 681.0 KB (697344), Diagram Count: 1
[2019/05/29 10:28:18] [message] mai 29, 2019 10:28:18 AM java.util.prefs.FileSystemPreferences checkLockFile0ErrorCode
ADVERTÊNCIA: Could not lock System prefs. Unix error code 0.
[2019/05/29 10:28:18] [message] mai 29, 2019 10:28:18 AM java.util.prefs.FileSystemPreferences syncWorld
ADVERTÊNCIA: Couldn't flush system prefs: java.util.prefs.BackingStoreException: Couldn't get file lock.
[2019/05/29 10:28:18] [warning] javax.net.ssl.SSLException: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
	at sun.security.ssl.Alerts.getSSLException(Alerts.java:208)
	at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1946)
	at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1903)
	at sun.security.ssl.SSLSocketImpl.handleException(SSLSocketImpl.java:1886)
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1402)
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1379)
	at sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:559)
	at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:185)
	at sun.net.www.protocol.http.HttpURLConnection.getOutputStream0(HttpURLConnection.java:1334)
	at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(HttpURLConnection.java:1309)
	at sun.net.www.protocol.https.HttpsURLConnectionImpl.getOutputStream(HttpsURLConnectionImpl.java:259)
	at v.byz.bb.a(:124)
	at v.byz.bb.a(:80)
	at v.cfa.x.a(:1379)
	at v.aux.fp.a(:1265)
	at v.cfh.de.a(:421)
	at v.cfh.co.w(:394)
	at v.cfh.cu.actionPerformed(:108)
	at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
	at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
	at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
	at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
	at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252)
	at java.awt.Component.processMouseEvent(Component.java:6539)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
	at java.awt.Component.processEvent(Component.java:6304)
	at java.awt.Container.processEvent(Container.java:2239)
	at java.awt.Component.dispatchEventImpl(Component.java:4889)
	at java.awt.Container.dispatchEventImpl(Container.java:2297)
	at java.awt.Component.dispatchEvent(Component.java:4711)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
	at java.awt.Container.dispatchEventImpl(Container.java:2283)
	at java.awt.Window.dispatchEventImpl(Window.java:2746)
	at java.awt.Component.dispatchEvent(Component.java:4711)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
	at java.awt.EventQueue$4.run(EventQueue.java:733)
	at java.awt.EventQueue$4.run(EventQueue.java:731)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:109)
	at java.awt.WaitDispatchSupport$2.run(WaitDispatchSupport.java:190)
	at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:235)
	at java.awt.WaitDispatchSupport$4.run(WaitDispatchSupport.java:233)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.awt.WaitDispatchSupport.enter(WaitDispatchSupport.java:233)
	at java.awt.Dialog.show(Dialog.java:1084)
	at java.awt.Component.show(Component.java:1671)
	at java.awt.Component.setVisible(Component.java:1623)
	at java.awt.Window.setVisible(Window.java:1014)
	at java.awt.Dialog.setVisible(Dialog.java:1005)
	at v.aux.fo.b(:1092)
	at v.cfa.e.run(:187)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
	at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
	at java.awt.EventQueue.access$500(EventQueue.java:97)
	at java.awt.EventQueue$3.run(EventQueue.java:709)
	at java.awt.EventQueue$3.run(EventQueue.java:703)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.RuntimeException: Unexpected error: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
	at sun.security.validator.PKIXValidator.<init>(PKIXValidator.java:91)
	at sun.security.validator.Validator.getInstance(Validator.java:181)
	at sun.security.ssl.X509TrustManagerImpl.getValidator(X509TrustManagerImpl.java:318)
	at sun.security.ssl.X509TrustManagerImpl.checkTrustedInit(X509TrustManagerImpl.java:179)
	at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:192)
	at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:132)
	at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1621)
	at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:223)
	at sun.security.ssl.Handshaker.processLoop(Handshaker.java:1037)
	at sun.security.ssl.Handshaker.process_record(Handshaker.java:965)
	at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1064)
	at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1367)
	at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1395)
	... 72 more
Caused by: java.security.InvalidAlgorithmParameterException: the trustAnchors parameter must be non-empty
	at java.security.cert.PKIXParameters.setTrustAnchors(PKIXParameters.java:200)
	at java.security.cert.PKIXParameters.<init>(PKIXParameters.java:120)
	at java.security.cert.PKIXBuilderParameters.<init>(PKIXBuilderParameters.java:104)
	at sun.security.validator.PKIXValidator.<init>(PKIXValidator.java:89)
	... 84 more

[2019/05/29 10:28:22] [message] Cannot write to folder: /usr/share/visual-paradigm-community/bin (Access is denied)
[2019/05/29 10:28:22] [message] Cannot write to file: /usr/share/visual-paradigm-community/bin/Visual_Paradigm_Fixed.vmoptions (Access is denied)

Should I run VP as sudo, change permission or is it something else?

If I run as sudo, it works perfectly: I can register VP, but if I run it as normal user again, it still prompts me for activation. The results are the same as the orignal ones.

Hi,

It seems related to your JRE. We bundled a JRE (/home/kit/daily_clean/Visual_Paradigm_CE_15.2/jre/bin) and should be used by default. Did you changed to your JRE? Can you try the bundled JRE?

I have another version of JRE installed globally in my machine, but I didn’t change anything for Visual Paradigm.

Is there any way of configure it to force it to use such version?


Edit: maybe this is relevant: I’ve installed Visual Paradigm from AUR.

Hi,

It should be the problem of your JRE.
Can you try this workaround by added “-Djavax.net.ssl.trustStore=/etc/ssl/certs/java/cacerts.” JVM option?
https://bugs.archlinux.org/task/55717

That solved it. Thank’s a lot @Kit.So