FreezeDrying Relogo Model: NullPointerException

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

FreezeDrying Relogo Model: NullPointerException

meperezh
Hi everybody,

I am getting the error below when trying to freezedry my model. I have tried both delimited file and xml, and working with root context and other specific, but always get the same error. Any idea?

Thanks in advance,
Best regards,

Marco

-------------------------------------------

ERROR [AWT-EventQueue-0] 21:31:15,385 repast.simphony.freezedry.freezedryers.DefaultFreezeDryer - Error writing child field 'repast.simphony.context.Context repast.simphony.relogo.AbstractObserver.context' for 'default_observer'.
java.lang.NullPointerException
    at repast.simphony.freezedry.AbstractDataSource.getColumnKeysetPairs(AbstractDataSource.java:363)
    at repast.simphony.freezedry.AbstractDataSource.getColumns(AbstractDataSource.java:347)
    at repast.simphony.freezedry.datasource.DelimitedFileDataSource.startTypeWrite(DelimitedFileDataSource.java:260)
    at repast.simphony.freezedry.AbstractDataSource.write(AbstractDataSource.java:267)
    at repast.simphony.freezedry.FreezeDryedRegistry.freezeDryObject(FreezeDryedRegistry.java:195)
    at repast.simphony.freezedry.FreezeDryedRegistry.getId(FreezeDryedRegistry.java:74)
    at repast.simphony.freezedry.freezedryers.ContextFreezeDryer.storeChildren(ContextFreezeDryer.java:73)
    at repast.simphony.freezedry.freezedryers.ContextFreezeDryer.freezeDry(ContextFreezeDryer.java:40)
    at repast.simphony.freezedry.freezedryers.ContextFreezeDryer.freezeDry(ContextFreezeDryer.java:1)
    at repast.simphony.freezedry.FreezeDryedRegistry.freezeDryObject(FreezeDryedRegistry.java:194)
    at repast.simphony.freezedry.FreezeDryedRegistry.getId(FreezeDryedRegistry.java:74)
    at repast.simphony.freezedry.freezedryers.DefaultFreezeDryer.freezeDry(DefaultFreezeDryer.java:76)
    at repast.simphony.freezedry.FreezeDryedRegistry.freezeDryObject(FreezeDryedRegistry.java:194)
    at repast.simphony.freezedry.FreezeDryedRegistry.getId(FreezeDryedRegistry.java:74)
    at repast.simphony.freezedry.freezedryers.ContextFreezeDryer.storeChildren(ContextFreezeDryer.java:73)
    at repast.simphony.freezedry.freezedryers.ContextFreezeDryer.freezeDry(ContextFreezeDryer.java:40)
    at repast.simphony.freezedry.freezedryers.ContextFreezeDryer.freezeDry(ContextFreezeDryer.java:1)
    at repast.simphony.freezedry.FreezeDryedRegistry.freezeDryObject(FreezeDryedRegistry.java:194)
    at repast.simphony.freezedry.FreezeDryedRegistry.freezeDry(FreezeDryedRegistry.java:183)
    at repast.simphony.freezedry.wizard.FreezeDryButtonModel$1.run(FreezeDryButtonModel.java:93)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
    at java.awt.EventQueue.access$500(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:709)
    at java.awt.EventQueue$3.run(EventQueue.java:703)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
WARN  [AWT-EventQueue-0] 21:31:15,386 repast.simphony.freezedry.wizard.FreezeDryButtonModel - Could not freeze dry root context.
repast.simphony.freezedry.FreezeDryingException: java.lang.NullPointerException
    at repast.simphony.freezedry.freezedryers.DefaultFreezeDryer.freezeDry(DefaultFreezeDryer.java:87)
    at repast.simphony.freezedry.FreezeDryedRegistry.freezeDryObject(FreezeDryedRegistry.java:194)
    at repast.simphony.freezedry.FreezeDryedRegistry.getId(FreezeDryedRegistry.java:74)
    at repast.simphony.freezedry.freezedryers.ContextFreezeDryer.storeChildren(ContextFreezeDryer.java:73)
    at repast.simphony.freezedry.freezedryers.ContextFreezeDryer.freezeDry(ContextFreezeDryer.java:40)
    at repast.simphony.freezedry.freezedryers.ContextFreezeDryer.freezeDry(ContextFreezeDryer.java:1)
    at repast.simphony.freezedry.FreezeDryedRegistry.freezeDryObject(FreezeDryedRegistry.java:194)
    at repast.simphony.freezedry.FreezeDryedRegistry.freezeDry(FreezeDryedRegistry.java:183)
    at repast.simphony.freezedry.wizard.FreezeDryButtonModel$1.run(FreezeDryButtonModel.java:93)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
    at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
    at java.awt.EventQueue.access$500(EventQueue.java:97)
    at java.awt.EventQueue$3.run(EventQueue.java:709)
    at java.awt.EventQueue$3.run(EventQueue.java:703)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Caused by: java.lang.NullPointerException
    at repast.simphony.freezedry.AbstractDataSource.getColumnKeysetPairs(AbstractDataSource.java:363)
    at repast.simphony.freezedry.AbstractDataSource.getColumns(AbstractDataSource.java:347)
    at repast.simphony.freezedry.datasource.DelimitedFileDataSource.startTypeWrite(DelimitedFileDataSource.java:260)
    at repast.simphony.freezedry.AbstractDataSource.write(AbstractDataSource.java:267)
    at repast.simphony.freezedry.FreezeDryedRegistry.freezeDryObject(FreezeDryedRegistry.java:195)
    at repast.simphony.freezedry.FreezeDryedRegistry.getId(FreezeDryedRegistry.java:74)
    at repast.simphony.freezedry.freezedryers.ContextFreezeDryer.storeChildren(ContextFreezeDryer.java:73)
    at repast.simphony.freezedry.freezedryers.ContextFreezeDryer.freezeDry(ContextFreezeDryer.java:40)
    at repast.simphony.freezedry.freezedryers.ContextFreezeDryer.freezeDry(ContextFreezeDryer.java:1)
    at repast.simphony.freezedry.FreezeDryedRegistry.freezeDryObject(FreezeDryedRegistry.java:194)
    at repast.simphony.freezedry.FreezeDryedRegistry.getId(FreezeDryedRegistry.java:74)
    at repast.simphony.freezedry.freezedryers.DefaultFreezeDryer.freezeDry(DefaultFreezeDryer.java:76)
    ... 22 more


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Repast-interest mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/repast-interest
Loading...