Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception in Grails 2.2.4 #7

Open
fedotxxl opened this issue Sep 29, 2013 · 0 comments
Open

Exception in Grails 2.2.4 #7

fedotxxl opened this issue Sep 29, 2013 · 0 comments
Labels

Comments

@fedotxxl
Copy link

23:22:12.617 [ERROR] [errors.GrailsExceptionResolver]: IllegalArgumentException occurred when processing request: [GET] /mviewer/serverStatus Cannot convert DBOject [[serverUsed:localhost/127.0.0.1:27017, host:gramant-fedor, version:2.2.0, process:mongod, pid:9488, uptime:1330.0, uptimeMillis:1329776, uptimeEstimate:1326.0, localTime:Sun Sep 29 23:22:12 MSK 2013, locks:[.:[timeLockedMicros:[R:15795, W:236543], timeAcquiringMicros:[R:101338, W:2317]], admin:[timeLockedMicros:[:], timeAcquiringMicros:[:]], local:[timeLockedMicros:[r:1003, w:0], timeAcquiringMicros:[r:59, w:0]], keynote:[timeLockedMicros:[r:13976, w:13396], timeAcquiringMicros:[r:156, w:35]]], globalLock:[totalTime:1329776000, lockTime:236543, currentQueue:[total:0, readers:0, writers:0], activeClients:[total:0, readers:0, writers:0]], mem:[bits:64, resident:55, virtual:305, supported:true, mapped:80, mappedWithJournal:160], connections:[current:9, available:19991], extra_info:[note:fields vary by platform, page_faults:18765, usagePageFileMB:70, totalPageFileMB:17838, availPageFileMB:3366, ramMB:8174], indexCounters:[note:not supported on this platform], backgroundFlushing:[flushes:22, total_ms:96, average_ms:4.363636363636363, last_ms:3, last_finished:Sun Sep 29 23:22:02 MSK 2013], cursors:[totalOpen:0, clientCursors_size:0, timedOut:0], network:[bytesIn:8905, bytesOut:16132, numRequests:87], opcounters:[insert:0, query:84, update:12, delete:0, getmore:0, command:36], asserts:[regular:0, warning:0, msg:0, user:0, rollovers:0], writeBacksQueued:false, dur:[commits:30, journaledMB:0.0, writeToDataFilesMB:0.0, compression:0.0, commitsInWriteLock:0, earlyCommits:0, timeMs:[dt:3065, prepLogBuffer:0, writeToJournal:0, writeToDataFiles:0, remapPrivateView:0]], recordStats:[accessesNotInMemory:1, pageFaultExceptionsThrown:1, keynote:[accessesNotInMemory:1, pageFaultExceptionsThrown:1], local:[accessesNotInMemory:0, pageFaultExceptionsThrown:0]], ok:1.0]] to target type class grails.converters.JSON. Type is not a persistent entity. Stacktrace follows: java.lang.IllegalArgumentException: Cannot convert DBOject [[serverUsed:localhost/127.0.0.1:27017, host:gramant-fedor, version:2.2.0, process:mongod, pid:9488, uptime:1330.0, uptimeMillis:1329776, uptimeEstimate:1326.0, localTime:Sun Sep 29 23:22:12 MSK 2013, locks:[.:[timeLockedMicros:[R:15795, W:236543], timeAcquiringMicros:[R:101338, W:2317]], admin:[timeLockedMicros:[:], timeAcquiringMicros:[:]], local:[timeLockedMicros:[r:1003, w:0], timeAcquiringMicros:[r:59, w:0]], keynote:[timeLockedMicros:[r:13976, w:13396], timeAcquiringMicros:[r:156, w:35]]], globalLock:[totalTime:1329776000, lockTime:236543, currentQueue:[total:0, readers:0, writers:0], activeClients:[total:0, readers:0, writers:0]], mem:[bits:64, resident:55, virtual:305, supported:true, mapped:80, mappedWithJournal:160], connections:[current:9, available:19991], extra_info:[note:fields vary by platform, page_faults:18765, usagePageFileMB:70, totalPageFileMB:17838, availPageFileMB:3366, ramMB:8174], indexCounters:[note:not supported on this platform], backgroundFlushing:[flushes:22, total_ms:96, average_ms:4.363636363636363, last_ms:3, last_finished:Sun Sep 29 23:22:02 MSK 2013], cursors:[totalOpen:0, clientCursors_size:0, timedOut:0], network:[bytesIn:8905, bytesOut:16132, numRequests:87], opcounters:[insert:0, query:84, update:12, delete:0, getmore:0, command:36], asserts:[regular:0, warning:0, msg:0, user:0, rollovers:0], writeBacksQueued:false, dur:[commits:30, journaledMB:0.0, writeToDataFilesMB:0.0, compression:0.0, commitsInWriteLock:0, earlyCommits:0, timeMs:[dt:3065, prepLogBuffer:0, writeToJournal:0, writeToDataFiles:0, remapPrivateView:0]], recordStats:[accessesNotInMemory:1, pageFaultExceptionsThrown:1, keynote:[accessesNotInMemory:1, pageFaultExceptionsThrown:1], local:[accessesNotInMemory:0, pageFaultExceptionsThrown:0]], ok:1.0]] to target type class grails.converters.JSON. Type is not a persistent entity at org.grails.datastore.gorm.mongo.plugin.support.MongoMethodsConfigurer$_configure_closure1.doCall(MongoMethodsConfigurer.groovy:69) at org.grails.plugin.mongodb.console.controllers.MviewerController.serverStatus(MviewerController.groovy:61) at grails.plugin.cache.web.filter.PageFragmentCachingFilter.doFilter(PageFragmentCachingFilter.java:195) at grails.plugin.cache.web.filter.AbstractFilter.doFilter(AbstractFilter.java:63) at org.apache.shiro.grails.SavedRequestFilter.doFilter(SavedRequestFilter.java:55) at org.apache.shiro.web.servlet.AbstractShiroFilter.executeChain(AbstractShiroFilter.java:449) at org.apache.shiro.web.servlet.AbstractShiroFilter$1.call(AbstractShiroFilter.java:365) at org.apache.shiro.subject.support.SubjectCallable.doCall(SubjectCallable.java:90) at org.apache.shiro.subject.support.SubjectCallable.call(SubjectCallable.java:83) at org.apache.shiro.subject.support.DelegatingSubject.execute(DelegatingSubject.java:380) at org.apache.shiro.web.servlet.AbstractShiroFilter.doFilterInternal(AbstractShiroFilter.java:362) at org.apache.shiro.web.servlet.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:125) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722)

I think this http://jira.grails.org/browse/GPMONGODB-243 should help

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant