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.
First there is an exception in request processor thrown. (Saying something about invalid MOFID) and then after a while the IDE stops working because of an infinite loop. I even tried to delete the MDR cachec completely and restart the IDE but it did not help. (Same behavior). Will attach ziped log.
Created attachment 16239 [details] Log of the IDE (bzip2 compressed)
Seems the problem is caused by matching of the FieldGroup. There is a problem probably when one tries to change type of the FieldGroup or when a field in a field group has a different type than the field group itself (e.g. int a[], b - in this case field group is of type int but field a is of type int[]) and the type is changed. Changing of modifiers or type of the field group should be specially handled in matching of fields. From looking at the source code I found that we also need to fix setType method in field and not split the field group if the new field type is not different from the field group's type or if it just differs by number of dims.
Created attachment 16243 [details] The nasty source
Fixed in trunk. Checking in FieldImpl.java; /cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/ FieldImpl.java,v <-- FieldImpl.java new revision: 1.9; previous revision: 1.8 done
Petre, please verify this issue, thanks.
v
Reorganization of java component