org.apache.commons.jexl2.UnifiedJEXL$Exception: failed to prepare '${subtype.toLowerCase()}/${f:getFileName(mediaFile).toLowerCase()}'

Oracle Community | Njin | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Getting error for blob Vanity URL

    Oracle Community | 2 years ago | Njin
    org.apache.commons.jexl2.UnifiedJEXL$Exception: failed to prepare '${subtype.toLowerCase()}/${f:getFileName(mediaFile).toLowerCase()}'

    Root Cause Analysis

    1. 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()
    2. Commons JEXL
      UnifiedJEXL$Expression.evaluate
      1. org.apache.commons.jexl2.Interpreter.visit(Interpreter.java:1095)
      2. org.apache.commons.jexl2.parser.ASTMethodNode.jjtAccept(ASTMethodNode.java:18)
      3. org.apache.commons.jexl2.Interpreter.visit(Interpreter.java:1317)
      4. org.apache.commons.jexl2.parser.ASTReference.jjtAccept(ASTReference.java:18)
      5. org.apache.commons.jexl2.Interpreter.visit(Interpreter.java:946)
      6. org.apache.commons.jexl2.parser.ASTJexlScript.jjtAccept(ASTJexlScript.java:38)
      7. org.apache.commons.jexl2.Interpreter.interpret(Interpreter.java:232)
      8. org.apache.commons.jexl2.UnifiedJEXL$JexlBasedExpression.evaluate(UnifiedJEXL.java:506)
      9. org.apache.commons.jexl2.UnifiedJEXL$CompositeExpression.evaluate(UnifiedJEXL.java:726)
      10. org.apache.commons.jexl2.UnifiedJEXL$Expression.evaluate(UnifiedJEXL.java:386)
      10 frames
    3. com.openmarket.xcelerate
      Asset.updateAssetUrls
      1. com.openmarket.xcelerate.asset.AssetPatternUtil.getUrlFor(AssetPatternUtil.java:214)
      2. com.openmarket.xcelerate.asset.Asset._getWebRefenceForPatterns(Asset.java:4118)
      3. com.openmarket.xcelerate.asset.Asset.updateAssetUrls(Asset.java:4060)
      3 frames
    4. com.openmarket.assetframework
      ComplexAsset.SaveAllNoPubLock
      1. com.openmarket.assetframework.common.BulkTransactionalAssetManager.saveAllNoPubLock(BulkTransactionalAssetManager.java:316)
      2. com.openmarket.assetframework.complexasset.ComplexAsset.SaveAllNoPubLock(ComplexAsset.java:2498)
      2 frames
    5. Java RT
      Method.invoke
      1. sun.reflect.GeneratedMethodAccessor214.invoke(Unknown Source)
      2. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      3. java.lang.reflect.Method.invoke(Method.java:606)
      3 frames
    6. com.openmarket.xcelerate
      Asset$4.execute
      1. com.openmarket.xcelerate.asset.Asset.callSaveAllNoPubLock(Asset.java:4766)
      2. com.openmarket.xcelerate.asset.Asset.SaveAll_logic(Asset.java:4995)
      3. com.openmarket.xcelerate.asset.Asset$4.execute(Asset.java:4920)
      3 frames
    7. com.fatwire.cs
      NestedTransactionBlock.execute
      1. com.fatwire.cs.core.db.NestedTransactionBlock.execute(NestedTransactionBlock.java:189)
      1 frame
    8. com.openmarket.xcelerate
      Asset.SaveAll
      1. com.openmarket.xcelerate.asset.Asset.SaveAll_trans(Asset.java:4943)
      2. com.openmarket.xcelerate.asset.Asset.SaveAll(Asset.java:4897)
      2 frames
    9. com.fatwire.assetapi
      AssetDataManagerImpl.insert
      1. com.fatwire.assetapi.data.BasicAssetDataWriteStrategy._saveOneAssetType(BasicAssetDataWriteStrategy.java:254)
      2. com.fatwire.assetapi.data.BasicAssetDataWriteStrategy._save(BasicAssetDataWriteStrategy.java:181)
      3. com.fatwire.assetapi.data.FlexAssetDataWriteStrategy.write(FlexAssetDataWriteStrategy.java:47)
      4. com.fatwire.assetapi.data.BasicAssetDataWriteStrategy.write(BasicAssetDataWriteStrategy.java:137)
      5. com.fatwire.assetapi.data.AssetDataManagerImpl.insert(AssetDataManagerImpl.java:228)
      5 frames
    10. com.fatwire.services
      AssetServiceImpl.translate
      1. com.fatwire.services.dao.AssetDaoImpl.save(AssetDaoImpl.java:180)
      2. com.fatwire.services.AssetServiceImpl.save(AssetServiceImpl.java:228)
      3. com.fatwire.services.AssetServiceImpl._copyTranslateAsset(AssetServiceImpl.java:420)
      4. com.fatwire.services.AssetServiceImpl.translate(AssetServiceImpl.java:541)
      4 frames
    11. org.apache.jsp
      TranslateAction_jsp._jspService
      1. org.apache.jsp.jsp.cs_005fdeployed.UI.Actions.Asset.Translate.TranslateAction_jsp._jspService(TranslateAction_jsp.java:148)
      1 frame
    12. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      1 frame
    13. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      1 frame
    14. GWT dev
      JspServlet.service
      1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
      2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
      3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
      3 frames
    15. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      1 frame
    16. Glassfish Core
      ApplicationDispatcher.include
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
      4. org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:604)
      5. org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:543)
      5 frames
    17. COM.FutureTense.Servlet
      JSPServices.runJSP
      1. COM.FutureTense.Servlet.ServletRequest.include(ServletRequest.java:1410)
      2. COM.FutureTense.Servlet.FRequestObj.include(FRequestObj.java:1422)
      3. COM.FutureTense.Servlet.JSPServices.runJSP(JSPServices.java:111)
      3 frames
    18. COM.FutureTense.Platform
      FILESYSTEMJSPManager.runJSP
      1. COM.FutureTense.Platform.FileSystem.FILESYSTEMJSPManager.runJSP(FILESYSTEMJSPManager.java:463)
      1 frame
    19. COM.FutureTense.Servlet
      JSPServices.runJSPObject
      1. COM.FutureTense.Servlet.JSPServices.runJSPObject(JSPServices.java:50)
      1 frame
    20. COM.FutureTense.Platform
      FILESYSTEMJSPManager$JSPDataFile.run
      1. COM.FutureTense.Platform.FileSystem.FILESYSTEMJSPManager$JSPDataFile.run(FILESYSTEMJSPManager.java:190)
      1 frame
    21. COM.FutureTense.Common
      CS.CallElement
      1. COM.FutureTense.Common.ContentServer.jspExecute(ContentServer.java:3027)
      2. COM.FutureTense.Common.ContentServer.evalTemplate(ContentServer.java:2621)
      3. COM.FutureTense.Common.ContentServer.processElement(ContentServer.java:1999)
      4. COM.FutureTense.Common.CS.CallElement(CS.java:1603)
      4 frames
    22. com.fatwire.cs
      UIController.execute
      1. com.fatwire.cs.ui.framework.UIController.execute(UIController.java:133)
      1 frame
    23. org.apache.jsp
      controller_jsp._jspService
      1. org.apache.jsp.jsp.cs_005fdeployed.fatwire.ui.controller.controller_jsp._jspService(controller_jsp.java:85)
      1 frame
    24. GWT dev
      HttpJspBase.service
      1. org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
      1 frame
    25. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      1 frame
    26. GWT dev
      JspServlet.service
      1. org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
      2. org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:395)
      3. org.apache.jasper.servlet.JspServlet.service(JspServlet.java:339)
      3 frames
    27. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      1 frame
    28. Glassfish Core
      ApplicationDispatcher.include
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      3. org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
      4. org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:604)
      5. org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:543)
      5 frames
    29. COM.FutureTense.Servlet
      JSPServices.runJSP
      1. COM.FutureTense.Servlet.ServletRequest.include(ServletRequest.java:1410)
      2. COM.FutureTense.Servlet.FRequestObj.include(FRequestObj.java:1422)
      3. COM.FutureTense.Servlet.JSPServices.runJSP(JSPServices.java:111)
      3 frames
    30. COM.FutureTense.Platform
      FILESYSTEMJSPManager.runJSP
      1. COM.FutureTense.Platform.FileSystem.FILESYSTEMJSPManager.runJSP(FILESYSTEMJSPManager.java:463)
      1 frame
    31. COM.FutureTense.Servlet
      JSPServices.runJSPObject
      1. COM.FutureTense.Servlet.JSPServices.runJSPObject(JSPServices.java:50)
      1 frame
    32. COM.FutureTense.Platform
      FILESYSTEMJSPManager$JSPDataFile.run
      1. COM.FutureTense.Platform.FileSystem.FILESYSTEMJSPManager$JSPDataFile.run(FILESYSTEMJSPManager.java:190)
      1 frame
    33. COM.FutureTense.Common
      ContentServer.execute
      1. COM.FutureTense.Common.ContentServer.jspExecute(ContentServer.java:3027)
      2. COM.FutureTense.Common.ContentServer.evalTemplate(ContentServer.java:2621)
      3. COM.FutureTense.Common.ContentServer.generatePage(ContentServer.java:1640)
      4. COM.FutureTense.Common.ContentServer.evalPage(ContentServer.java:1276)
      5. COM.FutureTense.Common.ContentServer.execute(ContentServer.java:465)
      5 frames
    34. COM.FutureTense.Servlet
      FTServlet.doPost
      1. COM.FutureTense.Servlet.FTServlet.execute(FTServlet.java:129)
      2. COM.FutureTense.Servlet.FTServlet.doPost(FTServlet.java:61)
      2 frames
    35. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:646)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
      2 frames
    36. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    37. Tomcat WS
      WsFilter.doFilter
      1. org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
      1 frame
    38. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    39. com.fatwire.auth
      RequestAuthenticationFilter.doFilter
      1. com.fatwire.auth.RequestAuthenticationFilter.doFilter(RequestAuthenticationFilter.java:193)
      1 frame
    40. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    41. COM.FutureTense.Servlet
      URLRewriteFilter.doFilter
      1. COM.FutureTense.Servlet.URLRewriteFilter.doFilter(URLRewriteFilter.java:81)
      1 frame
    42. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    43. com.fatwire.wem
      SSOFilter.doFilter
      1. com.fatwire.wem.sso.cas.filter.CASFilter.doFilter(CASFilter.java:241)
      2. com.fatwire.wem.sso.SSOFilter.doFilter(SSOFilter.java:51)
      2 frames
    44. Glassfish Core
      ApplicationFilterChain.doFilter
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      2 frames
    45. com.fatwire.cs
      UIFilter.doFilter
      1. com.fatwire.cs.ui.framework.UIFilter.doFilter(UIFilter.java:108)
      1 frame
    46. Glassfish Core
      CoyoteAdapter.service
      1. org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
      2. org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
      3. org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
      4. org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
      5. org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:503)
      6. org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
      7. org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
      8. org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
      9. org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
      10. org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:421)
      10 frames
    47. Grizzly HTTP
      JIoEndpoint$SocketProcessor.run
      1. org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1070)
      2. org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:611)
      3. org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
      3 frames
    48. Java RT
      ThreadPoolExecutor$Worker.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
      2 frames
    49. Tomcat Util
      TaskThread$WrappingRunnable.run
      1. org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
      1 frame
    50. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame