Ticket #227 (assigned defect)

Opened 5 years ago

Last modified 5 years ago

Searchable gives marshal error

Reported by: business@… Owned by: business@…
Priority: major Milestone: Should have
Component: General Version:
Keywords: Cc:
Hardware: Operating system:
Product: URL:


To reproduce the marshaling error, revert [1170] and create a study with events.
If you can package this into a smaller application and submit it to http://jira.codehaus.org/browse/GRAILSPLUGINS-1577, that would be great!

Change History

comment:1 Changed 5 years ago by j.saito@…

  • Status changed from new to accepted

I have been trying to reproduce this error using revision 1170 for some while now but the error does not occure. Searchable is included in the application.properties. Do I need to additionally activate it?

Did you receive the marshaling error on stdout or is it written to some logfile (i tried redirecting the log outputs to stdout but I'm not seeing anything). Does the error occure every time or only sometimes?

comment:2 Changed 5 years ago by j.saito@…

Now I can reporduce something afterall. The error I do get when calling searchable in simple query is as follows. Is that the error you were referring to?

RESULT: [total:1, hits:org.compass.core.impl.DefaultCompassDetachedHits@785941, max:10, scores:[0.4226169], results:[NuGO PPS human study], offset:0]
NuGO PPS human study
GSCF studies: [2]
Sam studies []
[NuGO PPS human study]
pojo.BasicLazyInitializer? Javassist Enhancement failed: dbnp.studycapturing.Template
java.lang.ClassCastException?: dbnp.studycapturing.Template_$$_javassist_32 cannot be cast to dbnp.studycapturing.Template_$$_javassist_33

at dbnp.studycapturing.Template_$$_javassist_33$this$2$setIdentifier.callCurrent(Unknown Source)
at dbnp.studycapturing.Identity.<init>(Identity.groovy:60)
at dbnp.studycapturing.Template.<init>(Template.groovy:82)
at dbnp.studycapturing.Template_$$_javassist_32.<init>(Template_

comment:3 Changed 5 years ago by j.saito@…

Found the marshaling bug now and understand the actual issue.

comment:4 Changed 5 years ago by business@…

See r1225 for Javassist (also many of those errors were introduced with grails 1.3.5)
Try 1.3.6, Jahn did that but did not change anything

comment:5 Changed 5 years ago by work@…

Actually, ignore the previous comment... it turned out that r1225 did not fix the issue... see #254

comment:6 Changed 5 years ago by business@…

  • Owner changed from j.saito@… to work@…
  • Status changed from accepted to assigned

Assigning to Jeroen to check whether this is resolved by #254 fixes. Otherwise, this has to go to a later milestone.

comment:7 Changed 5 years ago by work@…

Just confirmed this issue is still in there as of revision 1356...

comment:8 Changed 5 years ago by work@…

  • Milestone changed from 0.6.2 to 0.7

comment:9 Changed 5 years ago by work@…

  • Owner changed from work@… to kees.vanbochove@…

did some debugging in r1452 but issue is still there... also if searchable is enabled the project becomes really slow... perhaps we need to get rid of searchable and implement search fnctionality in another way?

comment:10 Changed 5 years ago by business@…

  • Owner changed from kees.vanbochove@… to business@…

comment:11 Changed 5 years ago by work@…

it appears PostgreSQL supports full-text searches using the Tsearch2 extension, perhaps we can use this instead of searchable?

Note: See TracTickets for help on using tickets.