A amiria703 Member Nov 18, 2020 #1 Hi I have a problem with my app. I just compiled the app with the debug mode and when the app is loaded I see this Error: B4X: java.lang.RuntimeException: Object should be first initialized (Activity). i tried B4X: Activity.Initialize("activity") with no results. How to fix it?
Hi I have a problem with my app. I just compiled the app with the debug mode and when the app is loaded I see this Error: B4X: java.lang.RuntimeException: Object should be first initialized (Activity). i tried B4X: Activity.Initialize("activity") with no results. How to fix it?
Erel B4X founder Staff member Licensed User Longtime User Nov 19, 2020 #2 You should never initialize activity objects. 1. Post the full error message. 2. Post the relevant code. Upvote 0
You should never initialize activity objects. 1. Post the full error message. 2. Post the relevant code.
A amiria703 Member Nov 19, 2020 #3 1-The error I see in the log is posted in the first post, How to see the complete error? 2-Which parts I should post?, Is the Activity Create Sub enough? Upvote 0
1-The error I see in the log is posted in the first post, How to see the complete error? 2-Which parts I should post?, Is the Activity Create Sub enough?
Erel B4X founder Staff member Licensed User Longtime User Nov 20, 2020 #4 The stack trace should be in the logs. amiria703 said: Which parts I should post?, Is the Activity Create Sub enough? Click to expand... Only you can say. Upvote 0
The stack trace should be in the logs. amiria703 said: Which parts I should post?, Is the Activity Create Sub enough? Click to expand... Only you can say.
A amiria703 Member Nov 27, 2020 #5 I just fired up b4a for trying to see what causes the error, but the error solved by itself It's so weird Upvote 0
I just fired up b4a for trying to see what causes the error, but the error solved by itself It's so weird