Uploaded image for project: 'PUBLIC - Liferay Portal Community Edition'
  1. PUBLIC - Liferay Portal Community Edition
  2. LPS-104527

Null pointer exception in JSONWebServiceInvokerTest

    Details

    • Branch Version/s:
      7.2.x
    • Backported to Branch:
      Committed
    • Fix Priority:
      3

      Description

      JSONWebServiceInvokerTest.testCreateArgumentInstances is failing with:

          [junit] Testcase: testCreateArgumentInstances(com.liferay.portal.jsonwebservice.JSONWebServiceInvokerTest):	Caused an ERROR
          [junit] java.lang.NullPointerException
          [junit] java.lang.RuntimeException: java.lang.NullPointerException
          [junit] 	at com.liferay.portal.kernel.util.BaseMapWrapper.doPut(BaseMapWrapper.java:96)
          [junit] 	at com.liferay.portal.kernel.util.LinkedHashMapBuilder$LinkedHashMapWrapper.<init>(LinkedHashMapBuilder.java:69)
          [junit] 	at com.liferay.portal.kernel.util.LinkedHashMapBuilder.put(LinkedHashMapBuilder.java:35)
          [junit] 	at com.liferay.portal.jsonwebservice.JSONWebServiceInvokerTest.testCreateArgumentInstances(JSONWebServiceInvokerTest.java:164)
          [junit] 	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl$PowerMockJUnit44MethodRunner.runTestMethod(PowerMockJUnit44RunnerDelegateImpl.java:310)
          [junit] 	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl$PowerMockJUnit44MethodRunner.executeTest(PowerMockJUnit44RunnerDelegateImpl.java:294)
          [junit] 	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl$PowerMockJUnit47MethodRunner.executeTestInSuper(PowerMockJUnit47RunnerDelegateImpl.java:127)
          [junit] 	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit47RunnerDelegateImpl$PowerMockJUnit47MethodRunner.executeTest(PowerMockJUnit47RunnerDelegateImpl.java:82)
          [junit] 	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl$PowerMockJUnit44MethodRunner.runBeforesThenTestThenAfters(PowerMockJUnit44RunnerDelegateImpl.java:282)
          [junit] 	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.invokeTestMethod(PowerMockJUnit44RunnerDelegateImpl.java:207)
          [junit] 	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.runMethods(PowerMockJUnit44RunnerDelegateImpl.java:146)
          [junit] 	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl$1.run(PowerMockJUnit44RunnerDelegateImpl.java:120)
          [junit] 	at org.powermock.modules.junit4.internal.impl.PowerMockJUnit44RunnerDelegateImpl.run(PowerMockJUnit44RunnerDelegateImpl.java:122)
          [junit] 	at org.powermock.modules.junit4.common.internal.impl.JUnit4TestSuiteChunkerImpl.run(JUnit4TestSuiteChunkerImpl.java:106)
          [junit] 	at org.powermock.modules.junit4.common.internal.impl.AbstractCommonPowerMockRunner.run(AbstractCommonPowerMockRunner.java:53)
          [junit] 	at org.powermock.modules.junit4.PowerMockRunner.run(PowerMockRunner.java:59)
          [junit] Caused by: java.lang.NullPointerException
          [junit] 	at com.liferay.portal.kernel.util.BaseMapWrapper.doPut(BaseMapWrapper.java:87)

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                brooke.dalton Brooke Dalton
                Reporter:
                brooke.dalton Brooke Dalton
                Participants of an Issue:
                Recent user:
                Brian Wulbern
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Days since last comment:
                  4 weeks ago

                  Packages

                  Version Package
                  7.2.X