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 ]

未關閉
#12 1 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
Java
星號
3
分支
8
PR 合併指標
30 天內沒有已合併 PR

描述

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!

貢獻指南

開啟貢獻指南

研究方向

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.

由索引模型根據 Issue 內容生成。

評估

技術堆疊
java, spring
領域
backend
Issue 類型
缺陷
難度
4/5
預估耗時
3-5 天
活躍度
停滯
描述清晰度
需要釐清
新手友好度
25/100

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。