net.sf.jasperreports.engine.JRRuntimeException: org.mozilla.javascript.EcmaError: TypeError: Cannot read property "length" from undefined (com/jaspersoft/jasperreports/highcharts/charts/render/scripts/jquery-1.10.2.min.js#4)

Stack Overflow | Dheeraj Joshi | 4 months ago
  1. 0

    Getting 'Cannot read property "length" from undefined' exception while rendering chart at JasperReports Server

    Stack Overflow | 4 months ago | Dheeraj Joshi
    net.sf.jasperreports.engine.JRRuntimeException: org.mozilla.javascript.EcmaError: TypeError: Cannot read property "length" from undefined (com/jaspersoft/jasperreports/highcharts/charts/render/scripts/jquery-1.10.2.min.js#4)
  2. 0

    org.mozilla.javascript.EcmaError: TypeError: Cannot read property "length" from undefined

    GitHub | 2 years ago | chriscmr
    org.mozilla.javascript.EcmaError: TypeError: Cannot read property "length" from undefined
  3. 0

    GitHub comment 86#86765054

    GitHub | 2 years ago | DaniGuardiola
    org.mozilla.javascript.EcmaError: TypeError: Cannot read property "length" from undefined
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    GitHub comment 86#86765054

    GitHub | 2 years ago | DaniGuardiola
    org.mozilla.javascript.EcmaError: TypeError: Cannot read property "length" from undefined
  6. 0

    Why does JSDoc throw a TypeError while processing a valid file

    Stack Overflow | 4 years ago | Dancrumb
    org.mozilla.javascript.EcmaError: TypeError: Cannot read property "length" from undefined

    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. org.mozilla.javascript.EcmaError

      TypeError: Cannot read property "length" from undefined (com/jaspersoft/jasperreports/highcharts/charts/render/scripts/jquery-1.10.2.min.js#4)

      at org.mozilla.javascript.ScriptRuntime.constructError()
    2. Rhino
      OptRuntime.call2
      1. org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3785)
      2. org.mozilla.javascript.ScriptRuntime.constructError(ScriptRuntime.java:3763)
      3. org.mozilla.javascript.ScriptRuntime.typeError(ScriptRuntime.java:3791)
      4. org.mozilla.javascript.ScriptRuntime.typeError2(ScriptRuntime.java:3810)
      5. org.mozilla.javascript.ScriptRuntime.undefReadError(ScriptRuntime.java:3823)
      6. org.mozilla.javascript.ScriptRuntime.getObjectProp(ScriptRuntime.java:1508)
      7. org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1398)
      8. org.mozilla.javascript.Interpreter.interpret(Interpreter.java:854)
      9. org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
      10. org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76)
      10 frames
    3. org.mozilla.javascript
      com_jaspersoft_jasperreports_highcharts_render_svg_renderer_highcharts_js_2.call
      1. org.mozilla.javascript.gen.com_jaspersoft_jasperreports_highcharts_render_svg_renderer_highcharts_js_2._c_anonymous_7(com.jaspersoft.jasperreports.highcharts.render.svg-renderer-highcharts.js:46)
      2. org.mozilla.javascript.gen.com_jaspersoft_jasperreports_highcharts_render_svg_renderer_highcharts_js_2.call(com.jaspersoft.jasperreports.highcharts.render.svg-renderer-highcharts.js)
      2 frames
    4. Rhino
      OptRuntime.call2
      1. org.mozilla.javascript.ScriptRuntime.applyOrCall(ScriptRuntime.java:2521)
      2. org.mozilla.javascript.BaseFunction.execIdCall(BaseFunction.java:300)
      3. org.mozilla.javascript.IdFunctionObject.call(IdFunctionObject.java:129)
      4. org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76)
      4 frames
    5. org.mozilla.javascript
      com_jaspersoft_jasperreports_highcharts_render_r_js_1.call
      1. org.mozilla.javascript.gen.com_jaspersoft_jasperreports_highcharts_render_r_js_1._c_anonymous_99(com.jaspersoft.jasperreports.highcharts.render.r.js:1889)
      2. org.mozilla.javascript.gen.com_jaspersoft_jasperreports_highcharts_render_r_js_1.call(com.jaspersoft.jasperreports.highcharts.render.r.js)
      2 frames
    6. Rhino
      OptRuntime.callN
      1. org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:86)
      1 frame
    7. org.mozilla.javascript
      com_jaspersoft_jasperreports_highcharts_render_r_js_1.call
      1. org.mozilla.javascript.gen.com_jaspersoft_jasperreports_highcharts_render_r_js_1._c_anonymous_55(com.jaspersoft.jasperreports.highcharts.render.r.js:1105)
      2. org.mozilla.javascript.gen.com_jaspersoft_jasperreports_highcharts_render_r_js_1.call(com.jaspersoft.jasperreports.highcharts.render.r.js)
      2 frames
    8. Rhino
      OptRuntime.callProp0
      1. org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:119)
      1 frame
    9. org.mozilla.javascript
      com_jaspersoft_jasperreports_highcharts_render_r_js_1.call
      1. org.mozilla.javascript.gen.com_jaspersoft_jasperreports_highcharts_render_r_js_1._c_anonymous_67(com.jaspersoft.jasperreports.highcharts.render.r.js:1382)
      2. org.mozilla.javascript.gen.com_jaspersoft_jasperreports_highcharts_render_r_js_1.call(com.jaspersoft.jasperreports.highcharts.render.r.js)
      2 frames
    10. Rhino
      OptRuntime.callProp0
      1. org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:119)
      1 frame
    11. org.mozilla.javascript
      com_jaspersoft_jasperreports_highcharts_render_r_js_1.call
      1. org.mozilla.javascript.gen.com_jaspersoft_jasperreports_highcharts_render_r_js_1._c_anonymous_49(com.jaspersoft.jasperreports.highcharts.render.r.js:1013)
      2. org.mozilla.javascript.gen.com_jaspersoft_jasperreports_highcharts_render_r_js_1.call(com.jaspersoft.jasperreports.highcharts.render.r.js)
      2 frames
    12. Rhino
      OptRuntime.callN
      1. org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:86)
      1 frame
    13. org.mozilla.javascript
      com_jaspersoft_jasperreports_highcharts_render_r_js_1.call
      1. org.mozilla.javascript.gen.com_jaspersoft_jasperreports_highcharts_render_r_js_1._c_anonymous_89(com.jaspersoft.jasperreports.highcharts.render.r.js:1655)
      2. org.mozilla.javascript.gen.com_jaspersoft_jasperreports_highcharts_render_r_js_1.call(com.jaspersoft.jasperreports.highcharts.render.r.js)
      2 frames
    14. Rhino
      OptRuntime.call0
      1. org.mozilla.javascript.optimizer.OptRuntime.call0(OptRuntime.java:57)
      1 frame
    15. org.mozilla.javascript
      com_jaspersoft_jasperreports_highcharts_render_r_js_1.call
      1. org.mozilla.javascript.gen.com_jaspersoft_jasperreports_highcharts_render_r_js_1._c_anonymous_104(com.jaspersoft.jasperreports.highcharts.render.r.js:1996)
      2. org.mozilla.javascript.gen.com_jaspersoft_jasperreports_highcharts_render_r_js_1.call(com.jaspersoft.jasperreports.highcharts.render.r.js)
      2 frames
    16. Rhino
      OptRuntime.call1
      1. org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66)
      1 frame
    17. org.mozilla.javascript
      com_jaspersoft_jasperreports_highcharts_render_r_js_1.call
      1. org.mozilla.javascript.gen.com_jaspersoft_jasperreports_highcharts_render_r_js_1._c_localRequire_88(com.jaspersoft.jasperreports.highcharts.render.r.js:1644)
      2. org.mozilla.javascript.gen.com_jaspersoft_jasperreports_highcharts_render_r_js_1.call(com.jaspersoft.jasperreports.highcharts.render.r.js)
      2 frames
    18. Rhino
      OptRuntime.callN
      1. org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:86)
      1 frame
    19. org.mozilla.javascript
      com_jaspersoft_jasperreports_highcharts_render_r_js_1.call
      1. org.mozilla.javascript.gen.com_jaspersoft_jasperreports_highcharts_render_r_js_1._c_anonymous_102(com.jaspersoft.jasperreports.highcharts.render.r.js:1976)
      2. org.mozilla.javascript.gen.com_jaspersoft_jasperreports_highcharts_render_r_js_1.call(com.jaspersoft.jasperreports.highcharts.render.r.js)
      2 frames
    20. Rhino
      OptRuntime.callName
      1. org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:97)
      1 frame
    21. org.mozilla.javascript
      com_jaspersoft_jasperreports_highcharts_render_svg_renderer_highcharts_js_2.call
      1. org.mozilla.javascript.gen.com_jaspersoft_jasperreports_highcharts_render_svg_renderer_highcharts_js_2._c_anonymous_6(com.jaspersoft.jasperreports.highcharts.render.svg-renderer-highcharts.js:45)
      2. org.mozilla.javascript.gen.com_jaspersoft_jasperreports_highcharts_render_svg_renderer_highcharts_js_2.call(com.jaspersoft.jasperreports.highcharts.render.svg-renderer-highcharts.js)
      2 frames
    22. Rhino
      OptRuntime.call2
      1. org.mozilla.javascript.ScriptRuntime.applyOrCall(ScriptRuntime.java:2521)
      2. org.mozilla.javascript.BaseFunction.execIdCall(BaseFunction.java:300)
      3. org.mozilla.javascript.IdFunctionObject.call(IdFunctionObject.java:129)
      4. org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1701)
      5. org.mozilla.javascript.Interpreter.interpret(Interpreter.java:854)
      6. org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
      7. org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76)
      7 frames
    23. org.mozilla.javascript
      com_jaspersoft_jasperreports_highcharts_render_svg_renderer_highcharts_js_2.call
      1. org.mozilla.javascript.gen.com_jaspersoft_jasperreports_highcharts_render_svg_renderer_highcharts_js_2._c_anonymous_5(com.jaspersoft.jasperreports.highcharts.render.svg-renderer-highcharts.js:41)
      2. org.mozilla.javascript.gen.com_jaspersoft_jasperreports_highcharts_render_svg_renderer_highcharts_js_2.call(com.jaspersoft.jasperreports.highcharts.render.svg-renderer-highcharts.js)
      2 frames
    24. Rhino
      OptRuntime.call2
      1. org.mozilla.javascript.ScriptRuntime.applyOrCall(ScriptRuntime.java:2521)
      2. org.mozilla.javascript.BaseFunction.execIdCall(BaseFunction.java:300)
      3. org.mozilla.javascript.IdFunctionObject.call(IdFunctionObject.java:129)
      4. org.mozilla.javascript.optimizer.OptRuntime.call2(OptRuntime.java:76)
      4 frames
    25. org.mozilla.javascript
      com_jaspersoft_jasperreports_highcharts_render_r_js_1.call
      1. org.mozilla.javascript.gen.com_jaspersoft_jasperreports_highcharts_render_r_js_1._c_anonymous_99(com.jaspersoft.jasperreports.highcharts.render.r.js:1889)
      2. org.mozilla.javascript.gen.com_jaspersoft_jasperreports_highcharts_render_r_js_1.call(com.jaspersoft.jasperreports.highcharts.render.r.js)
      2 frames
    26. Rhino
      OptRuntime.callN
      1. org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:86)
      1 frame
    27. org.mozilla.javascript
      com_jaspersoft_jasperreports_highcharts_render_r_js_1.call
      1. org.mozilla.javascript.gen.com_jaspersoft_jasperreports_highcharts_render_r_js_1._c_anonymous_55(com.jaspersoft.jasperreports.highcharts.render.r.js:1105)
      2. org.mozilla.javascript.gen.com_jaspersoft_jasperreports_highcharts_render_r_js_1.call(com.jaspersoft.jasperreports.highcharts.render.r.js)
      2 frames
    28. Rhino
      OptRuntime.callProp0
      1. org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:119)
      1 frame
    29. org.mozilla.javascript
      com_jaspersoft_jasperreports_highcharts_render_r_js_1.call
      1. org.mozilla.javascript.gen.com_jaspersoft_jasperreports_highcharts_render_r_js_1._c_anonymous_67(com.jaspersoft.jasperreports.highcharts.render.r.js:1382)
      2. org.mozilla.javascript.gen.com_jaspersoft_jasperreports_highcharts_render_r_js_1.call(com.jaspersoft.jasperreports.highcharts.render.r.js)
      2 frames
    30. Rhino
      OptRuntime.callProp0
      1. org.mozilla.javascript.optimizer.OptRuntime.callProp0(OptRuntime.java:119)
      1 frame
    31. org.mozilla.javascript
      com_jaspersoft_jasperreports_highcharts_render_r_js_1.call
      1. org.mozilla.javascript.gen.com_jaspersoft_jasperreports_highcharts_render_r_js_1._c_anonymous_49(com.jaspersoft.jasperreports.highcharts.render.r.js:1013)
      2. org.mozilla.javascript.gen.com_jaspersoft_jasperreports_highcharts_render_r_js_1.call(com.jaspersoft.jasperreports.highcharts.render.r.js)
      2 frames
    32. Rhino
      OptRuntime.callN
      1. org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:86)
      1 frame
    33. org.mozilla.javascript
      com_jaspersoft_jasperreports_highcharts_render_r_js_1.call
      1. org.mozilla.javascript.gen.com_jaspersoft_jasperreports_highcharts_render_r_js_1._c_anonymous_89(com.jaspersoft.jasperreports.highcharts.render.r.js:1655)
      2. org.mozilla.javascript.gen.com_jaspersoft_jasperreports_highcharts_render_r_js_1.call(com.jaspersoft.jasperreports.highcharts.render.r.js)
      2 frames
    34. Rhino
      OptRuntime.call0
      1. org.mozilla.javascript.optimizer.OptRuntime.call0(OptRuntime.java:57)
      1 frame
    35. org.mozilla.javascript
      com_jaspersoft_jasperreports_highcharts_render_r_js_1.call
      1. org.mozilla.javascript.gen.com_jaspersoft_jasperreports_highcharts_render_r_js_1._c_anonymous_104(com.jaspersoft.jasperreports.highcharts.render.r.js:1996)
      2. org.mozilla.javascript.gen.com_jaspersoft_jasperreports_highcharts_render_r_js_1.call(com.jaspersoft.jasperreports.highcharts.render.r.js)
      2 frames
    36. Rhino
      OptRuntime.call1
      1. org.mozilla.javascript.optimizer.OptRuntime.call1(OptRuntime.java:66)
      1 frame
    37. org.mozilla.javascript
      com_jaspersoft_jasperreports_highcharts_render_r_js_1.call
      1. org.mozilla.javascript.gen.com_jaspersoft_jasperreports_highcharts_render_r_js_1._c_localRequire_88(com.jaspersoft.jasperreports.highcharts.render.r.js:1644)
      2. org.mozilla.javascript.gen.com_jaspersoft_jasperreports_highcharts_render_r_js_1.call(com.jaspersoft.jasperreports.highcharts.render.r.js)
      2 frames
    38. Rhino
      OptRuntime.callN
      1. org.mozilla.javascript.optimizer.OptRuntime.callN(OptRuntime.java:86)
      1 frame
    39. org.mozilla.javascript
      com_jaspersoft_jasperreports_highcharts_render_r_js_1.call
      1. org.mozilla.javascript.gen.com_jaspersoft_jasperreports_highcharts_render_r_js_1._c_anonymous_102(com.jaspersoft.jasperreports.highcharts.render.r.js:1976)
      2. org.mozilla.javascript.gen.com_jaspersoft_jasperreports_highcharts_render_r_js_1.call(com.jaspersoft.jasperreports.highcharts.render.r.js)
      2 frames
    40. Rhino
      OptRuntime.callName
      1. org.mozilla.javascript.optimizer.OptRuntime.callName(OptRuntime.java:97)
      1 frame
    41. org.mozilla.javascript
      com_jaspersoft_jasperreports_highcharts_render_svg_renderer_highcharts_js_2.call
      1. org.mozilla.javascript.gen.com_jaspersoft_jasperreports_highcharts_render_svg_renderer_highcharts_js_2._c_renderSVGFromJson_4(com.jaspersoft.jasperreports.highcharts.render.svg-renderer-highcharts.js:31)
      2. org.mozilla.javascript.gen.com_jaspersoft_jasperreports_highcharts_render_svg_renderer_highcharts_js_2.call(com.jaspersoft.jasperreports.highcharts.render.svg-renderer-highcharts.js)
      2 frames
    42. Rhino
      Context.evaluateString
      1. org.mozilla.javascript.Interpreter.interpretLoop(Interpreter.java:1701)
      2. org.mozilla.javascript.Interpreter.interpret(Interpreter.java:854)
      3. org.mozilla.javascript.InterpretedFunction.call(InterpretedFunction.java:164)
      4. org.mozilla.javascript.ContextFactory.doTopCall(ContextFactory.java:426)
      5. org.mozilla.javascript.ScriptRuntime.doTopCall(ScriptRuntime.java:3178)
      6. org.mozilla.javascript.InterpretedFunction.exec(InterpretedFunction.java:175)
      7. org.mozilla.javascript.Context.evaluateString(Context.java:1111)
      7 frames
    43. com.jaspersoft.jasperreports
      ChartGraphics2DHandler.exportElement
      1. com.jaspersoft.jasperreports.highcharts.charts.render.RhinoChartSvgProducer.getChartSvg(RhinoChartSvgProducer.java:104)
      2. com.jaspersoft.jasperreports.highcharts.charts.render.DefaultChartSvgProducer.getChartSvg(DefaultChartSvgProducer.java:39)
      3. com.jaspersoft.jasperreports.highcharts.charts.render.ChartSvgImageProducer.createRenderable(ChartSvgImageProducer.java:81)
      4. com.jaspersoft.jasperreports.highcharts.charts.render.ChartSvgImageProducer.getChartImage(ChartSvgImageProducer.java:45)
      5. com.jaspersoft.jasperreports.highcharts.charts.ChartGraphics2DHandler.exportElement(ChartGraphics2DHandler.java:47)
      5 frames
    44. JasperReports
      JasperPrintManager.printToImage
      1. net.sf.jasperreports.engine.export.draw.FrameDrawer.draw(FrameDrawer.java:246)
      2. net.sf.jasperreports.engine.export.draw.FrameDrawer.draw(FrameDrawer.java:198)
      3. net.sf.jasperreports.engine.export.JRGraphics2DExporter.exportPage(JRGraphics2DExporter.java:342)
      4. net.sf.jasperreports.engine.export.JRGraphics2DExporter.exportReportToGraphics2D(JRGraphics2DExporter.java:311)
      5. net.sf.jasperreports.engine.export.JRGraphics2DExporter.exportReport(JRGraphics2DExporter.java:236)
      6. net.sf.jasperreports.engine.print.JRPrinterAWT.printPageToImage(JRPrinterAWT.java:290)
      7. net.sf.jasperreports.engine.JasperPrintManager.printToImage(JasperPrintManager.java:290)
      7 frames
    45. com.jaspersoft.jasperserver
      AsyncThumbnailCreatorImpl$ThumbnailRunnable.run
      1. com.jaspersoft.jasperserver.api.metadata.common.service.impl.ThumbnailGenerationServiceImpl.obtainImage(ThumbnailGenerationServiceImpl.java:71)
      2. com.jaspersoft.jasperserver.api.metadata.common.service.impl.ThumbnailGenerationServiceImpl.createThumbnail(ThumbnailGenerationServiceImpl.java:50)
      3. com.jaspersoft.jasperserver.api.metadata.common.service.impl.ThumbnailGenerationServiceImpl.createThumbnail(ThumbnailGenerationServiceImpl.java:24)
      4. com.jaspersoft.jasperserver.api.metadata.common.service.impl.AsyncThumbnailCreatorImpl$ThumbnailRunnable.run(AsyncThumbnailCreatorImpl.java:55)
      4 frames
    46. Java RT
      Thread.run
      1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
      2. java.util.concurrent.FutureTask.run(FutureTask.java:266)
      3. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      4. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      5. java.lang.Thread.run(Thread.java:745)
      5 frames