You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@syncope.apache.org by "Guido Wimmel (JIRA)" <ji...@apache.org> on 2014/10/20 17:21:33 UTC
[jira] [Created] (SYNCOPE-574) NullPointerException in
ConnInstanceDataBinder with Java 8
Guido Wimmel created SYNCOPE-574:
------------------------------------
Summary: NullPointerException in ConnInstanceDataBinder with Java 8
Key: SYNCOPE-574
URL: https://issues.apache.org/jira/browse/SYNCOPE-574
Project: Syncope
Issue Type: Bug
Components: common, core
Affects Versions: 1.2.0, 1.3.0
Environment: jdk-8u25-windows-x64, Tomcat 7.0.56
Reporter: Guido Wimmel
Priority: Minor
Not sure if this can be reproduced, but in my environment, when building Syncope core with Java 8, the ConnnectorTestITCase fails with a NullPointerException (see stack trace below).
{code}
17:18:22.561 ERROR org.apache.syncope.core.rest.utils.RestServiceExceptionMapper - Exception thrown by REST method: null
java.lang.NullPointerException
at org.apache.syncope.common.types.ConnConfProperty.compareTo(ConnConfProperty.java:67) ~[syncope-common-1.2.1-SNAPSHOT.jar:?]
at org.apache.syncope.common.types.ConnConfProperty.compareTo(ConnConfProperty.java:30) ~[syncope-common-1.2.1-SNAPSHOT.jar:?]
at java.util.HashMap.compareComparables(HashMap.java:371) ~[?:1.8.0_25]
at java.util.HashMap$TreeNode.treeify(HashMap.java:1920) ~[?:1.8.0_25]
at java.util.HashMap.treeifyBin(HashMap.java:771) ~[?:1.8.0_25]
at java.util.HashMap.putVal(HashMap.java:643) ~[?:1.8.0_25]
at java.util.HashMap.put(HashMap.java:611) ~[?:1.8.0_25]
at java.util.HashSet.add(HashSet.java:219) ~[?:1.8.0_25]
at org.apache.syncope.core.rest.data.ConnInstanceDataBinder.getConnInstanceTO(ConnInstanceDataBinder.java:225) ~[ConnInstanceDataBinder.class:?]
at org.apache.syncope.core.rest.controller.ConnectorController.list(ConnectorController.java:142) ~[ConnectorController.class:?]
{code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)