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.
Summary: | java.io.NotSerializableException: org.openide.modules.Dependency | ||
---|---|---|---|
Product: | platform | Reporter: | jonast <jonast> |
Component: | Module System | Assignee: | Jaroslav Tulach <jtulach> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | CC: | ajpetersen, jglick, oj-nb, raf1hh |
Priority: | P3 | ||
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
URL: | http://statistics.netbeans.org/exceptions/detail.do?id=149226 | ||
Issue Type: | DEFECT | Exception Reporter: | 149226 |
Bug Depends on: | |||
Bug Blocks: | 160390 | ||
Attachments: |
stacktrace
stacktrace |
Description
jonast
2009-05-19 13:22:01 UTC
Created attachment 82385 [details]
stacktrace
Build: NetBeans IDE Dev (Build 200904011705) VM: Java HotSpot(TM) Client VM, 11.0-b11, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b22 OS: Windows 2003, 5.2, x86 User Comments: Stacktrace: java.io.NotSerializableException: org.openide.modules.Dependency at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) at java.util.HashSet.writeObject(HashSet.java:267) at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:0) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) Created attachment 82450 [details]
stacktrace
Jardo, in 6.7 (April/2009) you changed o.o.m.Dependency to be Serializable. An incompatible change? Last user is updating core modules from nbms-and-javadoc: org.openide.modules [7.9 200903310200] org.netbeans.core.startup/1 [1.16.0.1 nbms-and-javadoc-3287-on-090611] Yarda's change was diachronically incompatible: a new version of core.startup began relying on a new aspect of openide.modules (that Dependency implements Serializable) yet did not declare this fact using a version dependency. core-main#1f135ceaac3d You probably also want to incr the version of core.startup so as to push that to users, forcing an update of openide.modules as well. Patch candidate, I think; easy fix and there are a lot of dupes. Integrated into 'main-golden', will be available in build *200907250201* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/1f135ceaac3d User: Jaroslav Tulach <jtulach@netbeans.org> Log: #165493: core.startup needs openide.modules in version 7.10 to work correctly |