App crashed

未關閉
#151 2 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視

還沒有人認領這個 Issue。

評估

難度
3/5
預估耗時
半天
新手友好度
48/100
Issue 類型
缺陷
描述清晰度
基本清楚
活躍度
冷清
技術堆疊
java
領域
desktop-dev

研究方向

Start by reproducing the startup crash with App 7.6 and capture the complete unfiltered stack trace. Follow the sorting call shown in the trace, especially the comparator used for Arrays.sort, and identify which compared value is null. Done means the application starts successfully and the null comparison is covered by a regression test.

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

描述

Currently the application does not start.

Application error:

java.lang.NullPointerException
	at java.util.Objects.requireNonNull(Objects.java:220)
	at e1.e.applyAsLong(SourceFile:46)
	at java.util.Comparator.lambda$comparingLong$6043328a$1(Comparator.java:511)
	at java.util.Comparator$$ExternalSyntheticLambda4.compare(Unknown Source:2)
	at java.util.TimSort.countRunAndMakeAscending(TimSort.java:360)
	at java.util.TimSort.sort(TimSort.java:220)
	at java.util.Arrays.sort(Arrays.java:1495)
	at java.util.concurrent.CopyOnWriteArrayList.sortRange(CopyOnWriteArrayList.java:900)
	at java.util.concurrent.CopyOnWriteArrayList.sort(CopyOnWriteArrayList.java:892)
	at T.e.x(SourceFile:198)
	at d1.a.a(SourceFile:169)
	at l1.a.run(SourceFile:27)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1137)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:637)
	at java.lang.Thread.run(Thread.java:1012)

App: 7.6

主要語言
Java
星號
877
分支
121
PR 合併指標
30 天內沒有已合併 PR

環境準備

這個專案沒有提供開發容器、Dockerfile 或貢獻指南,環境需要你自己搭建:先看它的 README,通用步驟見我們的新手貢獻指南。

從這裡開始

  1. 先讀完整個 Issue,再讀專案的貢獻指南。
  2. 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
  3. Fork 儲存庫,在一個分支上完成修改。
  4. 送出 Pull Request,並在描述裡引用這個 Issue 編號。

SmartPack/PackageManager 的其他 Issue

查看 SmartPack/PackageManager 的全部 Issue

相似的 Issue

更多 Java Issue

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

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