[Logo] Enterprise Client Community
  [Search] Search   [Recent Topics] Recent Topics   [Members]  Member Listing   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
Messages posted by: ddumitrascu  XML
Profile for ddumitrascu -> Messages posted by ddumitrascu [1]
Author Message
Hi,

We have a problem with a CaptainCasa update. The current version that we're using is 20200706 and we want to update to the latest one, but once we did that we noticed some issues. I will present here one of the encountered problems:

The call to getStyle() from SessionInfo class throws a NullPointerException when HttpSessionAccess.getCurrentClientJavaType() is called.
Basically, what's happening is that the request from getCurrentRequest() is always NULL.
This is just an example but almost all errors from the new version are NullPointerExceptions:

Caused by: java.lang.NullPointerException
at org.eclnt.jsfserver.util.webappfiles.WebappDirectoryManager.getFiles(WebappDirectoryManager.java:54)
at org.eclnt.jsfserver.util.WebResourceClassloaderReader.getFilesInPathDirectory(WebResourceClassloaderReader.java:302)
at org.eclnt.jsfserver.util.WebResourceClassloaderReader.getFilesInPathDirectoryByPattern(WebResourceClassloaderReader.java:285)

We tested multiple versions and we found that this problems only occur on versions that have the new jar structure from 20201012_3.
Everything before that works fine.
 
Profile for ddumitrascu -> Messages posted by ddumitrascu [1]
Go to:   
Powered by JForum 2.1.6 © JForum Team