[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Swing client: NPE when page tries to load image from classpath and when server is unavailable  XML
Forum Index -> Development
Author Message
dkhanzhyiev

Active

Joined: 11/11/2015 10:21:27
Messages: 10
Offline

Stack trace:


2016:04:29 11:07:39:822 | 56 | SEVERE | .......... org.eclnt.client.page.Page>getJSessionId
.......... Stacktrace Info ..........
java.lang.NullPointerException
at org.eclnt.client.page.Page.getJSessionId(Page.java:1348
at org.eclnt.client.page.Page.loadImageIcon(Page.java:658
at org.eclnt.client.elements.impl.IMAGEElement.applyComponentData(IMAGEElement.java:84)
at org.eclnt.client.elements.PageParserInit.endElement(PageParserInit.java:135)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1536)
at org.apache.crimson.parser.Parser2.content(Parser2.java:1779)
at org.apache.crimson.parser.Parser2.maybeElement(Parser2.java:1507)
 



There is no need of session id for local resource.
Please,
add additional check in getSessionId.

CaptainCasa

Power User
[Avatar]

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

Hi,
yes..., we now do not stumble anymore, if no session id is set.
Fix is part of next update (Monday).
Thanks + Regards! Björn

Björn Müller, CaptainCasa GmbH
 
Forum Index -> Development
Go to:   
Powered by JForum 2.1.6 © JForum Team