javax.script.ScriptException: ReferenceError: "moment" is not defined in <eval> at line number 1

tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    WSO2 ESB DataMapper mediator

    Stack Overflow | 4 months ago | shanaka
    javax.script.ScriptException: ReferenceError: "map_S_root_S_root" is not defined in <eval> at line number 1
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    WSo2 ESB Smooks Mediator Error

    Stack Overflow | 2 years ago | R Ryff
    java.lang.NoClassDefFoundError: org/milyn/Smooks

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. javax.script.ScriptException

      ReferenceError: "moment" is not defined in <eval> at line number 1

      at org.wso2.carbon.mediator.datamapper.engine.input.readers.JSONInputReader.read()
    2. org.wso2.carbon
      DataMapperMediator.mediate
      1. org.wso2.carbon.mediator.datamapper.engine.input.readers.JSONInputReader.read(JSONInputReader.java:62)
      2. org.wso2.carbon.mediator.datamapper.engine.input.InputBuilder.buildInputModel(InputBuilder.java:59)
      3. org.wso2.carbon.mediator.datamapper.engine.core.mapper.MappingHandler.doMap(MappingHandler.java:67)
      4. org.wso2.carbon.mediator.datamapper.DataMapperMediator.transform(DataMapperMediator.java:306)
      5. org.wso2.carbon.mediator.datamapper.DataMapperMediator.mediate(DataMapperMediator.java:256)
      5 frames
    3. Apache Synapse - Core
      SynapseMessageReceiver.receive
      1. org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:89)
      2. org.apache.synapse.mediators.AbstractListMediator.mediate(AbstractListMediator.java:59)
      3. org.apache.synapse.mediators.base.SequenceMediator.mediate(SequenceMediator.java:158)
      4. org.apache.synapse.rest.Resource.process(Resource.java:343)
      5. org.apache.synapse.rest.API.process(API.java:399)
      6. org.apache.synapse.rest.RESTRequestHandler.apiProcess(RESTRequestHandler.java:120)
      7. org.apache.synapse.rest.RESTRequestHandler.dispatchToAPI(RESTRequestHandler.java:101)
      8. org.apache.synapse.rest.RESTRequestHandler.process(RESTRequestHandler.java:69)
      9. org.apache.synapse.core.axis2.Axis2SynapseEnvironment.injectMessage(Axis2SynapseEnvironment.java:304)
      10. org.apache.synapse.core.axis2.SynapseMessageReceiver.receive(SynapseMessageReceiver.java:75)
      10 frames
    4. org.apache.axis2
      AxisEngine.receive
      1. org.apache.axis2.engine.AxisEngine.receive(AxisEngine.java:180)
      1 frame
    5. org.apache.synapse
      ServerWorker.run
      1. org.apache.synapse.transport.passthru.ServerWorker.processNonEntityEnclosingRESTHandler(ServerWorker.java:325)
      2. org.apache.synapse.transport.passthru.ServerWorker.processEntityEnclosingRequest(ServerWorker.java:371)
      3. org.apache.synapse.transport.passthru.ServerWorker.run(ServerWorker.java:151)
      3 frames
    6. Apache Axis2 - Transport - Base
      NativeWorkerPool$1.run
      1. org.apache.axis2.transport.base.threads.NativeWorkerPool$1.run(NativeWorkerPool.java:172)
      1 frame
    7. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames