iOS Question FileNotFoundException: .../Images.xcassets/AppIcon.appiconset/Contents.json (Permission denied)

Rob Bliss

Member
Licensed User
Longtime User
Hi,

I'm trying to set up the B4i Bridge app to a local macbook and have somehow managed to get this error message. Has anybody seen this message before, or know how to fix it?

Error Message from IDE: Communication error: java.lang.RuntimeException: java.io.IOException: java.io.FileNotFoundException: /Users/admin/Downloads/B4iBuildServer/UploadedProjects/b4x240201/Images.xcassets/AppIcon.appiconset/Contents.json (Permission denied)

Full logs from Macbook Terminal are below
java.lang.RuntimeException: java.io.IOException: java.io.FileNotFoundException: /Users/admin/Downloads/B4iBuildServer/UploadedProjects/b4x240201/Images.xcassets/AppIcon.appiconset/Contents.json (Permission denied) at anywheresoftware.b4a.BA.raiseEvent2(BA.java:140) at anywheresoftware.b4a.BA.raiseEvent(BA.java:98) at anywheresoftware.b4j.object.JServlet$Handle.run(JServlet.java:130) at anywheresoftware.b4j.object.JServlet.Handle(JServlet.java:110) at anywheresoftware.b4j.object.JServlet.doPost(JServlet.java:80) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:865) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:535) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1595) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:255) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1253) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:203) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:473) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1564) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:201) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1155) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:144) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:126) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:132) at org.eclipse.jetty.server.Server.handle(Server.java:531) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:352) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:260) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:281) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102) at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:291) at org.eclipse.jetty.io.ssl.SslConnection$3.succeeded(SslConnection.java:151) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:102) at org.eclipse.jetty.io.ChannelEndPoint$2.run(ChannelEndPoint.java:118) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:333) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:310) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:168) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:126) at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:366) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:760) at org.eclipse.jetty.util.thread.QueuedThreadPool$2.run(QueuedThreadPool.java:678) at java.base/java.lang.Thread.run(Thread.java:829) Caused by: java.io.IOException: java.io.FileNotFoundException: /Users/admin/Downloads/B4iBuildServer/UploadedProjects/b4x240201/Images.xcassets/AppIcon.appiconset/Contents.json (Permission denied) at flm.b4a.archiver.ArchiverForB4A.UnZip(ArchiverForB4A.java:734) at b4j.example.buildservlet._handle(buildservlet.java:462) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566) at anywheresoftware.b4a.BA.raiseEvent2(BA.java:111) ... 37 more

Thanks
 

Rob Bliss

Member
Licensed User
Longtime User
Changing the user ID has corrected it, thank you, and now I've got this password prompt

Screenshot 2024-02-28 at 09.08.07.png
 
Upvote 0
Top