VP quite often freezes right after starting the software or opening a new project. The only thing I got from the log files which looks suspicious to me is
WARNING: Exception on Toolkit thread
java.lang.NullPointerException
at java.desktop/sun.awt.X11.XWindow.handleXCrossingEvent(XWindow.java:936)
at java.desktop/sun.awt.X11.XComponentPeer.handleXCrossingEvent(XComponentPeer.java:74)
at java.desktop/sun.awt.X11.XBaseWindow.dispatchEvent(XBaseWindow.java:1158)
at java.desktop/sun.awt.X11.XBaseWindow.dispatchToWindow(XBaseWindow.java:1116)
at java.desktop/sun.awt.X11.XToolkit.dispatchEvent(XToolkit.java:617)
at java.desktop/sun.awt.X11.XToolkit.run(XToolkit.java:732)
at java.desktop/sun.awt.X11.XToolkit.run(XToolkit.java:648)
at java.base/java.lang.Thread.run(Thread.java:834)
I am not entirely certain if this is the reason for this behavior. Since this happens usually only right after starting the application there might be another reason responsible I found in the logs:
A short update. The software freezes for about 15 minutes and continues then normally with operation. To me this looks like a server issue. Any ideas how to prevent this from happening?
The interesting part here is the time gap between 21:50:30 and 22:21:37. Between these two timestamps VP remained entirely unresponsive which I first considered a freeze. However, it rather seems that the software is doing something which takes quite a while. Any idea what that might be?
So far it seems that the problem has to do with my current firewall settings. However, I still have not figured out which setting exactly is the problem.
Thank you for your post. Are you using any anti-virus products? If so, can you tell me which product you are using? I think the antivirus product should have a whitelist feature, or a list of applications that are allowed through the firewall. If you can find such a feature, could you try adding Visual Paradigm to the list?
Since I run on Linux I do not have an antivirus software running. However, I suspected the systems firewall and shut it down for testing. At first this seemed to solve the problem. Unfortunately from today on the freezes are back (even without the firewall in place). This slowly becomes annoying. This typically happens after committing changes to a model to the cloud.
Below you find the log dump from a session today
[2022/03/15 11:19:39] [message] Connect to repository https://unisoftwareplusv163.de-04.visual-paradigm.com [Success]
[2022/03/15 11:36:14] [error] v.cee.a - getDataAsInputStream : javax.net.ssl.SSLException: Connection timed out (Read failed) (unisoftwareplus)
[2022/03/15 11:38:32] [message] Garbage collection diagram yf8X0P6D.AACAQl0
[2022/03/15 11:38:32] [message] Garbage collection diagram 8cJb44iD.AACARxo
[2022/03/15 11:38:32] [message] Finished garbage collection 2 diagram(s)
[2022/03/15 11:45:54] [message] Garbage collection diagram Flz_0P6D.AACAQ2k
[2022/03/15 11:45:54] [message] Garbage collection diagram UJOsCv6D.AACAR2u
[2022/03/15 11:45:54] [message] Finished garbage collection 2 diagram(s)
[2022/03/15 11:46:54] [message] Garbage collection diagram yf8X0P6D.AACAQl0
[2022/03/15 11:46:54] [message] Finished garbage collection 1 diagram(s)
[2022/03/15 11:49:45] [error] v.cee.a - getDataAsInputStream : java.io.IOException: Server returned HTTP response code: 403 for URL: https://unisoftwareplusv163.de-04.visual-paradigm.com/vpteamwork/VPTeamworkServer?actionType=16&sessionId=3hTosf6FYDwCL7AK (unisoftwareplus)
[2022/03/15 11:54:10] [message] Saved project “IAM” to “/home/usp/ [ REMOVED ].vpp”.
[2022/03/15 11:59:45] [error] v.cee.a - getDataAsInputStream : java.io.IOException: Server returned HTTP response code: 403 for URL: https://unisoftwareplusv163.de-04.visual-paradigm.com/vpteamwork/VPTeamworkServer?actionType=16&sessionId=3hTosf6FYDwCL7AK (unisoftwareplus)
[2022/03/15 12:09:46] [error] v.cee.a - getDataAsInputStream : java.io.IOException: Server returned HTTP response code: 403 for URL: https://unisoftwareplusv163.de-04.visual-paradigm.com/vpteamwork/VPTeamworkServer?actionType=16&sessionId=3hTosf6FYDwCL7AK (unisoftwareplus)
[2022/03/15 12:09:52] [error] v.cee.a - getDataAsInputStream : java.io.IOException: Server returned HTTP response code: 403 for URL: https://unisoftwareplusv163.de-04.visual-paradigm.com/vpteamwork/VPTeamworkServer?actionType=1002 (unisoftwareplus)
[2022/03/15 12:09:55] [error] v.cee.a - getDataAsInputStream : java.io.IOException: Server returned HTTP response code: 403 for URL: https://unisoftwareplusv163.de-04.visual-paradigm.com/vpteamwork/VPTeamworkServer?actionType=1002 (unisoftwareplus)
[2022/03/15 12:49:50] [error] v.cee.a - getDataAsInputStream : java.io.IOException: Server returned HTTP response code: 403 for URL: https://unisoftwareplusv163.de-04.visual-paradigm.com/vpteamwork/VPTeamworkServer?actionType=16&sessionId=3hTosf6FYDwCL7AK (unisoftwareplus)
[2022/03/15 12:59:51] [error] v.cee.a - getDataAsInputStream : java.io.IOException: Server returned HTTP response code: 403 for URL: https://unisoftwareplusv163.de-04.visual-paradigm.com/vpteamwork/VPTeamworkServer?actionType=16&sessionId=3hTosf6FYDwCL7AK (unisoftwareplus)
[2022/03/15 13:09:16] [message] Garbage collection diagram zngjLEiD.AACAbCU
[2022/03/15 13:09:16] [message] Garbage collection diagram UJOsCv6D.AACAR2u
[2022/03/15 13:09:16] [message] Garbage collection diagram PhR_2P6D.AACAQxv
[2022/03/15 13:09:16] [message] Finished garbage collection 3 diagram(s)
[2022/03/15 13:11:15] [message] Saved project “IAM” to “/home/usp/ewintersberger/.config/VisualParadigm/ws_unisoftwareplus/teamwork_client/projects/IAM/IAM.vpp”.
[2022/03/15 13:12:40] [message] Garbage collection diagram yf8X0P6D.AACAQl0
[2022/03/15 13:12:40] [message] Finished garbage collection 1 diagram(s)
[2022/03/15 13:18:09] [message] Garbage collection diagram _snSC4iD.AACAQuj
[2022/03/15 13:18:09] [message] Finished garbage collection 1 diagram(s)
[2022/03/15 13:20:34] [message] Saved project “IAM” to “/home/[REMOVED].vpp”.
[2022/03/15 13:40:54] [message] Garbage collection diagram wz0XOP6D.AACARgN
[2022/03/15 13:40:54] [message] Garbage collection diagram FJof2P6D.AACAQoY
[2022/03/15 13:40:54] [message] Garbage collection diagram UJOsCv6D.AACAR2u
[2022/03/15 13:40:54] [message] Finished garbage collection 3 diagram(s)
[2022/03/15 13:41:24] [message] Saved project “IAM” to “/home/u…vpp”.
[2022/03/15 13:41:54] [message] Garbage collection diagram yf8X0P6D.AACAQl0
[2022/03/15 13:41:54] [message] Finished garbage collection 1 diagram(s)
[2022/03/15 13:42:54] [message] Garbage collection diagram _snSC4iD.AACAQuj
[2022/03/15 13:42:54] [message] Garbage collection diagram CcJb44iD.AACARxq
[2022/03/15 13:42:54] [message] Finished garbage collection 2 diagram(s)
[2022/03/15 13:46:57] [error] Agile initiate failed. (Error Code: UX0020)
[2022/03/15 13:46:58] [message] Exception in thread “AWT-EventQueue-0”
[2022/03/15 13:46:58] [message] javax.ws.rs.ProcessingException: javax.net.ssl.SSLException: Connection reset
[2022/03/15 13:46:58] [message] at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:284)
[2022/03/15 13:46:58] [message] at org.glassfish.jersey.client.ClientRuntime.invoke(ClientRuntime.java:278)
[2022/03/15 13:46:58] [message] at org.glassfish.jersey.client.JerseyInvocation.lambda$invoke$0(JerseyInvocation.java:753)
[2022/03/15 13:46:58] [message] at org.glassfish.jersey.internal.Errors.process(Errors.java:316)
[2022/03/15 13:46:58] [message] at org.glassfish.jersey.internal.Errors.process(Errors.java:298)
[2022/03/15 13:46:58] [message] at org.glassfish.jersey.internal.Errors.process(Errors.java:229)
[2022/03/15 13:46:58] [message] at org.glassfish.jersey.process.internal.RequestScope.runInScope(RequestScope.java:414)
[2022/03/15 13:46:58] [message] at org.glassfish.jersey.client.JerseyInvocation.invoke(JerseyInvocation.java:752)
[2022/03/15 13:46:58] [message] at org.glassfish.jersey.client.JerseyInvocation$Builder.method(JerseyInvocation.java:445)
[2022/03/15 13:46:58] [message] at org.glassfish.jersey.client.JerseyInvocation$Builder.post(JerseyInvocation.java:351)
[2022/03/15 13:46:58] [message] at v.cgq.ax.a(:544)
[2022/03/15 13:46:58] [message] at v.cgq.ax.s(:510)
[2022/03/15 13:46:58] [message] at v.cgq.bj.v(:34)
[2022/03/15 13:46:58] [message] at v.cgv.p.b(:93)
[2022/03/15 13:46:58] [message] at v.cgv.p.a(:81)
[2022/03/15 13:46:58] [message] at v.cgq.w.a(:1190)
[2022/03/15 13:46:58] [message] at v.cgq.p.a(:141)
[2022/03/15 13:46:58] [message] at v.cgq.p.a(:79)
[2022/03/15 13:46:58] [message] at v.dma.q.a(:279)
[2022/03/15 13:46:58] [message] at v.crk.z.a(:486)
[2022/03/15 13:46:58] [message] at v.crk.z.(:130)
[2022/03/15 13:46:58] [message] at v.crk.k.(:790)
[2022/03/15 13:46:58] [message] at v.crk.e.a(:790)
[2022/03/15 13:46:58] [message] at v.crk.e.a(:495)
[2022/03/15 13:46:58] [message] at v.crk.e.d(:489)
[2022/03/15 13:46:58] [message] at v.dgt.uj.actionPerformed(:392)
[2022/03/15 13:46:58] [message] at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967)
[2022/03/15 13:46:58] [message] at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308)
[2022/03/15 13:46:58] [message] at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
[2022/03/15 13:46:58] [message] at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
[2022/03/15 13:46:58] [message] at java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:369)
[2022/03/15 13:46:58] [message] at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1020)
[2022/03/15 13:46:58] [message] at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1064)
[2022/03/15 13:46:58] [message] at java.desktop/java.awt.Component.processMouseEvent(Component.java:6635)
[2022/03/15 13:46:58] [message] at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
[2022/03/15 13:46:58] [message] at java.desktop/java.awt.Component.processEvent(Component.java:6400)
[2022/03/15 13:46:58] [message] at java.desktop/java.awt.Container.processEvent(Container.java:2263)
[2022/03/15 13:46:58] [message] at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:5011)
[2022/03/15 13:46:58] [message] at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2321)
[2022/03/15 13:46:58] [message] at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
[2022/03/15 13:46:58] [message] at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918)
[2022/03/15 13:46:58] [message] at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547)
[2022/03/15 13:46:58] [message] at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488)
[2022/03/15 13:46:58] [message] at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2307)
[2022/03/15 13:46:58] [message] at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2772)
[2022/03/15 13:46:58] [message] at java.desktop/java.awt.Component.dispatchEvent(Component.java:4843)
[2022/03/15 13:46:58] [message] at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
[2022/03/15 13:46:58] [message] at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
[2022/03/15 13:46:58] [message] at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
[2022/03/15 13:46:58] [message] at java.base/java.security.AccessController.doPrivileged(Native Method)
[2022/03/15 13:46:58] [message] at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
[2022/03/15 13:46:58] [message] at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
[2022/03/15 13:46:58] [message] at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
[2022/03/15 13:46:58] [message] at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
[2022/03/15 13:46:58] [message] at java.base/java.security.AccessController.doPrivileged(Native Method)
[2022/03/15 13:46:58] [message] at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
[2022/03/15 13:46:58] [message] at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
[2022/03/15 13:46:58] [message] at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
[2022/03/15 13:46:58] [message] at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
[2022/03/15 13:46:58] [message] at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
[2022/03/15 13:46:58] [message] at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
[2022/03/15 13:46:58] [message] at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
[2022/03/15 13:46:58] [message] at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
[2022/03/15 13:46:58] [message] Caused by: javax.net.ssl.SSLException: Connection reset
[2022/03/15 13:46:58] [message] at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:127)
[2022/03/15 13:46:58] [message] at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:349)
[2022/03/15 13:46:58] [message] at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:292)
[2022/03/15 13:46:58] [message] at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:287)
[2022/03/15 13:46:58] [message] at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:144)
[2022/03/15 13:46:58] [message] at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1408)
[2022/03/15 13:46:58] [message] at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1314)
[2022/03/15 13:46:58] [message] at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:440)
[2022/03/15 13:46:58] [message] at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:411)
[2022/03/15 13:46:58] [message] at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:567)
[2022/03/15 13:46:58] [message] at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:197)
[2022/03/15 13:46:58] [message] at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1592)
[2022/03/15 13:46:58] [message] at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520)
[2022/03/15 13:46:58] [message] at java.base/java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:527)
[2022/03/15 13:46:58] [message] at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:334)
[2022/03/15 13:46:58] [message] at org.glassfish.jersey.client.internal.HttpUrlConnector._apply(HttpUrlConnector.java:390)
[2022/03/15 13:46:58] [message] at org.glassfish.jersey.client.internal.HttpUrlConnector.apply(HttpUrlConnector.java:282)
[2022/03/15 13:46:58] [message] … 62 more
[2022/03/15 13:46:58] [message] Suppressed: java.net.SocketException: Broken pipe (Write failed)
[2022/03/15 13:46:58] [message] at java.base/java.net.SocketOutputStream.socketWrite0(Native Method)
[2022/03/15 13:46:58] [message] at java.base/java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:110)
[2022/03/15 13:46:58] [message] at java.base/java.net.SocketOutputStream.write(SocketOutputStream.java:150)
[2022/03/15 13:46:58] [message] at java.base/sun.security.ssl.SSLSocketOutputRecord.encodeAlert(SSLSocketOutputRecord.java:81)
[2022/03/15 13:46:58] [message] at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:380)
[2022/03/15 13:46:58] [message] … 77 more
[2022/03/15 13:46:58] [message] Caused by: java.net.SocketException: Connection reset
[2022/03/15 13:46:58] [message] at java.base/java.net.SocketInputStream.read(SocketInputStream.java:186)
[2022/03/15 13:46:58] [message] at java.base/java.net.SocketInputStream.read(SocketInputStream.java:140)
[2022/03/15 13:46:58] [message] at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:478)
[2022/03/15 13:46:58] [message] at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:472)
[2022/03/15 13:46:58] [message] at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:160)
[2022/03/15 13:46:58] [message] at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:110)
[2022/03/15 13:46:58] [message] … 74 more
[2022/03/15 13:55:33] [message] [Fatal Error] :9:4: The markup in the document following the root element must be well-formed.
[2022/03/15 13:55:37] [message] Connect to repository https://unisoftwareplusv163.de-04.visual-paradigm.com [Success]
[2022/03/15 14:12:05] [warning] javax.net.ssl.SSLException: Connection timed out (Read failed)
at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:127)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:349)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:292)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:287)
at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:144)
at java.base/sun.security.ssl.SSLSocketImpl.decode(SSLSocketImpl.java:1408)
at java.base/sun.security.ssl.SSLSocketImpl.readHandshakeRecord(SSLSocketImpl.java:1314)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:440)
at java.base/sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:411)
at java.base/sun.net.www.protocol.https.HttpsClient.afterConnect(HttpsClient.java:567)
at java.base/sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(AbstractDelegateHttpsURLConnection.java:197)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1592)
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1520)
at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:250)
at v.bwq.bh.a(:102)
at v.bwq.av.a(:519)
at v.bfh.en.a(:284)
at v.bfh.en.k(:237)
at v.bfh.en.c(:23)
at v.bfh.eq.run(:370)
Suppressed: java.net.SocketException: Broken pipe (Write failed)
at java.base/java.net.SocketOutputStream.socketWrite0(Native Method)
at java.base/java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:110)
at java.base/java.net.SocketOutputStream.write(SocketOutputStream.java:150)
at java.base/sun.security.ssl.SSLSocketOutputRecord.encodeAlert(SSLSocketOutputRecord.java:81)
at java.base/sun.security.ssl.TransportContext.fatal(TransportContext.java:380)
… 18 more
Caused by: java.net.SocketException: Connection timed out (Read failed)
at java.base/java.net.SocketInputStream.socketRead0(Native Method)
at java.base/java.net.SocketInputStream.socketRead(SocketInputStream.java:115)
at java.base/java.net.SocketInputStream.read(SocketInputStream.java:168)
at java.base/java.net.SocketInputStream.read(SocketInputStream.java:140)
at java.base/sun.security.ssl.SSLSocketInputRecord.read(SSLSocketInputRecord.java:478)
at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(SSLSocketInputRecord.java:472)
at java.base/sun.security.ssl.SSLSocketInputRecord.decode(SSLSocketInputRecord.java:160)
at java.base/sun.security.ssl.SSLTransport.decode(SSLTransport.java:110)
… 15 more
We found that it could be caused by a Java issue. We tried to handle that in our latest installation, which means, if you re-install Visual Paradigm, it should work. If not, you can run with the following Java argument:
-Djdk.tls.client.protocols=TLSv1.2
Steps:
Go to %appdata%\VisualParadigm
Edit the vplauncher.vmoptions by adding the following line
-Djdk.tls.client.protocols=TLSv1.2
I am currently running the build 20220215 which is also what I get actually as a download. So at least my Installation seems to be the most recent one. The file vplauncher.vmoptions does not exist on Linux by default. I just discovered it by accident after allowing VP to allocate more memory. On Linux the file is stored in $HOME/.config/VisualParadigm/vplauncher.vmoptions. I will give this a try now.
Thanks for your reply. Could you try to reinstall Visual Paradigm? This problem was caused by a Java issue that was resolved in a newer version of Java that was bundled with our installation. However, our update program does not update the JRE in the installation, which means that a re-installation is required to update the JRE. You can download the latest build here.