New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google App Engine Compatibility Issue #42

Closed
lviggiano opened this Issue Jul 17, 2013 · 2 comments

Comments

Projects
None yet
1 participant
@lviggiano
Owner

lviggiano commented Jul 17, 2013

It looks like there is some issue with the Google App Engine:

java.lang.NoClassDefFoundError: java.net.URLStreamHandler is a restricted class. Please see the Google  App Engine developer's guide for more details.
        at com.google.appengine.tools.development.agent.runtime.Runtime.reject(Runtime.java:51)
        at org.aeonbits.owner.ConfigURLStreamHandler.<init>(ConfigURLStreamHandler.java:40)
        at org.aeonbits.owner.PropertiesManager.<init>(PropertiesManager.java:66)
        at org.aeonbits.owner.ConfigFactory.create(ConfigFactory.java:43)

(the above stacktrace and line numbers may relate to version 1.0.2 or 1.0.3)

sounds like a security policy: http://stackoverflow.com/questions/15673942/urlstreamhandler-is-a-restricted-class

The bug is reported to the GAE:
https://code.google.com/p/googleappengine/issues/detail?id=1384

From my point of view, this bug should be fixed in the GAE, but it would be nice to implement a workaround in the OWNER library.

lviggiano added a commit that referenced this issue Jul 20, 2013

removed class URLStreamHandler from the project
to fix GAE incompatibility

See bug #42
@lviggiano

This comment has been minimized.

Show comment
Hide comment
@lviggiano

lviggiano Jul 21, 2013

Owner

It should be fixed. Just waiting for feedback.

Owner

lviggiano commented Jul 21, 2013

It should be fixed. Just waiting for feedback.

@lviggiano

This comment has been minimized.

Show comment
Hide comment
@lviggiano

lviggiano Jul 24, 2013

Owner

Confirmed. Now it works on Google App Engine.

Owner

lviggiano commented Jul 24, 2013

Confirmed. Now it works on Google App Engine.

@lviggiano lviggiano closed this Jul 24, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment