Error while running a basic example

1
As soon as I hit "run", I get the below error. Please help with this. System.ArgumentException: Item has already been added. Key in dictionary: 'classpath' Key being added: 'classpath' at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add) at System.Collections.Hashtable.Add(Object key, Object value) at System.Collections.Specialized.StringDictionary.Add(String key, String value) at Mendix.M2EE.M2EERunner.CreateJavaProcess(M2EEConfig m2eeConfig, String logFileLocation) in c:\cygwin\home\autobuild\build\Mendix-3.0-trial\modeler\Mendix.M2EE\M2EERunner.cs:line 110 at Mendix.M2EE.M2EERunner.StartM2EEServer(M2EEConfig m2eeConfig, String logFileLocation) in c:\cygwin\home\autobuild\build\Mendix-3.0-trial\modeler\Mendix.M2EE\M2EERunner.cs:line 50 at Mendix.M2EE.M2EERunner.Start(M2EEConfig m2eeConfig, Func`1 shouldCancel) in c:\cygwin\home\autobuild\build\Mendix-3.0-trial\modeler\Mendix.M2EE\M2EERunner.cs:line 35 at Mendix.Modeler.Deployment.Runner.TryStartM2EE(ProgressInfo info, ServerConfiguration config) in c:\cygwin\home\autobuild\build\Mendix-3.0-trial\modeler\Modeler\Deployment\Runner.cs:line 70 at Mendix.Modeler.Deployment.Runner.<>cDisplayClass4.<startm2ee>b2(ProgressInfo info) in c:\cygwin\home\autobuild\build\Mendix-3.0-trial\modeler\Modeler\Deployment\Runner.cs:line 53 at Mendix.Modeler.Utility.Progress.Step.Run(ProgressInfo info) in c:\cygwin\home\autobuild\build\Mendix-3.0-trial\modeler\Mendix.Modeler.Utility.Gui\Progress\Step.cs:line 22 at Mendix.Modeler.Utility.Progress.Process.worker_DoWork(Object sender, DoWorkEventArgs e) in c:\cygwin\home\autobuild\build\Mendix-3.0-trial\modeler\Mendix.Modeler.Utility.Gui\Progress\Process.cs:line 86 at System.ComponentModel.BackgroundWorker.OnDoWork(DoWorkEventArgs e) at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
asked
1 answers
1

Thank you for reporting this issue. This appears to be a bug in the Modeler. It will be fixed in version 3.1.0, which will be released this week.

For now, you can delete the 'CLASSPATH' environment variable in Windows to work around this issue. Click here for a description on how to do this in Windows 7.

answered