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 162915 - FileNotFoundException(src\conf\AssemblyInformation.xml) while creating a new Compapp project
Summary: FileNotFoundException(src\conf\AssemblyInformation.xml) while creating a new ...
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: Composite Application (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Jun Qian
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-17 11:06 UTC by Vitaly Bychkov
Modified: 2009-04-25 01:21 UTC (History)
1 user (show)

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 Vitaly Bychkov 2009-04-17 11:06:29 UTC
While creating a new compapp project FileNotFoundException occured:
java.io.FileNotFoundException: D:\CompositeApp2\src\conf\AssemblyInformation.xml (The system cannot find the file specified)
        at java.io.FileInputStream.open(Native Method)
        at java.io.FileInputStream.<init>(FileInputStream.java:106)
        at org.netbeans.modules.compapp.projects.jbi.util.MyFileUtil.getFileChecksum(MyFileUtil.java:199)
        at
org.netbeans.modules.compapp.projects.jbi.ui.customizer.JbiProjectProperties.saveAssemblyInfo(JbiProjectProperties.java:1254)
        at org.netbeans.modules.compapp.projects.jbi.JbiProject$ProjectOpenedHookImpl$1.run(JbiProject.java:733)
        at org.openide.util.Mutex.writeAccess(Mutex.java:394)
        at org.netbeans.modules.compapp.projects.jbi.JbiProject$ProjectOpenedHookImpl.projectOpened(JbiProject.java:631)
        at org.netbeans.spi.project.ui.ProjectOpenedHook$1.projectOpened(ProjectOpenedHook.java:81)
        at org.netbeans.modules.project.ui.OpenProjectList.notifyOpened(OpenProjectList.java:1003)
        at org.netbeans.modules.project.ui.OpenProjectList.doOpenProject(OpenProjectList.java:1051)
        at org.netbeans.modules.project.ui.OpenProjectList.doOpen(OpenProjectList.java:615)
        at org.netbeans.modules.project.ui.OpenProjectList.access$1200(OpenProjectList.java:124)
        at org.netbeans.modules.project.ui.OpenProjectList$3.run(OpenProjectList.java:505)
        at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:572)
        at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:997)


Steps to reproduce:
Create a new compapp project look into log.

Reproduced with the latest soa-dev65 build (from 17 April 2009)


In result compapp project couldn't be builded because of:
ERROR: D:\CompositeApp2\src\conf\AssemblyInformation.xml is missing.
D:\My Documents\NetBeansProjects\WelcomeXsltApp\nbproject\build-impl.xml:181: Build Failure.
BUILD FAILED (total time: 0 seconds)
Comment 1 Vitaly Bychkov 2009-04-17 11:25:01 UTC
The workaround - create an empty file AssemblyInformation.xml in <compapp project>/conf/src
Comment 2 Vladimir Yaroslavskiy 2009-04-17 11:48:31 UTC
More likely the issue was caused by the changes made by Jun Qian, on April 16.

http://hg.netbeans.org/soa-dev65/rev/14f9609cce3a
http://hg.netbeans.org/soa-dev65/rev/4962713a821e

(may be not, not sure).
Comment 3 Jun Qian 2009-04-17 18:48:58 UTC
Yes, this was introduced in changeset 4962713a821e while fixing #162889.

Fixed in soa-dev65 now: http://hg.netbeans.org/soa-dev65/rev/7ad3249d6d41
Comment 4 fmartinez1 2009-04-25 01:21:59 UTC
Tested with Steps to reproduce with 20090423-0722 build. Did not encounter this problem while testing.