jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tobias Bocanegra (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JCR-2655) initVersions crashes with NPE
Date Wed, 16 Jun 2010 21:03:28 GMT

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

Tobias Bocanegra updated JCR-2655:
----------------------------------

         Assignee: Tobias Bocanegra
    Fix Version/s: 1.6.3
                   2.1.1

i will look at this before the respective releases

> initVersions crashes with NPE
> -----------------------------
>
>                 Key: JCR-2655
>                 URL: https://issues.apache.org/jira/browse/JCR-2655
>             Project: Jackrabbit Content Repository
>          Issue Type: Bug
>          Components: versioning
>    Affects Versions: 1.6.2, 2.1.0
>            Reporter: Juergen Melzer
>            Assignee: Tobias Bocanegra
>            Priority: Blocker
>             Fix For: 1.6.3, 2.1.1, 2.2.0
>
>
> After delete some old versions. I get serious problems accessing the version history.
> This is the stacktrace:
> java.lang.NullPointerException
> 	at org.apache.jackrabbit.core.version.VersionIteratorImpl.initVersions(VersionIteratorImpl.java:169)
> 	at org.apache.jackrabbit.core.version.VersionIteratorImpl.<init>(VersionIteratorImpl.java:87)
> 	at org.apache.jackrabbit.core.version.VersionIteratorImpl.<init>(VersionIteratorImpl.java:72)
> 	at org.apache.jackrabbit.core.version.VersionHistoryImpl.getAllVersions(VersionHistoryImpl.java:92)
> I stepped threw the code and see that the Method 
>     currentVersion.getSuccessors() 
> returns an empty Array.
> After all the VersionHistory seems to be corrupt!!

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message