processing.app.SketchException: Badly formed character constant (expecting quote, got x)

processing.org | 8 months 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

    Using toxiclibs in processing js - Processing 2.x and 3.x Forum

    processing.org | 8 months ago
    processing.app.SketchException: Badly formed character constant (expecting quote, got x)

    Root Cause Analysis

    1. processing.app.SketchException

      Badly formed character constant (expecting quote, got x)

      at processing.mode.java.preproc.PdePreprocessor.checkForUnterminatedMultilineComment()
    2. processing.mode.java
      PdePreprocessor.write
      1. processing.mode.java.preproc.PdePreprocessor.checkForUnterminatedMultilineComment(PdePreprocessor.java:478)
      2. processing.mode.java.preproc.PdePreprocessor.write(PdePreprocessor.java:515)
      2 frames
    3. de.bezier.mode
      JavaScriptToolbar.handlePressed
      1. de.bezier.mode.javascript.JavaScriptBuild.preprocess(Unknown Source)
      2. de.bezier.mode.javascript.JavaScriptBuild.build(Unknown Source)
      3. de.bezier.mode.javascript.JavaScriptBuild.export(Unknown Source)
      4. de.bezier.mode.javascript.JavaScriptMode.handleExport(Unknown Source)
      5. de.bezier.mode.javascript.JavaScriptEditor.handleExport(Unknown Source)
      6. de.bezier.mode.javascript.JavaScriptEditor.handleStartServer(Unknown Source)
      7. de.bezier.mode.javascript.JavaScriptEditor.handleSave(Unknown Source)
      8. de.bezier.mode.javascript.JavaScriptEditor.handleExportCheckModified(Unknown Source)
      9. de.bezier.mode.javascript.JavaScriptEditor.handleExport(Unknown Source)
      10. de.bezier.mode.javascript.JavaScriptToolbar.handlePressed(Unknown Source)
      10 frames
    4. processing.app
      EditorToolbar.mousePressed
      1. processing.app.EditorToolbar.mousePressed(EditorToolbar.java:474)
      1 frame
    5. Java RT
      EventDispatchThread.run
      1. java.awt.Component.processMouseEvent(Unknown Source)
      2. javax.swing.JComponent.processMouseEvent(Unknown Source)
      3. java.awt.Component.processEvent(Unknown Source)
      4. java.awt.Container.processEvent(Unknown Source)
      5. java.awt.Component.dispatchEventImpl(Unknown Source)
      6. java.awt.Container.dispatchEventImpl(Unknown Source)
      7. java.awt.Component.dispatchEvent(Unknown Source)
      8. java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
      9. java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
      10. java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
      11. java.awt.Container.dispatchEventImpl(Unknown Source)
      12. java.awt.Window.dispatchEventImpl(Unknown Source)
      13. java.awt.Component.dispatchEvent(Unknown Source)
      14. java.awt.EventQueue.dispatchEventImpl(Unknown Source)
      15. java.awt.EventQueue.access$200(Unknown Source)
      16. java.awt.EventQueue$3.run(Unknown Source)
      17. java.awt.EventQueue$3.run(Unknown Source)
      18. java.security.AccessController.doPrivileged(Native Method)
      19. java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
      20. java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
      21. java.awt.EventQueue$4.run(Unknown Source)
      22. java.awt.EventQueue$4.run(Unknown Source)
      23. java.security.AccessController.doPrivileged(Native Method)
      24. java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
      25. java.awt.EventQueue.dispatchEvent(Unknown Source)
      26. java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
      27. java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
      28. java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
      29. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      30. java.awt.EventDispatchThread.pumpEvents(Unknown Source)
      31. java.awt.EventDispatchThread.run(Unknown Source)
      31 frames