Mac OS error

View: New views
6 Messages — Rating Filter:   Alert me  

Mac OS error

by Amer Ghanem :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hello,

I have been getting this error whenever I try to run my models on a Mac.
The models run fine on ubuntu. The error is 

log4j:WARN No appenders could be found for logger (MessageCenter.INTERNAL.repast.simphony.ui.RSUIPlugin).

log4j:WARN Please initialize the log4j system properly.




When I try to run Repast Symphony without any model, I mean just the environment I get the following error

INFO  [main] 21:33:11,666 saf.core.runtime.Boot - logging system initialized

FATAL [main] 21:33:16,792 repast.simphony.ui.RSUIPlugin - Fatal error starting Repast

java.lang.ArrayIndexOutOfBoundsException: 2

at com.apple.laf.AquaTabbedPaneTabState.relayoutForScrolling(AquaTabbedPaneTabState.java:151)

at com.apple.laf.AquaTabbedPaneUI$AquaTruncatingTabbedPaneLayout.superCalculateTabRects(AquaTabbedPaneUI.java:1093)

at com.apple.laf.AquaTabbedPaneUI$AquaTruncatingTabbedPaneLayout.calculateTabRects(AquaTabbedPaneUI.java:983)

at com.apple.laf.AquaTabbedPaneCopyFromBasicUI$TabbedPaneLayout.calculateLayoutInfo(AquaTabbedPaneCopyFromBasicUI.java:2328)

at com.apple.laf.AquaTabbedPaneCopyFromBasicUI.ensureCurrentLayout(AquaTabbedPaneCopyFromBasicUI.java:1324)

at com.apple.laf.AquaTabbedPaneCopyFromBasicUI.getTabBounds(AquaTabbedPaneCopyFromBasicUI.java:1335)

at javax.swing.JTabbedPane.getBoundsAt(JTabbedPane.java:1268)

at javax.swing.JTabbedPane.setForegroundAt(JTabbedPane.java:1471)

at bibliothek.gui.dock.themes.basic.BasicStackDockComponent$BasicTab.recolor(BasicStackDockComponent.java:135)

at bibliothek.gui.dock.themes.basic.BasicStackDockComponent$BasicTab.dockableFocused(BasicStackDockComponent.java:142)

at bibliothek.gui.DockController.fireDockableFocused(DockController.java:1173)

at bibliothek.gui.DockController.setFocusedDockable(DockController.java:743)

at bibliothek.gui.dock.common.intern.EfficientControlFactory$1.setFocusedDockable(EfficientControlFactory.java:60)

at bibliothek.gui.DockController.setFocusedDockable(DockController.java:675)

at bibliothek.gui.dock.StackDockStation$VisibleListener.stateChanged(StackDockStation.java:878)

at javax.swing.JTabbedPane.fireStateChanged(JTabbedPane.java:400)

at javax.swing.JTabbedPane$ModelListener.stateChanged(JTabbedPane.java:253)

at javax.swing.DefaultSingleSelectionModel.fireStateChanged(DefaultSingleSelectionModel.java:116)

at javax.swing.DefaultSingleSelectionModel.setSelectedIndex(DefaultSingleSelectionModel.java:50)

at javax.swing.JTabbedPane.setSelectedIndexImpl(JTabbedPane.java:599)

at javax.swing.JTabbedPane.removeTabAt(JTabbedPane.java:958)

at javax.swing.JTabbedPane.remove(JTabbedPane.java:1030)

at bibliothek.gui.dock.station.stack.DefaultStackDockComponent.remove(DefaultStackDockComponent.java:112)

at bibliothek.gui.dock.StackDockStation.remove(StackDockStation.java:811)

at bibliothek.gui.dock.StackDockStation.drag(StackDockStation.java:691)

at bibliothek.gui.DockUI.updateTheme(DockUI.java:472)

at bibliothek.gui.dock.StackDockStation.callDockUiUpdateTheme(StackDockStation.java:301)

at bibliothek.gui.dock.station.AbstractDockableStation.updateTheme(AbstractDockableStation.java:95)

at bibliothek.gui.dock.control.DockRegister.register(DockRegister.java:278)

at bibliothek.gui.dock.control.DockRegister$1.handleDockStation(DockRegister.java:135)

at bibliothek.gui.dock.util.DockUtilities.visitStation(DockUtilities.java:118)

at bibliothek.gui.dock.util.DockUtilities.visitDockable(DockUtilities.java:109)

at bibliothek.gui.dock.util.DockUtilities.visit(DockUtilities.java:95)

at bibliothek.gui.dock.control.DockRegister.add(DockRegister.java:128)

at bibliothek.gui.dock.control.DockRegister$StationListener.addDockable(DockRegister.java:487)

at bibliothek.gui.dock.control.DockRegister$StationListener.fire(DockRegister.java:438)

at bibliothek.gui.dock.control.DockRegister.setStalled(DockRegister.java:395)

at bibliothek.gui.DockFrontend.setSetting(DockFrontend.java:966)

at bibliothek.gui.dock.common.CControl$1.setSetting(CControl.java:266)

at bibliothek.gui.DockFrontend.read(DockFrontend.java:1131)

at saf.core.ui.dock.DefaultPerspective.activate(DefaultPerspective.java:169)

at saf.core.ui.dock.DefaultDockingManager.activatePerspective(DefaultDockingManager.java:222)

at saf.core.ui.dock.DefaultDockingManager.init(DefaultDockingManager.java:208)

at saf.core.ui.GUICreatorDelegate.createDisplay(GUICreatorDelegate.java:181)

at saf.core.ui.GUICreator.createDisplay(GUICreator.java:10)

at repast.simphony.ui.RSUIPlugin.run(RSUIPlugin.java:84)

at saf.core.runtime.CorePlugin.runApplicationRunnable(CorePlugin.java:64)

at saf.core.runtime.CorePlugin.run(CorePlugin.java:33)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)

at saf.core.runtime.Boot.run(Boot.java:125)

at saf.core.runtime.Boot.main(Boot.java:280)



any help will really be appreciated.

thanks
--
Amer Ghanem.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest

Re: Mac OS error

by John Tranier :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Check the default version of Java is 1.5  and not 1.6 on your mac (java -version).

John


Le 23 oct. 09 à 03:34, Amer Ghanem a écrit :


Hello,

I have been getting this error whenever I try to run my models on a Mac.
The models run fine on ubuntu. The error is 

log4j:WARN No appenders could be found for logger (MessageCenter.INTERNAL.repast.simphony.ui.RSUIPlugin).
log4j:WARN Please initialize the log4j system properly.



When I try to run Repast Symphony without any model, I mean just the environment I get the following error

INFO  [main] 21:33:11,666 saf.core.runtime.Boot - logging system initialized
FATAL [main] 21:33:16,792 repast.simphony.ui.RSUIPlugin - Fatal error starting Repast
java.lang.ArrayIndexOutOfBoundsException: 2
at com.apple.laf.AquaTabbedPaneTabState.relayoutForScrolling(AquaTabbedPaneTabState.java:151)
at com.apple.laf.AquaTabbedPaneUI$AquaTruncatingTabbedPaneLayout.superCalculateTabRects(AquaTabbedPaneUI.java:1093)
at com.apple.laf.AquaTabbedPaneUI$AquaTruncatingTabbedPaneLayout.calculateTabRects(AquaTabbedPaneUI.java:983)
at com.apple.laf.AquaTabbedPaneCopyFromBasicUI$TabbedPaneLayout.calculateLayoutInfo(AquaTabbedPaneCopyFromBasicUI.java:2328)
at com.apple.laf.AquaTabbedPaneCopyFromBasicUI.ensureCurrentLayout(AquaTabbedPaneCopyFromBasicUI.java:1324)
at com.apple.laf.AquaTabbedPaneCopyFromBasicUI.getTabBounds(AquaTabbedPaneCopyFromBasicUI.java:1335)
at javax.swing.JTabbedPane.getBoundsAt(JTabbedPane.java:1268)
at javax.swing.JTabbedPane.setForegroundAt(JTabbedPane.java:1471)
at bibliothek.gui.dock.themes.basic.BasicStackDockComponent$BasicTab.recolor(BasicStackDockComponent.java:135)
at bibliothek.gui.dock.themes.basic.BasicStackDockComponent$BasicTab.dockableFocused(BasicStackDockComponent.java:142)
at bibliothek.gui.DockController.fireDockableFocused(DockController.java:1173)
at bibliothek.gui.DockController.setFocusedDockable(DockController.java:743)
at bibliothek.gui.dock.common.intern.EfficientControlFactory$1.setFocusedDockable(EfficientControlFactory.java:60)
at bibliothek.gui.DockController.setFocusedDockable(DockController.java:675)
at bibliothek.gui.dock.StackDockStation$VisibleListener.stateChanged(StackDockStation.java:878)
at javax.swing.JTabbedPane.fireStateChanged(JTabbedPane.java:400)
at javax.swing.JTabbedPane$ModelListener.stateChanged(JTabbedPane.java:253)
at javax.swing.DefaultSingleSelectionModel.fireStateChanged(DefaultSingleSelectionModel.java:116)
at javax.swing.DefaultSingleSelectionModel.setSelectedIndex(DefaultSingleSelectionModel.java:50)
at javax.swing.JTabbedPane.setSelectedIndexImpl(JTabbedPane.java:599)
at javax.swing.JTabbedPane.removeTabAt(JTabbedPane.java:958)
at javax.swing.JTabbedPane.remove(JTabbedPane.java:1030)
at bibliothek.gui.dock.station.stack.DefaultStackDockComponent.remove(DefaultStackDockComponent.java:112)
at bibliothek.gui.dock.StackDockStation.remove(StackDockStation.java:811)
at bibliothek.gui.dock.StackDockStation.drag(StackDockStation.java:691)
at bibliothek.gui.DockUI.updateTheme(DockUI.java:472)
at bibliothek.gui.dock.StackDockStation.callDockUiUpdateTheme(StackDockStation.java:301)
at bibliothek.gui.dock.station.AbstractDockableStation.updateTheme(AbstractDockableStation.java:95)
at bibliothek.gui.dock.control.DockRegister.register(DockRegister.java:278)
at bibliothek.gui.dock.control.DockRegister$1.handleDockStation(DockRegister.java:135)
at bibliothek.gui.dock.util.DockUtilities.visitStation(DockUtilities.java:118)
at bibliothek.gui.dock.util.DockUtilities.visitDockable(DockUtilities.java:109)
at bibliothek.gui.dock.util.DockUtilities.visit(DockUtilities.java:95)
at bibliothek.gui.dock.control.DockRegister.add(DockRegister.java:128)
at bibliothek.gui.dock.control.DockRegister$StationListener.addDockable(DockRegister.java:487)
at bibliothek.gui.dock.control.DockRegister$StationListener.fire(DockRegister.java:438)
at bibliothek.gui.dock.control.DockRegister.setStalled(DockRegister.java:395)
at bibliothek.gui.DockFrontend.setSetting(DockFrontend.java:966)
at bibliothek.gui.dock.common.CControl$1.setSetting(CControl.java:266)
at bibliothek.gui.DockFrontend.read(DockFrontend.java:1131)
at saf.core.ui.dock.DefaultPerspective.activate(DefaultPerspective.java:169)
at saf.core.ui.dock.DefaultDockingManager.activatePerspective(DefaultDockingManager.java:222)
at saf.core.ui.dock.DefaultDockingManager.init(DefaultDockingManager.java:208)
at saf.core.ui.GUICreatorDelegate.createDisplay(GUICreatorDelegate.java:181)
at saf.core.ui.GUICreator.createDisplay(GUICreator.java:10)
at repast.simphony.ui.RSUIPlugin.run(RSUIPlugin.java:84)
at saf.core.runtime.CorePlugin.runApplicationRunnable(CorePlugin.java:64)
at saf.core.runtime.CorePlugin.run(CorePlugin.java:33)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at saf.core.runtime.Boot.run(Boot.java:125)
at saf.core.runtime.Boot.main(Boot.java:280)


any help will really be appreciated.

thanks
--
Amer Ghanem.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest


--
Dr. John Tranier
Institute for Computing and Information Sciences
Utrecht University 
tel: +31 (30) 253 6761 
email: tranier@... 


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest

Re: Mac OS error

by Nick Collier-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If the problem persists, you may need to delete the saved gui state. Delete

/Users/X/.repast.simphony.gui/repast.simphony.ui.perspective.default.layout 


replacing "X" with your user name of course.

Nick

On Oct 23, 2009, at 3:37 AM, John Tranier wrote:

Check the default version of Java is 1.5  and not 1.6 on your mac (java -version).

John


Le 23 oct. 09 à 03:34, Amer Ghanem a écrit :


Hello,

I have been getting this error whenever I try to run my models on a Mac.
The models run fine on ubuntu. The error is 

log4j:WARN No appenders could be found for logger (MessageCenter.INTERNAL.repast.simphony.ui.RSUIPlugin).
log4j:WARN Please initialize the log4j system properly.



When I try to run Repast Symphony without any model, I mean just the environment I get the following error

INFO  [main] 21:33:11,666 saf.core.runtime.Boot - logging system initialized
FATAL [main] 21:33:16,792 repast.simphony.ui.RSUIPlugin - Fatal error starting Repast
java.lang.ArrayIndexOutOfBoundsException: 2
at com.apple.laf.AquaTabbedPaneTabState.relayoutForScrolling(AquaTabbedPaneTabState.java:151)
at com.apple.laf.AquaTabbedPaneUI$AquaTruncatingTabbedPaneLayout.superCalculateTabRects(AquaTabbedPaneUI.java:1093)
at com.apple.laf.AquaTabbedPaneUI$AquaTruncatingTabbedPaneLayout.calculateTabRects(AquaTabbedPaneUI.java:983)
at com.apple.laf.AquaTabbedPaneCopyFromBasicUI$TabbedPaneLayout.calculateLayoutInfo(AquaTabbedPaneCopyFromBasicUI.java:2328)
at com.apple.laf.AquaTabbedPaneCopyFromBasicUI.ensureCurrentLayout(AquaTabbedPaneCopyFromBasicUI.java:1324)
at com.apple.laf.AquaTabbedPaneCopyFromBasicUI.getTabBounds(AquaTabbedPaneCopyFromBasicUI.java:1335)
at javax.swing.JTabbedPane.getBoundsAt(JTabbedPane.java:1268)
at javax.swing.JTabbedPane.setForegroundAt(JTabbedPane.java:1471)
at bibliothek.gui.dock.themes.basic.BasicStackDockComponent$BasicTab.recolor(BasicStackDockComponent.java:135)
at bibliothek.gui.dock.themes.basic.BasicStackDockComponent$BasicTab.dockableFocused(BasicStackDockComponent.java:142)
at bibliothek.gui.DockController.fireDockableFocused(DockController.java:1173)
at bibliothek.gui.DockController.setFocusedDockable(DockController.java:743)
at bibliothek.gui.dock.common.intern.EfficientControlFactory$1.setFocusedDockable(EfficientControlFactory.java:60)
at bibliothek.gui.DockController.setFocusedDockable(DockController.java:675)
at bibliothek.gui.dock.StackDockStation$VisibleListener.stateChanged(StackDockStation.java:878)
at javax.swing.JTabbedPane.fireStateChanged(JTabbedPane.java:400)
at javax.swing.JTabbedPane$ModelListener.stateChanged(JTabbedPane.java:253)
at javax.swing.DefaultSingleSelectionModel.fireStateChanged(DefaultSingleSelectionModel.java:116)
at javax.swing.DefaultSingleSelectionModel.setSelectedIndex(DefaultSingleSelectionModel.java:50)
at javax.swing.JTabbedPane.setSelectedIndexImpl(JTabbedPane.java:599)
at javax.swing.JTabbedPane.removeTabAt(JTabbedPane.java:958)
at javax.swing.JTabbedPane.remove(JTabbedPane.java:1030)
at bibliothek.gui.dock.station.stack.DefaultStackDockComponent.remove(DefaultStackDockComponent.java:112)
at bibliothek.gui.dock.StackDockStation.remove(StackDockStation.java:811)
at bibliothek.gui.dock.StackDockStation.drag(StackDockStation.java:691)
at bibliothek.gui.DockUI.updateTheme(DockUI.java:472)
at bibliothek.gui.dock.StackDockStation.callDockUiUpdateTheme(StackDockStation.java:301)
at bibliothek.gui.dock.station.AbstractDockableStation.updateTheme(AbstractDockableStation.java:95)
at bibliothek.gui.dock.control.DockRegister.register(DockRegister.java:278)
at bibliothek.gui.dock.control.DockRegister$1.handleDockStation(DockRegister.java:135)
at bibliothek.gui.dock.util.DockUtilities.visitStation(DockUtilities.java:118)
at bibliothek.gui.dock.util.DockUtilities.visitDockable(DockUtilities.java:109)
at bibliothek.gui.dock.util.DockUtilities.visit(DockUtilities.java:95)
at bibliothek.gui.dock.control.DockRegister.add(DockRegister.java:128)
at bibliothek.gui.dock.control.DockRegister$StationListener.addDockable(DockRegister.java:487)
at bibliothek.gui.dock.control.DockRegister$StationListener.fire(DockRegister.java:438)
at bibliothek.gui.dock.control.DockRegister.setStalled(DockRegister.java:395)
at bibliothek.gui.DockFrontend.setSetting(DockFrontend.java:966)
at bibliothek.gui.dock.common.CControl$1.setSetting(CControl.java:266)
at bibliothek.gui.DockFrontend.read(DockFrontend.java:1131)
at saf.core.ui.dock.DefaultPerspective.activate(DefaultPerspective.java:169)
at saf.core.ui.dock.DefaultDockingManager.activatePerspective(DefaultDockingManager.java:222)
at saf.core.ui.dock.DefaultDockingManager.init(DefaultDockingManager.java:208)
at saf.core.ui.GUICreatorDelegate.createDisplay(GUICreatorDelegate.java:181)
at saf.core.ui.GUICreator.createDisplay(GUICreator.java:10)
at repast.simphony.ui.RSUIPlugin.run(RSUIPlugin.java:84)
at saf.core.runtime.CorePlugin.runApplicationRunnable(CorePlugin.java:64)
at saf.core.runtime.CorePlugin.run(CorePlugin.java:33)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at saf.core.runtime.Boot.run(Boot.java:125)
at saf.core.runtime.Boot.main(Boot.java:280)


any help will really be appreciated.

thanks
--
Amer Ghanem.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest


--
Dr. John Tranier
Institute for Computing and Information Sciences
Utrecht University 
tel: +31 (30) 253 6761 
email: tranier@... 

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest

Re: Mac OS error

by Amer Ghanem :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

hello,

thanks for the help. Deleting the default.layout file did the job. I am wondering if there is a reason why this happens. It happens with all the time. So far, every new run, I have to delete the file and re run Repast. Is there a reason for this.

Thank you for your time.

Amer Ghanem.

On Fri, Oct 23, 2009 at 8:59 AM, Nick Collier <nick.collier@...> wrote:
If the problem persists, you may need to delete the saved gui state. Delete

/Users/X/.repast.simphony.gui/repast.simphony.ui.perspective.default.layout 


replacing "X" with your user name of course.

Nick

On Oct 23, 2009, at 3:37 AM, John Tranier wrote:

Check the default version of Java is 1.5  and not 1.6 on your mac (java -version).

John


Le 23 oct. 09 à 03:34, Amer Ghanem a écrit :


Hello,

I have been getting this error whenever I try to run my models on a Mac.
The models run fine on ubuntu. The error is 

log4j:WARN No appenders could be found for logger (MessageCenter.INTERNAL.repast.simphony.ui.RSUIPlugin).
log4j:WARN Please initialize the log4j system properly.



When I try to run Repast Symphony without any model, I mean just the environment I get the following error

INFO  [main] 21:33:11,666 saf.core.runtime.Boot - logging system initialized
FATAL [main] 21:33:16,792 repast.simphony.ui.RSUIPlugin - Fatal error starting Repast
java.lang.ArrayIndexOutOfBoundsException: 2
at com.apple.laf.AquaTabbedPaneTabState.relayoutForScrolling(AquaTabbedPaneTabState.java:151)
at com.apple.laf.AquaTabbedPaneUI$AquaTruncatingTabbedPaneLayout.superCalculateTabRects(AquaTabbedPaneUI.java:1093)
at com.apple.laf.AquaTabbedPaneUI$AquaTruncatingTabbedPaneLayout.calculateTabRects(AquaTabbedPaneUI.java:983)
at com.apple.laf.AquaTabbedPaneCopyFromBasicUI$TabbedPaneLayout.calculateLayoutInfo(AquaTabbedPaneCopyFromBasicUI.java:2328)
at com.apple.laf.AquaTabbedPaneCopyFromBasicUI.ensureCurrentLayout(AquaTabbedPaneCopyFromBasicUI.java:1324)
at com.apple.laf.AquaTabbedPaneCopyFromBasicUI.getTabBounds(AquaTabbedPaneCopyFromBasicUI.java:1335)
at javax.swing.JTabbedPane.getBoundsAt(JTabbedPane.java:1268)
at javax.swing.JTabbedPane.setForegroundAt(JTabbedPane.java:1471)
at bibliothek.gui.dock.themes.basic.BasicStackDockComponent$BasicTab.recolor(BasicStackDockComponent.java:135)
at bibliothek.gui.dock.themes.basic.BasicStackDockComponent$BasicTab.dockableFocused(BasicStackDockComponent.java:142)
at bibliothek.gui.DockController.fireDockableFocused(DockController.java:1173)
at bibliothek.gui.DockController.setFocusedDockable(DockController.java:743)
at bibliothek.gui.dock.common.intern.EfficientControlFactory$1.setFocusedDockable(EfficientControlFactory.java:60)
at bibliothek.gui.DockController.setFocusedDockable(DockController.java:675)
at bibliothek.gui.dock.StackDockStation$VisibleListener.stateChanged(StackDockStation.java:878)
at javax.swing.JTabbedPane.fireStateChanged(JTabbedPane.java:400)
at javax.swing.JTabbedPane$ModelListener.stateChanged(JTabbedPane.java:253)
at javax.swing.DefaultSingleSelectionModel.fireStateChanged(DefaultSingleSelectionModel.java:116)
at javax.swing.DefaultSingleSelectionModel.setSelectedIndex(DefaultSingleSelectionModel.java:50)
at javax.swing.JTabbedPane.setSelectedIndexImpl(JTabbedPane.java:599)
at javax.swing.JTabbedPane.removeTabAt(JTabbedPane.java:958)
at javax.swing.JTabbedPane.remove(JTabbedPane.java:1030)
at bibliothek.gui.dock.station.stack.DefaultStackDockComponent.remove(DefaultStackDockComponent.java:112)
at bibliothek.gui.dock.StackDockStation.remove(StackDockStation.java:811)
at bibliothek.gui.dock.StackDockStation.drag(StackDockStation.java:691)
at bibliothek.gui.DockUI.updateTheme(DockUI.java:472)
at bibliothek.gui.dock.StackDockStation.callDockUiUpdateTheme(StackDockStation.java:301)
at bibliothek.gui.dock.station.AbstractDockableStation.updateTheme(AbstractDockableStation.java:95)
at bibliothek.gui.dock.control.DockRegister.register(DockRegister.java:278)
at bibliothek.gui.dock.control.DockRegister$1.handleDockStation(DockRegister.java:135)
at bibliothek.gui.dock.util.DockUtilities.visitStation(DockUtilities.java:118)
at bibliothek.gui.dock.util.DockUtilities.visitDockable(DockUtilities.java:109)
at bibliothek.gui.dock.util.DockUtilities.visit(DockUtilities.java:95)
at bibliothek.gui.dock.control.DockRegister.add(DockRegister.java:128)
at bibliothek.gui.dock.control.DockRegister$StationListener.addDockable(DockRegister.java:487)
at bibliothek.gui.dock.control.DockRegister$StationListener.fire(DockRegister.java:438)
at bibliothek.gui.dock.control.DockRegister.setStalled(DockRegister.java:395)
at bibliothek.gui.DockFrontend.setSetting(DockFrontend.java:966)
at bibliothek.gui.dock.common.CControl$1.setSetting(CControl.java:266)
at bibliothek.gui.DockFrontend.read(DockFrontend.java:1131)
at saf.core.ui.dock.DefaultPerspective.activate(DefaultPerspective.java:169)
at saf.core.ui.dock.DefaultDockingManager.activatePerspective(DefaultDockingManager.java:222)
at saf.core.ui.dock.DefaultDockingManager.init(DefaultDockingManager.java:208)
at saf.core.ui.GUICreatorDelegate.createDisplay(GUICreatorDelegate.java:181)
at saf.core.ui.GUICreator.createDisplay(GUICreator.java:10)
at repast.simphony.ui.RSUIPlugin.run(RSUIPlugin.java:84)
at saf.core.runtime.CorePlugin.runApplicationRunnable(CorePlugin.java:64)
at saf.core.runtime.CorePlugin.run(CorePlugin.java:33)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at saf.core.runtime.Boot.run(Boot.java:125)
at saf.core.runtime.Boot.main(Boot.java:280)


any help will really be appreciated.

thanks
--
Amer Ghanem.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest


--
Dr. John Tranier
Institute for Computing and Information Sciences
Utrecht University 
tel: +31 (30) 253 6761 
email: tranier@... 

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest




--
Amer Ghanem.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest

Re: Mac OS error

by Nick Collier-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Can you help us debug this issue? Can you tell me the GUI state of you application when you close it? That is, what panels (parameter, actiion tree etc.) exist and what panels are current visible? This error only happens on OSX and I suspect it has something to do with the docking frame library trying to order / load panels.

thanks,

Nick

On Oct 25, 2009, at 11:54 PM, Amer Ghanem wrote:

hello,

thanks for the help. Deleting the default.layout file did the job. I am wondering if there is a reason why this happens. It happens with all the time. So far, every new run, I have to delete the file and re run Repast. Is there a reason for this.

Thank you for your time.

Amer Ghanem.

On Fri, Oct 23, 2009 at 8:59 AM, Nick Collier <nick.collier@...> wrote:
If the problem persists, you may need to delete the saved gui state. Delete

/Users/X/.repast.simphony.gui/repast.simphony.ui.perspective.default.layout 


replacing "X" with your user name of course.

Nick

On Oct 23, 2009, at 3:37 AM, John Tranier wrote:

Check the default version of Java is 1.5  and not 1.6 on your mac (java -version).

John


Le 23 oct. 09 à 03:34, Amer Ghanem a écrit :


Hello,

I have been getting this error whenever I try to run my models on a Mac.
The models run fine on ubuntu. The error is 

log4j:WARN No appenders could be found for logger (MessageCenter.INTERNAL.repast.simphony.ui.RSUIPlugin).
log4j:WARN Please initialize the log4j system properly.



When I try to run Repast Symphony without any model, I mean just the environment I get the following error

INFO  [main] 21:33:11,666 saf.core.runtime.Boot - logging system initialized
FATAL [main] 21:33:16,792 repast.simphony.ui.RSUIPlugin - Fatal error starting Repast
java.lang.ArrayIndexOutOfBoundsException: 2
at com.apple.laf.AquaTabbedPaneTabState.relayoutForScrolling(AquaTabbedPaneTabState.java:151)
at com.apple.laf.AquaTabbedPaneUI$AquaTruncatingTabbedPaneLayout.superCalculateTabRects(AquaTabbedPaneUI.java:1093)
at com.apple.laf.AquaTabbedPaneUI$AquaTruncatingTabbedPaneLayout.calculateTabRects(AquaTabbedPaneUI.java:983)
at com.apple.laf.AquaTabbedPaneCopyFromBasicUI$TabbedPaneLayout.calculateLayoutInfo(AquaTabbedPaneCopyFromBasicUI.java:2328)
at com.apple.laf.AquaTabbedPaneCopyFromBasicUI.ensureCurrentLayout(AquaTabbedPaneCopyFromBasicUI.java:1324)
at com.apple.laf.AquaTabbedPaneCopyFromBasicUI.getTabBounds(AquaTabbedPaneCopyFromBasicUI.java:1335)
at javax.swing.JTabbedPane.getBoundsAt(JTabbedPane.java:1268)
at javax.swing.JTabbedPane.setForegroundAt(JTabbedPane.java:1471)
at bibliothek.gui.dock.themes.basic.BasicStackDockComponent$BasicTab.recolor(BasicStackDockComponent.java:135)
at bibliothek.gui.dock.themes.basic.BasicStackDockComponent$BasicTab.dockableFocused(BasicStackDockComponent.java:142)
at bibliothek.gui.DockController.fireDockableFocused(DockController.java:1173)
at bibliothek.gui.DockController.setFocusedDockable(DockController.java:743)
at bibliothek.gui.dock.common.intern.EfficientControlFactory$1.setFocusedDockable(EfficientControlFactory.java:60)
at bibliothek.gui.DockController.setFocusedDockable(DockController.java:675)
at bibliothek.gui.dock.StackDockStation$VisibleListener.stateChanged(StackDockStation.java:878)
at javax.swing.JTabbedPane.fireStateChanged(JTabbedPane.java:400)
at javax.swing.JTabbedPane$ModelListener.stateChanged(JTabbedPane.java:253)
at javax.swing.DefaultSingleSelectionModel.fireStateChanged(DefaultSingleSelectionModel.java:116)
at javax.swing.DefaultSingleSelectionModel.setSelectedIndex(DefaultSingleSelectionModel.java:50)
at javax.swing.JTabbedPane.setSelectedIndexImpl(JTabbedPane.java:599)
at javax.swing.JTabbedPane.removeTabAt(JTabbedPane.java:958)
at javax.swing.JTabbedPane.remove(JTabbedPane.java:1030)
at bibliothek.gui.dock.station.stack.DefaultStackDockComponent.remove(DefaultStackDockComponent.java:112)
at bibliothek.gui.dock.StackDockStation.remove(StackDockStation.java:811)
at bibliothek.gui.dock.StackDockStation.drag(StackDockStation.java:691)
at bibliothek.gui.DockUI.updateTheme(DockUI.java:472)
at bibliothek.gui.dock.StackDockStation.callDockUiUpdateTheme(StackDockStation.java:301)
at bibliothek.gui.dock.station.AbstractDockableStation.updateTheme(AbstractDockableStation.java:95)
at bibliothek.gui.dock.control.DockRegister.register(DockRegister.java:278)
at bibliothek.gui.dock.control.DockRegister$1.handleDockStation(DockRegister.java:135)
at bibliothek.gui.dock.util.DockUtilities.visitStation(DockUtilities.java:118)
at bibliothek.gui.dock.util.DockUtilities.visitDockable(DockUtilities.java:109)
at bibliothek.gui.dock.util.DockUtilities.visit(DockUtilities.java:95)
at bibliothek.gui.dock.control.DockRegister.add(DockRegister.java:128)
at bibliothek.gui.dock.control.DockRegister$StationListener.addDockable(DockRegister.java:487)
at bibliothek.gui.dock.control.DockRegister$StationListener.fire(DockRegister.java:438)
at bibliothek.gui.dock.control.DockRegister.setStalled(DockRegister.java:395)
at bibliothek.gui.DockFrontend.setSetting(DockFrontend.java:966)
at bibliothek.gui.dock.common.CControl$1.setSetting(CControl.java:266)
at bibliothek.gui.DockFrontend.read(DockFrontend.java:1131)
at saf.core.ui.dock.DefaultPerspective.activate(DefaultPerspective.java:169)
at saf.core.ui.dock.DefaultDockingManager.activatePerspective(DefaultDockingManager.java:222)
at saf.core.ui.dock.DefaultDockingManager.init(DefaultDockingManager.java:208)
at saf.core.ui.GUICreatorDelegate.createDisplay(GUICreatorDelegate.java:181)
at saf.core.ui.GUICreator.createDisplay(GUICreator.java:10)
at repast.simphony.ui.RSUIPlugin.run(RSUIPlugin.java:84)
at saf.core.runtime.CorePlugin.runApplicationRunnable(CorePlugin.java:64)
at saf.core.runtime.CorePlugin.run(CorePlugin.java:33)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at saf.core.runtime.Boot.run(Boot.java:125)
at saf.core.runtime.Boot.main(Boot.java:280)


any help will really be appreciated.

thanks
--
Amer Ghanem.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest


--
Dr. John Tranier
Institute for Computing and Information Sciences
Utrecht University 
tel: +31 (30) 253 6761 
email: tranier@... 

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest




--
Amer Ghanem.


------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest

Mac OS error

by Amer Ghanem :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I tried to debug and see when it exactly happens. It seem that the error happens whenever I close the environment and I am viewing either the Parameters Panel or the User Panel, it works fine if I close it when I am viewing the Scenario Tree Panel or the Run Options Panel. My parameters are just scalar parameters. I have tested them on Ubuntu and widows and they work fine. My User Panel is empty, I don't really know what it is used for.

I hope this will help, please let me know if there is anything else I can do to help you guys. I just started using a MacBook and I can see that this is very frustrating for users who have been using it. By the way, I am using the new operating system. Leoperd Snow, Mac OS X 10.6.1

Thank you for your time.

Amer

On Mon, Oct 26, 2009 at 9:06 AM, Nick Collier <nick.collier@...> wrote:
Can you help us debug this issue? Can you tell me the GUI state of you application when you close it? That is, what panels (parameter, actiion tree etc.) exist and what panels are current visible? This error only happens on OSX and I suspect it has something to do with the docking frame library trying to order / load panels.

thanks,

Nick

On Oct 25, 2009, at 11:54 PM, Amer Ghanem wrote:

hello,

thanks for the help. Deleting the default.layout file did the job. I am wondering if there is a reason why this happens. It happens with all the time. So far, every new run, I have to delete the file and re run Repast. Is there a reason for this.

Thank you for your time.

Amer Ghanem.

On Fri, Oct 23, 2009 at 8:59 AM, Nick Collier <nick.collier@...> wrote:
If the problem persists, you may need to delete the saved gui state. Delete

/Users/X/.repast.simphony.gui/repast.simphony.ui.perspective.default.layout 


replacing "X" with your user name of course.

Nick

On Oct 23, 2009, at 3:37 AM, John Tranier wrote:

Check the default version of Java is 1.5  and not 1.6 on your mac (java -version).

John


Le 23 oct. 09 à 03:34, Amer Ghanem a écrit :


Hello,

I have been getting this error whenever I try to run my models on a Mac.
The models run fine on ubuntu. The error is 

log4j:WARN No appenders could be found for logger (MessageCenter.INTERNAL.repast.simphony.ui.RSUIPlugin).
log4j:WARN Please initialize the log4j system properly.



When I try to run Repast Symphony without any model, I mean just the environment I get the following error

INFO  [main] 21:33:11,666 saf.core.runtime.Boot - logging system initialized
FATAL [main] 21:33:16,792 repast.simphony.ui.RSUIPlugin - Fatal error starting Repast
java.lang.ArrayIndexOutOfBoundsException: 2
at com.apple.laf.AquaTabbedPaneTabState.relayoutForScrolling(AquaTabbedPaneTabState.java:151)
at com.apple.laf.AquaTabbedPaneUI$AquaTruncatingTabbedPaneLayout.superCalculateTabRects(AquaTabbedPaneUI.java:1093)
at com.apple.laf.AquaTabbedPaneUI$AquaTruncatingTabbedPaneLayout.calculateTabRects(AquaTabbedPaneUI.java:983)
at com.apple.laf.AquaTabbedPaneCopyFromBasicUI$TabbedPaneLayout.calculateLayoutInfo(AquaTabbedPaneCopyFromBasicUI.java:2328)
at com.apple.laf.AquaTabbedPaneCopyFromBasicUI.ensureCurrentLayout(AquaTabbedPaneCopyFromBasicUI.java:1324)
at com.apple.laf.AquaTabbedPaneCopyFromBasicUI.getTabBounds(AquaTabbedPaneCopyFromBasicUI.java:1335)
at javax.swing.JTabbedPane.getBoundsAt(JTabbedPane.java:1268)
at javax.swing.JTabbedPane.setForegroundAt(JTabbedPane.java:1471)
at bibliothek.gui.dock.themes.basic.BasicStackDockComponent$BasicTab.recolor(BasicStackDockComponent.java:135)
at bibliothek.gui.dock.themes.basic.BasicStackDockComponent$BasicTab.dockableFocused(BasicStackDockComponent.java:142)
at bibliothek.gui.DockController.fireDockableFocused(DockController.java:1173)
at bibliothek.gui.DockController.setFocusedDockable(DockController.java:743)
at bibliothek.gui.dock.common.intern.EfficientControlFactory$1.setFocusedDockable(EfficientControlFactory.java:60)
at bibliothek.gui.DockController.setFocusedDockable(DockController.java:675)
at bibliothek.gui.dock.StackDockStation$VisibleListener.stateChanged(StackDockStation.java:878)
at javax.swing.JTabbedPane.fireStateChanged(JTabbedPane.java:400)
at javax.swing.JTabbedPane$ModelListener.stateChanged(JTabbedPane.java:253)
at javax.swing.DefaultSingleSelectionModel.fireStateChanged(DefaultSingleSelectionModel.java:116)
at javax.swing.DefaultSingleSelectionModel.setSelectedIndex(DefaultSingleSelectionModel.java:50)
at javax.swing.JTabbedPane.setSelectedIndexImpl(JTabbedPane.java:599)
at javax.swing.JTabbedPane.removeTabAt(JTabbedPane.java:958)
at javax.swing.JTabbedPane.remove(JTabbedPane.java:1030)
at bibliothek.gui.dock.station.stack.DefaultStackDockComponent.remove(DefaultStackDockComponent.java:112)
at bibliothek.gui.dock.StackDockStation.remove(StackDockStation.java:811)
at bibliothek.gui.dock.StackDockStation.drag(StackDockStation.java:691)
at bibliothek.gui.DockUI.updateTheme(DockUI.java:472)
at bibliothek.gui.dock.StackDockStation.callDockUiUpdateTheme(StackDockStation.java:301)
at bibliothek.gui.dock.station.AbstractDockableStation.updateTheme(AbstractDockableStation.java:95)
at bibliothek.gui.dock.control.DockRegister.register(DockRegister.java:278)
at bibliothek.gui.dock.control.DockRegister$1.handleDockStation(DockRegister.java:135)
at bibliothek.gui.dock.util.DockUtilities.visitStation(DockUtilities.java:118)
at bibliothek.gui.dock.util.DockUtilities.visitDockable(DockUtilities.java:109)
at bibliothek.gui.dock.util.DockUtilities.visit(DockUtilities.java:95)
at bibliothek.gui.dock.control.DockRegister.add(DockRegister.java:128)
at bibliothek.gui.dock.control.DockRegister$StationListener.addDockable(DockRegister.java:487)
at bibliothek.gui.dock.control.DockRegister$StationListener.fire(DockRegister.java:438)
at bibliothek.gui.dock.control.DockRegister.setStalled(DockRegister.java:395)
at bibliothek.gui.DockFrontend.setSetting(DockFrontend.java:966)
at bibliothek.gui.dock.common.CControl$1.setSetting(CControl.java:266)
at bibliothek.gui.DockFrontend.read(DockFrontend.java:1131)
at saf.core.ui.dock.DefaultPerspective.activate(DefaultPerspective.java:169)
at saf.core.ui.dock.DefaultDockingManager.activatePerspective(DefaultDockingManager.java:222)
at saf.core.ui.dock.DefaultDockingManager.init(DefaultDockingManager.java:208)
at saf.core.ui.GUICreatorDelegate.createDisplay(GUICreatorDelegate.java:181)
at saf.core.ui.GUICreator.createDisplay(GUICreator.java:10)
at repast.simphony.ui.RSUIPlugin.run(RSUIPlugin.java:84)
at saf.core.runtime.CorePlugin.runApplicationRunnable(CorePlugin.java:64)
at saf.core.runtime.CorePlugin.run(CorePlugin.java:33)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at saf.core.runtime.Boot.run(Boot.java:125)
at saf.core.runtime.Boot.main(Boot.java:280)


any help will really be appreciated.

thanks
--
Amer Ghanem.
------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest


--
Dr. John Tranier
Institute for Computing and Information Sciences
Utrecht University 
tel: +31 (30) 253 6761 
email: tranier@... 

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest




--
Amer Ghanem.




--
Amer Ghanem.

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest