Bump for help on this? Is the because genericSelectModel.getOptionGroups returns null?
This occurs intermitently and I havent been able to find a workaround. Zack zack1403 wrote: > > Hey All, > > I'm getting a NullPointerException when the palette component in 5.0.16: > > Caused by: java.lang.NullPointerException > at > org.apache.tapestry5.internal.util.SelectModelRenderer.option(SelectModelRenderer.java:49) > at > org.apache.tapestry5.corelib.components.Palette$SelectedRenderer.render(Palette.java:147) > at > org.apache.tapestry5.internal.structure.ComponentPageElementImpl$RenderPhaseEventHandler$1.render(ComponentPageElementImpl.java:164) > at > org.apache.tapestry5.internal.services.RenderQueueImpl.run(RenderQueueImpl.java:72) > > I'm populating the palette using the code below: > > selectEncoder = new > GenericValueEncoder<StringBean>(this.spreadsheetHeaders); > selectModel = new GenericSelectModel<StringBean>(this.spreadsheetHeaders, > StringBean.class, "value", "value", propertyAccess); > > Am I using this correctly? > > Thanks, > Zack > -- View this message in context: http://www.nabble.com/-T5--Palette-NPE-tp20652729p20753832.html Sent from the Tapestry - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]