Skip to content

Commit

Permalink
Fix a NPE issue in engine (T32326)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gang Liu committed Sep 15, 2010
1 parent 68d8003 commit 8a647ea
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -1206,7 +1206,10 @@ public void addException( DesignElementHandle element, BirtException ex )
{
exInfo = new ElementExceptionInfo( element );
elementExceptions.put( element, exInfo );
reportContent.getErrors( ).add( exInfo );
if (reportContent != null)
{
reportContent.getErrors().add(exInfo);
}
}
exInfo.addException( engineEx );

Expand Down

0 comments on commit 8a647ea

Please sign in to comment.