Share 
Follow 
AboutDownloadsDocumentsForumsSource CodeIssuesNews
Date:
2016-04-25 07:50
Priority:
3
State:
Open
Submitted by:
Oliver Rettig (rettigoliver)
Assigned to:
Nobody (None)
Summary:
GUI freezes caused by Proxy problems

Detailed description
In our clinicals we are not able to use Opensim because in the starting process of opensim the gui freezes. The reason is the specific Proxy between the clincs Intranet and the Internet. Opensim trys to connect to the Internet during Startup - maybe to connecto to an update Center. To do this it uses the JDK build in Default api to handle the Proxy. With Version 8 of JDK the build in Java-script engine is changed and the internaly used scripts to autdetect needed Information faild. That´s why a modal window for Input credentials is opend but this does not work well. In most of the cases this window is not shown because it conflicts with the main application window which result in a freeze of the complete application.

OpenSim has excluded the Options Panel to configure the Proxy configuration, so also a Workaround by manually configuration is not possible Event if you have the luck the application starts without freezing the GUI.

The good Thing is, that there is a solution available:

https://bitbucket.org/phansson/netbeansproxy2

It is only needed to ship the Opensim application with this module and all would be work fine. I have tested it in our clinics with other nebeans platform based applications and it works fine.

I would be very useful if you can include this module very soon in opensim.

Add A Comment: Notepad

Message  ↓
Date: 2016-04-28 22:14
Sender: Ayman Habib

Oliver,
Thanks much for digging into this.
Since this hasn't been reported widely as a problem, and it will be impossible for us to test a fix without reproducing, it'd be best to work with you to try to resolve the problem on your side first. One idea is to open the Tools/Plugins window, go to setting tab and either modify the Proxy Settings there or tell the application to "Never" check for updates. We don't plan on any updates to version 3.2 or 3.3. Can you try that first and report if it solves the problem? If not I'll be happy to work with you to find a workable solution. All the best.

Date: 2016-04-28 14:55
Sender: Oliver Rettig

Hi Ayman,
I do not know a lot about the details of proxies but I think
the proxy in our clinic is a typical one for big
institutions. There are similar reasons why the complex
proxy configurations tend to the effect that asking the
default proxy credentials for a loogedin user not always the
first time results in a correct answer. Looking at the
network traffic shows different things why this can fail.
Typically this is no problem because most applications asks
again and all works fine. But the JDK (escpecially in
version 8) has some problems with that. That is why even
matlab have more and more problems with that. For netbeans
based applications there are additional problems caused by
the bad implementation of the proxy-module. This can result
in a suprising dialog box where the user has to put in
credentials although the user can not be see why he has to
put it in. And the more problematic part is, that the gui
can freeze because that window is a modal one and it is
created in the startup phase ... These problems are netbeans
platform specific. So we habe problems with several netbeans
platform based applications, not only opensim. Have a look
at the link. It would be very easy to include the additional
module to get rid of that problems.

best regards
Oliver

Date: 2016-04-25 18:10
Sender: Ayman Habib

Hi Oliver,

Wonderful to hear from you. Can you please explain the symptoms? I'm quite surprised this's the first time I hear about this issue with close to 5000 installations. What's different in your environment? Thanks much for the explanation of what broke and how, it would've taken me a while to dig into it. Thanks much.

No Changes Have Been Made to This Item

Feedback