PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV Mobile 2024
→
APP stopped
APP stopped
Started by JAVIER, Dec., 21 2019 4:30 PM - 2 replies
Connect yourself…
JAVIER
#1
Registered member
1 message
Posted on December, 21 2019 - 4:30 PM
When deleting a line in a loop is executed, it executes it without any problem, but when returning to the previous window, the following error occurs:
Message
Attempt to invoke virtual method 'int fr.pcsoft.wdjava.ui.champs.zr.WDZoneRepetee._getEtat()' on a null object reference
Java stack
fr.pcsoft.wdjava.ui.champs.zr.kc.e(Unknown Source:4)
fr.pcsoft.wdjava.ui.champs.zr.kc.onInterceptTouchEvent(Unknown Source:0)
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2582)
android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3011)
android.view.ViewGroup.dispatchTouchEvent(ViewGroup.java:2728)
android.view.ViewGroup.dispatchTransformedTouchEvent(ViewGroup.java:3011)
android.view.ViewGroup.cancelAndClearTouchTargets(ViewGroup.java:2861)
android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:3795)
android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:3817)
android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:3817)
android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:3817)
android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:3817)
android.view.ViewGroup.dispatchDetachedFromWindow(ViewGroup.java:3817)
android.view.ViewRootImpl.dispatchDetachedFromWindow(ViewRootImpl.java:4098)
android.view.ViewRootImpl.doDie(ViewRootImpl.java:7450)
android.view.ViewRootImpl.die(ViewRootImpl.java:7410)
android.view.WindowManagerGlobal.removeViewLocked(WindowManagerGlobal.java:520)
android.view.WindowManagerGlobal.removeView(WindowManagerGlobal.java:451)
android.view.WindowManagerImpl.removeViewImmediate(WindowManagerImpl.java:210)
android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:5217)
android.app.servertransaction.DestroyActivityItem.execute(DestroyActivityItem.java:39)
android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:145)
android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:70)
android.app.ActivityThread$H.handleMessage(ActivityThread.java:2199)
android.os.Handler.dispatchMessage(Handler.java:112)
android.os.Looper.loop(Looper.java:216)
android.app.ActivityThread.main(ActivityThread.java:7625)
java.lang.reflect.Method.invoke(Native Method)
com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:524)
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:987)
Thread=id=1
name=main
priority=5
groupName=main
To perform the delete option, by swip I have the following code:
cyVlrVentas is currency = 0
cyVlrIVA is currency = 0
cyVlrDscto is currency = 0
nItems is int = 0
HReadSeek(Facturas,FacturaID,xFacturaId,hLockNo)
IF HFound() = True THEN
HExecuteQuery(QRY_ItemsFactura,hQueryDefault,xFacturaId)
HReadFirst(QRY_ItemsFactura,xFacturaId)
WHILE HOut(QRY_ItemsFactura) = False
cyVlrVentas += QRY_ItemsFactura.valorVenta
cyVlrIVA += QRY_ItemsFactura.valorIva
cyVlrDscto += QRY_ItemsFactura.valorDescuento
nItems ++
HReadNext(QRY_ItemsFactura, xFacturaId)
END
Facturas.totalItems = nItems
Facturas.totalVenta = cyVlrVentas
Facturas.totalIva = cyVlrIVA
Facturas.totalDescuento = cyVlrDscto
Facturas.totalNeto = cyVlrVentas + cyVlrIVA - cyVlrDscto
IF HModify(Facturas,hRecNumCurrent) = False THEN
HError(hErrCurrent)
END
END
Could anyone help me, please?
Report
0
0
REVOLUTIONCHAIN
#2
Registered member
12 messages
Posted on January, 07 2020 - 4:52 PM
Happens the same on my side too, can't always reproduce
Report
0
0
Aurelien HAUTBOIS
#3
Posted on June, 07 2021 - 4:25 PM
It's happen the same to my app, did you find the solution?
Report
0
0
→ Go back to WINDEV Mobile 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (earlier versions)
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text