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.
Created attachment 118404 [details] Message and stack trace Message is printed to IDE log "Problem when deserializing TopComponent for tcID:'LogsTopComponent'". To reproduce: - start IDE with empty userdir - go to services tab - right-click Srvers tab and choose Add Server - select JBoss and click Next - message in attachment is printed to the IDE log while Java EE feature is being enabled Product Version: NetBeans IDE Dev (Build 201204160400) Java: 1.7.0_04; Java HotSpot(TM) 64-Bit Server VM 23.0-b21 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
Two things which puzzle me: * exception is result of deserialization of Windows2Local/Components/LogsTopComponent.settings *BUT* you are saying you've started with empty usedir? * org.netbeans.modules.cloud.oracle.ui.LogsComponent (cloud.oracle module) is annotated with "@TopComponent.Description(preferredID = "LogsTopComponent", persistenceType = TopComponent.PERSISTENCE_NEVER)" and therefore should have never been persistence in first place, no? Could somebody from window system comment on my second point please?
(In reply to comment #1) > Two things which puzzle me: > > * exception is result of deserialization of > Windows2Local/Components/LogsTopComponent.settings *BUT* you are saying you've > started with empty usedir? On the first IDE startup the whole content of Windows2 folder from XML layers is copied to Windows2Local folder in user dir. > > * org.netbeans.modules.cloud.oracle.ui.LogsComponent (cloud.oracle module) is > annotated with "@TopComponent.Description(preferredID = "LogsTopComponent", > persistenceType = TopComponent.PERSISTENCE_NEVER)" and therefore should have > never been persistence in first place, no? > > Could somebody from window system comment on my second point please? Non-persistent TCs should not have any .settings file in XML layer, fixed in core-main 319cceb6990d
Integrated into 'main-golden', will be available in build *201204260400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/319cceb6990d User: S. Aubrecht <saubrecht@netbeans.org> Log: #211331 - don't generate .settings file for non-persistent TCs
I had to revert this fix as it caused #216037 The fix for this issue is either to provide non-args ctor to LogsComponent or don't use annotations. It isn't need in this case anyway.
Integrated into 'releases', will be available in build *201209010822* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/eea17d04340e User: S. Aubrecht <saubrecht@netbeans.org> Log: reverting fix for #211331 (transplanted from f6df55211b110a33758af44199e2f008704ece46)
I don't see that exception any more in Product Version: NetBeans IDE Dev (Build 20120910-e98acef88a82) Java: 1.7.0_06; Java HotSpot(TM) 64-Bit Server VM 23.2-b09 System: Windows 7 version 6.1 running on amd64; Cp1250; en_US (nb)
*** Bug 219708 has been marked as a duplicate of this bug. ***
Still reproducible in build NetBeans IDE 7.2.1 (Build 201210021948) (#da49d69f3c5b).
Created attachment 125618 [details] IDE log.
This was reproduced while testing Cloud support with NB 7.2.1 ... so it might not be fixed in release72 branch ... Standa, could you please doubleckeck ? Thanks in advance.
core-main cb162e96a45f The error message in the log is totally harmless and safe to ignore...
Integrated into 'main-golden', will be available in build *201210120002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/cb162e96a45f User: S. Aubrecht <saubrecht@netbeans.org> Log: #211331 - don't register TC in XML layers