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.

Bug 101583 - IllegalArgumentException: instance of unknown FileBuffer
Summary: IllegalArgumentException: instance of unknown FileBuffer
Status: CLOSED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-18 14:33 UTC by Alexander Simon
Modified: 2007-12-06 08:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2007-04-18 14:33:11 UTC
java.lang.IllegalArgumentException: instance of unknown FileBuffer
org.netbeans.modules.cnd.modelimpl.platform.FileBufferDoc@16f0152
        at
org.netbeans.modules.cnd.modelimpl.repository.PersistentUtils.writeBuffer(PersistentUtils.java:66)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.FileImpl.write(FileImpl.java:894)
        at
org.netbeans.modules.cnd.repository.support.AbstractObjectFactory.writeSelfPersistent(AbstractObjectFactory.java:43)
        at
org.netbeans.modules.cnd.modelimpl.csm.core.CsmObjectFactory.write(CsmObjectFactory.java:321)
        at
org.netbeans.modules.cnd.repository.sfs.BufferedRWAccess.write(BufferedRWAccess.java:95)
        at
org.netbeans.modules.cnd.repository.sfs.DoubleFileStorage$Worker.put(DoubleFileStorage.java:83)
        at
org.netbeans.modules.cnd.repository.sfs.DoubleFileStorage$Worker.access$700(DoubleFileStorage.java:52)
        at
org.netbeans.modules.cnd.repository.sfs.DoubleFileStorage.put(DoubleFileStorage.java:409)
        at
org.netbeans.modules.cnd.repository.impl.FilePerUnitDiskRepositoryImpl.write(FilePerUnitDiskRepositoryImpl.java:76)
        at
org.netbeans.modules.cnd.repository.impl.DiskRepositoryManager.write(DiskRepositoryManager.java:123)
        at
org.netbeans.modules.cnd.repository.queue.RepositoryWritingThread.run(RepositoryWritingThread.java:87)
        at
org.netbeans.modules.cnd.repository.queue.RepositoryThreadManager$Wrapper.run(RepositoryThreadManager.java:62)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:499)
        at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:932)
Comment 1 Vladimir Voskresensky 2007-04-18 14:53:51 UTC
fixed:
- write buffer always as file buffer based

cvs log:
Checking in PersistentUtils.java;
/shared/data/ccvs/repository/cnd/modelimpl/src/org/netbeans/modules/cnd/modelimpl/repository/PersistentUtils.java,v
 <--  PersistentUtils.java
new revision: 1.1.2.16; previous revision: 1.1.2.15
done