LuckSiege / LuckSiege/PictureSelector
bugly捕获到一个空指针异常CustomCameraView文件
- Dominant language
- Java
- Stars
- 13.6k
- Forks
- 3.1k
- PR merge metrics
- No merged PRs in 30d
Description
## Current use version?
#### 当前使用的版本是多少?
3.11.2
```
```
## Will this problem occur in demo?
#### Demo能否复现这问题?
不能
```
```
## Describe the problem or provide an error log?
#### 描述问题或提供错误log?
```
Attempt to invoke virtual method 'int android.view.Display.getRotation()' on a null object reference
com.luck.lib.camerax.CustomCameraView$DisplayListener.onDisplayChanged(CustomCameraView.java:622)
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start with CustomCameraView.java at line 622, where DisplayListener.onDisplayChanged reports the null Display reference. Trace the callback and display lookup under the reported Android environment, then verify that this path no longer raises the exception; the issue does not mention a test file or a reproducible demo case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100