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 8077

Summary: Serialization/Comaptibility Problem
Product: projects Reporter: dmladek <dmladek>
Component: Generic InfrastructureAssignee: issues@projects <issues>
Status: CLOSED WONTFIX    
Severity: normal    
Priority: P4    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: ide.log
archive of project from FFJ release 2, beta IE
archiv of Projects from 1130CE build

Description dmladek 2000-10-29 17:33:32 UTC
[1130CE]->[FFJ Release 2 Beta IE](1099fIE)
jdk1.3.0-fcs
==========================================

It seems I downgrading. Maybe...
I created project in 1130CE build (using CVS FS).
Saved a project.
ran 1099j build and tried to Import Project from 1130CE.
I've got a lot of exceptions which are attached.
also my Project folder is attached.
Comment 1 dmladek 2000-10-29 17:34:59 UTC
Created attachment 221 [details]
ide.log
Comment 2 dmladek 2000-10-29 17:37:59 UTC
Created attachment 222 [details]
archive of project from FFJ release 2, beta IE
Comment 3 dmladek 2000-10-29 17:39:59 UTC
Created attachment 223 [details]
archiv of Projects from 1130CE build
Comment 4 Jesse Glick 2000-10-30 11:09:59 UTC
Most of it seems to be some bug in projects module.

There is also EditorSupport.DelEnv missing or somesuch, but since EditorSupport
stuff in general is broken between beta1 and beta2 I think this will not be
fixed.
Comment 5 Martin Ryzl 2000-10-30 17:41:59 UTC
Nice. Stack trace contain many different exceptions. I will comment only
projects related (BTW, is it necessary to include whole ide.log???):

1) java.lang.ClassNotFoundException:
org.netbeans.modules.projects.DumbXMLDataLoader
        at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
....

This exception should not be visible for the user (unless he use
-Dnetbeans.debug.exceptions). It is a general problem of marking files with
certain type of data loader. It is a question whether to change replace
DumbXMLDataLoader by DefaultClassLoader. Problem is that text module adds a
special action that makes possible to convert a default DO to text DO. :(((

2) Sun Oct 29 18:23:30 GMT+01:00 2000java.io.IOException: Cannot find:
nbfs:/QBusrQBlocalQBforteQB1130CEQBsystemQBProjects/Testing Projects/cpanel.xml
java.io.IOException: Cannot find:
nbfs:/QBusrQBlocalQBforteQB1130CEQBsystemQBProjects/Testing Projects/cpanel.xml
        at
org.openide.execution.NbfsURLConnection.connect(NbfsURLConnection.java:109)
        at
org.openide.execution.NbfsURLConnection.getInputStream(NbfsURLConnection.java:11
8)
        at java.net.URL.openStream(URL.java:798)
        at
org.netbeans.modules.xml.XMLDataObject.createFileInputSource(XMLDataObject.java:
461)
        at
org.netbeans.modules.xml.XMLDataObject.createFileStringSource(XMLDataObject.java
:471)

...

this is a bug caused by projects module from 1099 build and IE XML Module - it
is already fixed in latter builds.

3) Sun Oct 29 18:24:43 GMT+01:00 2000java.lang.NullPointerException:
org.netbeans.modules.projects.DumbXMLDataLoader
java.lang.NullPointerException
        at
org.openide.filesystems.FileSystemCapability$2.accept(FileSystemCapability.java:
74)
        at
org.openide.util.enum.FilterEnumeration.getNext(FilterEnumeration.java:58)
        at
org.openide.util.enum.FilterEnumeration.hasMoreElements(FilterEnumeration.java:7
0)
        at
org.openide.execution.NbClassLoader.createRootURLs(NbClassLoader.java:132)
        at org.openide.execution.NbClassLoader.<init>(NbClassLoader.java:52)
        at
org.netbeans.core.ClassLoaderSupport.<init>(ClassLoaderSupport.java:71)

....
It seems strange but it seems more like a bug in core - I was not able to
reproduce it [WinNT + 1099f].
Comment 6 dmladek 2000-10-30 21:51:59 UTC
(BTW, is it necessary to include whole ide.log???)
I appologize for that. It wasn't. This bug I reported just if you'll be able
to fix something from attached exceptions. (without any comments how to
reproduce, etc. 'cause I don't know it.) So, I decided to attache whole log
and hope You will filter useful info for you.
But if it's aditional work(big) than I'm going next time to do it for you:)
Comment 7 Quality Engineering 2003-07-01 14:17:52 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.