Azure-Samples / Azure-Samples/MipSDK-File-Java-Basic

Error message [ Exception in thread "Thread-12985214" java.lang.NullPointerException: null upcall object in mipns::Stream::Read ]

Offen
#12 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Java
Sterne
3
Forks
8
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

When we stress testing the MIP SDK instance (MIP SDK File Sample Source) created as a singleton in the Java Spring environment, the error occurs.

We used MIP SDK is "**mip_sdk_java_ubuntu1804_1.12.61_preview.tar.gz**", and when an error occurs during the stress testing, the **STDOUT** contents are as follows. ( https://www.microsoft.com/en-us/download/details.aspx?id=104267 )

> Exception in thread "Thread-9336141" java.lang.NullPointerException: null upcall object in mipns::FileHandler::Observer::OnCommitSuccess
Exception in thread "Thread-12966921" java.lang.NullPointerException: null upcall object in mipns::FileHandler::Observer::OnCommitSuccess
Exception in thread "Thread-12970196" java.lang.NullPointerException: null upcall object in mipns::FileHandler::Observer::OnCommitSuccess
Exception in thread "Thread-12971973" java.lang.NullPointerException: null upcall object in mipns::FileHandler::Observer::OnCommitSuccess
Exception in thread "Thread-12975081" java.lang.NullPointerException: null upcall object in mipns::FileHandler::Observer::OnCommitSuccess
Exception in thread "Thread-12985049" java.lang.NullPointerException: null upcall object in mipns::FileHandler::Observer::OnCommitSuccess
Exception in thread "Thread-12985207" java.lang.NullPointerException: null upcall object in mipns::Stream::Seek
Exception in thread "Thread-12985214" java.lang.NullPointerException: null upcall object in mipns::Stream::Read
Exception in thread "Thread-12985218" java.lang.NullPointerException: null upcall object in mipns::Stream::Read
Exception in thread "Thread-12985220" java.lang.NullPointerException: null upcall object in mipns::Stream::Read
Exception in thread "Thread-12985221" java.lang.NullPointerException: null upcall object in mipns::Stream::Read
Exception in thread "Thread-12985222" java.lang.NullPointerException: null upcall object in mipns::Stream::Read
Exception in thread "Thread-12985224" java.lang.NullPointerException: null upcall object in mipns::Stream::Read
...
( Infinite loop output )
...
Exception in thread "Thread-12999999" java.lang.NullPointerException: null upcall object in mipns::Stream::Read

### Doing a "MIP File::Delete Label" stress test with that MIP SDK for about 5 minutes may copy the error.

`This error slows down the process and eventually crashes the process due to stack overflow.`

We have already registered with **Microsoft Case ( Case No: 32221263 )** and hope that the issue will be resolved as soon as possible.

Thanks!

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start with the MIP SDK File Sample Source and the mip_sdk_java_ubuntu1804_1.12.61_preview.tar.gz package, then reproduce the MIP File::Delete Label stress test for about five minutes. Observe the Stream::Read, Stream::Seek, and FileHandler::Observer::OnCommitSuccess errors; done would mean the stress test no longer produces the repeated exceptions, infinite output, or eventual crash.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
java, spring
Bereich
backend
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.