All posts by stackoverflow

Poly space has error Pointer is outside its bounds

for poly space why it is illegally deference pointer? pointing to line 8
the error is pointer is outside its bounds.

void Init(void) {

    T_u32 *topPtr  = GetStackPtr();
    T_u32 *basePtr = BASE_ADRESS;

    do {
        /* Initializing the stack */
        *(--topPtr) = (T_u32)INIT_VALUE;
    } while (topPtr > basePtr);

}

I have done testing this but it seems like
I need to fix the pointer is outside its bounds.

Poly space has error Pointer is outside its bounds

Foregroundservice using intentservice crash

Crash Log :

android.app.RemoteServiceException: Context.startForegroundService()
did not then call Service.startForeground(): ServiceRecord{71078e3 u0
com.adityabirlahealth.insurance/.googlefit.GoogleFitLocalSyncService}
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1760)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loop(Looper.java:201)
at android.app.ActivityThread.main(ActivityThread.java:6806)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:873)

read more

Failed prop type: Invalid prop `type` of value `search` supplied to `Input`

Getting failed prop type due to type=”search” on input.
Says:
“Failed prop type: Invalid prop type of value search supplied to Input, expected one of [“text”,”number”,”password”,”date”,”date-range”,”email”,”tel”]”

 <Input
   type="search"
   onChange={this.onSearchChange}
   iconSize={IconSize.xs}
   color="primary"
/>

The input with type=”search” works as intended, but it keeps giving me console errors. Anyone knows why? And how to fix it?

read more