Hi, I use JBoss 4.2.3 + JBossPortal 2.6.6 (with WSRP).
In an admin portlet i add a property to an instance with InstanceDefinition.setProperties(PropertyChange[]) so this property is not defined in the portlet preferences. In another admin portlet, when i want to read this new property, i have a NullPointerException in getPortletProperties from PortletManagementHandler. I look in the sources and the NPE is in this code (prefInfo is null) : Map.Entry entry = (Map.Entry)entries.next(); | key = (String)entry.getKey(); | value = (Value)entry.getValue(); | prefInfo = info.getPreferences().getPreference(key); | displayName = prefInfo.getDisplayName(); Something i made is wrong or it is a bug ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4215708#4215708 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4215708 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user