This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
dev build 200310300100, jdk1.4.2 copy any java file or form from examples dir and paste into root filesystem in Explorer file is copied but this Exception appears Annotation: Exception occurred in Request Processor java.lang.NullPointerException at org.openide.text.CloneableEditorSupport$1.run(CloneableEditorSupport.java:400) at org.openide.util.Task.run(Task.java:136) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:330) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:677) Note: it doesn't happend with txt file
Is it reproducible? It works fine for me.
yes, reproducible almost all time. 8 from 10 times. try paste more times...
Aha, I had build from yesterday and it is OK there. Mila, looks like side effect of your yesterday's change. Could you look at it please? Pass back if it is not related. Thanx.
Lukasi, are you reproducing it only on W2K or on Linux too? I'm unable to repro on RH9 so I'll have to switch to WXP for testing of this bug. Just curious whether there isn't any other problem or necessary condition for reproducing.
I did try again on fresh userdir on w2k - and it was reproducible, 5x nothing and then the NPE. I tried it on linux and nothing (30xpaste). So maybe you will have to switch on w2k, sorry Mila. Exact steps: 1,start 2,"Copy" on any form or java from examples 3,"Paste->Copy" on {userdir}/sampledir filesystem correction: the build number is 200310010100
*** Issue 36442 has been marked as a duplicate of this issue. ***
I can also reproduce it in build 200310060100, JDK1.4.2_01, WindowsXP (also happens on Sparc/Solaris).
I was able to reproduce the problem on WinXP. I've made a fix that I've checked into trunk: Checking in src/org/openide/text/CloneableEditorSupport.java; /cvs/openide/src/org/openide/text/CloneableEditorSupport.java,v <-- CloneableEditorSupport.java new revision: 1.97; previous revision: 1.96 Lukasi, please check the tomorrow's dev build whether it no longer appears. Thanks.
ok, seems fine. verifying.
It is again in build 200310160100 after fix of issue 36624.
*** Issue 36649 has been marked as a duplicate of this issue. ***
Created attachment 11913 [details] Possible fix
The patch was reviewed by Petr Nejedly. Fixed in maintrunk: /cvs/openide/src/org/openide/text/CloneableEditorSupport.java,v <-- CloneableEditorSupport.java new revision: 1.99; previous revision: 1.98
Integrated into q-build branch QBE200310150100.
Verified in build 200310220100.