exception when trying to customize the dashboard

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

exception when trying to customize the dashboard

alins
here's what i did:

go to "customize tab" and i try adding a new column:

    {
      "groupBy": "vals",
      "linkable": true,
      "name": "tags",
      "orderBy": "asc",
      "source": "entryState",
      "visible": true
    },


save works fine but when i try to access the console i get this:

Error 500: Executing action [delta] of controller [org.linkedin.glu.console.controllers.DashboardController] caused exception: groovy.lang.MissingMethodException: No signature of method: java.lang.Integer.size() is applicable for argument types: () values: [] Possible solutions: is(java.lang.Object), sleep(long), div(java.lang.Number), use([Ljava.lang.Object;), with(groovy.lang.Closure), find(groovy.lang.Closure)
Servlet: grails
URI: /console/grails/dashboard/delta.dispatch
Exception Message: No signature of method: java.lang.Integer.size() is applicable for argument types: () values: [] Possible solutions: is(java.lang.Object), sleep(long), div(java.lang.Number), use([Ljava.lang.Object;), with(groovy.lang.Closure), find(groovy.lang.Closure)
Caused by: No signature of method: java.lang.Integer.size() is applicable for argument types: () values: [] Possible solutions: is(java.lang.Object), sleep(long), div(java.lang.Number), use([Ljava.lang.Object;), with(groovy.lang.Closure), find(groovy.lang.Closure)
Class: DashboardController
At Line: [68]
Reply | Threaded
Open this post in threaded view
|

Re: exception when trying to customize the dashboard

frenchyan
Administrator
I can definitely reproduce the issue. Created a ticket for it: https://github.com/linkedin/glu/issues/113
Reply | Threaded
Open this post in threaded view
|

Re: exception when trying to customize the dashboard

frenchyan
Administrator
Quick workaround: it seems that it is failing because you have 2 entries with the same "tags" name... if you rename the one you added with something else than tags it works

Yan
Reply | Threaded
Open this post in threaded view
|

Re: exception when trying to customize the dashboard

frenchyan
Administrator
I confirm that the issue is the duplicate name. I am adding a check to detect this error condition...