XDoclet 1.2 and Roller
I made some more progress yesterday on the XDoclet 1.2 upgrade. Aslak fixed the bug with classes extending DispatchAction, and all the action-mappings now generate correctly. However, now I'm getting a new, seemingly Castor-related issue. I probably need to update some XDoclet tags for Castor, but I haven't done any research there yet. Here's the error I'm getting:
java.lang.IllegalArgumentException: Type conversion error: could not set value of weblogDayPageId(java.lang.String) with value of type org.roller.model.PageData at org.exolab.castor.mapping.loader.FieldHandlerImpl.setValue(Unknown Source) at org.exolab.castor.xml.UnmarshalHandler.resolveReferences(Unknown Source) at org.exolab.castor.xml.UnmarshalHandler.processAttribute(Unknown Source) at org.exolab.castor.xml.UnmarshalHandler.processAttributes(Unknown Source) at org.exolab.castor.xml.UnmarshalHandler.startElement(Unknown Source) at org.apache.xerces.parsers.SAXParser.startElement(SAXParser.java:1340)
I tried upgrading Castor to version 0.9.4.1 and I get the same error regardless of version. Roller currently uses version 0.9.3.21.
Posted by Lance on November 19, 2002 at 02:49 PM MST #