netscape.javascript.JSException: SyntaxError: Unexpected identifier 'exp'. Expected '}' to end a object literal.

GitHub | yunus89 | 7 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    GitHub comment 2#239807393

    GitHub | 7 months ago | yunus89
    netscape.javascript.JSException: SyntaxError: Unexpected identifier 'exp'. Expected '}' to end a object literal.
  2. 0

    Error while running FunctionPlotter class

    GitHub | 7 months ago | yunus89
    netscape.javascript.JSException: SyntaxError: Unexpected identifier 'exp'. Expected '}' to end a object literal.

    Root Cause Analysis

    1. netscape.javascript.JSException

      SyntaxError: Unexpected identifier 'exp'. Expected '}' to end a object literal.

      at com.sun.webkit.dom.JSObject.fwkMakeException()
    2. com.sun.webkit
      JSObject.eval
      1. com.sun.webkit.dom.JSObject.fwkMakeException(JSObject.java:128)
      2. com.sun.webkit.dom.JSObject.evalImpl(Native Method)
      3. com.sun.webkit.dom.JSObject.eval(JSObject.java:52)
      3 frames
    3. org.treez.javafxd3
      JavaFxD3Browser.lambda$registerLoadingFinishedHook$1
      1. org.treez.javafxd3.d3.wrapper.JavaScriptObject.evalForJsObject(JavaScriptObject.java:462)
      2. org.treez.javafxd3.functionplot.Options.setDataExpression(Options.java:197)
      3. org.treez.javafxd3.javafx.FunctionPlotter.plotExecute(FunctionPlotter.java:104)
      4. org.treez.javafxd3.javafx.FunctionPlotter.lambda$plot$1(FunctionPlotter.java:94)
      5. org.treez.javafxd3.javafx.FunctionPlotter.processQueue(FunctionPlotter.java:76)
      6. org.treez.javafxd3.javafx.FunctionPlotter.lambda$createJavaFxD3Browser$0(FunctionPlotter.java:62)
      7. org.treez.javafxd3.javafx.JavaFxD3Browser.lambda$registerLoadingFinishedHook$1(JavaFxD3Browser.java:143)
      7 frames
    4. com.sun.javafx
      ExpressionHelper.fireValueChangedEvent
      1. com.sun.javafx.binding.ExpressionHelper$SingleChange.fireValueChangedEvent(ExpressionHelper.java:182)
      2. com.sun.javafx.binding.ExpressionHelper.fireValueChangedEvent(ExpressionHelper.java:81)
      2 frames
    5. javafx.beans.property
      ObjectPropertyBase.set
      1. javafx.beans.property.ReadOnlyObjectPropertyBase.fireValueChangedEvent(ReadOnlyObjectPropertyBase.java:74)
      2. javafx.beans.property.ReadOnlyObjectWrapper.fireValueChangedEvent(ReadOnlyObjectWrapper.java:102)
      3. javafx.beans.property.ObjectPropertyBase.markInvalid(ObjectPropertyBase.java:112)
      4. javafx.beans.property.ObjectPropertyBase.set(ObjectPropertyBase.java:146)
      4 frames
    6. javafx.scene.web
      WebEngine$PageLoadListener.dispatchLoadEvent
      1. javafx.scene.web.WebEngine$LoadWorker.updateState(WebEngine.java:1260)
      2. javafx.scene.web.WebEngine$LoadWorker.dispatchLoadEvent(WebEngine.java:1371)
      3. javafx.scene.web.WebEngine$LoadWorker.access$1200(WebEngine.java:1253)
      4. javafx.scene.web.WebEngine$PageLoadListener.dispatchLoadEvent(WebEngine.java:1240)
      4 frames
    7. com.sun.webkit
      Timer.notifyTick
      1. com.sun.webkit.WebPage.fireLoadEvent(WebPage.java:2400)
      2. com.sun.webkit.WebPage.fwkFireLoadEvent(WebPage.java:2244)
      3. com.sun.webkit.Timer.twkFireTimerEvent(Native Method)
      4. com.sun.webkit.Timer.fireTimerEvent(Timer.java:83)
      5. com.sun.webkit.Timer.notifyTick(Timer.java:64)
      5 frames
    8. javafx.scene.web
      WebEngine$PulseTimer.lambda$static$45
      1. javafx.scene.web.WebEngine$PulseTimer.lambda$static$45(WebEngine.java:1201)
      1 frame
    9. com.sun.javafx
      Toolkit.lambda$runPulse$30
      1. com.sun.javafx.tk.Toolkit.lambda$runPulse$30(Toolkit.java:355)
      1 frame
    10. Java RT
      AccessController.doPrivileged
      1. java.security.AccessController.doPrivileged(Native Method)
      1 frame
    11. com.sun.javafx
      QuantumToolkit.lambda$runToolkit$404
      1. com.sun.javafx.tk.Toolkit.runPulse(Toolkit.java:354)
      2. com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:381)
      3. com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:510)
      4. com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:490)
      5. com.sun.javafx.tk.quantum.QuantumToolkit.lambda$runToolkit$404(QuantumToolkit.java:319)
      5 frames
    12. com.sun.glass
      WinApplication.lambda$null$148
      1. com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
      2. com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
      3. com.sun.glass.ui.win.WinApplication.lambda$null$148(WinApplication.java:191)
      3 frames
    13. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame