You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by "Serge Huber (Jira)" <ji...@apache.org> on 2021/07/01 12:18:00 UTC
[jira] [Created] (UNOMI-496) Fix NestedNulllException on increment
property/interest integration tests
Serge Huber created UNOMI-496:
---------------------------------
Summary: Fix NestedNulllException on increment property/interest integration tests
Key: UNOMI-496
URL: https://issues.apache.org/jira/browse/UNOMI-496
Project: Apache Unomi
Issue Type: Bug
Components: core
Affects Versions: 1.5.6
Reporter: Serge Huber
Assignee: Serge Huber
Fix For: 1.6.0
When running the increment interests and increment property integration tests we get the following error:
{code}
2021-06-28T16:14:08,872 | ERROR | RMI TCP Connection(3)-127.0.0.1 | ActionExecutorDispatcher | 176 - org.apache.unomi.services - 1.5.7.SNAPSHOT | Error executing action with key=setProperty
java.lang.UnsupportedOperationException: org.apache.commons.beanutils.NestedNullException: Null property value for 'pageInfo.referringURL' on bean class 'class java.util.HashMap'
at org.apache.unomi.services.actions.ActionExecutorDispatcher.parseMap(ActionExecutorDispatcher.java:149) ~[?:?]
at org.apache.unomi.services.actions.ActionExecutorDispatcher.getContextualAction(ActionExecutorDispatcher.java:115) ~[?:?]
at org.apache.unomi.services.actions.ActionExecutorDispatcher$8.execute(ActionExecutorDispatcher.java:213) ~[?:?]
at org.apache.unomi.services.actions.ActionExecutorDispatcher$8.execute(ActionExecutorDispatcher.java:210) ~[?:?]
at org.apache.unomi.metrics.MetricAdapter.runWithTimer(MetricAdapter.java:38) ~[?:?]
at org.apache.unomi.services.actions.ActionExecutorDispatcher.execute(ActionExecutorDispatcher.java:215) ~[?:?]
at org.apache.unomi.services.impl.rules.RulesServiceImpl.onEvent(RulesServiceImpl.java:272) ~[?:?]
at org.apache.unomi.services.impl.events.EventServiceImpl.send(EventServiceImpl.java:170) ~[?:?]
at org.apache.unomi.services.impl.events.EventServiceImpl.send(EventServiceImpl.java:144) ~[?:?]
at org.apache.unomi.itests.IncrementPropertyIT.buildActionAndSendEvent(IncrementPropertyIT.java:393) ~[?:?]
at org.apache.unomi.itests.IncrementPropertyIT.testIncrementExistingPropertyNestedWithExistingEventProperty(IncrementPropertyIT.java:296) ~[?:?]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_181]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_181]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_181]
at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181]
{code}
This is due to the pageInfo structure not being properly setup.
We also get an error in the teardown of the IncrementInterestsIT because didn't setup an itemId on the rule that was created on the setup.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)