Hi, I am using criteria to insert portlet in to database and I am getting this error Exception Criteria:: PORTLET.HIDDEN<=>PORTLET.HIDDEN=0: PORTLET.NAME<=>PORTLET.NAME='AdminInfo': PORTLET.TITLE<=>PORTLET.TITLE='Administrative Portlets': PORTLET.DESCRIPTION<=>PORTLET.DESCRIPTION='List of most useful Administrative portlets.': PORTLET.CLASSNAME<=>PORTLET.CLASSNAME='org.apache.jetspeed.portal.portlets.N ewRSSPortlet': PORTLET.PARENT<=>PORTLET.PARENT='RSS': PORTLET.URL<=>PORTLET.URL='/rss/admin.rss': PORTLET.APPLICATION<=>PORTLET.APPLICATION=0: PORTLET.TYPE<=>PORTLET.TYPE='ref': PORTLET.SECURITY<=>PORTLET.SECURITY='admin-only': PORTLET.ID<=>PORTLET.ID=0: PORTLET.CACHEDONURL<=>PORTLET.CACHEDONURL=1:
Current Query SQL (may not be complete or applicable): SELECT FROM PORTLET WHERE PORTLET.HIDDEN=0 AND PORTLET.NAME='AdminInfo' AND PORTLET.TITLE='Administrative Portlets' AND PORTLET.DESCRIPTION='List of most useful Administrative portlets.' AND PORTLET.CLASSNAME='org.apache.jetspeed.portal.portlets.NewRSSPortlet' AND PORTLET.PARENT='RSS' AND PORTLET.URL='/rss/admin.rss' AND PORTLET.APPLICATION=0 AND PORTLET.TYPE='ref' AND PORTLET.SECURITY='admin-only' AND PORTLET.ID=0 AND PORTLET.CACHEDONURL=1 Error importing: java.lang.NullPointerException Exception null java.lang.NullPointerException at org.apache.torque.util.BasePeer.doInsert(BasePeer.java:673) at org.apache.torque.util.BasePeer.doInsert(BasePeer.java:615) at org.apache.jetspeed.om.dbportal.BaseJetspeedPortletPeer.doInsert(BaseJetspee dPortletPeer.java:246) at org.apache.jetspeed.om.dbportal.BaseJetspeedPortletPeer.doInsert(BaseJetspee dPortletPeer.java:219) at org.apache.jetspeed.om.dbportal.BaseJetspeedPortletPeer.doInsert(BaseJetspee dPortletPeer.java:617) at org.apache.jetspeed.om.dbportal.BaseJetspeedPortletPeer.doInsert(BaseJetspee dPortletPeer.java:157) at org.apache.jetspeed.services.registry.DatabaseRegistryService.addEntry(Datab aseRegistryService.java:161) at org.apache.jetspeed.services.registry.importregistry.DatabaseImportManagerSe rvice.addEntry(DatabaseImportManagerService.java:137) at org.apache.jetspeed.services.registry.importregistry.RegistryImporter.run(Re gistryImporter.java:215) at org.apache.jetspeed.services.registry.importregistry.RegistryImporter.main(R egistryImporter.java:176) Error importing: null Do you guys have any idea why I am getting this? ~suchi
