hmm,

well I applied the Revision as a patch, meaning that I downloaded each file
and replaced my own and followed the instructions on which other files i had
to remove... Problems arose, however, on compiling and I ended up having to
add the ESAPI packages as well and change the StringUtil Class which
contains the StringWrapper.

>From there I now receive the same bugging error that initially forced me to
apply a patch instead of doing a clean update to the most current revision.

Within my groovy script I try to use the checkLoginUrl, but without the
"/checklogin/" location, which is why I am doing a simple String replace: 

context.get("checkLoginUrl").replace("/checkLogin/","")


This concept used to work with the previous versions of the StringUtil
class, but now, I receive the following error:

"                               org.ofbiz.widget.screen.ScreenRenderException: 
Error rendering screen
[component://brandsparadise/widget/BrandsparadiseScreens.xml#main]:
org.ofbiz.base.util.GeneralException: Error running BSH script at location
[component://brandsparadise/webapp/brandsparadise/actions/cms.bsh] (Error
running BSH script at
[component://brandsparadise/webapp/brandsparadise/actions/cms.bsh], line
[17]: Sourced file:
component://brandsparadise/webapp/brandsparadise/actions/cms.bsh : Error in
method invocation: Method replace( java.lang.String, java.lang.String ) not
found in class'org.ofbiz.base.util.StringUtil$StringWrapper' : at Line: 17 :
in file: component://brandsparadise/webapp/brandsparadise/actions/cms.bsh :
.replace ( "/checkLogin/" , "" ) 
 (Sourced file:
component://brandsparadise/webapp/brandsparadise/actions/cms.bsh : Error in
method invocation: Method replace( java.lang.String, java.lang.String ) not
found in class'org.ofbiz.base.util.StringUtil$StringWrapper')) (Error
running BSH script at location
[component://brandsparadise/webapp/brandsparadise/actions/cms.bsh] (Error
running BSH script at
[component://brandsparadise/webapp/brandsparadise/actions/cms.bsh], line
[17]: Sourced file:
component://brandsparadise/webapp/brandsparadise/actions/cms.bsh : Error in
method invocation: Method replace( java.lang.String, java.lang.String ) not
found in class'org.ofbiz.base.util.StringUtil$StringWrapper' : at Line: 17 :
in file: component://brandsparadise/webapp/brandsparadise/actions/cms.bsh :
.replace ( "/checkLogin/" , "" ) 
 (Sourced file:
component://brandsparadise/webapp/brandsparadise/actions/cms.bsh : Error in
method invocation: Method replace( java.lang.String, java.lang.String ) not
found in class'org.ofbiz.base.util.StringUtil$StringWrapper')))
" 


-- 
View this message in context: 
http://www.nabble.com/Error-in-Messaging-System-up-to-R734301--tp22494971p22521435.html
Sent from the OFBiz - User mailing list archive at Nabble.com.

Reply via email to