Android Question Object should first be initialized (ImageView).

JhoeyBoy

Member
Licensed User
Longtime User
In Debug mode every thing is fine and working, but when I compile in Release mode, I have the following error :

stud_my_profile$ResumableSub_B4XPage_Createdresume (java line: 227)
java.lang.RuntimeException: java.lang.RuntimeException: Object should first be initialized (ImageView).
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutBuilder.java:170)
at anywheresoftware.b4a.objects.PanelWrapper.LoadLayout(PanelWrapper.java:134)
at anywheresoftware.b4a.objects.B4XViewWrapper.LoadLayout(B4XViewWrapper.java:312)
at lancer.nemsu.stud_my_profile$ResumableSub_B4XPage_Created.resume(stud_my_profile.java:227)
at lancer.nemsu.stud_my_profile._b4xpage_created(stud_my_profile.java:194)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)

what does this mean? anyone have encountered this error before?
 

Attachments

  • __error_b4a.JPG
    __error_b4a.JPG
    141.5 KB · Views: 140

Sagenut

Expert
Licensed User
Longtime User
Hard to say where the error is, without seeing your project.
Can you create a sample project with the same error?
 
Upvote 0

syerif

Active Member
Licensed User
Longtime User
In Debug mode every thing is fine and working, but when I compile in Release mode, I have the following error :

stud_my_profile$ResumableSub_B4XPage_Createdresume (java line: 227)
java.lang.RuntimeException: java.lang.RuntimeException: Object should first be initialized (ImageView).
at anywheresoftware.b4a.keywords.LayoutBuilder.loadLayout(LayoutBuilder.java:170)
at anywheresoftware.b4a.objects.PanelWrapper.LoadLayout(PanelWrapper.java:134)
at anywheresoftware.b4a.objects.B4XViewWrapper.LoadLayout(B4XViewWrapper.java:312)
at lancer.nemsu.stud_my_profile$ResumableSub_B4XPage_Created.resume(stud_my_profile.java:227)
at lancer.nemsu.stud_my_profile._b4xpage_created(stud_my_profile.java:194)
at java.lang.reflect.Method.invoke(Native Method)
at anywheresoftware.b4a.BA.raiseEvent2(BA.java:213)

what does this mean? anyone have encountered this error before?
Is your image filename contain space? Just try to remove your filename from list of file in asset and remove space from your filename then add it again
 
Upvote 0
Top