java.lang.IllegalArgumentException

Cannot convert {path=/content/chetanya/abc, jcr:content={jcr:created=2016-10-10T15:47:46.766-07:00, jcr:createdBy=admin, cq:lastModified=2016-10-10T15:47:46.768-07:00, sling:resourceType=geometrixx/components/homepage, cq:lastModifiedBy=admin, jcr:primaryType=cq:PageContent, jcr:title=ABC, cq:designPath=/etc/designs/geometrixx, cq:template=/apps/geometrixx/templates/homepage}, primaryType=cq:Page, name=abc, title=ABC} of type class java.util.HashMap to Number

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

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

Solutions on the web21781

  • Cannot convert {path=/content/chetanya/abc, jcr:content={jcr:created=2016-10-10T15:47:46.766-07:00, jcr:createdBy=admin, cq:lastModified=2016-10-10T15:47:46.768-07:00, sling:resourceType=geometrixx/components/homepage, cq:lastModifiedBy=admin
  • via Stack Overflow by Vinoth Sankar
    , 1 year ago
    java.net.UnknownHostException: ABC
  • via Eclipse Bugzilla by hironori, 2 weeks ago
    can't parse argument number ABC
  • Stack trace

    • java.lang.IllegalArgumentException: Cannot convert {path=/content/chetanya/abc, jcr:content={jcr:created=2016-10-10T15:47:46.766-07:00, jcr:createdBy=admin, cq:lastModified=2016-10-10T15:47:46.768-07:00, sling:resourceType=geometrixx/components/homepage, cq:lastModifiedBy=admin, jcr:primaryType=cq:PageContent, jcr:title=ABC, cq:designPath=/etc/designs/geometrixx, cq:template=/apps/geometrixx/templates/homepage}, primaryType=cq:Page, name=abc, title=ABC} of type class java.util.HashMap to Number at org.apache.el.lang.ELArithmetic.coerce(ELArithmetic.java:375) at org.apache.el.lang.ELArithmetic.subtract(ELArithmetic.java:283) at org.apache.el.parser.AstMinus.getValue(AstMinus.java:40) at org.apache.el.parser.AstDynamicExpression.getValue(AstDynamicExpression.java:42) at org.apache.el.parser.AstCompositeExpression.getValue(AstCompositeExpression.java:48) at org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:182) at biz.netcentric.cq.tools.actool.configreader.YamlMacroElEvaluator.evaluateEl(YamlMacroElEvaluator.java:86) at biz.netcentric.cq.tools.actool.configreader.YamlMacroProcessorImpl.transform(YamlMacroProcessorImpl.java:59) at biz.netcentric.cq.tools.actool.configreader.YamlMacroProcessorImpl.transform(YamlMacroProcessorImpl.java:92) at biz.netcentric.cq.tools.actool.configreader.YamlMacroProcessorImpl.unfold(YamlMacroProcessorImpl.java:174) at biz.netcentric.cq.tools.actool.configreader.YamlMacroProcessorImpl.unfoldLoop(YamlMacroProcessorImpl.java:153) at biz.netcentric.cq.tools.actool.configreader.YamlMacroProcessorImpl.evaluateForStatement(YamlMacroProcessorImpl.java:117) at biz.netcentric.cq.tools.actool.configreader.YamlMacroProcessorImpl.transform(YamlMacroProcessorImpl.java:82) at biz.netcentric.cq.tools.actool.configreader.YamlMacroProcessorImpl.transform(YamlMacroProcessorImpl.java:69) at biz.netcentric.cq.tools.actool.configreader.YamlMacroProcessorImpl.transform(YamlMacroProcessorImpl.java:93) at biz.netcentric.cq.tools.actool.configreader.YamlMacroProcessorImpl.transform(YamlMacroProcessorImpl.java:69) at biz.netcentric.cq.tools.actool.configreader.YamlMacroProcessorImpl.transform(YamlMacroProcessorImpl.java:50) at biz.netcentric.cq.tools.actool.configreader.YamlMacroProcessorImpl.processMacros(YamlMacroProcessorImpl.java:46) at biz.netcentric.cq.tools.actool.configreader.YamlConfigurationMerger.getMergedConfigurations(YamlConfigurationMerger.java:79) at biz.netcentric.cq.tools.actool.aceservice.impl.AceServiceImpl.installConfigurationFiles(AceServiceImpl.java:318) at biz.netcentric.cq.tools.actool.aceservice.impl.AceServiceImpl.execute(AceServiceImpl.java:268) at biz.netcentric.cq.tools.actool.configuploadlistener.impl.UploadListenerServiceImpl.onEvent(UploadListenerServiceImpl.java:100) at org.apache.jackrabbit.commons.observation.ListenerTracker$1.onEvent(ListenerTracker.java:164) at org.apache.jackrabbit.oak.jcr.observation.ChangeProcessor.contentChanged(ChangeProcessor.java:317) at org.apache.jackrabbit.oak.spi.commit.BackgroundObserver$1$1.call(BackgroundObserver.java:131) at org.apache.jackrabbit.oak.spi.commit.BackgroundObserver$1$1.call(BackgroundObserver.java:125) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)

    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

    You’re the first here who have seen this exception.