Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[birt-dev] Prevent NPE problem when init the library explorer at opening stage.

- Summary: Prevent NPE problem when init the library explorer at opening stage.

 

- Bugzilla Bug (s) Resolved:

 

- Description: If user close the workspace with library explorer opening, at NPE can be thrown when user reopen the eclipse and the eclipse try to restore the layout. That's a issue of eclipse that when the editor is opened, the getActiveEditor() can return null in some cases.

A opening problem is the library explorer can be empty even a designer is opening in this case. User need to reselect the editor or refresh the library explorer explicit.

 

- Tests Description: manual

 

- Files Edited:

/org.eclipse.birt.report.designer.ui.lib.explorer/src/org/eclipse/birt/report/designer/ui/lib/explorer/LibraryExplorerView.java

- Files Added:

 

- Notes to Build Team:

 

- Notes to Developers:

 

- Notes to QA:

 

-        Notes to Documentation:

 

Wang Qiangsheng

Actuate Software(Shanghai)

qwang@xxxxxxxxxxx

 

 


Back to the top