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.

Bug 73719

Summary: UML Drawing Project Unexpected Exception
Product: java Reporter: bgiffin <bgiffin>
Component: UnsupportedAssignee: issues@java <issues>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P3    
Version: 5.x   
Hardware: PC   
OS: Windows XP   
Issue Type: DEFECT Exception Reporter:
Attachments: log file from netbeans

Description bgiffin 2006-03-17 18:32:12 UTC
Drawing elements deleted from drawings upon save.  Attempt to synchronize 
produces exception. 
java.lang.RuntimeException: java.lang.IllegalStateException: The model was 
modified. Unable to return start offset.
	at org.netbeans.modules.java.hints.JavaHintsProvider.getHints
(JavaHintsProvider.java:153)
	at org.netbeans.modules.editor.hints.HintsOperator$HintPopupTaskImpl.run
(HintsOperator.java:254)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:493)
[catch] at org.openide.util.RequestProcessor$Processor.run
(RequestProcessor.java:926)
Caused by: java.lang.IllegalStateException: The model was modified. Unable to 
return start offset.
	at 
org.netbeans.modules.javacore.jmiimpl.javamodel.MetadataElement.testResourceChan
ge(MetadataElement.java:1185)
	at 
org.netbeans.modules.javacore.jmiimpl.javamodel.MetadataElement.getPosition
(MetadataElement.java:519)
	at 
org.netbeans.modules.javacore.jmiimpl.javamodel.ElementFinder.getElementByOffset
(ElementFinder.java:37)
	at 
org.netbeans.modules.javacore.jmiimpl.javamodel.ResourceImpl.getElementByOffset
(ResourceImpl.java:1655)
	at org.netbeans.modules.java.hints.JavaHintsProvider.getHints
(JavaHintsProvider.java:125)
	... 3 more
Comment 1 bgiffin 2006-03-17 18:33:47 UTC
Created attachment 29298 [details]
log file from netbeans
Comment 2 Quality Engineering 2007-09-20 11:59:50 UTC
Reorganization of java component
Comment 3 Jan Becicka 2008-02-25 16:12:18 UTC
This issue is not valid in current builds any more. Java support was completely
redesigned in 6.0 time frame. Please use NetBeans 6.0 and later.