pazaan / 600SeriesAndroidUploader

Your Medtronic 600-series pump data, direct to Nightscout
http://pazaan.github.io/600SeriesAndroidUploader/
MIT License
189 stars 312 forks source link

Uploading fails with unclear error message #287

Closed sjennison closed 3 years ago

sjennison commented 3 years ago

Uploading fails with Uploading to nightscout was unsuccessful. length=8

Enabling error messages adds the additional error message java.lang.ArrayIndexOutOfBoundsException: length=8

The logs show Nightscout site is available, so I don't think there is any issue with the connection. Using a web browser works fine too.

I'm actively attempting to figure out what's causing this, but even if there's a reason, the error message should probably be made clearer (handle the out of bounds exception somewhere, probably?)

Steps to Reproduce (for bugs)

Repro steps aren't clear - this occurred the first time I attempted to use this device

Severity Score

4 - completely prevents the upload to Nightscout from working

sjennison commented 3 years ago

UPDATE: This is related to uploading profiles - disabling profile upload entirely fixed the issue (not a problem for me, as my 670 is just functioning as a CGM)

Pogman commented 3 years ago

It's not expected for this type of bug to be shown in the user log. There is a program log if you want to run logcat on your device and access the app process.

Might be something odd with whatever got read from the pump given your type of use that's not accounted for.

sjennison commented 3 years ago

Sure, yeah I'd be happy to help with whatever info you need - just logcat and look for the same Java error?

Pogman commented 3 years ago

Yep should be a hard exception where the actual error happened.

This is probably an extremely rare bug due to no reports in years of service. So don't sweat it :)

Pogman commented 3 years ago

Fixed in version 0.7.3

sjennison commented 3 years ago

Oh hey you found it!

Awesome :)

I turned profiles back on and couldn't get it to happen again, so yea sounds like a weird one-off issue. Thanks!

Pogman commented 3 years ago

Cool - thanks for reporting.