Bug 368682 An internal error occurred during: "Compute launch button tooltip".
Build Identifier: Version: 3.7.1 Build id: M20110909-1335 Error clicking on a report editor tab. !ENTRY org.eclipse.core.jobs 4 2 2012-01-12 16:29:33.673 !MESSAGE An internal error occurred during: "Compute launch button tooltip". !STACK 0 java.lang.NullPointerException at org.eclipse.birt.report.designer.ui.editors.ReportEditorProxy.getEditorInput(ReportEditorProxy.java:75) at org.eclipse.debug.internal.ui.contextlaunching.LaunchingResourceManager.getShortcutsForSelection(LaunchingResourceManager.java:448) at org.eclipse.debug.internal.ui.contextlaunching.LaunchingResourceManager.computeLabels(LaunchingResourceManager.java:236) at org.eclipse.debug.internal.ui.contextlaunching.LaunchingResourceManager$2.run(LaunchingResourceManager.java:138) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) !SESSION 2012-01-12 16:32:52.402 ----------------------------------------------- eclipse.buildId=M20110909-1335 java.version=1.7.0_02 java.vendor=Oracle Corporation BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US Command-line arguments: -os win32 -ws win32 -arch x86 Reproducible: Couldn't Reproduce
UI/org.eclipse.birt.report.designer.ui.ide/src/org/eclipse/birt/report/designer/ui/editors/ReportEditorProxy.java
{
		if ( part instanceof ReportEditorProxy )
		{
			instance.partClosed( ( (ReportEditorProxy) part ).getEditorPart( ) );
		}
		else
		{
			instance.partClosed( part );
		}
		
		
		if ( part == this )
		{
			SessionHandleAdapter.getInstance( ).clear( instance.getModel( ) );
			if (instance.getModel( ) != null)
			{
				GlobalActionFactory.removeStackActions( instance.getModel( ).getCommandStack( ) );
			}
		}
	}
	/*
	 * (non-Javadoc)
	 * 
	 * @see org.eclipse.ui.IPartListener#partDeactivated(org.eclipse.ui.IWorkbenchPart)
	 */
	public void partDeactivated( IWorkbenchPart part )
	{
		if ( part instanceof ReportEditorProxy )
		{
			instance.partDeactivated( ( (ReportEditorProxy) part ).getEditorPart( ) );