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.
Build: NetBeans IDE 7.0 M2 (Build 201010151251) VM: Java HotSpot(TM) Client VM, 16.3-b01, Java(TM) SE Runtime Environment, 1.6.0_20-b02 OS: Windows XP User Comments: flexjoly: tis is driving me crazy just installed the latest nightly build but this problem still occurs it mostly happens when deleting or overwriting something when it starts the error keeps coming whenever you click or type in the editor karel_barel: wrote and wanted to expand code template alied: after a refactoring Move inner to outter level mklaehn: doubleclicking in editor (happened after quite some time) Stacktrace: java.lang.AssertionError: limitOffset=73006 > docTextLength=72974 at org.netbeans.modules.editor.lib2.view.ViewBuilder.createNextView(ViewBuilder.java:348) at org.netbeans.modules.editor.lib2.view.ViewBuilder.createViews(ViewBuilder.java:291) at org.netbeans.modules.editor.lib2.view.ViewUpdates.buildViews(ViewUpdates.java:137) at org.netbeans.modules.editor.lib2.view.ViewUpdates.checkRebuild(ViewUpdates.java:574) at org.netbeans.modules.editor.lib2.view.ViewUpdates$FactoriesListener.viewFactoryChanged(ViewUpdates.java:603) at org.netbeans.modules.editor.lib2.view.EditorViewFactory.fireEvent(EditorViewFactory.java:224)
Created attachment 102789 [details] stacktrace
Created attachment 104507 [details] stacktrace to reproduce: create new ini file, select name ot the line 3 and start typing
It appears to me that this bug is related to http://netbeans.org/bugzilla/show_bug.cgi?id=187529
Created attachment 105585 [details] stacktrace - refractored (renamed) class in the src dir of web application
This bug already has 100 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=172597
*** Bug 194901 has been marked as a duplicate of this bug. ***
Any progress ? It's become really quite annoying.
I have added some extra diagnostic info so please test the new build with the integrated changeset. I'm unable to reproduce the problem, it's random - P2 priority. The steps "create new ini file, select name ot the line 3 and start typing" generate other (lexer related) exception for me. http://hg.netbeans.org/jet-main/rev/372b74854a73
Created attachment 105608 [details] stacktrace Highlighted some code and tried to delete it.
Integrated into 'main-golden', will be available in build *201102030000* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/372b74854a73 User: Miloslav Metelka <mmetelka@netbeans.org> Log: #191620 - AssertionError: limitOffset=73006 > docTextLength=72974 - more diagnostic info and locking checks.
Created attachment 105674 [details] stacktrace typing into java editor
Created attachment 105694 [details] stacktrace 1. Created a Java project 2. Registered an instance of Java derby database 3. created tables in the instance 4. Ran the Hibernate configuration, reverse engineering and mapping wizards to generate POJOs and hibernate configurations 5. Created a main class 6. Typed in Configuration configuration = new Configuration(); 7. Tried to use auto-import on the Configuration class. 8. Got this error.
*** Bug 189675 has been marked as a duplicate of this bug. ***
*** Bug 190062 has been marked as a duplicate of this bug. ***
*** Bug 192397 has been marked as a duplicate of this bug. ***
*** Bug 193858 has been marked as a duplicate of this bug. ***
*** Bug 194909 has been marked as a duplicate of this bug. ***
*** Bug 195035 has been marked as a duplicate of this bug. ***
*** Bug 195036 has been marked as a duplicate of this bug. ***
*** Bug 195038 has been marked as a duplicate of this bug. ***
*** Bug 195089 has been marked as a duplicate of this bug. ***
*** Bug 195098 has been marked as a duplicate of this bug. ***
Created attachment 105731 [details] stacktrace while editing an html file, I highlighted and hit delete to remove a comment that was ahead of the <!DOCTYPE tag. ie: <!-- blah blah blah --> <!DOCTYPE..... I highlighted the area in comments (ie: the first 3 lines) then hit the delete key, and thereafter received the exception complaint.
*** Bug 195169 has been marked as a duplicate of this bug. ***
Sorry but this is a P1. The latest build is utterly unusable. I switched back to the one of yesterday.
Agreed with P1, this is a stopper for Beta 2.
Created attachment 105741 [details] stacktrace Error occured while autocompleting a $_SESSION variable.
*** Bug 195202 has been marked as a duplicate of this bug. ***
Created attachment 105766 [details] stacktrace
*** Bug 195205 has been marked as a duplicate of this bug. ***
Created attachment 105772 [details] stacktrace Attempted to cut a selection from a file. The cut of selected text didn't respond immediately. Instead, cut entire content. Used Paste operation to restore file. Exception thrown at end of paste.
Created attachment 105773 [details] stacktrace Attempting to delete a highlighted file section by selecting multiple lines of data and hitting delete.
Created attachment 105774 [details] stacktrace Clicked within a file and received a FastItem exception
Created attachment 105775 [details] stacktrace
Created attachment 105776 [details] stacktrace
Created attachment 105777 [details] stacktrace
Created attachment 105778 [details] stacktrace
I have went through the steps to reproduce but unfortunately they do not work for me. I've also re-inspected the code again but did not find the problem's cause. Anyway I have again added some extra checks to better diagnose the problem. Please use a build that will include them. Thanks. http://hg.netbeans.org/jet-main/rev/32c605ea7182
(In reply to comment #38) > http://hg.netbeans.org/jet-main/rev/32c605ea7182 Mila, could you please integrate this logging into nb70 beta clone ASAP ? I think we will be not able to get more logging from trunk this week.
Created attachment 105794 [details] stacktrace
On my Desktop this bug appeared after upgrading from netbeans-trunk-nightly-201102040000-ml-javaee-linux.sh on 08.02.2011 via tools->plugins->... after uninstall and back to previous version seems to be OK
Related to BZ#195227
Extra checks transplanted into release70_beta2 branch: 32c605ea7182 transplanted to 0ee25ad4d026
*** Bug 195227 has been marked as a duplicate of this bug. ***
More info on this bug: Since it makes the IDE unusable and believing it was a bug in NB dev 201102080000 php linux, I made a fresh install of the 201102040000 version which has been working fine for the whole week. After the fresh install NB has been running without a glitch for at least 6 hours until I installed the latest updates. After restarting the IDE the bug is back. At this point I believe the bug is in one of the installed updates, here is a list of the available ones after a further fresh install of 201102040000: Editor [1.55.0.5.11.6 -> 1.55.0.5.12.6] Editor Formatting Prior 6.5 Separation [1.2.0.1.5.11.6 -> 1.2.0.1.5.12.6] Editor Library [3.5.0.11.6 -> 3.5.0.12.6] Editor Macros [1.11.0.1.11 -> 1.11.0.1.12] Generic Languages Framework - Refactorings [1.3.0.1] Master Filesystem [2.29 -> 2.30] Text API [6.34 -> 6.35] Versioning [1.19.0.1.42.1 -> 1.20.0.1.42.1] Versioning Support Utilities [1.13.9.42.1 -> 1.13.10.42.1] Some of them were not available at the time of the first fresh install but I can't remember which. Regards, Paolo.
100% reproducible test case on system with native file listeners: - open any NB source file - add some lines (to increase file length) - save file - from command line do "hg revert file" => 1) exception 2) file's content is not reverted 3) closing file and reopening it shows correct content, but any modification into such file are not saved to disk and work is lost
Created attachment 105817 [details] stacktrace Overtyping text in bash script
Created attachment 105823 [details] stacktrace swithced to IDE where file was opened and this file was updated externally to have different content
(In reply to comment #45) If it can be of some help: 1. fresh install of 201102040000 works fine; 2. after updating netbeans the bug is back; 3. if in the modules directory I delete the following modules updates and restart everything goes back to normal: 167455 Feb 10 02:00 org-netbeans-modules-editor-deprecated-pre65formatting.jar 829020 Feb 10 02:00 org-netbeans-modules-editor.jar 2053594 Feb 10 02:00 org-netbeans-modules-editor-lib.jar 172665 Feb 10 02:00 org-netbeans-modules-editor-macros.jar 393612 Feb 10 02:00 org-openide-text.jar
Created attachment 105828 [details] stacktrace Exception was thrown during svn switch. I asssume that it's related to problem in editor present in this build.
I was finally able to reproduce the problem! On one of the rack machines when running remotely with 'ssh -X' and it seems that I can reproduce it repeatedly. With that I hope to have a fix today.
Created attachment 105831 [details] stacktrace externally hg revert modified file
Integrated into 'main-golden', will be available in build *201102100500* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/32c605ea7182 User: Miloslav Metelka <mmetelka@netbeans.org> Log: #191620 - AssertionError: limitOffset=73006 > docTextLength=72974 - additional checks added.
Created attachment 105838 [details] stacktrace Product Version: NetBeans IDE 7.0 Beta 2 (Build 201102100000) Java: 1.6.0_23; Java HotSpot(TM) Client VM 19.0-b09 System: Windows XP version 5.1 running on x86; Cp1252; en_US (nb) Steps to reproduce: 1. Open Subversioned project 2. Change some file 3. Right click project root in Projects tab 4. From pop-up menu select Subversion > Diff 5. Diff tab is opened and exception occurs
Apologies, one of the checks added yesterday was too restrictive so I've just reverted it both in trunk: http://hg.netbeans.org/jet-main/rev/9d180dd866a5 and release70_beta2: 9d180dd866a5 transplanted to b2b61f419b3a
Apologies, 75aa5768b072 in release70_beta2 is the correct changeset in my previous post.
Once I've removed the too restrictive assert in 9d180dd866a5 I can no longer reproduce the problem :( I've attempted to make a hotfix so that we can possibly release the beta2: http://hg.netbeans.org/jet-main/rev/e58c4e54d6dd in release70_beta2: e58c4e54d6dd transplanted to 7d71b57ffd65
Installed build 201102100500 and I do not have the problem anymore. Many thanks, Angelo
*** Bug 195317 has been marked as a duplicate of this bug. ***
*** Bug 195299 has been marked as a duplicate of this bug. ***
(In reply to comment #58) > Installed build 201102100500 and I do not have the problem anymore. > Many thanks, Angelo I don't know which build you are using. I have two 20110210 builds (trunk and beta2) and this exception appears if I select any language in Formatting tab
(In reply to comment #61) > (In reply to comment #58) > > Installed build 201102100500 and I do not have the problem anymore. > > Many thanks, Angelo > I don't know which build you are using. I have two 20110210 builds (trunk and > beta2) and this exception appears if I select any language in Formatting tab I am using build 201102100500
*** Bug 195236 has been marked as a duplicate of this bug. ***
Created attachment 105858 [details] IDE log Problem persists with Build 201102100000. To reproduce: Copy textcontent in clipboard (in my case some xml). Create new wellformed xml-document. Replace existing content by ctrl-a + ctrl-v java.lang.IllegalStateException is thrown. See attached IDE log.
Why is priority back to p2? Changed back to p1. This *is* a blocker!
This is definitely P1 and a stopper for beta 2 (see #195299).
(In reply to comment #66) > This is definitely P1 and a stopper for beta 2 (see #195299). Yes, it is . Mila already integrated fix into Beta2 branch (the build will be ready in 7-9 hours) as well as in the trunk (if you want to check and verify). On behalf a QE I have to say, we will not release Beta 2 with this issue opened, don't worry.
Apologies for confusion and for the too restrictive check (already removed). The hotfix http://hg.netbeans.org/jet-main/rev/e58c4e54d6dd should hopefully eliminate the problem. I've made one more fix - views' information being logged in the exceptions no longer contains source text characters: http://hg.netbeans.org/jet-main/rev/9869710ff0c3 release70_beta2: 9869710ff0c3 transplanted to 28fdf96e5c9b The beta2 build (in progress) will contain all the mentioned fixes.
*** Bug 195313 has been marked as a duplicate of this bug. ***
Created attachment 105875 [details] stacktrace Hit enter with sime java code selected
Created attachment 105876 [details] stacktrace
Created attachment 105883 [details] stacktrace Selected some text in the editor (a Java file) and hit backspace.
Created attachment 105884 [details] stacktrace Made a CVS-Diff.
Created attachment 105886 [details] stacktrace
Created attachment 105895 [details] stacktrace CVS-Diff.
Created attachment 105904 [details] stacktrace
Created attachment 105917 [details] stacktrace Deleting an entire method that was no longer needed.
Created attachment 105918 [details] stacktrace Selecting a method and deleting it.
Created attachment 105919 [details] stacktrace same.
*** Bug 195364 has been marked as a duplicate of this bug. ***
*** Bug 195355 has been marked as a duplicate of this bug. ***
*** Bug 195353 has been marked as a duplicate of this bug. ***
*** Bug 195352 has been marked as a duplicate of this bug. ***
*** Bug 195348 has been marked as a duplicate of this bug. ***
*** Bug 195347 has been marked as a duplicate of this bug. ***
*** Bug 195335 has been marked as a duplicate of this bug. ***
*** Bug 195269 has been marked as a duplicate of this bug. ***
*** Bug 195322 has been marked as a duplicate of this bug. ***
*** Bug 195273 has been marked as a duplicate of this bug. ***
mark as fixed for Beta 2
Fix seems to work :-) Cannot reproduce with Build 201102111519. Thanks!
Reproductible with STS MAven scenario 1.11.3 - Doesn't move dependency to dependencyManagement and throw exception
*** Bug 195319 has been marked as a duplicate of this bug. ***
*** Bug 195483 has been marked as a duplicate of this bug. ***
*** Bug 195458 has been marked as a duplicate of this bug. ***
*** Bug 195332 has been marked as a duplicate of this bug. ***
*** Bug 195518 has been marked as a duplicate of this bug. ***
Integrated into 'main-golden', will be available in build *201102160501* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/9d180dd866a5 User: Miloslav Metelka <mmetelka@netbeans.org> Log: #191620 - AssertionError: limitOffset=73006 > docTextLength=72974 - removed one check that was too restrictive.
Thank you for fixing this bug. Netbeans 7.0 is coming along beautifully, and I am happily using it in production work with Spring 3.1-M1 and Hibernate 3.6.1. They themselves are bleeding-edge libraries, and it is nice to have a bleeding-edge IDE to work on them with.
*** Bug 195281 has been marked as a duplicate of this bug. ***
*** Bug 195522 has been marked as a duplicate of this bug. ***
*** Bug 195351 has been marked as a duplicate of this bug. ***
IIRC, it was not happening in NetBeans IDE Build 201101040001, started happening with NetBeans IDE Build 201101250001
*** Bug 195452 has been marked as a duplicate of this bug. ***
Increased spec version to make sure the fix gets distributed by AU: http://hg.netbeans.org/jet-main/rev/361a959288a1
Integrated into 'main-golden', will be available in build *201102180501* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/361a959288a1 User: Miloslav Metelka <mmetelka@netbeans.org> Log: #191620 - AssertionError: limitOffset=73006 > docTextLength=72974 - increased spec version to make sure the previous fix gets distributed by AU.
*** Bug 195390 has been marked as a duplicate of this bug. ***
still existant in 20110312
the duplicate detection system here is completely useless
Please do not reopen this issue. Instead please open a new one if necessary.
Could this item be closed in some way so that all the new duplicate reports won't arrive here anymore (where they are most likely ignored) ?