Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: Smooks v1.4, Smooks v1.5
-
Fix Version/s: None
-
Component/s: Smooks Persistence
-
Labels:None
-
Testcase included:yes
-
Number of attachments :
Description
The global parameter smooks.visitors.sort interfers with configurations where a <dao:locator> with <dao:wiring> parameter is used. The default value smooks.visitors.sort=true will result in a NPE. Setting smooks.visitors.sort=false resolves the problem.
The attached JUnit4 tests demonstrate both behaviours.
Needed but not included dependencies:
- milyn-smooks-all-1.5.jar
- common-lang-2.4.jar
- common-logging-1.1.jar
- jpa-persistence.jar (no provider, api only)
- jaxen-1.1.1.jar