What does JAR separation (without bytecode for methods) mean?

I am trying to find the cause of a strange JSF error. To do this, I am trying to debug the source code inside the javaee-web-api module, where a NullPointerException is thrown during JSF rendering. But I'm stuck because the debugger is not showing me the source code of this location.

There is a discussion thread that says that javaee-web-api is deprived (there is no bytecode for methods) and is intended to be used only for compilation.

What does it mean? Can someone explain this in more detail? I want to understand why I cannot debug the location at which this NullPointerException is thrown. I think this is due to the fact that these JARs are deprived.

+6
source share
1 answer

Typically, class files in a jar file will contain information about the line numbers related to the code in the class - this is called debugging information. A cropped jar simply does not have this information.

You think this is a problem. You will see that the stack trace does not contain line numbers related to the code in the devoid bank. Since the bank is provided with a third-party organization, you cannot do anything to obtain this information.

+2
source

Source: https://habr.com/ru/post/949137/


All Articles