Konloch / Konloch/bytecode-viewer

java.lang.NullPointerException at the.bytecode.club.bytecodeviewer.CommandLineInput.accept(CommandLineInput.java:335)

Open
#236 0 comments 0 reactions 0 assignees View on GitHub
Bug
Dominant language
Java
Stars
15.6k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

```
$ java -jar .../Bytecode-Viewer-2.9.19.jar -decompiler FernFlower -i src/lang/Lang.class -o Lang.java -t lang.Lang

https://the.bytecode.club - Created by @Konloch - Bytecode Viewer 2.9.19, Fat-Jar: true
Start up took 6 seconds
Decompiling /home/zaoqi/src/the-language/core/pure/java/src/lang/Lang.class with FernFlower
java.lang.NullPointerException
at the.bytecode.club.bytecodeviewer.CommandLineInput.accept(CommandLineInput.java:335)
at the.bytecode.club.bytecodeviewer.CommandLineInput.executeCommandLine(CommandLineInput.java:239)
at the.bytecode.club.bytecodeviewer.BytecodeViewer.main(BytecodeViewer.java:558)
java.lang.NullPointerException
at the.bytecode.club.bytecodeviewer.CommandLineInput.accept(CommandLineInput.java:340)
at the.bytecode.club.bytecodeviewer.CommandLineInput.executeCommandLine(CommandLineInput.java:239)
at the.bytecode.club.bytecodeviewer.BytecodeViewer.main(BytecodeViewer.java:558)
```

Contributor guide

Open the contributing guide

Research direction

Start with CommandLineInput.java at lines 335 and 340, then follow executeCommandLine and BytecodeViewer.main from the stack trace. Re-run the reported FernFlower command against src/lang/Lang.class and verify that the command completes without the reported NullPointerExceptions.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
cli, reverse-engineering
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.