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 99077 - Test testWebProjectIsGCed fails
Summary: Test testWebProjectIsGCed fails
Status: RESOLVED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Mysik
URL:
Keywords: PERFORMANCE, TEST
Depends on: 70052 128661
Blocks:
  Show dependency tree
 
Reported: 2007-03-27 09:19 UTC by Radko Najman
Modified: 2008-06-24 04:28 UTC (History)
2 users (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 Radko Najman 2007-03-27 09:19:22 UTC
Just GC test failure, no functional problem.
Comment 1 David Konecny 2007-10-22 10:10:42 UTC
Commenting test out for now.

Checking in test/unit/src/org/netbeans/modules/web/project/WebProjectTest.java;
new revision: 1.6; previous revision: 1.5
Comment 2 David Konecny 2008-02-28 06:27:38 UTC
Performance issue - just uncomment test when leaks are resolved.
Comment 3 Tomas Mysik 2008-02-28 07:40:18 UTC
The test is still failing. Davide, what do you mean about this? Looks like a memory leak in GSF - am I right?

private static org.netbeans.modules.gsfpath.api.classpath.GlobalPathRegistry 
org.netbeans.modules.gsfpath.api.classpath.GlobalPathRegistry.DEFAULT->
org.netbeans.modules.gsfpath.api.classpath.GlobalPathRegistry@1b07961-paths->
java.util.HashMap@2fab89-table->
[Ljava.util.HashMap$Entry;@1d93fe7-[13]->
java.util.HashMap$Entry@b2b928-value->
java.util.ArrayList@2f8262-elementData->
[Ljava.lang.Object;@7b6097-[0]->
org.netbeans.modules.gsfpath.api.classpath.ClassPath@e0ce0f-impl->
org.netbeans.modules.web.project.GsfBootClassPathImplementation@322f85-evaluator->
org.netbeans.spi.project.support.ant.PropertyUtils$SequentialPropertyEvaluator@beb1c4-listeners->
java.util.ArrayList@1c6ac9-elementData->
[Ljava.lang.Object;@e8dfb1-[3]->
org.netbeans.modules.web.project.ProjectWebModule@15419bb-project->
org.netbeans.modules.web.project.WebProject@1bbdd48)
Comment 4 Jiri Prox 2008-04-11 01:14:38 UTC
moving opened issues from TM <= 6.1 to TM=Dev
Comment 5 Tomas Mysik 2008-06-23 14:42:31 UTC
Seems to be fixed again.

http://hg.netbeans.org/main/rev/abb6ddb8290b
Comment 6 Quality Engineering 2008-06-24 04:28:08 UTC
Integrated into 'main-golden', available in NB_Trunk_Production #278 build
Changeset: http://hg.netbeans.org/main/rev/abb6ddb8290b
User: Tomas Mysik <tmysik@netbeans.org>
Log: Seems to be fixed #99077: Test testWebProjectIsGCed fails

So the test can be activated again.