MaDKit forum

Welcome All !
Please, use explicit topic names when creating new threads. Thanks.

You are not logged in.

#1 Re: HowTo » Problems with the first launch for begginers » 2013-11-21 15:49:14

fmichel wrote:

OK this bug may be OS related (I will check).
In the mean time, could you please test with the 5.0.2 version, I think that it will solve your problem for now

Thank you, it solved my problem.

And thanks for so fast replies smile

#2 Re: HowTo » Problems with the first launch for begginers » 2013-11-21 13:31:39

Yep, I'm using MDK 5.0.3 ;
OS is Win7x64 ;
Yep again, i know about this way to lunch a single agent, but
What we should do next?
I suppose that i misunderstand something important about Agent programming , and exactly their structure.
I have a Java project which contains:
1)Main Class
2)Package with Agent Class

#3 HowTo » Problems with the first launch for begginers » 2013-11-21 11:56:52

Replies: 4

Nice to write to you.
The problem is  happening while we're trying to start an agent like "Hello world"
We start like that:
In Main java class
new Madkit("--launchAgents","pack1.Myclass1;");
Where the "pack1.MyClass1" is ur example "http:/ /www.m"

And after compilation we see these errors:

Exception in thread "main" java.lang.ExceptionInInitializerError
	at madkit.kernel.MadkitKernel.<init>(Unknown Source)
	at madkit.kernel.Madkit.<init>(Unknown Source)
	at Main.main(
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(
	at java.lang.reflect.Method.invoke(
	at com.intellij.rt.execution.application.AppMain.main(
Caused by: java.lang.NullPointerException
	at madkit.kernel.KernelAddress.<clinit>(Unknown Source)
	... 8 more

Please help, cuz we're just starting learning Java and Agents sad
Thanks for your advices!
IntelliJ IDEA 12.0

Board footer