Hello,
I have a project that works fine in debug mode
in release mode I have this error message inadvertently
An error has occurred in sub:main_drawme(javaline:624)
java.lang.NullPointerException Continue?
Below is my code
why?
best regards
I have a project that works fine in debug mode
in release mode I have this error message inadvertently
An error has occurred in sub:main_drawme(javaline:624)
java.lang.NullPointerException Continue?
Below is my code
B4X:
Sub drawMe(Canv As Canvas)
' Msgbox("passage 1","anomalie")
' drawBackground(Canv,"anomalie")
If ExDraw <> Null Then
' Msgbox("passage 2","anomalie")
ExDraw.drawBitmap2(Canv, background, 0,0, backgroundPaint)
' Msgbox("passage 3","anomalie")
ExDraw.save2(Canv, ExDraw.MATRIX_SAVE_FLAG)
' Msgbox("passage 4","anomalie")
ExDraw.scale(Canv, scale, scale)
End If
' Msgbox("passage 5","anomalie")
' drawmsgboxo(Canv,"anomalie")
drawHand(Canv)
' Msgbox("passage 6","anomalie")
drawTemp(Canv)
' Msgbox("passage 7","anomalie")
If ExDraw <> Null Then
ExDraw.restore(Canv)
End If
' Msgbox("passage 8","anomalie")
' If handNeedsToMove Then
' MoveHand
' End If
' handPosition = 25.2
Panel1.Invalidate
End Sub
best regards