Quantcast

Gorm suddenly not working in the console plugin

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Gorm suddenly not working in the console plugin

366388

I'm using the console plugin and usually never have issues,

runtime 'org.grails.plugins:grails-console:2.0.4'

however suddenly GORM methods are giving me problems when I run them in there

for example when I run

import ...
CourseGuideDocument.list([max:10])


groovy.lang.MissingMethodException: No signature of method: org.grails.plugins.console.ConsoleService$_createInterceptor_closure1.doCall() is applicable for argument types: (java.lang.Integer, java.lang.String) values: [0, Hibernate: select * from ( select this_.ID as ID1_0_0_, this_.VERSION as VERSION2_0_0_, this_.COURSE_PROPOSAL_ID as COURSE_PROPOSAL_ID3_0_0_, this_.DATE_CREATED as DATE_CREATED4_0_0_, this_.HTML_DOC as HTML_DOC5_0_0_, this_.LAST_UPDATED as LAST_UPDATED6_0_0_, this_.XML_DOC as XML_DOC7_0_0_ from CIS_OWNER.COURSE_GUIDE_DOCUMENTS this_ ) where rownum <= ?]
Possible solutions: doCall(java.lang.String), findAll(), findAll()
at java.io.PrintStream.write(PrintStream.java:480)
at java.io.OutputStreamWriter.flushBuffer(OutputStreamWriter.java:185)
at java.io.PrintStream.write(PrintStream.java:527)
at java.io.PrintStream.print(PrintStream.java:669)
at java.io.PrintStream.println(PrintStream.java:806)
at grails.orm.PagedResultList.<init>(PagedResultList.java:43)
at Script1.run(Script1.groovy:3)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at edu.yale.its.tp.cas.client.filter.CASFilter.doFilter(CASFilter.java:317)
at org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1652)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:585)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:577)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:223)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1127)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:515)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:185)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1061)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:97)
at org.eclipse.jetty.server.Server.handle(Server.java:499)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:311)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:257)
at org.eclipse.jetty.io.AbstractConnection$2.run(AbstractConnection.java:544)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:635)
at org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:555)
at java.lang.Thread.run(Thread.java:745)



anyone ever seen this ?
Loading...