[Mondrian] NPE in Mondrian 3.4.5

Christoffer Sawicki christoffer.sawicki at gmail.com
Thu Jul 26 15:56:49 EDT 2012


Done!

NullPointerException in RolapUtil$RolapUtilComparator
http://jira.pentaho.com/browse/MONDRIAN-1196

On Thu, Jul 26, 2012 at 5:49 PM, Julian Hyde <jhyde at pentaho.com> wrote:
> I may have seen something similar. Can you please log it, and post the jira case URL to this list.
>
> On Jul 26, 2012, at 6:25 AM, Christoffer Sawicki <christoffer.sawicki at gmail.com> wrote:
>
>> Hi!
>>
>> I'm giving Mondrian 3.4.5 a test ride and have run into a problem.
>>
>> After my application has invoked mondrian.olap.CacheControl, queries
>> start to fail with:
>>
>> java.lang.NullPointerException: null
>>       at mondrian.rolap.RolapUtil$RolapUtilComparator.compare(RolapUtil.java:152)
>> ~[mondrian-3.4.5.jar:na]
>>       at mondrian.rolap.RolapUtil$RolapUtilComparator.compare(RolapUtil.java:147)
>> ~[mondrian-3.4.5.jar:na]
>>       at java.util.Arrays.binarySearch0(Arrays.java:2105) ~[na:1.6.0_33]
>>       at java.util.Arrays.binarySearch(Arrays.java:2090) ~[na:1.6.0_33]
>>       at mondrian.util.UtilCompatibleJdk16.binarySearch(UtilCompatibleJdk16.java:98)
>> ~[mondrian-3.4.5.jar:na]
>>       at mondrian.olap.Util.binarySearch(Util.java:2165) ~[mondrian-3.4.5.jar:na]
>>       at mondrian.util.ArraySortedSet.contains(ArraySortedSet.java:225)
>> ~[mondrian-3.4.5.jar:na]
>>       at mondrian.rolap.cache.SegmentCacheIndexImpl.matches(SegmentCacheIndexImpl.java:270)
>> ~[mondrian-3.4.5.jar:na]
>>       at mondrian.rolap.cache.SegmentCacheIndexImpl.locate(SegmentCacheIndexImpl.java:119)
>> ~[mondrian-3.4.5.jar:na]
>>       at mondrian.rolap.agg.SegmentCacheManager$PeekCommand.call(SegmentCacheManager.java:1454)
>> ~[mondrian-3.4.5.jar:na]
>>       at mondrian.rolap.agg.SegmentCacheManager$PeekCommand.call(SegmentCacheManager.java:1429)
>> ~[mondrian-3.4.5.jar:na]
>>       at mondrian.rolap.agg.SegmentCacheManager$Actor.run(SegmentCacheManager.java:993)
>> ~[mondrian-3.4.5.jar:na]
>>
>> I've checked that the problem is that the ArraySortedSet contains null
>> values that can't be compared.
>>
>> I haven't seen this issue with 3.3.2.
>>
>> Has anybody run into this and perhaps fixed it?
>> _______________________________________________
>> Mondrian mailing list
>> Mondrian at pentaho.org
>> http://lists.pentaho.org/mailman/listinfo/mondrian
>
> _______________________________________________
> Mondrian mailing list
> Mondrian at pentaho.org
> http://lists.pentaho.org/mailman/listinfo/mondrian


More information about the Mondrian mailing list