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

umlet standalone window not showing up on windows 10 #672

Open
robibobi opened this issue Mar 18, 2022 · 8 comments
Open

umlet standalone window not showing up on windows 10 #672

robibobi opened this issue Mar 18, 2022 · 8 comments

Comments

@robibobi
Copy link

When i start umlet, the applications starts but the window is not visible. When i click on the umlet Tab on the taskbar, the window is not shown. When i press Alt + TAB to open the window switcher, the umlet windows is shown but with blank white content.

image

I tried with standalone version 14.3.0, 14.2, and 14.1.1 and none of them worked.

I added some logging configuration as explained in this issue. But there is no exception or error log when i start umlet using the command line. This is the logging output:

❯ java "-Dlog4j.configuration=file:log4j.properties" -jar umlet.jar
2022-03-18 07:23:44,614 |      0 | INFO  | com.baselet.control.enums.Program | Initializing Program: Version=14.3.0, Runtime=STANDALONE
2022-03-18 07:23:44,683 |     69 | INFO  | com.baselet.control.Main       | Initializing GUI ...
2022-03-18 07:23:46,285 |   1671 | INFO  | com.baselet.control.Main       | GUI initialized

Im Running windows 10 Version 10.0.19044
Here is my java version:

❯ java -version
java version "1.8.0_281"
Java(TM) SE Runtime Environment (build 1.8.0_281-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.281-b09, mixed mode)

Do you have an idea how to solve this issue?

@afdia
Copy link
Collaborator

afdia commented Mar 18, 2022

Hi

I have not experienced that issue (and I dont remember someone reporting the exact behavior).
Maybe check that your user has read/write access to the Umlet dir and its subdirs.

Another alternative would be to use www.umletino.com which supports most of Umlets features but runs in the browser

@zocker-160
Copy link

The same happens on Linux as well when running with Java 8.

Upgrading to Java 17 fixes the issue, so I think that could be a solution for Windows as well.

@robibobi
Copy link
Author

robibobi commented May 6, 2022

Hi

I have not experienced that issue (and I dont remember someone reporting the exact behavior). Maybe check that your user has read/write access to the Umlet dir and its subdirs.

Another alternative would be to use www.umletino.com which supports most of Umlets features but runs in the browser

Thanks for your response. My user has read/write access on the directory. I also tried different directories but with no luck.
I use Umletino now as a workarround.

The same happens on Linux as well when running with Java 8.

Upgrading to Java 17 fixes the issue, so I think that could be a solution for Windows as well.

Do you mean the Java 17 JDK? I gave it a try and installed it. Unfortunately it did not solve the problem.

@ckaiser79
Copy link

Its been a while, but I ran into the same error. I see a failed update check in the startup log (which is blocked by a firewall).

C:\devel\opt\Umlet>C:\coprogramme\java\jdk-11.0.14.1+1\bin\java.exe -D"log4j.configuration=file:log4j.properties" -jar umlet.jar
INFO  Program - Initializing Program: Version=15.0.0, Runtime=STANDALONE
INFO  Main - Initializing GUI ...
INFO  Main - GUI initialized
ERROR StartUpHelpText - Error at checking for new UMLet version
java.net.UnknownHostException: www.umlet.com
        at java.base/java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:229)
        at java.base/java.net.Socket.connect(Socket.java:609)
        at java.base/java.net.Socket.connect(Socket.java:558)
        at java.base/sun.net.NetworkClient.doConnect(NetworkClient.java:182)
        at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:474)
        at java.base/sun.net.www.http.HttpClient.openServer(HttpClient.java:569)
        at java.base/sun.net.www.http.HttpClient.<init>(HttpCli

@zocker-160
Copy link

zocker-160 commented Feb 24, 2023

Looks like an unhandled exception which needs fixing in the code. I can look into it if umlet dev does not respond, should be an easy fix.

@afdia
Copy link
Collaborator

afdia commented Feb 24, 2023

Unfortunately the stacktrace seems to be incomplete (because there is no umlet class in it) but it looks like Umlets update check which cannot pass the firewall (so it should not be an problem with the JDK like the issue describes)

You can disable it by setting check_for_updates=false in your umlet.cfg (I think it is in /AppData/Local/UMLet/ in Windows)

@ckaiser79
Copy link

ckaiser79 commented Feb 27, 2023

Thanks for the hint with umlet.cfg. It solves my problem

@ckaiser79
Copy link

Just for completeness. Here is the complete stacktrace when try to run Umlet:

C:\devel\opt\Umlet>C:\coprogramme\java\jdk8u322-b06\bin\java.exe -D"log4j.configuration=file:log4j.properties" -jar umlet.jar
INFO  Program - Initializing Program: Version=15.0.0, Runtime=STANDALONE
INFO  Main - Initializing GUI ...
INFO  Main - GUI initialized
ERROR StartUpHelpText - Error at checking for new UMLet version
java.net.UnknownHostException: www.umlet.com
        at java.net.AbstractPlainSocketImpl.connect(AbstractPlainSocketImpl.java:184)
        at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:172)
        at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:392)
        at java.net.Socket.connect(Socket.java:607)
        at java.net.Socket.connect(Socket.java:556)
        at sun.net.NetworkClient.doConnect(NetworkClient.java:180)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:463)
        at sun.net.www.http.HttpClient.openServer(HttpClient.java:558)
        at sun.net.www.http.HttpClient.<init>(HttpClient.java:242)
        at sun.net.www.http.HttpClient.New(HttpClient.java:339)
        at sun.net.www.http.HttpClient.New(HttpClient.java:357)
        at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:1228)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect0(HttpURLConnection.java:1162)
        at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:1056)
        at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:990)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1572)
        at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1500)
        at java.net.URL.openStream(URL.java:1093)
        at com.baselet.gui.BrowserLauncher.readURL(BrowserLauncher.java:73)
        at com.baselet.diagram.UpdateCheckTimerTask.getNewVersionTextFromURL(UpdateCheckTimerTask.java:71)
        at com.baselet.diagram.UpdateCheckTimerTask.getNewVersionTextWithStartupHtmlFormat(UpdateCheckTimerTask.java:40)
        at com.baselet.diagram.UpdateCheckTimerTask.run(UpdateCheckTimerTask.java:30)
        at java.util.TimerThread.mainLoop(Timer.java:555)
        at java.util.TimerThread.run(Timer.java:505)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants