Hi, Just wild-guessing: Could it be that you missed upgrading the security bundle ?
Regards Felix On 09.10.2010 11:26, Tommaso Teofili wrote: > Hi all, > I am working with Felix on Apache Clerezza podling and since we've switched > from 2.0.4 version to 3.0.3 I am getting the following error when starting > it: > > setting log-level to: INFO > starting felix > java.lang.reflect.InvocationTargetException > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) > at java.lang.reflect.Constructor.newInstance(Constructor.java:513) > at > org.apache.felix.framework.util.SecureAction$Actions.run(SecureAction.java:1310) > at java.security.AccessController.doPrivileged(Native Method) > at > org.apache.felix.framework.util.SecureAction.invoke(SecureAction.java:861) > at > org.apache.felix.framework.security.util.PropertiesCache.getUnencoded(PropertiesCache.java:232) > at > org.apache.felix.framework.security.util.PropertiesCache.read(PropertiesCache.java:150) > at > org.apache.felix.framework.security.condpermadmin.ConditionalPermissionAdminImpl.<init>(ConditionalPermissionAdminImpl.java:235) > at > org.apache.felix.framework.SecurityActivator.start(SecurityActivator.java:153) > at > org.apache.felix.framework.util.SecureAction$Actions.run(SecureAction.java:1254) > at java.security.AccessController.doPrivileged(Native Method) > at > org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:624) > at > org.apache.felix.framework.Felix$SystemBundleActivator.start(Felix.java:4281) > at > org.apache.felix.framework.util.SecureAction$Actions.run(SecureAction.java:1254) > at java.security.AccessController.doPrivileged(Native Method) > at > org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:624) > at org.apache.felix.framework.Felix.init(Felix.java:734) > at org.apache.felix.framework.Felix.start(Felix.java:775) > at org.apache.clerezza.platform.launcher.Main.main(Main.java:228) > Caused by: java.lang.IllegalArgumentException: Expected } but was: # > at > org.apache.felix.framework.security.condpermadmin.ConditionalPermissionInfoImpl.<init>(ConditionalPermissionInfoImpl.java:284) > ... 21 more > ERROR: Unable to start system bundle. (java.io.IOException) > java.io.IOException > at > org.apache.felix.framework.security.util.PropertiesCache.getUnencoded(PropertiesCache.java:239) > at > org.apache.felix.framework.security.util.PropertiesCache.read(PropertiesCache.java:150) > at > org.apache.felix.framework.security.condpermadmin.ConditionalPermissionAdminImpl.<init>(ConditionalPermissionAdminImpl.java:235) > at > org.apache.felix.framework.SecurityActivator.start(SecurityActivator.java:153) > at > org.apache.felix.framework.util.SecureAction$Actions.run(SecureAction.java:1254) > at java.security.AccessController.doPrivileged(Native Method) > at > org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:624) > at > org.apache.felix.framework.Felix$SystemBundleActivator.start(Felix.java:4281) > at > org.apache.felix.framework.util.SecureAction$Actions.run(SecureAction.java:1254) > at java.security.AccessController.doPrivileged(Native Method) > at > org.apache.felix.framework.util.SecureAction.startActivator(SecureAction.java:624) > at org.apache.felix.framework.Felix.init(Felix.java:734) > at org.apache.felix.framework.Felix.start(Felix.java:775) > at org.apache.clerezza.platform.launcher.Main.main(Main.java:228) > Could not create framework: java.lang.RuntimeException: Unable to start > system bundle. > java.lang.RuntimeException: Unable to start system bundle. > at org.apache.felix.framework.Felix.init(Felix.java:741) > at org.apache.felix.framework.Felix.start(Felix.java:775) > at org.apache.clerezza.platform.launcher.Main.main(Main.java:228) > > Could you provide any advice or hint about how to solve such an issue? > I am running Felix on a Mac (MacRoman platform encoding) with Java 6. > Thanks and regards, > Tommaso >
