Permissions on Mac

This topic contains 0 replies, has 1 voice, and was last updated by  TheWireMaster 7 months, 1 week ago.

  • Author
  • #10583

    This may be useful to others.
    I was trying to deploy a simple contract on my Mac and I got this error:

    Exception in thread “main” java.lang.ExceptionInInitializerError
    at org.eclipse.jetty.server.AbstractConnector.(
    at org.eclipse.jetty.server.AbstractNetworkConnector.
    at org.eclipse.jetty.server.ServerConnector.
    at org.eclipse.jetty.server.ServerConnector.
    at nxt.http.API.(
    at nxt.configuration.SubSystem$7.init(
    at java.base/java.util.Arrays$ArrayList.forEach(
    at nxt.Nxt$Init.init(
    at nxt.Nxt$Init.access$000(
    at nxt.Nxt.init(
    Caused by: access denied (“java.lang.RuntimePermission” “getenv.JETTY_AVAILABLE_PROCESSORS”)
    at java.base/
    at java.base/
    at java.base/java.lang.SecurityManager.checkPermission(
    at java.base/java.lang.System.getenv(
    at org.eclipse.jetty.util.ProcessorUtils.init(
    at org.eclipse.jetty.util.ProcessorUtils.
    … 11 more

    Riker answered:

    It’s an issue with permissions on Mac. Add the following line to to disable these security checks for now nxt.disableSecurityPolicy=true

    that solved the problem.

You must be logged in to reply to this topic.

©2019 Ardor Rocks


Log in with your credentials


Forgot your details?


Create Account