设为首页收藏本站

最大的系统仿真与系统优化公益交流社区

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4988|回复: 0

[求助] 运行repast出现如下错误:

[复制链接]
发表于 2009-3-2 17:01:28 | 显示全部楼层 |阅读模式
5仿真币
控制台中错误为:
log4j:WARN No appenders could be found for logger (MessageCenter.INTERNAL.repast.simphony.freezedry.FreezeDryedRegistry).
log4j:WARN Please initialize the log4j system properly.
错误日志中显示:
2009/03/02 16:34:05,828: Error while attempting to rehydrate class 'class repast.simphony.context.DefaultContext' with key 'Project090301'.
repast.simphony.space.SpatialException: Target location 0 is outside of grid's dimensions.
at repast.simphony.space.grid.AbstractGridPointTranslator.boundsCheck(AbstractGridPointTranslator.java:48)
at repast.simphony.space.grid.AbstractGridPointTranslator.transform(AbstractGridPointTranslator.java:38)
at repast.simphony.space.grid.AbstractGrid.moveTo(AbstractGrid.java:143)
at repast.simphony.space.grid.RandomGridAdder.add(RandomGridAdder.java:24)
at repast.simphony.space.grid.RandomGridAdder.add(RandomGridAdder.java:1)
at repast.simphony.context.space.grid.ContextGrid.addFromContext(ContextGrid.java:73)
at repast.simphony.context.space.grid.ContextGrid.addAll(ContextGrid.java:80)
at repast.simphony.context.space.grid.ContextGrid.eventOccured(ContextGrid.java:63)
at repast.simphony.context.AbstractContext.fireContextEvent(AbstractContext.java:360)
at repast.simphony.context.AbstractContext.addProjection(AbstractContext.java:339)
at repast.simphony.freezedry.freezedryers.proj.ProjectionDryer.loadProperties(ProjectionDryer.java:93)
at repast.simphony.freezedry.freezedryers.proj.GridProjectionDryer2.loadProperties(GridProjectionDryer2.java:74)
at repast.simphony.freezedry.freezedryers.proj.GridProjectionDryer2.loadProperties(GridProjectionDryer2.java:1)
at repast.simphony.freezedry.freezedryers.proj.ProjectionDryer.buildAndAddProjection(ProjectionDryer.java:134)
at repast.simphony.freezedry.freezedryers.ContextFreezeDryer.loadPropertyProjections(ContextFreezeDryer.java:197)
at repast.simphony.freezedry.freezedryers.ContextFreezeDryer.loadProjections(ContextFreezeDryer.java:223)
at repast.simphony.freezedry.freezedryers.ContextFreezeDryer.rehydrate(ContextFreezeDryer.java:106)
at repast.simphony.freezedry.freezedryers.ContextFreezeDryer.rehydrate(ContextFreezeDryer.java:1)
at repast.simphony.freezedry.FreezeDryedRegistry.rehydrateObject(FreezeDryedRegistry.java:141)
at repast.simphony.freezedry.FreezeDryedRegistry.rehydrate(FreezeDryedRegistry.java:150)
at repast.simphony.dataLoader.engine.FreezeDryedContextBuilder.create(FreezeDryedContextBuilder.java:50)
at repast.simphony.dataLoader.engine.FreezeDryedContextBuilder.build(FreezeDryedContextBuilder.java:31)
at repast.simphony.dataLoader.engine.DataLoaderControllerAction.runInitialize(DataLoaderControllerAction.java:51)
at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:171)
at repast.simphony.engine.controller.DefaultController$2.visit(DefaultController.java:1)
at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:287)
at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
at repast.simphony.util.collections.NaryTree.preOrderTraverals(NaryTree.java:290)
at repast.simphony.util.collections.NaryTree.preOrderTraversal(NaryTree.java:283)
at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:169)
at repast.simphony.engine.controller.DefaultController.runInitialize(DefaultController.java:324)
at repast.simphony.ui.RSApplication.initSim(RSApplication.java:134)
at repast.simphony.ui.action.InitRun.actionPerformed(InitRun.java:17)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
请大家帮我看看,谢谢了!

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|Archiver|手机版|SimulWay 道于仿真   

GMT+8, 2024-12-4 16:27 , Processed in 0.014953 second(s), 13 queries .

Powered by Discuz! X3.4 Licensed

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表