Problem Creating an executable of my model with Mac OS X

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

Problem Creating an executable of my model with Mac OS X

by Clément Chion :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I am struggling to create an executable of my Repast Simphony model. I am working on Mac OS X, so I tried:
1) right click on the project --> export--> Other--> Mac OS X application bundle

2) Then I gave information about the Main:
Main class: saf.core.runtime.Boot
Arguments: "${workspace_loc}/Model_TTB/modelttb.rs" "${eclipse_home}/plugins/repast.simphony.runtime/"

4) I set the destination information
5) Options: JVM version: 1.5*

Then I went on clicking 'next' on the 2 following panels. A file has been created with the right extension (.app) but when double-clicking on it, the following message is displayed in the Mac console:


ERROR [main] 15:06:35,628 saf.core.runtime.Boot - null
java.lang.NullPointerException
    at saf.core.runtime.Boot.init(Boot.java:72)
    at saf.core.runtime.Boot.main(Boot.java:212)
    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:585)
    at apple.launcher.LaunchRunner.run(LaunchRunner.java:88)
    at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
    at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)
ERROR [main] 15:06:35,631 saf.core.runtime.Boot - null
java.lang.NullPointerException
    at saf.core.runtime.Boot.run(Boot.java:125)
    at saf.core.runtime.Boot.main(Boot.java:213)
    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:585)
    at apple.launcher.LaunchRunner.run(LaunchRunner.java:88)
    at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
    at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)



If someone knows how to fix that, let me know!

Thanks,

Clément


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest

Re: Problem Creating an executable of my model withMac OS X

by North, Michael :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

You might want to try using the automated installation builder as described in tutorial section 12 “Distributing Your Model” (http://repast.sourceforge.net/docs/Getting%20Started%20Part%202.pdf).

 

Mike

 


From: repast-interest-bounces@... [mailto:repast-interest-bounces@...] On Behalf Of Clément Chion
Sent: Wednesday, June 25, 2008 2:07 PM
To: repast-interest@...
Subject: [Repast-interest] Problem Creating an executable of my model withMac OS X

 

Hi,

I am struggling to create an executable of my Repast Simphony model. I am working on Mac OS X, so I tried:
1) right click on the project --> export--> Other--> Mac OS X application bundle

2) Then I gave information about the Main:
Main class: saf.core.runtime.Boot
Arguments: "${workspace_loc}/Model_TTB/modelttb.rs" "${eclipse_home}/plugins/repast.simphony.runtime/"

4) I set the destination information
5) Options: JVM version: 1.5*

Then I went on clicking 'next' on the 2 following panels. A file has been created with the right extension (.app) but when double-clicking on it, the following message is displayed in the Mac console:


ERROR [main] 15:06:35,628 saf.core.runtime.Boot - null
java.lang.NullPointerException
    at saf.core.runtime.Boot.init(Boot.java:72)
    at saf.core.runtime.Boot.main(Boot.java:212)
    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:585)
    at apple.launcher.LaunchRunner.run(LaunchRunner.java:88)
    at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
    at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)
ERROR [main] 15:06:35,631 saf.core.runtime.Boot - null
java.lang.NullPointerException
    at saf.core.runtime.Boot.run(Boot.java:125)
    at saf.core.runtime.Boot.main(Boot.java:213)
    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:585)
    at apple.launcher.LaunchRunner.run(LaunchRunner.java:88)
    at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
    at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)



If someone knows how to fix that, let me know!

Thanks,

Clément


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest

Re: Problem Creating an executable of my model withMac OS X

by Clément Chion :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks a lot, that works very well! I did not know this amazing feature!

Clément

 

On Wed, Jun 25, 2008 at 3:31 PM, North, Michael <north@...> wrote:

You might want to try using the automated installation builder as described in tutorial section 12 "Distributing Your Model" (http://repast.sourceforge.net/docs/Getting%20Started%20Part%202.pdf).

 

Mike

 


From: repast-interest-bounces@... [mailto:repast-interest-bounces@...] On Behalf Of Clément Chion
Sent: Wednesday, June 25, 2008 2:07 PM
To: repast-interest@...
Subject: [Repast-interest] Problem Creating an executable of my model withMac OS X

 

Hi,

I am struggling to create an executable of my Repast Simphony model. I am working on Mac OS X, so I tried:
1) right click on the project --> export--> Other--> Mac OS X application bundle

2) Then I gave information about the Main:
Main class: saf.core.runtime.Boot
Arguments: "${workspace_loc}/Model_TTB/modelttb.rs" "${eclipse_home}/plugins/repast.simphony.runtime/"

4) I set the destination information
5) Options: JVM version: 1.5*

Then I went on clicking 'next' on the 2 following panels. A file has been created with the right extension (.app) but when double-clicking on it, the following message is displayed in the Mac console:


ERROR [main] 15:06:35,628 saf.core.runtime.Boot - null
java.lang.NullPointerException
    at saf.core.runtime.Boot.init(Boot.java:72)
    at saf.core.runtime.Boot.main(Boot.java:212)
    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:585)
    at apple.launcher.LaunchRunner.run(LaunchRunner.java:88)
    at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
    at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)
ERROR [main] 15:06:35,631 saf.core.runtime.Boot - null
java.lang.NullPointerException
    at saf.core.runtime.Boot.run(Boot.java:125)
    at saf.core.runtime.Boot.main(Boot.java:213)
    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:585)
    at apple.launcher.LaunchRunner.run(LaunchRunner.java:88)
    at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
    at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)



If someone knows how to fix that, let me know!

Thanks,

Clément



-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest

Re: Problem Creating an executable of my model withMac OS X

by North, Michael :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Clément:

 

No problem! Thanks for using Repast!

 

Mike

 


From: Clément Chion [mailto:clementchion@...]
Sent: Wednesday, June 25, 2008 3:12 PM
To: North, Michael
Cc: repast-interest@...
Subject: Re: [Repast-interest] Problem Creating an executable of my model withMac OS X

 

Thanks a lot, that works very well! I did not know this amazing feature!

Clément

 

On Wed, Jun 25, 2008 at 3:31 PM, North, Michael <north@...> wrote:

You might want to try using the automated installation builder as described in tutorial section 12 "Distributing Your Model" (http://repast.sourceforge.net/docs/Getting%20Started%20Part%202.pdf).

 

Mike

 


From: repast-interest-bounces@... [mailto:repast-interest-bounces@...] On Behalf Of Clément Chion
Sent: Wednesday, June 25, 2008 2:07 PM
To: repast-interest@...
Subject: [Repast-interest] Problem Creating an executable of my model withMac OS X

 

Hi,

I am struggling to create an executable of my Repast Simphony model. I am working on Mac OS X, so I tried:
1) right click on the project --> export--> Other--> Mac OS X application bundle

2) Then I gave information about the Main:
Main class: saf.core.runtime.Boot
Arguments: "${workspace_loc}/Model_TTB/modelttb.rs" "${eclipse_home}/plugins/repast.simphony.runtime/"

4) I set the destination information
5) Options: JVM version: 1.5*

Then I went on clicking 'next' on the 2 following panels. A file has been created with the right extension (.app) but when double-clicking on it, the following message is displayed in the Mac console:


ERROR [main] 15:06:35,628 saf.core.runtime.Boot - null
java.lang.NullPointerException
    at saf.core.runtime.Boot.init(Boot.java:72)
    at saf.core.runtime.Boot.main(Boot.java:212)
    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:585)
    at apple.launcher.LaunchRunner.run(LaunchRunner.java:88)
    at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
    at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)
ERROR [main] 15:06:35,631 saf.core.runtime.Boot - null
java.lang.NullPointerException
    at saf.core.runtime.Boot.run(Boot.java:125)
    at saf.core.runtime.Boot.main(Boot.java:213)
    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:585)
    at apple.launcher.LaunchRunner.run(LaunchRunner.java:88)
    at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
    at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)



If someone knows how to fix that, let me know!

Thanks,

Clément

 


-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Repast-interest mailing list
Repast-interest@...
https://lists.sourceforge.net/lists/listinfo/repast-interest
LightInTheBox - Buy quality products at wholesale price