[ 
https://issues.apache.org/jira/browse/SLING-4122?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Carsten Ziegeler resolved SLING-4122.
-------------------------------------
    Resolution: Fixed

While the problem is in the Sling API (see SLING-4125), I've added some extra 
code to catch the NFE just in case

> Folders might be created concurrently resulting in SNS nodes
> ------------------------------------------------------------
>
>                 Key: SLING-4122
>                 URL: https://issues.apache.org/jira/browse/SLING-4122
>             Project: Sling
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: Event 3.4.2
>            Reporter: Carsten Ziegeler
>            Assignee: Carsten Ziegeler
>             Fix For: Event 3.4.4
>
>
> It seems that sometimes the intermediate nodes for day, month, hour etc. are 
> created concurrently, resulting in SNS nodes:
> java.lang.NumberFormatException: For input string: "10[2]"
>       at 
> java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
>       at java.lang.Integer.parseInt(Integer.java:492)
>       at java.lang.Integer.valueOf(Integer.java:582)
>       at org.apache.sling.event.impl.jobs.Utility$1.compare(Utility.java:255)
>       at org.apache.sling.event.impl.jobs.Utility$1.compare(Utility.java:251)
>       at java.util.TimSort.countRunAndMakeAscending(TimSort.java:324)
>       at java.util.TimSort.sort(TimSort.java:189)
>       at java.util.TimSort.sort(TimSort.java:173)
>       at java.util.Arrays.sort(Arrays.java:659)
>       at java.util.Collections.sort(Collections.java:217)



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to