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 52166 - repeating, debilitating, CreationFailedException
Summary: repeating, debilitating, CreationFailedException
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Windows ME/2000
: P1 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-07 17:59 UTC by Michael Frisino
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
.netbeans\4.1ea1\var\log\messages.log.2 (1.32 MB, text/plain)
2004-12-07 18:00 UTC, Michael Frisino
Details
.netbeans\4.1ea1\var\log\messages.log.1 (2.39 MB, text/plain)
2004-12-07 18:00 UTC, Michael Frisino
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Frisino 2004-12-07 17:59:02 UTC
I am working with NB 4.1 EA - build 041014

This bug may be a Java and/or MDR bug.

I was trying to work with the Apache Beehive
sources, you can download them from
http://incubator.apache.org/beehive/

That source tree is pretty massive with many many
src roots. It includes many, many source files
that contain many Java 1.5 constructs, many
annotations in particular. It also contains some
Web App sources as well. And many, many ant scripts.

Before I get to the bug, let me explain how I was
working fine before I encountered the bug.

Initially, I created a simple J2SE project with
existing ant script and targeted the ultimate root
node build.xml for the entire source tree. Because
of the way I defined the project, the project tab
only shows the build.xml file. The remaining
sources are only visible under the NB Filesystems
tab, not in the project tab. 

I am noting this because with that project
organization, there were no
CreationFailedExceptions. And I was able to browse
the sources via the Filesystem successfully.

So far so good. However, I wanted to debug some
code, so I tried to create some additional
projects (also Java Project with Existing Ant
Script) and pointed to deeper sections of the
Beehive source tree, to actually define a project
with properly designated "Source Package Folder".
I also defined a Web Application with Existing
Sources", also pointing to a sub section of the
large Beehive source tree.

These new projects did include the NB 4 style
substructure of "Source Packages". 

However, the Classpath Scan reported numerous
CreationFailedExceptions. See attached
messages.log files.

These exceptions became so annoying that I first I
tried to unmount the new projects, but I was
competing for attention with the processing that
kept generating the CreationFailedExceptions.
Finally I tried to shut down studio. The shut down
process just slowed to a crawl, it was 10 minutes
trying to persist the classpath info to disk.
While it was doing this my Windows system was
nearly unusable because the CPU priority taken by
the NB process was preventing anything else from
getting CPU time. My mouse latency was totally out
of control.  Finally, I killed the process, and
this itself took several minutes to complete. It
was bad.

After that, I deleted the contents of
.netbeans\4.1ea1\var\cache and restarted the
studio. It started ok, but recall that before the
last shutdow, I had unmounted the troublesome
projects.

As I write this I have remounted those troublesome
projects and I am not getting the same exceptions.
So I am not sure how reproducible this situations
is, but it was completely debilitating when it
occurred. 

Please see attached message.log's for details.
Comment 1 Michael Frisino 2004-12-07 18:00:18 UTC
Created attachment 19182 [details]
.netbeans\4.1ea1\var\log\messages.log.2
Comment 2 Michael Frisino 2004-12-07 18:00:57 UTC
Created attachment 19183 [details]
.netbeans\4.1ea1\var\log\messages.log.1
Comment 3 Martin Matula 2004-12-07 20:38:15 UTC
This is caused by several bugs we had in 4.1ea1. These are now fixed
in both 4.0 release and 4.1 main trunk. The first bug was causing NPEs
from saving the b-tree database, the other one was causing that the
repository mount could not recover from some storage corruptions
caused by hard exit from the IDE or the corruptions caused by the
broken storage saving mechanizm.
Comment 4 Jiri Prox 2005-07-12 15:32:34 UTC
Frisino, can you verify this issue, please? Thanks.
Comment 5 Max Sauer 2007-02-14 14:20:47 UTC
Marking as verified. Obsolete since retouche intergration.
---
NetBeans IDE Dev (Build 070214)
1.6.0; Java HotSpot(TM) Server VM 1.6.0-b105
Linux version 2.6.12-1.1390_FC4smp running on i386
en_US (nb); UTF-8
Comment 6 Quality Engineering 2007-09-20 09:45:03 UTC
Reorganization of java component