Debug Evalutate shows NullPointer, but in breakpoint there's not null

Answered

Hello there,

 

currently i am hitting quite often a problem with the debugger. it shows "null" on objects which are not null, even sometimes it shows a boolean flag as "false", but there are true.

I even entered a condition for a nullcheck or boolean-flag to write a console output (not in the screenshot) to  check the values, but there weren't false or null.

 

this is the effect:

 

what else information do you need?

About copy:


IntelliJ IDEA 2020.2 (Ultimate Edition)
Build #IU-202.6397.94, built on July 27, 2020
Licensed to Antonio Bloise
Subscription is active until April 4, 2021
Runtime version: 11.0.7+10-b944.20 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Windows 10 10.0
GC: ParNew, ConcurrentMarkSweep
Memory: 4012M
Cores: 12
Registry: compiler.automake.allow.when.app.running=true
Non-Bundled Plugins: AspectJ weaver, Lombook Plugin, zielu.gittoolbox, org.sonarlint.idea, MavenRunHelper, com.intellij.tapestry

 

I am using redhat openJDK 11 for the application, i hit on this problem even with a oracle jdk 11. happens most of the time in tapestry-classes as far is i remember.

 

thanks for help

 

 

0
3 comments

Can't reproduce that locally. Is it possible to share a sample project where this could be reproduced? 

0

Can't share the project, it's corperate and big.

It happens most of the time in projects using apache tapestry (with hibernate), running on tomcat9.

Using non-tapestry (jsf) projects with the same setup (tomcat9 and ojdk) i never hit that problem.

Greetings,

Antonio

0

There are no similar cases in our bug tracker. Please create new bug request at YouTrack: https://youtrack.jetbrains.com/issues/IDEA.

If possible, attach a sample "Hello World!" project where this issue can be reproduced. 

0

Please sign in to leave a comment.