architectury / architectury-loom

A Gradle plugin to setup environments for Fabric, Forge, NeoForge and Quilt modding.
https://docs.architectury.dev/loom/introduction
MIT License
115 stars 41 forks source link

Failed to genSource when aw contains forge/neoforge class/member in loom 1.7. #229

Open qyl27 opened 3 months ago

qyl27 commented 3 months ago

Architect Plugin: 3.4.159 Architectury Loom: 1.7.412

Logs:

> Task :sinodeco:sinodeco-forge:genSourcesWithVineflower FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':sinodeco:sinodeco-forge:genSourcesWithVineflower'.
> Failed to decompile, java.lang.IllegalArgumentException: lineMap is empty
qyl27 commented 2 months ago

It will happen when the aw includes a line about forge or neoforge, it can be reproduced in loom 1.7 and any Minecraft version.

And works well in loom 1.6.