apache / netbeans

Apache NetBeans
https://netbeans.apache.org/
Apache License 2.0
2.6k stars 836 forks source link

sourcefile links in output not ckickable/not open linked source #7493

Open sebastian-toepfer opened 1 month ago

sebastian-toepfer commented 1 month ago

Apache NetBeans version

Apache NetBeans 22

What happened

Execute a Junit test. In the output, Netbeans (Maven) will show the stacktraces of the failed test. But it is not possible to go to the linked position. I don't want you to have to fix the problem. I need a guide to find the right place so I can try to fix it myself.

Language / Project Type / NetBeans Component

Java Maven Projekt / Output (unsure)

How to reproduce

Did this work correctly in an earlier version?

No / Don't know

Operating System

Linux

JDK

17 und 21

Apache NetBeans packaging

Apache NetBeans binary zip

Anything else

always

Are you willing to submit a pull request?

Yes

mbien commented 1 month ago

hi @sebastian-toepfer, this might be already fixed via https://github.com/apache/netbeans/pull/7391

could you try a nightly build and check if it is working? https://github.com/apache/netbeans?tab=readme-ov-file#download

sebastian-toepfer commented 4 weeks ago

In

Product Version: Apache NetBeans IDE DEV (Build dev-28211847bffbc363528fdcb5e47d7b6152e00a2c)
Java: 21.0.3; OpenJDK 64-Bit Server VM 21.0.3+9-LTS
Runtime: OpenJDK Runtime Environment 21.0.3+9-LTS
System: Linux version 6.1.0-21-amd64 running on amd64; UTF-8; en_US (nb)

it is still in unit test which runs in a normal clean build

sebastian-toepfer commented 4 weeks ago

If I understand the fix correctly, it's to fix how Netbeans determines Java files in a stacktrace, but my stacktrace looks fine. i'm just not able to navigate to the posion by clicking on it.

image