A AbiKemal Member Licensed User Longtime User Mar 25, 2020 #1 Help..., I got stuck while run B4JPackager11 with the following error.
Erel B4X founder Staff member Licensed User Longtime User Mar 25, 2020 #2 Please post the logs as text (right click to copy). Copy the complete logs. Upvote 0
A AbiKemal Member Licensed User Longtime User Mar 28, 2020 #3 Here the error. -------------- Dim s As String = File.ReadString(TempFolder, "META-INF/MANIFEST.MF") Temp folder for META-INF not created. --------------- Error occurred on line: 146 (Main) java.io.FileNotFoundException: E:\B4J\B4JPackager11\Objects\temp\META-INF\MANIFEST.MF (The system cannot find the path specified) at java.base/java.io.FileInputStream.open0(Native Method) at java.base/java.io.FileInputStream.open(FileInputStream.java:219) at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157) at anywheresoftware.b4a.objects.streams.File.OpenInput(File.java:218) at anywheresoftware.b4a.objects.streams.File.ReadString(File.java:272) at b4j.example.main$ResumableSub_FindPackageName.resume(main.java:994) at anywheresoftware.b4a.shell.DebugResumableSub$DelegatableResumableSub.resumeAsUserSub(DebugResumableSub.java:47) 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.shell.Shell.runMethod(Shell.java:632) at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:237) at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:167) 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:91) at anywheresoftware.b4a.shell.ShellBA.raiseEvent2(ShellBA.java:98) Upvote 0
Here the error. -------------- Dim s As String = File.ReadString(TempFolder, "META-INF/MANIFEST.MF") Temp folder for META-INF not created. --------------- Error occurred on line: 146 (Main) java.io.FileNotFoundException: E:\B4J\B4JPackager11\Objects\temp\META-INF\MANIFEST.MF (The system cannot find the path specified) at java.base/java.io.FileInputStream.open0(Native Method) at java.base/java.io.FileInputStream.open(FileInputStream.java:219) at java.base/java.io.FileInputStream.<init>(FileInputStream.java:157) at anywheresoftware.b4a.objects.streams.File.OpenInput(File.java:218) at anywheresoftware.b4a.objects.streams.File.ReadString(File.java:272) at b4j.example.main$ResumableSub_FindPackageName.resume(main.java:994) at anywheresoftware.b4a.shell.DebugResumableSub$DelegatableResumableSub.resumeAsUserSub(DebugResumableSub.java:47) 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.shell.Shell.runMethod(Shell.java:632) at anywheresoftware.b4a.shell.Shell.raiseEventImpl(Shell.java:237) at anywheresoftware.b4a.shell.Shell.raiseEvent(Shell.java:167) 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:91) at anywheresoftware.b4a.shell.ShellBA.raiseEvent2(ShellBA.java:98)
Erel B4X founder Staff member Licensed User Longtime User Mar 29, 2020 #4 Looks like you haven't compiled your app in release mode or it is not a UI app. Upvote 0
A AbiKemal Member Licensed User Longtime User Mar 29, 2020 #5 It's a simple UI, only lable, imageview and button. I have compiled to library with .jar extension. Upvote 0
Erel B4X founder Staff member Licensed User Longtime User Mar 29, 2020 #6 AbiKemal said: I have compiled to library with .jar extension. Click to expand... This is the mistake. You should run your app in release mode. Upvote 0
AbiKemal said: I have compiled to library with .jar extension. Click to expand... This is the mistake. You should run your app in release mode.
A AbiKemal Member Licensed User Longtime User Mar 29, 2020 #7 Got it...., Oh thank you sooo much. Upvote 0