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 113259 - cant RE Java Project on Unix based OS's
Summary: cant RE Java Project on Unix based OS's
Status: VERIFIED FIXED
Alias: None
Product: uml
Classification: Unclassified
Component: Reverse Engineering (show other bugs)
Version: 6.x
Hardware: Sun Solaris
: P1 blocker (vote)
Assignee: Kris Richards
URL:
Keywords:
: 113118 113218 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-08-20 21:31 UTC by Kris Richards
Modified: 2007-10-19 21:06 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 Kris Richards 2007-08-20 21:31:25 UTC
Reproduce:
* Create Java Application Project
* Add a class to the project
* RE the project

Result: 
On unix based machines, the model is empty. On solaris the following exception is thrown.

java.io.FileNotFoundException: /home/gvasick/.netbeans/dev/.uml/config/UML_2.0EMBT.dtd (No such file or directory)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at org.netbeans.modules.uml.core.metamodel.core.foundation.UMLXMLManip.copyFile(UMLXMLManip.java:2708)
        at org.netbeans.modules.uml.core.metamodel.core.foundation.UMLXMLManip.verifyDTDExistence(UMLXMLManip.java:2681)
        at org.netbeans.modules.uml.core.metamodel.structure.Project.verifyDTDExistence(Project.java:644)
        at org.netbeans.modules.uml.core.metamodel.structure.Project.validateDTDSettings(Project.java:589)
        at org.netbeans.modules.uml.core.metamodel.structure.Project.internalSave(Project.java:1781)
        at org.netbeans.modules.uml.core.metamodel.structure.Project.internalPreCommit(Project.java:1699)
        at org.netbeans.modules.uml.core.metamodel.structure.Project.save(Project.java:269)
        at org.netbeans.modules.uml.core.Application.saveProject(Application.java:444)
        at org.netbeans.modules.uml.ui.products.ad.applicationcore.ADApplication.saveProject(ADApplication.java:402)
        at org.netbeans.modules.uml.project.UMLProjectHelper.saveProject(UMLProjectHelper.java:321)
        at org.netbeans.modules.uml.project.UMLProject.saveProject(UMLProject.java:432)
        at org.netbeans.modules.uml.project.UMLProjectGenerator.createEmptyProject(UMLProjectGenerator.java:275)
        at org.netbeans.modules.uml.project.UMLProjectGenerator.createRevEngProject(UMLProjectGenerator.java:200)
        at org.netbeans.modules.uml.integration.netbeans.actions.ReverseEngineerAction.createNewUMLProject(ReverseEngineerAction.java:511)
        at org.netbeans.modules.uml.integration.netbeans.actions.ReverseEngineerAction.access$300(ReverseEngineerAction.java:81)
        at org.netbeans.modules.uml.integration.netbeans.actions.ReverseEngineerAction$1.run(ReverseEngineerAction.java:478)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
WARNING [org.openide.loaders]: Should override getLookup() in class org.netbeans.modules.java.JavaDataObject, e.g.: 
[MultiDataObject.this.]getCookieSet().getLookup()
INFO [org.netbeans.modules.editor.settings.storage.SettingsProvider]: Won't provide any settings for text/base It's been deprecated, use MimePath.EMPTY 
instead.
INFO [org.netbeans.modules.java.source.usages.SymbolDumper]: Unhandled ElementKind: STATIC_INIT
WARNING [org.netbeans.modules.j2ee.metadata.model.api.support.annotation.AnnotationScanner]: findAnnotations: could not find type 
javax.persistence.Entity
WARNING [org.netbeans.modules.j2ee.metadata.model.api.support.annotation.AnnotationScanner]: findAnnotations: could not find type 
javax.persistence.Embeddable
WARNING [org.netbeans.modules.j2ee.metadata.model.api.support.annotation.AnnotationScanner]: findAnnotations: could not find type 
javax.persistence.MappedSuperclass
Comment 1 Sherry Zhou 2007-08-20 22:13:07 UTC
*** Issue 113218 has been marked as a duplicate of this issue. ***
Comment 2 Craig Conover 2007-08-21 00:15:42 UTC
fixed.
Comment 3 Craig Conover 2007-08-21 00:16:40 UTC
fixed.
Comment 4 Craig Conover 2007-08-21 00:17:50 UTC
fixed
Comment 5 Sherry Zhou 2007-08-21 19:40:16 UTC
verified on hudson trunk build 2672, on Solaris sparc, linux and Mac
Comment 6 George Vasick 2007-08-22 19:40:02 UTC
*** Issue 113118 has been marked as a duplicate of this issue. ***