[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
2 Exceptions in Client-Log  XML
Forum Index -> Development
Author Message
tbredehoeft

Active

Joined: 26/09/2014 14:02:53
Messages: 22
Offline

One of our testers regularly gets a blank error screen without error message when starting our application (see attached screenshot).

In the Client-Log, 2 Exceptions can be found:
2015:09:01 08:45:10:923 | 53 | SEVERE | Exception occurred when seeting look and feel. .......... org.eclnt.client.page.PageBrowser>initClientParameters
.......... Stacktrace Info ..........
java.lang.ClassNotFoundException: org.eclnt.client.lookandfeel.CaptainCasaLookAndFeel

2015:09:01 08:45:10:954 | 53 | SEVERE | Error occurred when communicating to server .......... org.eclnt.client.comm.http.DataTransfer>buildErrorResponse
.......... Stacktrace Info ..........
java.lang.NullPointerException
at org.eclnt.client.util.valuemgmt.ValueManager.getDefaultFontFamily(ValueManager.java:987)

Any idea what the problem could be in this case?
We're using the CC-version 5.0.20150706.

Thanks in advance!
[Thumb - ErrorOccurred.png]
 Filename ErrorOccurred.png [Disk] Download
 Description Screenshot of the error message
 Filesize 46 Kbytes
 Downloaded:  447 time(s)

Admin

Power User

Joined: 21/11/2007 11:36:10
Messages: 37
Offline

Hi,

...the CaptainCasaLookAndFeel class is part of eclnt.jar - so it is in the same .jar file than the class PageBrowser etc.

Hmmm - I currently cannot tell you, why parts of the .jar file are running while other parts are not visible. We do not use any own class loader mechanism on client side, so everything is in the default class loader.

I would cleart the Java cache (Systemsteuerunt => Java) and by this enforce the re-loading of the .jar file. Could you do this and tell if problems still occur?

Regards, Björn
tbredehoeft

Active

Joined: 26/09/2014 14:02:53
Messages: 22
Offline

We'll try that, thanks!
tbredehoeft

Active

Joined: 26/09/2014 14:02:53
Messages: 22
Offline

Clearing the Java cache did not solve the problem.
However, we could trace it back to this Java-Bug: http://bugs.java.com/view_bug.do?bug_id=8017776
"Swing Event Thread does not use JNLP class loader"
We can reproduce this issue if we switch the Java version in Systemsteuerung back to an older version like 1.6.0_43. If we then start a CC-Webstart-Application (Swing-based) we get that error. It also happens when opening the CC Demo workplace, so it's not an issue of our applications only.
If we use an older CC-version like 20140505 this problem does not occur, but with newer versions like 20150706 we have the problem.
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5521
Offline

...just saw your response, we'll check...
Thanks four investigation results!

Björn

Björn Müller, CaptainCasa GmbH
tbredehoeft

Active

Joined: 26/09/2014 14:02:53
Messages: 22
Offline

Have you been able to reproduce this issue with a Java 1.6-Client in the meanwhile?
Thanks.
CaptainCasa

Power User
[Avatar]

Joined: 21/11/2007 12:23:06
Messages: 5521
Offline

Yes, following your advices (changing the screen zoom factor) I can/could reproduce it. The problem is solved with 20151019. Thanks for the information you passed...!

Regards, Björn

Björn Müller, CaptainCasa GmbH
tbredehoeft

Active

Joined: 26/09/2014 14:02:53
Messages: 22
Offline

Perfect, thanks a lot!
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team