Project

General

Profile

Bug #5258

kepler start exception when soft links are in KeplerData/workflows/MyWorkflows

Added by jianwu jianwu over 8 years ago. Updated over 8 years ago.

Status:
New
Priority:
Normal
Assignee:
Category:
build system
Target version:
Start date:
12/17/2010
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5258

Description

in trunk version 26536, menu item 'File --> Open' can open workflow xml file or kar file and the default directory is KeplerData/workflows/MyWorkflows.

When I create a soft link in KeplerData/workflows/MyWorkflows and restart kepler. Kepler can not start correctly. The exception message is blow.

Also the old "File --> Open File" menu item can remember the last used directory and use it for the next opening. "File --> Open" only go to the 'KeplerData/workflows/MyWorkflows' directory. Its usability is not as good as before.

[run] java.lang.Exception: /Users/jianwu/KeplerData/workflows/MyWorkflows/useful-workflows/MultiDisplay is not in a local repository
[run] at org.kepler.objectmanager.library.LibIndex.assureFolder(LibIndex.java:1549)
[run] at org.kepler.objectmanager.library.LibIndex.assureKar(LibIndex.java:1479)
[run] at org.kepler.objectmanager.library.LibIndex.assureKarEntry(LibIndex.java:539)
[run] at org.kepler.objectmanager.library.LibIndex.rebuild(LibIndex.java:268)
[run] at org.kepler.objectmanager.library.LibraryManager.buildLibrary(LibraryManager.java:357)
[run] at org.kepler.moml.KARLibraryBuilder.buildLibrary(KARLibraryBuilder.java:78)
[run] at ptolemy.actor.gui.UserActorLibrary.openLibrary(UserActorLibrary.java:202)
[run] at ptolemy.actor.gui.UserActorLibrary.openUserLibrary(UserActorLibrary.java:140)
[run] at ptolemy.vergil.VergilApplication._createDefaultConfiguration(VergilApplication.java:330)
[run] at ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplication.java:347)
[run] at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1115)
[run] at ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:477)
[run] at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:226)
[run] at ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:80)
[run] at ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:110)
[run] at ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:219)
[run] at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
[run] at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
[run] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
[run] at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
[run] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
[run] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
[run] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
[run] at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
[run] java.lang.Exception
[run] at org.kepler.objectmanager.library.LibIndex.assureKar(LibIndex.java:1482)
[run] at org.kepler.objectmanager.library.LibIndex.assureKarEntry(LibIndex.java:539)
[run] at org.kepler.objectmanager.library.LibIndex.rebuild(LibIndex.java:268)
[run] at org.kepler.objectmanager.library.LibraryManager.buildLibrary(LibraryManager.java:357)
[run] at org.kepler.moml.KARLibraryBuilder.buildLibrary(KARLibraryBuilder.java:78)
[run] at ptolemy.actor.gui.UserActorLibrary.openLibrary(UserActorLibrary.java:202)
[run] at ptolemy.actor.gui.UserActorLibrary.openUserLibrary(UserActorLibrary.java:140)
[run] at ptolemy.vergil.VergilApplication._createDefaultConfiguration(VergilApplication.java:330)
[run] at ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplication.java:347)
[run] at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1115)
[run] at ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:477)
[run] at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:226)
[run] at ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:80)
[run] at ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:110)
[run] at ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:219)
[run] at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
[run] at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
[run] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
[run] at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
[run] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
[run] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
[run] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
[run] at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
[run] java.lang.NullPointerException
[run] at org.kepler.objectmanager.library.LibIndex.assureKarEntry(LibIndex.java:557)
[run] at org.kepler.objectmanager.library.LibIndex.rebuild(LibIndex.java:268)
[run] at org.kepler.objectmanager.library.LibraryManager.buildLibrary(LibraryManager.java:357)
[run] at org.kepler.moml.KARLibraryBuilder.buildLibrary(KARLibraryBuilder.java:78)
[run] at ptolemy.actor.gui.UserActorLibrary.openLibrary(UserActorLibrary.java:202)
[run] at ptolemy.actor.gui.UserActorLibrary.openUserLibrary(UserActorLibrary.java:140)
[run] at ptolemy.vergil.VergilApplication._createDefaultConfiguration(VergilApplication.java:330)
[run] at ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplication.java:347)
[run] at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1115)
[run] at ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:477)
[run] at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:226)
[run] at ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:80)
[run] at ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:110)
[run] at ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:219)
[run] at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
[run] at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
[run] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
[run] at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
[run] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
[run] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
[run] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
[run] at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
[run] Filter file is null
[run] error: TabPane is null. This problem can be fixed by adding a tabPaneFactory property in the configuration.xml file.
[run] java.lang.NullPointerException
[run] at org.kepler.gui.FilteredVisibleTreeModel.addTreeModelListener(FilteredVisibleTreeModel.java:174)
[run] at javax.swing.JTree.setModel(JTree.java:855)
[run] at javax.swing.JTree.<init>(JTree.java:650)
[run] at ptolemy.vergil.tree.PTree.<init>(PTree.java:72)
[run] at org.kepler.gui.AnnotatedPTree.<init>(AnnotatedPTree.java:89)
[run] at org.kepler.gui.ComponentLibraryTab.initLibraryTree(ComponentLibraryTab.java:206)
[run] at org.kepler.gui.ComponentLibraryTab.initializeTab(ComponentLibraryTab.java:175)
[run] at org.kepler.gui.TabPaneFactory.createTabPaneTabs(TabPaneFactory.java:110)
[run] at org.kepler.gui.TabManager.initializeTabs(TabManager.java:87)
[run] at org.kepler.gui.KeplerGraphFrame._initBasicGraphFrame(KeplerGraphFrame.java:373)
[run] at ptolemy.vergil.basic.BasicGraphFrame.<init>(BasicGraphFrame.java:224)
[run] at ptolemy.vergil.basic.ExtendedGraphFrame.<init>(ExtendedGraphFrame.java:95)
[run] at ptolemy.vergil.actor.ActorGraphFrame.<init>(ActorGraphFrame.java:135)
[run] at org.kepler.gui.KeplerGraphFrame.<init>(KeplerGraphFrame.java:176)
[run] at org.kepler.gui.frame.KeplerGraphTableau.<init>(KeplerGraphTableau.java:252)
[run] at org.kepler.gui.frame.KeplerGraphTableau$Factory.createTableau(KeplerGraphTableau.java:315)
[run] at ptolemy.actor.gui.PtolemyTableauFactory.createTableau(PtolemyTableauFactory.java:100)
[run] at ptolemy.actor.gui.TableauFactory.createTableau(TableauFactory.java:127)
[run] at ptolemy.actor.gui.Configuration.createPrimaryTableau(Configuration.java:569)
[run] at ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplication.java:401)
[run] at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1115)
[run] at ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:477)
[run] at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:226)
[run] at ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:80)
[run] at ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:110)
[run] at ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:219)
[run] at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
[run] at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
[run] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
[run] at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
[run] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
[run] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
[run] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
[run] at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
[run] Could not create tab pane.: null
[run] java.lang.NullPointerException
[run] at org.kepler.gui.FilteredVisibleTreeModel.addTreeModelListener(FilteredVisibleTreeModel.java:174)
[run] at javax.swing.JTree.setModel(JTree.java:855)
[run] at javax.swing.JTree.<init>(JTree.java:650)
[run] at ptolemy.vergil.tree.PTree.<init>(PTree.java:72)
[run] at org.kepler.gui.AnnotatedPTree.<init>(AnnotatedPTree.java:89)
[run] at org.kepler.gui.ComponentLibraryTab.initLibraryTree(ComponentLibraryTab.java:206)
[run] at org.kepler.gui.ComponentLibraryTab.initializeTab(ComponentLibraryTab.java:175)
[run] at org.kepler.gui.TabPaneFactory.createTabPaneTabs(TabPaneFactory.java:110)
[run] at org.kepler.gui.TabManager.initializeTabs(TabManager.java:87)
[run] at org.kepler.gui.KeplerGraphFrame._initBasicGraphFrame(KeplerGraphFrame.java:373)
[run] at ptolemy.vergil.basic.BasicGraphFrame.<init>(BasicGraphFrame.java:224)
[run] at ptolemy.vergil.basic.ExtendedGraphFrame.<init>(ExtendedGraphFrame.java:95)
[run] at ptolemy.vergil.actor.ActorGraphFrame.<init>(ActorGraphFrame.java:135)
[run] at org.kepler.gui.KeplerGraphFrame.<init>(KeplerGraphFrame.java:176)
[run] at org.kepler.gui.frame.KeplerGraphTableau.<init>(KeplerGraphTableau.java:252)
[run] at org.kepler.gui.frame.KeplerGraphTableau$Factory.createTableau(KeplerGraphTableau.java:315)
[run] at ptolemy.actor.gui.PtolemyTableauFactory.createTableau(PtolemyTableauFactory.java:100)
[run] at ptolemy.actor.gui.TableauFactory.createTableau(TableauFactory.java:127)
[run] at ptolemy.actor.gui.Configuration.createPrimaryTableau(Configuration.java:569)
[run] at ptolemy.vergil.VergilApplication._createEmptyConfiguration(VergilApplication.java:401)
[run] at ptolemy.actor.gui.ConfigurationApplication._parseArgs(ConfigurationApplication.java:1115)
[run] at ptolemy.vergil.VergilApplication._parseArgs(VergilApplication.java:477)
[run] at ptolemy.actor.gui.ConfigurationApplication.<init>(ConfigurationApplication.java:226)
[run] at ptolemy.actor.gui.MoMLApplication.<init>(MoMLApplication.java:80)
[run] at ptolemy.vergil.VergilApplication.<init>(VergilApplication.java:110)
[run] at ptolemy.vergil.VergilApplication$1.run(VergilApplication.java:219)
[run] at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
[run] at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
[run] at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
[run] at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
[run] at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
[run] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
[run] at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
[run] at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
[run] ERROR: no tab named Components in the view Workflow. (Perhaps the tab's getTabName() does not match the name given in configuration.xml?)
[run] ERROR: no tab named Data in the view Workflow. (Perhaps the tab's getTabName() does not match the name given in configuration.xml?)
[run] ERROR: no tab named Outline in the view Workflow. (Perhaps the tab's getTabName() does not match the name given in configuration.xml?)

History

#1 Updated by Daniel Crawl over 8 years ago

The open dialog now starts at the last used directory.

#2 Updated by David Welker over 8 years ago

Since this is an obscure problem that isn't likely to occur in the normal use of Kepler, postponing.

#3 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 5258

Also available in: Atom PDF