summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlzhu2011-08-24 17:57:27 (EDT)
committer xgu2011-08-31 02:00:51 (EDT)
commit85c3cf7827dd47bf416241c1fb1b583c88606420 (patch)
treedcbbefe86877692fc194fbaf49bf2ecc0438c076
parent0759a7da298e413ae862fb5fb3976ad864887314 (diff)
downloadorg.eclipse.birt-85c3cf7827dd47bf416241c1fb1b583c88606420.zip
org.eclipse.birt-85c3cf7827dd47bf416241c1fb1b583c88606420.tar.gz
org.eclipse.birt-85c3cf7827dd47bf416241c1fb1b583c88606420.tar.bz2
Fix TED 43192 An error occurred while viewing the report. There is non-fatal error. Cause : null (Element ID:3380)
-rw-r--r--data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/document/RDGroupUtil.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/document/RDGroupUtil.java b/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/document/RDGroupUtil.java
index 2705c8c..eaf9181 100644
--- a/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/document/RDGroupUtil.java
+++ b/data/org.eclipse.birt.data/src/org/eclipse/birt/data/engine/impl/document/RDGroupUtil.java
@@ -374,7 +374,10 @@ public final class RDGroupUtil implements IRDGroupUtil
int i = 0;
while( true )
{
- if( groupList.get( i ).firstChild > cacheProvider.getCurrentIndex( ) )
+ GroupInfo info = groupList.get( i );
+ if( info == null )
+ return;
+ if( info.firstChild > cacheProvider.getCurrentIndex( ) )
{
this.leafGroupIdx = i-1;
return;