[Fixed] Score Drawer Broken?

Pixel Pusher

  • Posts: 152
Trying to open up the Score Drawer behavior and this error displays in the console. Was working fine in b367.

Sorry bout the long text. No spoiler function I guess..

[LOG] Loading Closed Resource: Score Drawer
[ERR] Warning: This kind of block does not exist: set-font
[ERR] Error: Trying to place a block that doesn't exist. Ignoring but could indi
cate a problem.
java.lang.RuntimeException: java.lang.NoSuchMethodError: org.fife.ui.autocomplete.DefaultCompletionProvider.setAutoActivationRules(ZLjava/lang/String;)V
        at stencyl.sw.app.tasks.StencylWorker.done(StencylWorker.java:71)
        at stencyl.sw.app.tasks.StencylWorker.done(StencylWorker.java:52)
        at stencyl.sw.app.tasks.OpenResourceTask.done(OpenResourceTask.java:72)
        at org.jdesktop.swingworker.SwingWorker$5.run(Unknown Source)
        at org.jdesktop.swingworker.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source)
        at org.jdesktop.swingworker.AccumulativeRunnable.run(Unknown Source)
        at org.jdesktop.swingworker.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source)
        at javax.swing.Timer.fireActionPerformed(Unknown Source)
        at javax.swing.Timer$DoPostEvent.run(Unknown Source)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$000(Unknown Source)
        at java.awt.EventQueue$1.run(Unknown Source)
        at java.awt.EventQueue$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(UnknownSource)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.NoSuchMethodError: org.fife.ui.autocomplete.DefaultCompletionProvider.setAutoActivationRules(ZLjava/lang/String;)V
        at stencyl.sw.editors.snippet.code.SnippetCoder.createCodeCompletionProvider(SnippetCoder.java:460)
        at stencyl.sw.editors.snippet.code.SnippetCoder.createCompletionProvider(SnippetCoder.java:500)
        at stencyl.sw.editors.snippet.designer.CodeAreaField.<init>(CodeAreaField.java:74)
        at stencyl.sw.editors.snippet.designer.Block.initField(Block.java:2519)
        at stencyl.sw.editors.snippet.designer.Block.<init>(Block.java:331)
        at stencyl.sw.editors.snippet.designer.Block.createActionBlock(Block.java:235)
        at stencyl.sw.editors.snippet.designer.Block.fromXML(Block.java:1256)
        at stencyl.sw.editors.snippet.designer.Group.fromXML(Group.java:257)
        at stencyl.sw.editors.snippet.designer.Block.fromXML(Block.java:1315)
        at stencyl.sw.editors.snippet.designer.Group.fromXML(Group.java:257)
        at stencyl.sw.editors.snippet.designer.Block.fromXML(Block.java:1315)
        at stencyl.sw.editors.snippet.designer.Group.fromXML(Group.java:257)
        at stencyl.sw.editors.snippet.designer.EditArea.loadSnippetFromDisk(EditArea.java:262)
        at stencyl.sw.editors.snippet.designer.EditArea.<init>(EditArea.java:501)
        at stencyl.sw.editors.snippet.designer.SnippetDesigner.<init>(SnippetDesigner.java:180)
        at stencyl.sw.editors.snippet.SnippetDesignTab.<init>(SnippetDesignTab.java:95)
        at stencyl.sw.app.doc.Workspace.fetchEditorForResource(Workspace.java:579)
        at stencyl.sw.app.doc.Workspace.finishOpenResource(Workspace.java:436)
        at stencyl.sw.app.tasks.OpenResourceTask.doInBackground(OpenResourceTask.java:64)
        at stencyl.sw.app.tasks.OpenResourceTask.doInBackground(OpenResourceTask.java:20)
        at org.jdesktop.swingworker.SwingWorker$1.call(Unknown Source)
        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at org.jdesktop.swingworker.SwingWorker.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
java.lang.RuntimeException: java.lang.NoSuchMethodError: org.fife.ui.autocomplete.DefaultCompletionProvider.setAutoActivationRules(ZLjava/lang/String;)V
        at stencyl.sw.app.tasks.StencylWorker.done(StencylWorker.java:71)
        at stencyl.sw.app.tasks.StencylWorker.done(StencylWorker.java:52)
        at stencyl.sw.app.tasks.OpenResourceTask.done(OpenResourceTask.java:72)
        at org.jdesktop.swingworker.SwingWorker$5.run(Unknown Source)
        at org.jdesktop.swingworker.SwingWorker$DoSubmitAccumulativeRunnable.run(Unknown Source)
        at org.jdesktop.swingworker.AccumulativeRunnable.run(Unknown Source)
        at org.jdesktop.swingworker.SwingWorker$DoSubmitAccumulativeRunnable.actionPerformed(Unknown Source)
        at javax.swing.Timer.fireActionPerformed(Unknown Source)
        at javax.swing.Timer$DoPostEvent.run(Unknown Source)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$000(Unknown Source)
        at java.awt.EventQueue$1.run(Unknown Source)
        at java.awt.EventQueue$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.AccessControlContext$1.doIntersectionPrivilege(UnknownSource)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: java.lang.NoSuchMethodError: org.fife.ui.autocomplete.DefaultCompletionProvider.setAutoActivationRules(ZLjava/lang/String;)V
        at stencyl.sw.editors.snippet.code.SnippetCoder.createCodeCompletionProvider(SnippetCoder.java:460)
        at stencyl.sw.editors.snippet.code.SnippetCoder.createCompletionProvider(SnippetCoder.java:500)
        at stencyl.sw.editors.snippet.designer.CodeAreaField.<init>(CodeAreaField.java:74)
        at stencyl.sw.editors.snippet.designer.Block.initField(Block.java:2519)
        at stencyl.sw.editors.snippet.designer.Block.<init>(Block.java:331)
        at stencyl.sw.editors.snippet.designer.Block.createActionBlock(Block.java:235)
        at stencyl.sw.editors.snippet.designer.Block.fromXML(Block.java:1256)
        at stencyl.sw.editors.snippet.designer.Group.fromXML(Group.java:257)
        at stencyl.sw.editors.snippet.designer.Block.fromXML(Block.java:1315)
        at stencyl.sw.editors.snippet.designer.Group.fromXML(Group.java:257)
        at stencyl.sw.editors.snippet.designer.Block.fromXML(Block.java:1315)
        at stencyl.sw.editors.snippet.designer.Group.fromXML(Group.java:257)
        at stencyl.sw.editors.snippet.designer.EditArea.loadSnippetFromDisk(EditArea.java:262)
        at stencyl.sw.editors.snippet.designer.EditArea.<init>(EditArea.java:501)
        at stencyl.sw.editors.snippet.designer.SnippetDesigner.<init>(SnippetDesigner.java:180)
        at stencyl.sw.editors.snippet.SnippetDesignTab.<init>(SnippetDesignTab.java:95)
        at stencyl.sw.app.doc.Workspace.fetchEditorForResource(Workspace.java:579)
        at stencyl.sw.app.doc.Workspace.finishOpenResource(Workspace.java:436)
        at stencyl.sw.app.tasks.OpenResourceTask.doInBackground(OpenResourceTask.java:64)
        at stencyl.sw.app.tasks.OpenResourceTask.doInBackground(OpenResourceTask.java:20)
        at org.jdesktop.swingworker.SwingWorker$1.call(Unknown Source)
        at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
        at java.util.concurrent.FutureTask.run(Unknown Source)
        at org.jdesktop.swingworker.SwingWorker.run(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.lang.Thread.run(Unknown Source)
[LOG] Unexpected problem on thread AWT-EventQueue-0: java.lang.NoSuchMethodError
: org.fife.ui.autocomplete.DefaultCompletionProvider.setAutoActivationRules(ZLjava/lang/String;)V

« Last Edit: March 22, 2011, 10:28:46 pm by Pixel Pusher »

Joe

  • *
  • Posts: 2480
Looks like we removed a block. Can you look for a "set font" block and replace it with whatever's in the Palette now?

Pixel Pusher

  • Posts: 152
Well I can't get the behavior open to check.

Joe

  • *
  • Posts: 2480
Well I can't get the behavior open to check.

Oops, my bad. Do you have a copy of b367 available? Otherwise, we might have to mingle with some XML files.

Jon

  • *
  • Posts: 17533
Your copy of b367 is bad and is missing an updated copy of lib.jar. I can't speculate as to why that is other than to recommend redownloading the ZIP and reupgrading, or if you want a quick fix, just pop this into your directory.

http://beta.stencyl.net/patches/367/lib.jar

Pixel Pusher

  • Posts: 152
Hey thanks. That fixed it. Seems to run the game now without errors.