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 Dev Build 200802051752 VM: Java HotSpot TM Client VM, 10.0-b19 OS: Windows XP, 5.1, x86 User comments: editing code STACKTRACE: first 10 lines java.lang.AssertionError at com.sun.tools.javac.comp.Attr.visitNewClass Attr.java:1552 at com.sun.tools.javac.tree.JCTree$JCNewClass.accept JCTree.java:1351 at com.sun.tools.javac.comp.Attr.attribTree Attr.java:386 at com.sun.tools.javac.comp.Attr.attribArgs Attr.java:447 at com.sun.tools.javac.comp.Attr.visitNewClass Attr.java:1445 at com.sun.tools.javac.tree.JCTree$JCNewClass.accept JCTree.java:1351 at com.sun.tools.javac.comp.Attr.attribTree Attr.java:386 at com.sun.tools.javac.comp.Attr.attribExpr Attr.java:403 at com.sun.tools.javac.comp.Attr.visitReturn Attr.java:1183 at com.sun.tools.javac.tree.JCTree$JCReturn.accept JCTree.java:1220
Created attachment 56152 [details] ide log
Created attachment 56153 [details] dump file
Was editing near public SaveAction() { putValue(COMMAND_KEY, COMMAND_VALUE); }
invoked code completion for ToolBarPanel in private void initContactPersonsToolBar(UnitsMap context) { context.get(ViewUnit.class).get().getComponentByName(ToolBarPanel., componentName) }
Created attachment 58769 [details] ide log
Also after new Action[]{ in private void initContactPersonsToolBar(UnitsMap context) { context.get(ViewUnit.class).get().getComponentByName(ToolBarPanel.class, OrganizationEntityForm.CONTACT_PERSONS_TOOLBAR).setActions( new Action[]{ }); }
Near createNewDetail() in private void initContactPersonsToolBar(final UnitsMap context) { ToolBarPanel toolBar = context.get(ViewUnit.class).get().getComponentByName( ToolBarPanel.class, OrganizationEntityForm.CONTACT_PERSONS_TOOLBAR); toolBar.setActions( new Action[]{ new DefaultNewAction() { private static final long serialVersionUID = -1; @Override protected void performAction() { getBM(context).getContactPerson().getDetails().add( getBM(context).getContactPerson(). createNewDetail()); } }, new DefaultDeleteAction() { private static final long serialVersionUID = -1; @Override protected void performAction() { throw new UnsupportedOperationException( "Not supported yet."); } }, }); }
Created attachment 58814 [details] ide log
invoking code complition for getConfiguration() (look for "getco")
Created attachment 58818 [details] full file source
Created attachment 58819 [details] ide log
Created attachment 58977 [details] dump
Created attachment 58978 [details] ide log
Fixed. changeset d7f65248c0b2 in main/nb-javac details: http://hg.netbeans.org/main/nb-javac?cmd=changeset;node=d7f65248c0b2 changeset 7c479e14c4b5 in main details: http://hg.netbeans.org/main?cmd=changeset;node=7c479e14c4b5
Reopening - reproduced in NetBeans IDE Dev (Build 200810060201)
*** This issue has been marked as a duplicate of 138391 ***