[BUILDTOOLS-612] Exception in thread "main" java.lang.NullPointerException Created: 28/Nov/21  Updated: 28/Nov/21  Resolved: 28/Nov/21

Status: Resolved
Project: BuildTools
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Minor
Reporter: donghoo Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None

Attachments: JPEG File 화면 캡처 2021-11-28 171117.jpg    
Version: 1.8~1.11
Guidelines Read: Yes

 Description   

When trying to build 1.11 or lower, the following error occurs:

Exception in thread "main" java.lang.NullPointerException
        at java.util.regex.Matcher.getTextLength(Matcher.java:1283)
        at java.util.regex.Matcher.reset(Matcher.java:309)
        at java.util.regex.Matcher.<init>(Matcher.java:229)
        at java.util.regex.Pattern.matcher(Pattern.java:1093)
        at org.spigotmc.builder.VersionInfo.hashFromUrl(VersionInfo.java:62)
        at org.spigotmc.builder.VersionInfo.getShaServerHash(VersionInfo.java:51)
        at org.spigotmc.builder.Builder.checkHash(Builder.java:731)
        at org.spigotmc.builder.Builder.main(Builder.java:400)
        at org.spigotmc.builder.Bootstrap.main(Bootstrap.java:27)

Generated at Sun Mar 23 01:31:15 UTC 2025 using Jira 10.3.3#10030003-sha1:d220e3fefc8dfc6d47f522d3b9a20c1455e12b7b.