Learning the NetBeans Platform

Getting rid of IllegalStateException warnings

If you want to get rid of IllegalStateException of this kind:

INFO [org.netbeans.ProxyClassLoader]
java.lang.IllegalStateException: You are trying to access file: jcommon.properties from the default package. Please see http://www.netbeans.org/download/dev/javadoc/org-openide-modules/org/openide/modules/doc-files/classpath.html#default_package

Just add a new line to your project.properties:


Note that all extra parameters must be on the same line:

run.args.extra=-J-Djava.util.logging.config.file="logging.properties" -J-Dorg.netbeans.ProxyClassLoader.level=1000 --locale en:US


June 4, 2009 - Posted by | NetBeans RCP

No comments yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: