lucee.runtime.exp.NativeException: mac os x is not a supported OS platform

Hi,
today I was trying to use lucee 5.3.6+61 with commandbox on macos, but when I try to access the admin area (lucee/admin/server.cfm), I get this error in the logs:

[INFO ] runwar.server: Server is up - http-port:49787 https-port:8443 stop-port:49788 PID:15173 version 4.1.0
[INFO ] runwar.server: Waiting up to 240 seconds for web.dev.local:8443...
[INFO ] runwar.server: Opening browser to url: https://web.dev.local:8443
[INFO ] runwar.context: https://web.dev.local:8443
[INFO ] runwar.context: https://web.dev.local:8443/lucee/admin/server.cfm
[ERROR] runwar.context: lucee.runtime.exp.NativeException: mac os x is not a supported OS platform.
	at java.base/java.lang.ProcessImpl$Platform.get(Unknown Source)
	at java.base/java.lang.ProcessImpl.<clinit>(Unknown Source)
	at java.base/java.lang.ProcessBuilder.start(Unknown Source)
	at java.base/java.lang.ProcessBuilder.start(Unknown Source)
	at java.base/java.lang.Runtime.exec(Unknown Source)
	at java.base/java.lang.Runtime.exec(Unknown Source)
	at java.base/java.lang.Runtime.exec(Unknown Source)
	at lucee.commons.cli.Command.execute(Command.java:49)
	at lucee.commons.io.res.type.file.FileResource.getMode(FileResource.java:379)
	at lucee.commons.io.res.type.compress.Compress.<init>(Compress.java:76)
	at lucee.runtime.config.ConfigImpl.getCompressInstance(ConfigImpl.java:3334)
	at lucee.commons.io.res.type.compress.Compress.getInstance(Compress.java:92)
	at lucee.commons.io.res.type.zip.ZipResourceProvider.getCompress(ZipResourceProvider.java:35)
	at lucee.commons.io.res.type.compress.CompressResourceProvider.getResource(CompressResourceProvider.java:92)
	at lucee.commons.io.res.ResourcesImpl.getResource(ResourcesImpl.java:169)
	at lucee.runtime.config.ConfigImpl.getResource(ConfigImpl.java:2307)
	at lucee.runtime.PageSourceImpl.getArchiveFile(PageSourceImpl.java:565)
	at lucee.runtime.PageSourceImpl.getResource(PageSourceImpl.java:916)
	at lucee.transformer.cfml.tag.CFMLTransformer.transform(CFMLTransformer.java:176)
	at lucee.runtime.compiler.CFMLCompilerImpl._compile(CFMLCompilerImpl.java:125)
	at lucee.runtime.compiler.CFMLCompilerImpl.compile(CFMLCompilerImpl.java:76)
	at lucee.runtime.PageSourceImpl._compile(PageSourceImpl.java:440)
	at lucee.runtime.PageSourceImpl.compile(PageSourceImpl.java:407)
	at lucee.runtime.PageSourceImpl.loadPhysical(PageSourceImpl.java:348)
	at lucee.runtime.PageSourceImpl.loadPage(PageSourceImpl.java:218)
	at lucee.runtime.config.ConfigWebImpl.getBaseComponentPage(ConfigWebImpl.java:266)
	at lucee.runtime.ComponentImpl.init(ComponentImpl.java:378)
	at framework.one_cfc$cf.initComponent(/framework/one.cfc)
	at framework.one_cfc$cf.newInstance(/framework/one.cfc:1)
	at lucee.runtime.component.ComponentLoader.initComponent(ComponentLoader.java:548)
	at lucee.runtime.component.ComponentLoader._loadComponent(ComponentLoader.java:487)
	at lucee.runtime.component.ComponentLoader.load(ComponentLoader.java:410)
	at lucee.runtime.component.ComponentLoader._search(ComponentLoader.java:222)
	at lucee.runtime.component.ComponentLoader._search(ComponentLoader.java:117)
	at lucee.runtime.component.ComponentLoader.searchComponent(ComponentLoader.java:84)
	at lucee.runtime.ComponentImpl.init(ComponentImpl.java:375)
	at application_cfc$cf.initComponent(/Application.cfc)
	at application_cfc$cf.newInstance(/Application.cfc:1)
	at lucee.runtime.component.ComponentLoader.initComponent(ComponentLoader.java:548)
	at lucee.runtime.component.ComponentLoader._loadComponent(ComponentLoader.java:487)
	at lucee.runtime.component.ComponentLoader.loadComponent(ComponentLoader.java:375)
	at lucee.runtime.listener.ModernAppListener._onRequest(ModernAppListener.java:113)
	at lucee.runtime.listener.MixedAppListener.onRequest(MixedAppListener.java:42)
	at lucee.runtime.PageContextImpl.execute(PageContextImpl.java:2416)
	at lucee.runtime.PageContextImpl._execute(PageContextImpl.java:2406)
	at lucee.runtime.PageContextImpl.executeCFML(PageContextImpl.java:2381)
	at lucee.runtime.engine.Request.exe(Request.java:43)
	at lucee.runtime.engine.CFMLEngineImpl._service(CFMLEngineImpl.java:1127)
	at lucee.runtime.engine.CFMLEngineImpl.serviceCFML(CFMLEngineImpl.java:1073)
	at lucee.loader.engine.CFMLEngineWrapper.serviceCFML(CFMLEngineWrapper.java:97)
	at lucee.loader.servlet.CFMLServlet.service(CFMLServlet.java:51)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:791)
	at io.undertow.servlet.handlers.ServletHandler.handleRequest(ServletHandler.java:74)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:129)
	at org.cfmlprojects.regexpathinfofilter.RegexPathInfoFilter.doFilter(RegexPathInfoFilter.java:47)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
	at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
	at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
	at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
	at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
	at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:251)
	at io.undertow.servlet.handlers.ServletInitialHandler.dispatchToPath(ServletInitialHandler.java:186)
	at io.undertow.servlet.spec.RequestDispatcherImpl.forwardImpl(RequestDispatcherImpl.java:227)
	at io.undertow.servlet.spec.RequestDispatcherImpl.forwardImplSetup(RequestDispatcherImpl.java:149)
	at io.undertow.servlet.spec.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:111)
	at org.cfmlprojects.regexpathinfofilter.RegexPathInfoFilter.doFilter(RegexPathInfoFilter.java:45)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
	at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
	at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
	at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
	at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
	at io.undertow.server.handlers.PredicateHandler.handleRequest(PredicateHandler.java:43)
	at io.undertow.servlet.handlers.ServletInitialHandler.dispatchRequest(ServletInitialHandler.java:251)
	at io.undertow.servlet.handlers.ServletInitialHandler.dispatchToPath(ServletInitialHandler.java:186)
	at io.undertow.servlet.spec.RequestDispatcherImpl.forwardImpl(RequestDispatcherImpl.java:227)
	at io.undertow.servlet.spec.RequestDispatcherImpl.forwardImplSetup(RequestDispatcherImpl.java:149)
	at io.undertow.servlet.spec.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:111)
	at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:213)
	at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:171)
	at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
	at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
	at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)
	at io.undertow.servlet.core.ManagedFilter.doFilter(ManagedFilter.java:61)
	at io.undertow.servlet.handlers.FilterHandler$FilterChainImpl.doFilter(FilterHandler.java:131)
	at io.undertow.servlet.handlers.FilterHandler.handleRequest(FilterHandler.java:84)
	at io.undertow.servlet.handlers.security.ServletSecurityRoleHandler.handleRequest(ServletSecurityRoleHandler.java:62)
	at io.undertow.servlet.handlers.ServletChain$1.handleRequest(ServletChain.java:68)
	at io.undertow.servlet.handlers.ServletDispatchingHandler.handleRequest(ServletDispatchingHandler.java:36)
	at io.undertow.servlet.handlers.RedirectDirHandler.handleRequest(RedirectDirHandler.java:68)
	at io.undertow.servlet.handlers.security.SSLInformationAssociationHandler.handleRequest(SSLInformationAssociationHandler.java:132)
	at io.undertow.servlet.handlers.security.ServletAuthenticationCallHandler.handleRequest(ServletAuthenticationCal

I wanted to know if it’s a Lucee bug or it could be a problem with my settings.

thanks,
Ivan


OS: macOS
Java Version: 11
Lucee Version: 5.3.6+61

@Ivan you’ve hit this bug in CommandBox 5.1
https://ortussolutions.atlassian.net/browse/COMMANDBOX-1178
Check out the comments for the workaround.

3 Likes

Hi Brad,
I don’t believe it! 5+ hours to understand how to solve the problem. :sweat_smile:
This commit seemed to me the problem: https://github.com/Ortus-Solutions/commandbox/commit/4e43271c9931b2218848fa243595e26107199117

Thanks so much for the support! :+1:

2 Likes