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 8097 - With form module not installed, projects displays exception on startup
Summary: With form module not installed, projects displays exception on startup
Status: CLOSED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 3.x
Hardware: PC Linux
: P4 normal (vote)
Assignee: issues@projects
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-10-31 14:27 UTC by Jesse Glick
Modified: 2003-07-01 14:17 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 Jesse Glick 2000-10-31 14:27:52 UTC
If you make a build with no form module at all, upon startup you will receive
the exception:

java.io.FileNotFoundException: /space/nb/dev-oct31/beans/libs.properties (No
such file or directory)
	at java.io.FileInputStream.open(Native Method)
	at java.io.FileInputStream.<init>(FileInputStream.java:64)
	at org.netbeans.modules.projects.PSupport.findBeans(PSupport.java:488)
	at org.netbeans.modules.projects.PSupport.addBeans(PSupport.java:460)
	at org.netbeans.modules.projects.PSupport.projectOpen(PSupport.java:177)
	at org.netbeans.core.NbProjectOperation.setProject(NbProjectOperation.java:146)
	at
org.netbeans.core.NbProjectOperation.openOrCreateProject(NbProjectOperation.java:198)
	at org.netbeans.core.NonGui.run(NonGui.java:441)
	at org.netbeans.core.Main.run(Main.java:153)
	at org.openide.TopManager.initializeTopManager(TopManager.java:120)
	at org.openide.TopManager.getDefault(TopManager.java:81)
	at org.netbeans.core.Main.main(Main.java:238)
	at org.netbeans.core.TopThreadGroup.run(TopThreadGroup.java:90)
	at java.lang.Thread.run(Thread.java:484)

Of course there is no such file; the form module normally provides it. The
projects module should print a nicer message rather than this exception.
Comment 1 Martin Ryzl 2000-10-31 15:23:59 UTC
The exception is visible only if the IDE is run with
-Dnetbeans.debug.exceptions=true parameter.
BTW, this code will be removed because it is handled by form editor now.
Comment 2 Martin Ryzl 2000-11-03 17:41:59 UTC
fixed in main trunk - form editor hack removed
Comment 3 Quality Engineering 2003-07-01 14:17:23 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.