Bug? Designer 'crashing' with Robot Font (or any other custom font)

chrjak

Active Member
Licensed User
Longtime User
Hey Erel,

I have this error for a very long time yet. I thought someone else has it already reported but i didn't find something. So:

The error is:

When I put any custom font into a label (this error exists also with google fonts) the designer goes on a little time and then it stops refreshing. Label text is not visible with custom fonts and i can move everything on the pc. But on the smartphone nothing moves, nevertheless i'm connected to it. When I load a layout file, which is already saved with a custom font it stops refreshing immediately. It even doesn't listen to the designer scripts any more...

Is this only at my smartphone?
When I am compiling the app I see the font and everything works
 

chrjak

Active Member
Licensed User
Longtime User
I wasn't able to reproduce the error in a small project. Somehow it worked there.

But I added my actual project layout to the project. The Error exists there, even at an empty project. Sadly I am not allowed to make it public so I sent you the file in private.

As you can see: When '2nd' is shown, the Designer App doesn't react to the script code, doesn't react to selections and movements and Texts are invisible as well.
 

chrjak

Active Member
Licensed User
Longtime User
I have 5.5 Beta #1 - Is it the same?

I tried the Refresh button - no action

Additionally: I noticed. The selected error (No reaction when an item is selected) is only on that labels with that custom font. eg. Customview1, label7, label8


I ll connect my device and take a look at the logcat now. results in about 3mins
 

chrjak

Active Member
Licensed User
Longtime User
B4X:
LogCat connected to: 4e167a7a
--------- beginning of system--------- beginning of main
Connected to B4A-Bridge (Wifi)
sending message to waiting queue (CallSubDelayed - UpdateStatus)
java.lang.reflect.InvocationTargetException
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at anywheresoftware.b4a.DynamicBuilder.build(DynamicBuilder.java:21)
    at anywheresoftware.b4a.designer.DesignerViewsManager$MyMessageHandler$SetProperties.myRun(DesignerViewsManager.java:382)
    at anywheresoftware.b4a.designer.DesignerViewsManager$SafeRunnable.run(DesignerViewsManager.java:646)
    at android.os.Handler.handleCallback(Handler.java:739)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:145)
    at android.app.ActivityThread.main(ActivityThread.java:5951)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: /data/data/anywheresoftware.b4a.designer/files/share39.png: open failed: ENOENT (No such file or directory)
    at anywheresoftware.b4a.objects.ImageViewWrapper.setImage(ImageViewWrapper.java:92)
    at anywheresoftware.b4a.objects.ImageViewWrapper.build(ImageViewWrapper.java:113)
    ... 13 more
Caused by: java.io.FileNotFoundException: /data/data/anywheresoftware.b4a.designer/files/share39.png: open failed: ENOENT (No such file or directory)
    at libcore.io.IoBridge.open(IoBridge.java:456)
    at java.io.FileInputStream.<init>(FileInputStream.java:76)
    at anywheresoftware.b4a.objects.streams.File.OpenInput(File.java:209)
    at anywheresoftware.b4a.objects.drawable.CanvasWrapper$BitmapWrapper.Initialize(CanvasWrapper.java:498)
    at anywheresoftware.b4a.objects.drawable.BitmapDrawable.build(BitmapDrawable.java:69)
    at anywheresoftware.b4a.objects.ImageViewWrapper.setImage(ImageViewWrapper.java:90)
    ... 14 more
Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
    at libcore.io.Posix.open(Native Method)
    at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)
    at libcore.io.IoBridge.open(IoBridge.java:442)
    ... 19 more
java.lang.reflect.InvocationTargetException
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at anywheresoftware.b4a.DynamicBuilder.build(DynamicBuilder.java:21)
    at anywheresoftware.b4a.designer.DesignerViewsManager$MyMessageHandler$SetProperties.myRun(DesignerViewsManager.java:382)
    at anywheresoftware.b4a.designer.DesignerViewsManager$SafeRunnable.run(DesignerViewsManager.java:646)
    at android.os.Handler.handleCallback(Handler.java:739)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:145)
    at android.app.ActivityThread.main(ActivityThread.java:5951)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: /data/data/anywheresoftware.b4a.designer/files/ic_gps_fixed_black_48dp.png: open failed: ENOENT (No such file or directory)
    at anywheresoftware.b4a.objects.ImageViewWrapper.setImage(ImageViewWrapper.java:92)
    at anywheresoftware.b4a.objects.ImageViewWrapper.build(ImageViewWrapper.java:113)
    ... 13 more
Caused by: java.io.FileNotFoundException: /data/data/anywheresoftware.b4a.designer/files/ic_gps_fixed_black_48dp.png: open failed: ENOENT (No such file or directory)
    at libcore.io.IoBridge.open(IoBridge.java:456)
    at java.io.FileInputStream.<init>(FileInputStream.java:76)
    at anywheresoftware.b4a.objects.streams.File.OpenInput(File.java:209)
    at anywheresoftware.b4a.objects.drawable.CanvasWrapper$BitmapWrapper.Initialize(CanvasWrapper.java:498)
    at anywheresoftware.b4a.objects.drawable.BitmapDrawable.build(BitmapDrawable.java:69)
    at anywheresoftware.b4a.objects.ImageViewWrapper.setImage(ImageViewWrapper.java:90)
    ... 14 more
Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
    at libcore.io.Posix.open(Native Method)
    at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)
    at libcore.io.IoBridge.open(IoBridge.java:442)
    ... 19 more
java.lang.reflect.InvocationTargetException
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at anywheresoftware.b4a.DynamicBuilder.build(DynamicBuilder.java:21)
    at anywheresoftware.b4a.designer.DesignerViewsManager$MyMessageHandler$SetProperties.myRun(DesignerViewsManager.java:382)
    at anywheresoftware.b4a.designer.DesignerViewsManager$SafeRunnable.run(DesignerViewsManager.java:646)
    at android.os.Handler.handleCallback(Handler.java:739)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:145)
    at android.app.ActivityThread.main(ActivityThread.java:5951)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: /data/data/anywheresoftware.b4a.designer/files/sensor.png: open failed: ENOENT (No such file or directory)
    at anywheresoftware.b4a.objects.ImageViewWrapper.setImage(ImageViewWrapper.java:92)
    at anywheresoftware.b4a.objects.ImageViewWrapper.build(ImageViewWrapper.java:113)
    ... 13 more
Caused by: java.io.FileNotFoundException: /data/data/anywheresoftware.b4a.designer/files/sensor.png: open failed: ENOENT (No such file or directory)
    at libcore.io.IoBridge.open(IoBridge.java:456)
    at java.io.FileInputStream.<init>(FileInputStream.java:76)
    at anywheresoftware.b4a.objects.streams.File.OpenInput(File.java:209)
    at anywheresoftware.b4a.objects.drawable.CanvasWrapper$BitmapWrapper.Initialize(CanvasWrapper.java:498)
    at anywheresoftware.b4a.objects.drawable.BitmapDrawable.build(BitmapDrawable.java:69)
    at anywheresoftware.b4a.objects.ImageViewWrapper.setImage(ImageViewWrapper.java:90)
    ... 14 more
Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
    at libcore.io.Posix.open(Native Method)
    at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)
    at libcore.io.IoBridge.open(IoBridge.java:442)
    ... 19 more
java.lang.reflect.InvocationTargetException
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at anywheresoftware.b4a.DynamicBuilder.build(DynamicBuilder.java:21)
    at anywheresoftware.b4a.designer.DesignerViewsManager$MyMessageHandler$SetProperties.myRun(DesignerViewsManager.java:382)
    at anywheresoftware.b4a.designer.DesignerViewsManager$SafeRunnable.run(DesignerViewsManager.java:646)
    at android.os.Handler.handleCallback(Handler.java:739)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:145)
    at android.app.ActivityThread.main(ActivityThread.java:5951)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: /data/data/anywheresoftware.b4a.designer/files/map103.png: open failed: ENOENT (No such file or directory)
    at anywheresoftware.b4a.objects.ImageViewWrapper.setImage(ImageViewWrapper.java:92)
    at anywheresoftware.b4a.objects.ImageViewWrapper.build(ImageViewWrapper.java:113)
    ... 13 more
Caused by: java.io.FileNotFoundException: /data/data/anywheresoftware.b4a.designer/files/map103.png: open failed: ENOENT (No such file or directory)
    at libcore.io.IoBridge.open(IoBridge.java:456)
    at java.io.FileInputStream.<init>(FileInputStream.java:76)
    at anywheresoftware.b4a.objects.streams.File.OpenInput(File.java:209)
    at anywheresoftware.b4a.objects.drawable.CanvasWrapper$BitmapWrapper.Initialize(CanvasWrapper.java:498)
    at anywheresoftware.b4a.objects.drawable.BitmapDrawable.build(BitmapDrawable.java:69)
    at anywheresoftware.b4a.objects.ImageViewWrapper.setImage(ImageViewWrapper.java:90)
    ... 14 more
Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
    at libcore.io.Posix.open(Native Method)
    at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)
    at libcore.io.IoBridge.open(IoBridge.java:442)
    ... 19 more
java.lang.reflect.InvocationTargetException
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at anywheresoftware.b4a.DynamicBuilder.build(DynamicBuilder.java:21)
    at anywheresoftware.b4a.designer.DesignerViewsManager$MyMessageHandler$SetProperties.myRun(DesignerViewsManager.java:382)
    at anywheresoftware.b4a.designer.DesignerViewsManager$SafeRunnable.run(DesignerViewsManager.java:646)
    at android.os.Handler.handleCallback(Handler.java:739)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:145)
    at android.app.ActivityThread.main(ActivityThread.java:5951)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
Caused by: java.lang.RuntimeException: Font not found /data/data/anywheresoftware.b4a.designer/files/Roboto-Thin.ttf
    at android.graphics.Typeface.createFromFile(Typeface.java:299)
    at anywheresoftware.b4a.objects.TextViewWrapper.build(TextViewWrapper.java:142)
    at anywheresoftware.b4a.objects.LabelWrapper.build(LabelWrapper.java:35)
    ... 13 more
java.lang.reflect.InvocationTargetException
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at anywheresoftware.b4a.DynamicBuilder.build(DynamicBuilder.java:21)
    at anywheresoftware.b4a.designer.DesignerViewsManager$MyMessageHandler$SetProperties.myRun(DesignerViewsManager.java:382)
    at anywheresoftware.b4a.designer.DesignerViewsManager$SafeRunnable.run(DesignerViewsManager.java:646)
    at android.os.Handler.handleCallback(Handler.java:739)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:145)
    at android.app.ActivityThread.main(ActivityThread.java:5951)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
Caused by: java.lang.RuntimeException: Font not found /data/data/anywheresoftware.b4a.designer/files/Roboto-Thin.ttf
    at android.graphics.Typeface.createFromFile(Typeface.java:299)
    at anywheresoftware.b4a.objects.TextViewWrapper.build(TextViewWrapper.java:142)
    at anywheresoftware.b4a.objects.CustomViewWrapper.build(CustomViewWrapper.java:83)
    ... 13 more
java.lang.reflect.InvocationTargetException
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at anywheresoftware.b4a.DynamicBuilder.build(DynamicBuilder.java:21)
    at anywheresoftware.b4a.designer.DesignerViewsManager$MyMessageHandler$SetProperties.myRun(DesignerViewsManager.java:382)
    at anywheresoftware.b4a.designer.DesignerViewsManager$SafeRunnable.run(DesignerViewsManager.java:646)
    at android.os.Handler.handleCallback(Handler.java:739)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:145)
    at android.app.ActivityThread.main(ActivityThread.java:5951)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
Caused by: java.lang.RuntimeException: Font not found /data/data/anywheresoftware.b4a.designer/files/Roboto-Thin.ttf
    at android.graphics.Typeface.createFromFile(Typeface.java:299)
    at anywheresoftware.b4a.objects.TextViewWrapper.build(TextViewWrapper.java:142)
    at anywheresoftware.b4a.objects.LabelWrapper.build(LabelWrapper.java:35)
    ... 13 more
java.lang.reflect.InvocationTargetException
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at anywheresoftware.b4a.DynamicBuilder.build(DynamicBuilder.java:21)
    at anywheresoftware.b4a.designer.DesignerViewsManager$MyMessageHandler$SetProperties.myRun(DesignerViewsManager.java:382)
    at anywheresoftware.b4a.designer.DesignerViewsManager$SafeRunnable.run(DesignerViewsManager.java:646)
    at android.os.Handler.handleCallback(Handler.java:739)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:145)
    at android.app.ActivityThread.main(ActivityThread.java:5951)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: /data/data/anywheresoftware.b4a.designer/files/sensorselected.png: open failed: ENOENT (No such file or directory)
    at anywheresoftware.b4a.objects.ImageViewWrapper.setImage(ImageViewWrapper.java:92)
    at anywheresoftware.b4a.objects.ImageViewWrapper.build(ImageViewWrapper.java:113)
    ... 13 more
Caused by: java.io.FileNotFoundException: /data/data/anywheresoftware.b4a.designer/files/sensorselected.png: open failed: ENOENT (No such file or directory)
    at libcore.io.IoBridge.open(IoBridge.java:456)
    at java.io.FileInputStream.<init>(FileInputStream.java:76)
    at anywheresoftware.b4a.objects.streams.File.OpenInput(File.java:209)
    at anywheresoftware.b4a.objects.drawable.CanvasWrapper$BitmapWrapper.Initialize(CanvasWrapper.java:498)
    at anywheresoftware.b4a.objects.drawable.BitmapDrawable.build(BitmapDrawable.java:69)
    at anywheresoftware.b4a.objects.ImageViewWrapper.setImage(ImageViewWrapper.java:90)
    ... 14 more
Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
    at libcore.io.Posix.open(Native Method)
    at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)
    at libcore.io.IoBridge.open(IoBridge.java:442)
    ... 19 more
java.lang.reflect.InvocationTargetException
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at anywheresoftware.b4a.DynamicBuilder.build(DynamicBuilder.java:21)
    at anywheresoftware.b4a.designer.DesignerViewsManager$MyMessageHandler$SetProperties.myRun(DesignerViewsManager.java:382)
    at anywheresoftware.b4a.designer.DesignerViewsManager$SafeRunnable.run(DesignerViewsManager.java:646)
    at android.os.Handler.handleCallback(Handler.java:739)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:145)
    at android.app.ActivityThread.main(ActivityThread.java:5951)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
Caused by: java.lang.RuntimeException: java.io.FileNotFoundException: /data/data/anywheresoftware.b4a.designer/files/ic_gps_fixed_white_48dp.png: open failed: ENOENT (No such file or directory)
    at anywheresoftware.b4a.objects.ImageViewWrapper.setImage(ImageViewWrapper.java:92)
    at anywheresoftware.b4a.objects.ImageViewWrapper.build(ImageViewWrapper.java:113)
    ... 13 more
Caused by: java.io.FileNotFoundException: /data/data/anywheresoftware.b4a.designer/files/ic_gps_fixed_white_48dp.png: open failed: ENOENT (No such file or directory)
    at libcore.io.IoBridge.open(IoBridge.java:456)
    at java.io.FileInputStream.<init>(FileInputStream.java:76)
    at anywheresoftware.b4a.objects.streams.File.OpenInput(File.java:209)
    at anywheresoftware.b4a.objects.drawable.CanvasWrapper$BitmapWrapper.Initialize(CanvasWrapper.java:498)
    at anywheresoftware.b4a.objects.drawable.BitmapDrawable.build(BitmapDrawable.java:69)
    at anywheresoftware.b4a.objects.ImageViewWrapper.setImage(ImageViewWrapper.java:90)
    ... 14 more
Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory)
    at libcore.io.Posix.open(Native Method)
    at libcore.io.BlockGuardOs.open(BlockGuardOs.java:186)
    at libcore.io.IoBridge.open(IoBridge.java:442)
    ... 19 more
java.lang.reflect.InvocationTargetException
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at anywheresoftware.b4a.DynamicBuilder.build(DynamicBuilder.java:21)
    at anywheresoftware.b4a.designer.DesignerViewsManager$MyMessageHandler$SetProperties.myRun(DesignerViewsManager.java:382)
    at anywheresoftware.b4a.designer.DesignerViewsManager$SafeRunnable.run(DesignerViewsManager.java:646)
    at android.os.Handler.handleCallback(Handler.java:739)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:145)
    at android.app.ActivityThread.main(ActivityThread.java:5951)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
Caused by: java.lang.RuntimeException: Font not found /data/data/anywheresoftware.b4a.designer/files/Roboto-Thin.ttf
    at android.graphics.Typeface.createFromFile(Typeface.java:299)
    at anywheresoftware.b4a.objects.TextViewWrapper.build(TextViewWrapper.java:142)
    at anywheresoftware.b4a.objects.LabelWrapper.build(LabelWrapper.java:35)
    ... 13 more
java.lang.reflect.InvocationTargetException
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at anywheresoftware.b4a.DynamicBuilder.build(DynamicBuilder.java:21)
    at anywheresoftware.b4a.designer.DesignerViewsManager$MyMessageHandler$SetProperties.myRun(DesignerViewsManager.java:382)
    at anywheresoftware.b4a.designer.DesignerViewsManager$SafeRunnable.run(DesignerViewsManager.java:646)
    at android.os.Handler.handleCallback(Handler.java:739)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:145)
    at android.app.ActivityThread.main(ActivityThread.java:5951)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
Caused by: java.lang.RuntimeException: Font not found /data/data/anywheresoftware.b4a.designer/files/Roboto-Thin.ttf
    at android.graphics.Typeface.createFromFile(Typeface.java:299)
    at anywheresoftware.b4a.objects.TextViewWrapper.build(TextViewWrapper.java:142)
    at anywheresoftware.b4a.objects.CustomViewWrapper.build(CustomViewWrapper.java:83)
    ... 13 more
java.lang.reflect.InvocationTargetException
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at anywheresoftware.b4a.DynamicBuilder.build(DynamicBuilder.java:21)
    at anywheresoftware.b4a.designer.DesignerViewsManager$MyMessageHandler$SetProperties.myRun(DesignerViewsManager.java:382)
    at anywheresoftware.b4a.designer.DesignerViewsManager$SafeRunnable.run(DesignerViewsManager.java:646)
    at android.os.Handler.handleCallback(Handler.java:739)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:145)
    at android.app.ActivityThread.main(ActivityThread.java:5951)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
Caused by: java.lang.RuntimeException: Font not found /data/data/anywheresoftware.b4a.designer/files/Roboto-Thin.ttf
    at android.graphics.Typeface.createFromFile(Typeface.java:299)
    at anywheresoftware.b4a.objects.TextViewWrapper.build(TextViewWrapper.java:142)
    at anywheresoftware.b4a.objects.LabelWrapper.build(LabelWrapper.java:35)
    ... 13 more
java.lang.reflect.InvocationTargetException
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at anywheresoftware.b4a.DynamicBuilder.build(DynamicBuilder.java:21)
    at anywheresoftware.b4a.designer.DesignerViewsManager$MyMessageHandler$SetProperties.myRun(DesignerViewsManager.java:382)
    at anywheresoftware.b4a.designer.DesignerViewsManager$SafeRunnable.run(DesignerViewsManager.java:646)
    at android.os.Handler.handleCallback(Handler.java:739)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:145)
    at android.app.ActivityThread.main(ActivityThread.java:5951)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
Caused by: java.lang.RuntimeException: Font not found /data/data/anywheresoftware.b4a.designer/files/Roboto-Thin.ttf
    at android.graphics.Typeface.createFromFile(Typeface.java:299)
    at anywheresoftware.b4a.objects.TextViewWrapper.build(TextViewWrapper.java:142)
    at anywheresoftware.b4a.objects.LabelWrapper.build(LabelWrapper.java:35)
    ... 13 more
java.lang.reflect.InvocationTargetException
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at anywheresoftware.b4a.DynamicBuilder.build(DynamicBuilder.java:21)
    at anywheresoftware.b4a.designer.DesignerViewsManager$MyMessageHandler$SetProperties.myRun(DesignerViewsManager.java:382)
    at anywheresoftware.b4a.designer.DesignerViewsManager$SafeRunnable.run(DesignerViewsManager.java:646)
    at android.os.Handler.handleCallback(Handler.java:739)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:145)
    at android.app.ActivityThread.main(ActivityThread.java:5951)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
Caused by: java.lang.RuntimeException: Font not found /data/data/anywheresoftware.b4a.designer/files/Roboto-Thin.ttf
    at android.graphics.Typeface.createFromFile(Typeface.java:299)
    at anywheresoftware.b4a.objects.TextViewWrapper.build(TextViewWrapper.java:142)
    at anywheresoftware.b4a.objects.CustomViewWrapper.build(CustomViewWrapper.java:83)
    ... 13 more
java.lang.reflect.InvocationTargetException
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at anywheresoftware.b4a.DynamicBuilder.build(DynamicBuilder.java:21)
    at anywheresoftware.b4a.designer.DesignerViewsManager$MyMessageHandler$SetProperties.myRun(DesignerViewsManager.java:382)
    at anywheresoftware.b4a.designer.DesignerViewsManager$SafeRunnable.run(DesignerViewsManager.java:646)
    at android.os.Handler.handleCallback(Handler.java:739)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:145)
    at android.app.ActivityThread.main(ActivityThread.java:5951)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
Caused by: java.lang.RuntimeException: Font not found /data/data/anywheresoftware.b4a.designer/files/Roboto-Thin.ttf
    at android.graphics.Typeface.createFromFile(Typeface.java:299)
    at anywheresoftware.b4a.objects.TextViewWrapper.build(TextViewWrapper.java:142)
    at anywheresoftware.b4a.objects.LabelWrapper.build(LabelWrapper.java:35)
    ... 13 more
java.lang.reflect.InvocationTargetException
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at anywheresoftware.b4a.DynamicBuilder.build(DynamicBuilder.java:21)
    at anywheresoftware.b4a.designer.DesignerViewsManager$MyMessageHandler$SetProperties.myRun(DesignerViewsManager.java:382)
    at anywheresoftware.b4a.designer.DesignerViewsManager$SafeRunnable.run(DesignerViewsManager.java:646)
    at android.os.Handler.handleCallback(Handler.java:739)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:145)
    at android.app.ActivityThread.main(ActivityThread.java:5951)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
Caused by: java.lang.RuntimeException: Font not found /data/data/anywheresoftware.b4a.designer/files/Roboto-Thin.ttf
    at android.graphics.Typeface.createFromFile(Typeface.java:299)
    at anywheresoftware.b4a.objects.TextViewWrapper.build(TextViewWrapper.java:142)
    at anywheresoftware.b4a.objects.LabelWrapper.build(LabelWrapper.java:35)
    ... 13 more
java.lang.reflect.InvocationTargetException
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at anywheresoftware.b4a.DynamicBuilder.build(DynamicBuilder.java:21)
    at anywheresoftware.b4a.designer.DesignerViewsManager$MyMessageHandler$SetProperties.myRun(DesignerViewsManager.java:382)
    at anywheresoftware.b4a.designer.DesignerViewsManager$SafeRunnable.run(DesignerViewsManager.java:646)
    at android.os.Handler.handleCallback(Handler.java:739)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:145)
    at android.app.ActivityThread.main(ActivityThread.java:5951)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
Caused by: java.lang.RuntimeException: Font not found /data/data/anywheresoftware.b4a.designer/files/Roboto-Thin.ttf
    at android.graphics.Typeface.createFromFile(Typeface.java:299)
    at anywheresoftware.b4a.objects.TextViewWrapper.build(TextViewWrapper.java:142)
    at anywheresoftware.b4a.objects.CustomViewWrapper.build(CustomViewWrapper.java:83)
    ... 13 more
java.lang.reflect.InvocationTargetException
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at anywheresoftware.b4a.DynamicBuilder.build(DynamicBuilder.java:21)
    at anywheresoftware.b4a.designer.DesignerViewsManager$MyMessageHandler$SetProperties.myRun(DesignerViewsManager.java:382)
    at anywheresoftware.b4a.designer.DesignerViewsManager$SafeRunnable.run(DesignerViewsManager.java:646)
    at android.os.Handler.handleCallback(Handler.java:739)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:145)
    at android.app.ActivityThread.main(ActivityThread.java:5951)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
Caused by: java.lang.RuntimeException: Font not found /data/data/anywheresoftware.b4a.designer/files/Roboto-Thin.ttf
    at android.graphics.Typeface.createFromFile(Typeface.java:299)
    at anywheresoftware.b4a.objects.TextViewWrapper.build(TextViewWrapper.java:142)
    at anywheresoftware.b4a.objects.LabelWrapper.build(LabelWrapper.java:35)
    ... 13 more

(THESE ARE FILTERED LOGS ABOVE)

Now unfiltered Logs are much more crazy:
B4X:
smd Interface open failed errno is 2 -1
Diag_LSM_Init: Failed to open handle to diag driver, error = 2
smd Interface open failed errno is 2 -1
smd Interface open failed errno is 2 -1
!@BatteryListener : batteryPropertiesChanged!
level:65, scale:100, status:2, health:2, present:true, voltage: 4092, temperature: 245, technology: Li-ion, AC powered:false, USB powered:true, Wireless powered:false, icon:17303687, invalid charger:0
online:4, current avg:460, charge type:1, power sharing:false, high voltage charger:false, capacity:280000, current_now:460
Sending ACTION_BATTERY_CHANGED.
Plugged
setPowerConnected  = true
received broadcast android.intent.action.BATTERY_CHANGED
handleBatteryUpdate
mBrightnessEnablebySettings = true mBrightnessEnablebyBattery = true mBrightnessEnablebyDisableFlag = true mPmsBrightnessEnablebySettings = true
ACTION_BATTERY_CHANGED : level:65 status:2 health:2
ACTION_BATTERY_CHANGED : level:65 status:2 health:2
ACTION_BATTERY_CHANGED : level:65 status:2 health:2
mSystemReceiver - batteryLevel: 65 batteryStatus: 2
FPS : 0.12
Fail to Open /sys/devices/platform/gpusysfs/fps
smd Interface open failed errno is 2 -1
!@Sync 2193
smd Interface open failed errno is 2 -1
variant0
FPS : 0.88
Fail to Open /sys/devices/platform/gpusysfs/fps
    at android.app.ActivityThread.main(ActivityThread.java:5951)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
addFont failed to create font /data/data/anywheresoftware.b4a.designer/files/Roboto-Thin.ttf
java.lang.reflect.InvocationTargetException
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at anywheresoftware.b4a.DynamicBuilder.build(DynamicBuilder.java:21)
    at anywheresoftware.b4a.designer.DesignerViewsManager$MyMessageHandler$SetProperties.myRun(DesignerViewsManager.java:382)
    at anywheresoftware.b4a.designer.DesignerViewsManager$SafeRunnable.run(DesignerViewsManager.java:646)
    at android.os.Handler.handleCallback(Handler.java:739)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:145)
    at android.app.ActivityThread.main(ActivityThread.java:5951)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
Caused by: java.lang.RuntimeException: Font not found /data/data/anywheresoftware.b4a.designer/files/Roboto-Thin.ttf
    at android.graphics.Typeface.createFromFile(Typeface.java:299)
    at anywheresoftware.b4a.objects.TextViewWrapper.build(TextViewWrapper.java:142)
    at anywheresoftware.b4a.objects.CustomViewWrapper.build(CustomViewWrapper.java:83)
    ... 13 more
java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.Context android.view.View.getContext()' on a null object reference
    at anywheresoftware.b4a.designer.DesignerView.<init>(DesignerView.java:46)
    at anywheresoftware.b4a.designer.DesignerViewsManager$MyMessageHandler$SetProperties.myRun(DesignerViewsManager.java:387)
    at anywheresoftware.b4a.designer.DesignerViewsManager$SafeRunnable.run(DesignerViewsManager.java:646)
    at android.os.Handler.handleCallback(Handler.java:739)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:145)
    at android.app.ActivityThread.main(ActivityThread.java:5951)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
addFont failed to create font /data/data/anywheresoftware.b4a.designer/files/Roboto-Thin.ttf
java.lang.reflect.InvocationTargetException
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at anywheresoftware.b4a.DynamicBuilder.build(DynamicBuilder.java:21)
    at anywheresoftware.b4a.designer.DesignerViewsManager$MyMessageHandler$SetProperties.myRun(DesignerViewsManager.java:382)
    at anywheresoftware.b4a.designer.DesignerViewsManager$SafeRunnable.run(DesignerViewsManager.java:646)
    at android.os.Handler.handleCallback(Handler.java:739)
    at android.os.Handler.dispatchMessage(Handler.java:95)
    at android.os.Looper.loop(Looper.java:145)
    at android.app.ActivityThread.main(ActivityThread.java:5951)
    at java.lang.reflect.Method.invoke(Native Method)
    at java.lang.reflect.Method.invoke(Method.java:372)
    at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)
Caused by: java.lang.RuntimeException: Font not found /data/data/anywheresoftware.b4a.designer/files/Roboto-Thin.ttf
    at android.graphics.Typeface.createFromFile(Typeface.java:299)
    at anywheresoftware.b4a.objects.TextViewWrapper.build(TextViewWrapper.java:142)
    at anywheresoftware.b4a.objects.LabelWrapper.build(LabelWrapper.java:35)
    ... 13 more
java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.Context android.view.View.getContext()' on a null object reference
FPS : 12.54
Fail to Open /sys/devices/platform/gpusysfs/fps
FPS : 12.54
Fail to Open /sys/devices/platform/gpusysfs/fps
FPS : 12.54
Fail to Open /sys/devices/platform/gpusysfs/fps
FPS : 56.39
Fail to Open /sys/devices/platform/gpusysfs/fps
Timeline: Activity_launch_request id:anywheresoftware.b4a.designer time:65845152
smd Interface open failed errno is 2 -1
START u0 {act=android.intent.action.MAIN flg=0x30000000 cmp=anywheresoftware.b4a.designer/.Designer} from uid 10243 on display 0
mDVFSHelper.acquire()
onPause: false
[api] release WakeLock flags=0x1000000a tag=B4A-Designer uid=10288 pid=21549 (0x0)
********* onNewIntent: Intent { act=android.intent.action.MAIN flg=0x30000000 cmp=anywheresoftware.b4a.designer/.Designer }
[api] acquire WakeLock flags=0x1000000a tag=B4A-Designer uid=10288 pid=21549
Diag_LSM_Init: Failed to open handle to diag driver, error = 2
FPS : 3.23
smd Interface open failed errno is 2 -1
Fail to Open /sys/devices/platform/gpusysfs/fps
smd Interface open failed errno is 2 -1
smd Interface open failed errno is 2 -1
SIOP:: AP = 320, CUR = 460
smd Interface open failed errno is 2 -1
mDVFSHelper.release()
smd Interface open failed errno is 2 -1
smd Interface open failed errno is 2 -1
Diag_LSM_Init: Failed to open handle to diag driver, error = 2
smd Interface open failed errno is 2 -1
smd Interface open failed errno is 2 -1
!@BatteryListener : batteryPropertiesChanged!
level:65, scale:100, status:2, health:2, present:true, voltage: 4107, temperature: 245, technology: Li-ion, AC powered:false, USB powered:true, Wireless powered:false, icon:17303687, invalid charger:0
online:4, current avg:460, charge type:1, power sharing:false, high voltage charger:false, capacity:280000, current_now:460
Sending ACTION_BATTERY_CHANGED.
Plugged
setPowerConnected  = true
received broadcast android.intent.action.BATTERY_CHANGED
handleBatteryUpdate
mBrightnessEnablebySettings = true mBrightnessEnablebyBattery = true mBrightnessEnablebyDisableFlag = true mPmsBrightnessEnablebySettings = true
ACTION_BATTERY_CHANGED : level:65 status:2 health:2
ACTION_BATTERY_CHANGED : level:65 status:2 health:2
ACTION_BATTERY_CHANGED : level:65 status:2 health:2
FPS : 0.14
Fail to Open /sys/devices/platform/gpusysfs/fps
mSystemReceiver - batteryLevel: 65 batteryStatus: 2
smd Interface open failed errno is 2 -1
smd Interface open failed errno is 2 -1
FPS : 0.50
Fail to Open /sys/devices/platform/gpusysfs/fps
smd Interface open failed errno is 2 -1
Diag_LSM_Init: Failed to open handle to diag driver, error = 2
smd Interface open failed errno is 2 -1
smd Interface open failed errno is 2 -1
waitForAlarm result :8
received broadcast android.intent.action.TIME_TICK
handleTimeUpdate
FPS : 0.39
Fail to Open /sys/devices/platform/gpusysfs/fps
SIOP:: AP = 320, CUR = 460
regionalDateFormat = 22.11.3333 isRTLlanguage = false returnDateFormat = E, d. MMMM
regionalDateFormat = 22.11.3333 isRTLlanguage = false returnDateFormat = E, d. MMMM
[Accuweather J]>>> SWW:620 [0:0] =============== BR act = androidintentactionTIME_TICK
[Accuweather J]>>> SWW:660 [0:0] renderUpdateTime : [0] = 1
[Accuweather J]>>> WR:456 [0:0] =============== updateTime = 1
onReceive action : android.intent.action.TIME_TICK
*** don't update sliding image ***
smd Interface open failed errno is 2 -1
smd Interface open failed errno is 2 -1
FPS : 0.49
Fail to Open /sys/devices/platform/gpusysfs/fps
smd Interface open failed errno is 2 -1
Diag_LSM_Init: Failed to open handle to diag driver, error = 2
smd Interface open failed errno is 2 -1
smd Interface open failed errno is 2 -1
!@BatteryListener : batteryPropertiesChanged!
level:65, scale:100, status:2, health:2, present:true, voltage: 4080, temperature: 246, technology: Li-ion, AC powered:false, USB powered:true, Wireless powered:false, icon:17303687, invalid charger:0
online:4, current avg:460, charge type:1, power sharing:false, high voltage charger:false, capacity:280000, current_now:460
Sending ACTION_BATTERY_CHANGED.
Plugged
setPowerConnected  = true
received broadcast android.intent.action.BATTERY_CHANGED
handleBatteryUpdate
mBrightnessEnablebySettings = true mBrightnessEnablebyBattery = true mBrightnessEnablebyDisableFlag = true mPmsBrightnessEnablebySettings = true
ACTION_BATTERY_CHANGED : level:65 status:2 health:2
ACTION_BATTERY_CHANGED : level:65 status:2 health:2
ACTION_BATTERY_CHANGED : level:65 status:2 health:2
FPS : 0.29
Fail to Open /sys/devices/platform/gpusysfs/fps
mSystemReceiver - batteryLevel: 65 batteryStatus: 2
smd Interface open failed errno is 2 -1
smd Interface open failed errno is 2 -1
 

chrjak

Active Member
Licensed User
Longtime User
the font files are already lowcase. in files folder
 
Top