Project

General

Profile

Actions

Bug #4185

closed

TabManager acting strangely

Added by Chad Berkley almost 15 years ago. Updated almost 15 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
core
Target version:
Start date:
06/26/2009
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
4185

Description

The TabManager is calling intializeTabs() twice. Once at startup and once at shutdown. Each time, the parent arg is different. The first time the parent is 'frame1', the second time it is 'frame3'. Need to figure out why TabManager is getting called on shutdown at all.

Actions #1

Updated by Chad Berkley almost 15 years ago

This seems to only happen for WRP. Maybe because there are way more tabs and frames in the WRP interface. I'm seeing an exception when kepler shuts down that doesn't seem to make any sense. It is:

java.lang.Exception: Outline TabPane specified in config.xml was not found in the TabManager.
[run] Make sure you have specified the TabPane in configuration.xml
[run] at org.kepler.gui.ViewManager.addConfiguredTabPanes(ViewManager.java:346)
[run] at org.kepler.gui.ViewManager.initializeViews(ViewManager.java:83)

....

I checked the configuration and it looks like both the config.xml and configuration.xml files are set correctly for the "Outline" tab that it is complaining about. I'm digging in to figure out why this is getting called twice in the first place.

Actions #2

Updated by Chad Berkley almost 15 years ago

WorkflowRunManagerPanel was falsely assuming that calling topLevel() on a model would return a CompositeActor. Instead, if there was no model loaded, topLevel() returns the configuration. There was a classcastexception being thrown when this happened which for some reason, caused the tabs to reinitialize. I fixed the cast now it seems to work fine.

Actions #3

Updated by Redmine Admin about 11 years ago

Original Bugzilla ID was 4185

Actions

Also available in: Atom PDF