org.apache.commons.jexl2.UnifiedJEXL$Exception

failed to prepare '${subtype.toLowerCase()}/${f:getFileName(mediaFile).toLowerCase()}'

Samebug tips0

We couldn't find tips for this exception.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web2

  • via Unknown by Njin,
  • via GitHub by jjjasper
    ,
  • Stack trace

    • org.apache.commons.jexl2.UnifiedJEXL$Exception: failed to prepare '${subtype.toLowerCase()}/${f:getFileName(mediaFile).toLowerCase()}' at org.apache.commons.jexl2.UnifiedJEXL.createException(UnifiedJEXL.java:799) at org.apache.commons.jexl2.UnifiedJEXL.access$200(UnifiedJEXL.java:87) at org.apache.commons.jexl2.UnifiedJEXL$Expression.evaluate(UnifiedJEXL.java:388) at com.openmarket.xcelerate.asset.AssetPatternUtil.getUrlFor(AssetPatternUtil.java:214) at com.openmarket.xcelerate.asset.Asset._getWebRefenceForPatterns(Asset.java:4118) at com.openmarket.xcelerate.asset.Asset.updateAssetUrls(Asset.java:4060) at com.openmarket.assetframework.common.BulkTransactionalAssetManager.saveAllNoPubLock(BulkTransactionalAssetManager.java:316) at com.openmarket.assetframework.complexasset.ComplexAsset.SaveAllNoPubLock(ComplexAsset.java:2498) at sun.reflect.GeneratedMethodAccessor214.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at com.openmarket.xcelerate.asset.Asset.callSaveAllNoPubLock(Asset.java:4766) at com.openmarket.xcelerate.asset.Asset.SaveAll_logic(Asset.java:4995) at com.openmarket.xcelerate.asset.Asset$4.execute(Asset.java:4920) at com.fatwire.cs.core.db.NestedTransactionBlock.execute(NestedTransactionBlock.java:189) at com.openmarket.xcelerate.asset.Asset.SaveAll_trans(Asset.java:4943) at com.openmarket.xcelerate.asset.Asset.SaveAll(Asset.java:4897) at com.fatwire.assetapi.data.BasicAssetDataWriteStrategy._saveOneAssetType(BasicAssetDataWriteStrategy.java:254) at com.fatwire.assetapi.data.BasicAssetDataWriteStrategy._save(BasicAssetDataWriteStrategy.java:181) at com.fatwire.assetapi.data.FlexAssetDataWriteStrategy.write(FlexAssetDataWriteStrategy.java:47) at com.fatwire.assetapi.data.BasicAssetDataWriteStrategy.write(BasicAssetDataWriteStrategy.java:137) at com.fatwire.assetapi.data.AssetDataManagerImpl.insert(AssetDataManagerImpl.java:228) at com.fatwire.services.dao.AssetDaoImpl.save(AssetDaoImpl.java:180) at com.fatwire.services.AssetServiceImpl.save(AssetServiceImpl.java:228) at com.fatwire.services.AssetServiceImpl._copyTranslateAsset(AssetServiceImpl.java:420) at com.fatwire.services.AssetServiceImpl.translate(AssetServiceImpl.java:541) at org.apache.jsp.jsp.cs_005fdeployed.UI.Actions.Asset.Translate.TranslateAction_jsp._jspService(TranslateAction_jsp.java:148) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:604) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:543) at COM.FutureTense.Servlet.ServletRequest.include(ServletRequest.java:1410) at COM.FutureTense.Servlet.FRequestObj.include(FRequestObj.java:1422) at COM.FutureTense.Servlet.JSPServices.runJSP(JSPServices.java:111) at COM.FutureTense.Platform.FileSystem.FILESYSTEMJSPManager.runJSP(FILESYSTEMJSPManager.java:463) at COM.FutureTense.Servlet.JSPServices.runJSPObject(JSPServices.java:50) at COM.FutureTense.Platform.FileSystem.FILESYSTEMJSPManager$JSPDataFile.run(FILESYSTEMJSPManager.java:190) at COM.FutureTense.Common.ContentServer.jspExecute(ContentServer.java:3027) at COM.FutureTense.Common.ContentServer.evalTemplate(ContentServer.java:2621) at COM.FutureTense.Common.ContentServer.processElement(ContentServer.java:1999) at COM.FutureTense.Common.CS.CallElement(CS.java:1603) at com.fatwire.cs.ui.framework.UIController.execute(UIController.java:133) at org.apache.jsp.jsp.cs_005fdeployed.fatwire.ui.controller.controller_jsp._jspService(controller_jsp.java:85) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:604) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:543) at COM.FutureTense.Servlet.ServletRequest.include(ServletRequest.java:1410) at COM.FutureTense.Servlet.FRequestObj.include(FRequestObj.java:1422) at COM.FutureTense.Servlet.JSPServices.runJSP(JSPServices.java:111) at COM.FutureTense.Platform.FileSystem.FILESYSTEMJSPManager.runJSP(FILESYSTEMJSPManager.java:463) at COM.FutureTense.Servlet.JSPServices.runJSPObject(JSPServices.java:50) at COM.FutureTense.Platform.FileSystem.FILESYSTEMJSPManager$JSPDataFile.run(FILESYSTEMJSPManager.java:190) at COM.FutureTense.Common.ContentServer.jspExecute(ContentServer.java:3027) at COM.FutureTense.Common.ContentServer.evalTemplate(ContentServer.java:2621) at COM.FutureTense.Common.ContentServer.generatePage(ContentServer.java:1640) at COM.FutureTense.Common.ContentServer.evalPage(ContentServer.java:1276) at COM.FutureTense.Common.ContentServer.execute(ContentServer.java:465) at COM.FutureTense.Servlet.FTServlet.execute(FTServlet.java:129) at COM.FutureTense.Servlet.FTServlet.doPost(FTServlet.java:61) at javax.servlet.http.HttpServlet.service(HttpServlet.java:646) at javax.servlet.http.HttpServlet.service(HttpServlet.java:727) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at com.fatwire.auth.RequestAuthenticationFilter.doFilter(RequestAuthenticationFilter.java:193) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at COM.FutureTense.Servlet.URLRewriteFilter.doFilter(URLRewriteFilter.java:81) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at com.fatwire.wem.sso.cas.filter.CASFilter.doFilter(CASFilter.java:241) at com.fatwire.wem.sso.SSOFilter.doFilter(SSOFilter.java:51) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at com.fatwire.cs.ui.framework.UIFilter.doFilter(UIFilter.java:108) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611) at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61) at java.lang.Thread.run(Thread.java:745) Caused by: org.apache.commons.jexl2.JexlException: com.openmarket.xcelerate.asset.AssetPatternUtil.getUrlFor@213![25,38]: 'f:getFileName(mediaFile).toLowerCase();' attempting to call method on null at org.apache.commons.jexl2.Interpreter.visit(Interpreter.java:1095) at org.apache.commons.jexl2.parser.ASTMethodNode.jjtAccept(ASTMethodNode.java:18) at org.apache.commons.jexl2.Interpreter.visit(Interpreter.java:1317) at org.apache.commons.jexl2.parser.ASTReference.jjtAccept(ASTReference.java:18) at org.apache.commons.jexl2.Interpreter.visit(Interpreter.java:946) at org.apache.commons.jexl2.parser.ASTJexlScript.jjtAccept(ASTJexlScript.java:38) at org.apache.commons.jexl2.Interpreter.interpret(Interpreter.java:232) at org.apache.commons.jexl2.UnifiedJEXL$JexlBasedExpression.evaluate(UnifiedJEXL.java:506) at org.apache.commons.jexl2.UnifiedJEXL$CompositeExpression.evaluate(UnifiedJEXL.java:726) at org.apache.commons.jexl2.UnifiedJEXL$Expression.evaluate(UnifiedJEXL.java:386) ... 106 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    We couldn't find other users who have seen this exception.