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.
Product Version: NetBeans IDE Dev (Build 200911030222) Java: 1.6.0_16; Java HotSpot(TM) Client VM 14.2-b01 System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb) To reproduce: - open the attached projects - select MobileApplication1 and invoke New->Java ME Client For Web Application - press Next - check any method There are two issues: - Next and Finish buttons remain disabled even if a method is checked - attempt to check more than one method in the tree fails. Only one method can be checked See attached screenshot
Created attachment 90459 [details] screenshot
Created attachment 90460 [details] sample projects
Marku, I think this is an optimization issue which was rounding around for a while.
Sorry the comment was for #175960 :)
It does not work in 6.7.1 as well. I am trying to find the root cause
It seems the events are not for some reasons propagated back to model. This can be by some change in BeanTreeView or so, I was not able to find the root cause yet
This seems to be connected with lazy nodes .. I need some help
what kind of help you need ?
I am currently not able to drill down what is the root of the issue? Any hint?
This is IDE Log when i`m trying to create Mobile Client for Web App INFO [org.netbeans.api.java.source.ElementHandle]: Cannot resolve: ElementHandle[kind=CLASS; sigs=webservice.feedback.wallet.package-info ] java.lang.Exception: Stack trace at java.lang.Thread.dumpStack(Thread.java:1206) at org.netbeans.api.java.classpath.ClassPath.getClassPath(ClassPath.java:546) at org.netbeans.api.java.source.ClasspathInfo.create(ClasspathInfo.java:263) at org.netbeans.api.java.source.ClasspathInfo.create(ClasspathInfo.java:274) at org.netbeans.modules.mobility.end2end.multiview.ServicesPanel.updateTree(ServicesPanel.java:243) at org.netbeans.modules.mobility.end2end.multiview.ServicesPanel.access$000(ServicesPanel.java:92) at org.netbeans.modules.mobility.end2end.multiview.ServicesPanel$1.run(ServicesPanel.java:104) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:577) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1030) where webservice.feedback.wallet - namespace for Web Service Reference in my Web Application. I guess the INFO block throwed exception.
Probably broken by #4e49c36ab2a7, specifically by changes in MethodCheckedNodeRenderer.getTreeCellRendererComponent(). I guess it should use 'this' and return this and not to create new MethodCheckedNodeRenderer on every call.
Created attachment 91256 [details] patch
>Probably broken by #4e49c36ab2a7, specifically by changes in >MethodCheckedNodeRenderer.getTreeCellRendererComponent(). I guess it should use >'this' and return this and not to create new MethodCheckedNodeRenderer on every >call. I think this is true. My change #4e49c36ab2a7 has introduced this issue. It was inaccurate at least. ( Methods addItemListener(), ... requires delegates ). BUT your fix is just rollback of fix #4e49c36ab2a7. As result Issue #162018 appears again.
1) Your assumption for fix #162018: "OK, I have found the problem actually . Renderer has used the same component for each cell. But component for each cell should be different." is wrong. The fix was wrong and inefficient. 2) I did not see #162018 in samples from #175979 after fix. If it appears again the issue #162018 should be reopened and re-evaluated.
Rollback 4e49c36ab2a7, CS e0718f5760fc see https://netbeans.org/bugzilla/show_bug.cgi?id=162018 for more details
Verified with NetBeans IDE Dev (Build 200911190201)
Since the changeset e0718f5760fc is part of the NeBeans IDE 6.8, the whiteboard 68patch1-candidate has been removed. If the issue #162018 should be fixed, please add the whiteboard 68patch-candidate there.