Ticket #227 (assigned defect)

Opened 3 years ago

Last modified 3 years ago

Searchable gives marshal error

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

Description

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

Changed 3 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?

Changed 3 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_

Changed 3 years ago by j.saito@…

Found the marshaling bug now and understand the actual issue.

Changed 3 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

Changed 3 years ago by work@…

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

Changed 3 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.

Changed 3 years ago by work@…

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

Changed 3 years ago by work@…

  • milestone changed from 0.6.2 to 0.7

Changed 3 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?

Changed 3 years ago by business@…

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

Changed 3 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.