#246 ✓resolved

JavaScript Application Error

Reported by jablko | June 30th, 2010 @ 07:23 PM

When I try to reload any plugin in Plugin Manager I get an error: "only generation of JSON objects or arrays allowed"

There is also when I try to find in my find-in-project plugin.

Console log:

jablko@3bit:~$ redcar
Redcar ( x86_64-linux )
java -Xmx500m -Xss1024k -Djruby.memory.max=500m -Djruby.stack.max=1024k -cp "/home/jablko/.rvm/gems/ruby-1.8.7-p249/gems/redcar-" org.jruby.Main "/home/jablko/.rvm/gems/ruby-1.8.7-p249/gems/redcar-" --no-sub-jruby --ignore-stdin
Redcar ( java )
loading linux64/swt
loading plugins took 3.042
EditViewSWT.start took 2.133s
initializing gui took 0.146s
indent setting without scope! #<Redcar::Textmate::UnIndentedLinePatternSetting:0x70991d56 @plist="^\s*$", @scope=nil>
project start took 5.522s
XULRunner path: /usr/lib/xulrunner-



Comments and changes to this ticket

  • Daniel Lucraft

    Daniel Lucraft June 30th, 2010 @ 09:12 PM

    • State changed from “new” to “resolved”

    It was still working, but the return value from the controller action was 1, which can't be encoded as JSON. I've changed it so that it will return nil if the return value can't be encoded as json.

    thanks for the detailed report.

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

A programmer's text editor for Gnome.

People watching this ticket