Eror creating deployment archive

0
I copied a teamserver 311 project to a local directory to convert it to 3.2. Deployment went fine. No problems :) But creating a deployment archive gave me this error: Buildfile: D:\Mendix\deployment\build.xml generate: [java] Caught a SecurityException reading the system property 'awt.toolkit'; the SystemUtils property value will default to null. [java] Caught a SecurityException reading the system property 'file.encoding'; the SystemUtils property value will default to null. [java] Caught a SecurityException reading the system property 'java.awt.fonts'; the SystemUtils property value will default to null. [java] Caught a SecurityException reading the system property 'java.awt.graphicsenv'; the SystemUtils property value will default to null. [java] Caught a SecurityException reading the system property 'java.awt.headless'; the SystemUtils property value will default to null. [java] Caught a SecurityException reading the system property 'java.awt.printerjob'; the SystemUtils property value will default to null. [java] Caught a SecurityException reading the system property 'java.class.path'; the SystemUtils property value will default to null. [java] Caught a SecurityException reading the system property 'java.compiler'; the SystemUtils property value will default to null. [java] Caught a SecurityException reading the system property 'java.endorsed.dirs'; the SystemUtils property value will default to null. [java] Caught a SecurityException reading the system property 'java.ext.dirs'; the SystemUtils property value will default to null. [java] Caught a SecurityException reading the system property 'java.home'; the SystemUtils property value will default to null. [java] Caught a SecurityException reading the system property 'java.io.tmpdir'; the SystemUtils property value will default to null. [java] Caught a SecurityException reading the system property 'java.library.path'; the SystemUtils property value will default to null. [java] Caught a SecurityException reading the system property 'java.runtime.name'; the SystemUtils property value will default to null. [java] Caught a SecurityException reading the system property 'java.runtime.version'; the SystemUtils property value will default to null. [java] Caught a SecurityException reading the system property 'java.util.prefs.PreferencesFactory'; the SystemUtils property value will default to null. [java] Caught a SecurityException reading the system property 'java.vm.info'; the SystemUtils property value will default to null. [java] Caught a SecurityException reading the system property 'user.country'; the SystemUtils property value will default to null. [java] Caught a SecurityException reading the system property 'user.region'; the SystemUtils property value will default to null. [java] Caught a SecurityException reading the system property 'user.dir'; the SystemUtils property value will default to null. [java] Caught a SecurityException reading the system property 'user.home'; the SystemUtils property value will default to null. [java] Caught a SecurityException reading the system property 'user.language'; the SystemUtils property value will default to null. [java] Caught a SecurityException reading the system property 'user.name'; the SystemUtils property value will default to null. [java] Caught a SecurityException reading the system property 'user.timezone'; the SystemUtils property value will default to null. [java] Mendix Runtime 3.2.0 (build 270). Copyright © 2003-2012 Mendix bv. All rights reserved. [java] Configuration object created [java] Exception in thread "main" java.security.AccessControlException: access denied (java.util.PropertyPermission swing.defaultlaf write) [java] at java.security.AccessControlContext.checkPermission(AccessControlContext.java:374) [java] at java.security.AccessController.checkPermission(AccessController.java:546) [java] at java.lang.SecurityManager.checkPermission(SecurityManager.java:532) [java] at java.lang.System.setProperty(System.java:725) [java] at com.mendix.core.conf.Configuration.<init>(SourceFile:128) [java] at com.mendix.core.MxRuntime.<init>(SourceFile:156) [java] at com.mendix.core.StaticContentGenerator.main(SourceFile:32) BUILD FAILED D:\Mendix\deployment\build.xml:54: Java returned: 1 Total time: 3 seconds Anybody an idear what the cause for this error is?
asked
1 answers
2

I assume you have "Emulate cloud security" turned on?

A bug was introduced in 3.2.0, already filed a ticket. In the meantime the workaround is to turn off cloud security whenever you want to create an MDA.

answered