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 6.7 RC1 (Build 200905280001) Java: 1.6.0_13; Java HotSpot(TM) Client VM 11.3-b02 System: Linux version 2.6.28-11-generic running on i386; UTF-8; en_US (nb) 1. Open "New Kenai Project" or "Share on Kenai" wizard -> java.lang.NoSuchFieldException: href at java.lang.Class.getField(Class.java:1520) [catch] at org.codeviation.pojson.Handlers$PojoInfo.addValue(Handlers.java:334) at org.codeviation.pojson.Handlers$Generic.addValue(Handlers.java:127) at org.codeviation.pojson.Handlers$Generic.string(Handlers.java:95) at org.codeviation.pojson.Parser.handleSimpleValue(Parser.java:287) at org.codeviation.pojson.Parser.parse(Parser.java:200) at org.codeviation.pojson.Parser.parse(Parser.java:92) at org.codeviation.pojson.Parser.parse(Parser.java:87) at org.codeviation.pojson.PojsonLoad.update(PojsonLoad.java:102) at org.codeviation.pojson.PojsonLoad.load(PojsonLoad.java:81) at org.codeviation.pojson.PojsonLoad.load(PojsonLoad.java:108) at org.netbeans.modules.kenai.KenaiREST.loadPage(KenaiREST.java:169) at org.netbeans.modules.kenai.KenaiREST.getServices(KenaiREST.java:182) at org.netbeans.modules.kenai.api.Kenai.getServices(Kenai.java:239) at org.netbeans.modules.kenai.ui.SourceAndIssuesWizardPanelGUI$3.run(SourceAndIssuesWizardPanelGUI.java:202) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:577) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1030)
Caused by API change on kenai: http://kenai.com/jira/browse/KENAI-724 fixed in cdev 72988005dd53 Fix is safe, I just added annotations to ignore unknown (non existing) fields.
Thanks, Honza... This must go in 6.7... Hopefully there are no more API changes in the next few weeks...
I have tested the fix (JAR) with: Product Version: NetBeans IDE 6.7 RC1 (Build 200905280001) Java: 1.6.0_13; Java HotSpot(TM) Client VM 11.3-b02 System: Linux version 2.6.28-11-generic running on i386; UTF-8; en_US (nb) It seems to work well, please submit the change for the review and transplant it in 6.7.
I have reviewed the fix.
http://hg.netbeans.org/release67/rev/360feb852f43
Integrated into 'main-golden', will be available in build *200905290201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/72988005dd53 User: Jan Becicka <jbecicka@netbeans.org> Log: #166158: Exception when invoking "New Kenai project" or "Share on Kenai"
Verified in: Product Version: NetBeans IDE 6.7 RC1 (Build 200905282243) Java: 1.6.0_13; Java HotSpot(TM) Client VM 11.3-b02 System: Linux version 2.6.28-11-generic running on i386; UTF-8; en_US (nb)