java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Unable to use tilesPlugin in struts-config.
    via strutstestcase by ens00033
    ,
  • problems getting the demo running
    via by Jake Fear,
  • When publishing a fragment through CFragmentManager in uPortal 2.4 you can create a fragment and not enter a name or description and then return to the fragment manager the following NPE will happen. The code aparently writes a record with nulls for FRAGMENT_NAME and FRAGMENT_DESCRIPTION in UP_OWNER_FRAGMENT. Once this happens the fragment manager will always NPE until you remove this record from the database. Here are the steps to reproduce: 1. go to the fragment manager 2. click on create new fragment 3. click on submit properties 4. click on publish fragment java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:393) at org.jasig.portal.layout.AggregatedUserLayoutStore.getFragments(AggregatedUserLayoutStore.java:1505) at org.jasig.portal.layout.AggregatedLayoutManager.getFragments(AggregatedLayoutManager.java:1154) at org.jasig.portal.layout.channels.CFragmentManager.getFragments(CFragmentManager.java:268) at org.jasig.portal.layout.channels.FragmentManager.refreshFragmentMap(FragmentManager.java:159) at org.jasig.portal.layout.channels.CFragmentManager.setPortalControlStructures(CFragmentManager.java:258) at org.jasig.portal.ChannelManager.processRequestChannelParameters(ChannelManager.java:853) at org.jasig.portal.ChannelManager.startRenderingCycle(ChannelManager.java:973) at org.jasig.portal.UserInstance.renderState(UserInstance.java:297) at org.jasig.portal.UserInstance.writeContent(UserInstance.java:205) at org.jasig.portal.PortalSessionManager.doGet(PortalSessionManager.java:271
    via by Brad Johnson,
  • Agent is down
    via by 575300,
  • odisrvreg fails when sslauth = 2
    via by Pete_Jibe,
  • startup
    via by 575300,
  • attachments question
    via by Asmirnov-Oracle,
    • java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:393) at servletunit.ServletContextSimulator.setAttribute(ServletContextSimulator.java:527) at org.apache.struts.validator.ValidatorPlugIn.init(ValidatorPlugIn.java:164) at org.apache.struts.action.ActionServlet.initModulePlugIns(ActionServlet.java:869) at org.apache.struts.action.ActionServlet.init(ActionServlet.java:336) at javax.servlet.GenericServlet.init(GenericServlet.java:212) at servletunit.struts.MockStrutsTestCase.getActionServlet(MockStrutsTestCase.java:326) at servletunit.struts.MockStrutsTestCase.actionPerform(MockStrutsTestCase.java:394) at com.siemens.ada.Junit.struts.popup.TestPopup.testPopupShow(TestPopup.java:28) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at junit.framework.TestCase.runTest(TestCase.java:164) at junit.framework.TestCase.runBare(TestCase.java:130) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:120) at junit.framework.TestSuite.runTest(TestSuite.java:230) at junit.framework.TestSuite.run(TestSuite.java:225) at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)

    Users with the same issue

    poroszd
    2 times, last one,
    Unknown visitor1 times, last one,
    davidvanlaatum
    1 times, last one,
    Unknown visitor1 times, last one,
    Justin
    2 times, last one,
    19 more bugmates