if you override it and give the type then that field can give you the warning
On Tue, Apr 8, 2008 at 12:30 AM, Wolfgang Gehner <[EMAIL PROTECTED]> wrote: > Is that for text fields only, or other components as well? We have a > class RTextField that extends TextField so we override the default > constructor RTextField(String id) to do super(id, String.class) > > On Mon, Apr 7, 2008 at 3:26 PM, Wolfgang Gehner <[EMAIL PROTECTED]> wrote: > > Everything that needs state. And yes, that could be lists of data, > > serializable objects with hashmaps. How do you define a null > > reference? > > > > > > > > On Mon, Apr 7, 2008 at 3:22 PM, Johan Compagner <[EMAIL PROTECTED]> > wrote: > > > still what really goes into that CPM? > > > another model? with what kind of object? > > > Does some properties go over lists or maps or object graphs with > null > > > references in them? > > > > > > > > > > > > On Tue, Apr 8, 2008 at 12:11 AM, André Souza <[EMAIL PROTECTED]> > wrote: > > > > > > > Is this something new to 1.3? We have 3705 uses of TextField in > our app so > > > > far, and growing. We use CompoundPropertyModel out of the box. > > > > > > > > Does that mean the TextField(String wickedId) constructor stopped > working > > > > with CompoundPropertyModel? > > > > > > > > > > > > On 4/7/08, Matej Knopp <[EMAIL PROTECTED]> wrote: > > > > > > > > > > Is this a new error? Looks like your models are unable to > provide > > > > > target type. In that case you have to specify the property type > in > > > > > your textfields, either though the TextField constructor or call > > > > > TextField.setType(). > > > > > > > > > > This should not be required when you use > (Component)PropertyModels > > > > > only, but when you have custom models you have to call it unless > your > > > > > models implement IObjectClassAwareModel. > > > > > > > > > > -Matej > > > > > > > > > > On Mon, Apr 7, 2008 at 11:57 PM, André Souza < > [EMAIL PROTECTED]> > > > > > wrote: > > > > > > We are still having problems with the migration to 1.3. > > > > > > > > > > > > One fix we needed was not in the 1.3.3 release so we > continued using > > > > > > > > > > > > > > > > > > > > > > http://wicketstuff.org/maven/repository/org/apache/wicket/wicket/1.3-SNAPSHOT/ > > > > > > > > > > > > for now. > > > > > > > > > > > > We get this on the console, repeatedly: > > > > > > > > > > > > > > > > > > WARN AbstractTextComponent () - Couldn't resolve model type > of > > > > > > > > > > > > > > > > > Model:classname=[org.apache.wicket.model.CompoundPropertyModel$AttachedCompoundPropertyModel]:nestedModel=[Model:classname=[org.apache.wicket.model.CompoundPropertyModel]:nestedModel=[...], > > > > > > > > > > > > please set the type yourself. > > > > > > > > > > > > After we get this message a number of variables we have in > are set to > > > > > null. > > > > > > > > > > > > What is the common cause of this message? > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On 4/7/08, Johan Compagner <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > > > what do you mean? > > > > > > > that fix is no in the 1.3.3 release but will be in 1.3.4 > > > > > > > > > > > > > > > > > > > > > On Mon, Apr 7, 2008 at 9:42 PM, Matej Knopp < > [EMAIL PROTECTED]> > > > > > wrote: > > > > > > > > > > > > > > > Actually, it seems that I'm wrong about this... > > > > > > > > > > > > > > > > -Matej > > > > > > > > > > > > > > > > On Mon, Apr 7, 2008 at 9:26 PM, Matej Knopp < > > > > [EMAIL PROTECTED]> > > > > > > > wrote: > > > > > > > > > Wicket 1.3.3 was released before april 06. The overflow > fix is > > > > > not > > > > > > > > > part of the release. > > > > > > > > > > > > > > > > > > -Matej > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Mon, Apr 7, 2008 at 9:13 PM, Daniel Wu < > > > > [EMAIL PROTECTED]> > > > > > > > wrote: > > > > > > > > > > I've updated to the released Wicket 1.3.3, but I'm > having > > > > the > > > > > > > > stackoverflow > > > > > > > > > > there, but it wasn't happening on the snapshot of > april 06. > > > > > Was > > > > > > > this > > > > > > > > fix > > > > > > > > > > incorporated on the official Wicket 1.3.3 release? > > > > > > > > > > > > > > > > > > > > On Sun, Apr 6, 2008 at 6:10 PM, Johan Compagner < > > > > > > > > [EMAIL PROTECTED]> > > > > > > > > > > wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > Dont know if the stream corrupt has the same root > problem > > > > > as the > > > > > > > > > > > stackoverflow > > > > > > > > > > > But that is just fixed. > > > > > > > > > > > > > > > > > > > > > > johan > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > On Sat, Mar 29, 2008 at 11:22 PM, Daniel Wu < > > > > > > > [EMAIL PROTECTED]> > > > > > > > > wrote: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > I've updated my wicket application to Wicket > 1.3.2, but > > > > > now, > > > > > > > > when I try > > > > > > > > > > > to > > > > > > > > > > > > switch between my application tabs (my tabs > extend > > > > > > > > > > > > > > > > > org.apache.wicket.extensions.markup.html.tabs.AbstractTab) I'm > > > > > > > > getting > > > > > > > > > > > > this > > > > > > > > > > > > error: > > > > > > > > > > > > > > > > > > > > > > > > ERROR RequestCycle () - Could not deserialize > object > > > > > using > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > `org.apache.wicket.util.io.IObjectStreamFactory$DefaultObjectStreamFactory` > > > > > > > > > > > > object factory > > > > > > > > > > > > java.lang.RuntimeException: Could not > deserialize > > > > object > > > > > using > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > `org.apache.wicket.util.io.IObjectStreamFactory$DefaultObjectStreamFactory` > > > > > > > > > > > > object factory > > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.wicket.util.lang.Objects.byteArrayToObject(Objects.java:411) > > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.wicket.protocol.http.pagestore.AbstractPageStore.deserializePage(AbstractPageStore.java:228) > > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.wicket.protocol.http.pagestore.DiskPageStore.getPage(DiskPageStore.java:706) > > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.wicket.protocol.http.SecondLevelCacheSessionStore$SecondLevelCachePageMap.get(SecondLevelCacheSessionStore.java:311) > > > > > > > > > > > > at > > > > > org.apache.wicket.Session.getPage(Session.java:751) > > > > > > > > > > > > ... > > > > > > > > > > > > Caused by: java.io.StreamCorruptedException: > invalid > > > > type > > > > > > > code: > > > > > > > > 29 > > > > > > > > > > > > at > java.io.ObjectInputStream.readObject0(Unknown > > > > > > > Source) > > > > > > > > > > > > at > > > > > java.io.ObjectInputStream.defaultReadFields(Unknown > > > > > > > > Source) > > > > > > > > > > > > at > > > > > java.io.ObjectInputStream.readSerialData(Unknown > > > > > > > > Source) > > > > > > > > > > > > at > > > > > java.io.ObjectInputStream.readOrdinaryObject(Unknown > > > > > > > > Source) > > > > > > > > > > > > at > java.io.ObjectInputStream.readObject0(Unknown > > > > > > > Source) > > > > > > > > > > > > at > java.io.ObjectInputStream.readObject(Unknown > > > > > Source) > > > > > > > > > > > > at > > > > > > > > > > > > > > > > > > > > > > > > > > org.apache.wicket.util.lang.Objects.byteArrayToObject(Objects.java:393) > > > > > > > > > > > > > > > > > > > > > > > > I've already downloaded and used the latest > wicket 1.3 > > > > > > > snapshot, > > > > > > > > which > > > > > > > > > > > was > > > > > > > > > > > > suggested to me here: > > > > > > > > https://issues.apache.org/jira/browse/WICKET-1445, > > > > > > > > > > > > but I'm still having this error. > > > > > > > > > > > > > > > > > > > > > > > > I'm still using an old release of > wicket-extensions. > > > > > Since I > > > > > > > > updated to > > > > > > > > > > > > wicket 1.3, I'm also having this warning: > > > > > > > > > > > > > > > > > > > > > > > > WARN AbstractTextComponent () - Couldn't > resolve model > > > > > type > > > > > > > of > > > > > > > > > > > > Model:classname=[...], please set the type > yourself. > > > > > > > > > > > > > > > > > > > > > > > > Could any of these be related to the > Serialization > > > > error? > > > > > Does > > > > > > > > anyone > > > > > > > > > > > have > > > > > > > > > > > > any idea of what is causing it? > > > > > > > > > > > > > > > > > > > > > > > > Daniel > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > View this message in context: > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > http://www.nabble.com/java.io.StreamCorruptedException%3A-invalid-type-code%3A-29-tp16374745p16374745.html > > > > > > > > > > > > Sent from the Wicket - User mailing list > archive at > > > > > > > Nabble.com. > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > > > > > > > > To unsubscribe, e-mail: > > > > > [EMAIL PROTECTED] > > > > > > > > > > > > For additional commands, e-mail: > > > > > [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > > > > > > > > > > > > > > > > > > > > Resizable and reorderable grid components. > > > > > > > > > http://www.inmethod.com > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > > Resizable and reorderable grid components. > > > > > > > > http://www.inmethod.com > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > > > > > > To unsubscribe, e-mail: > [EMAIL PROTECTED] > > > > > > > > For additional commands, e-mail: > [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > Resizable and reorderable grid components. > > > > > http://www.inmethod.com > > > > > > > > > > > --------------------------------------------------------------------- > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
