Community
Participate
Working Groups
R4E version: 0.20.0.v20130717-1300 I debugged a Java application in debug perspective, stopped at a breakpoint, tried to copy-paste a string from the java editor view to the Expressions view. The paste step threw the following exception: java.lang.NullPointerException at org.eclipse.mylyn.reviews.r4e.ui.internal.commands.handlers.PasteElementHandler$1.run(PasteElementHandler.java:90) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) Trying to copy from (an empty cell in) the Expressions view also throws a similar exception: java.lang.NullPointerException at org.eclipse.mylyn.reviews.r4e.ui.internal.commands.handlers.CopyElementHandler$1.run(CopyElementHandler.java:82) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:53) Session data: eclipse.buildId=4.3.2.M20140221-1700 java.version=1.6.0_37 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=hu_HU Framework arguments: -product org.eclipse.epp.package.java.product Command-line arguments: -os win32 -ws win32 -arch x86_64 -clean -product org.eclipse.epp.package.java.product
I tried to re-produce the null pointer exception and could not reproduce. I tried on linux and Window environment. Jacques
There's likely some additional precondition to it. Today I used copypasting against the Expression view several times without the error showing up. Then something changes in the session, and it is consistently reproducable (until I restart Eclipse). If I find out something, I will post it in a new comment.