Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.0
-
None
-
ibm websphere
Description
When executing a script that exist only in memory, Jelly throws a NullPointerException at org.apache.commons.jelly.JellyContext.getJellyContextURL(JellyContext.java:947)
This code will fail even if the StringBuffer passed in is a valid jelly script.
public void exectute(StringBuffer message) {
OutputStream output = new ByteArrayOutputStream();
try
catch (Exception e)
{ e.printStackTrace(); }}