Jease 3.0

67 views
Skip to first unread message

John Fuego

unread,
Apr 1, 2016, 1:36:47 AM4/1/16
to Jease - The Java CMS with Ease
Jease 3.0 looks nice (I like Bootstrap).

Making ajax calls to Jease scripts is fine with version 2.x but doesn't seem to work with Jease 3.0
Oddly enough, previewing them directly in the Jease 3.0 CMS is fine though.
I'm getting the Script.jsp error when accessing a script object from a browser (or elsewhere via ajax calls)

SEVERE: Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException
at java.io.File.<init>(File.java:360)
at org.apache.jsp.site.domain.Script_jsp._jspService(Script_jsp.java:83)
        ...
        ...
        at jease.cms.web.servlet.JeaseController.doFilter(JeaseController.java:177)
        ...

While it may seem that the NullPointerException comes from line 22 in site/domain/Script.jsp
java.io.File scriptDirectory = new java.io.File(workDirectory, script.getUUID());

It appears that the script.getUUID() is returning a value of null and goes all way back to ObjectDatabase.query returning null for uuid.

Is this a known issue?
uuid_null.png

John Fuego

unread,
Apr 1, 2016, 1:41:14 AM4/1/16
to Jease - The Java CMS with Ease
I mean, is it just me?

John Fuego

unread,
May 13, 2016, 11:59:40 PM5/13/16
to Jease - The Java CMS with Ease
Okay, it was just me.

I was probably using some older .jar files from the previous Jease releases. After using the WEB-INF/lib .jar files built with maven (in the ROOT.war) the scripts worked flawlessly (ex. ajax call from a separate app such as nwjs/nodejs).

...that is, after having been using a separate servlet broker for weeks. Still a good thing though.
Reply all
Reply to author
Forward
0 new messages