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.
Summary: | Reference Problem on creating Java Application | ||
---|---|---|---|
Product: | java | Reporter: | Ivan Sidorkin <ivansidorkin> |
Component: | Project | Assignee: | Tomas Zezula <tzezula> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | issues, mmirilovic |
Priority: | P3 | Keywords: | ERGONOMICS |
Version: | 6.x | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | messages.log |
Description
Ivan Sidorkin
2010-03-29 07:40:17 UTC
Created attachment 96134 [details]
messages.log
restarting NB fix the problelm Never heard of such a problem and cannot reproduce. What reference problem? reproduced on linux with Build 201003290201 reference problem: junit and junit_4 library could not found Sorry but I was not able to reproduce on Linux. If you can, please debug it. (Do those libraries in fact exist according to Library Manager?) Could be a bug in j2seproject somewhere etc. - I can't even guess. reproduced on xp with Build 20100401 Cannot reproduce using 100331 cluster.config=basic on XP. If you can only reproduce using the full IDE then you need to narrow down the problem to find who is responsible. reproducible only if ergonomics enabled I can reproduce this (in build 201004060201) even just by creating a new Java Application after starting full IDE with fresh userdir. Don't have to open NBM project. After the project is created, it complains about missing junit_4 and junit libraries, and they are not visible under Test Libraries node of the project. But the libraries are there (in Library Manager), also libs.junit_4.classpath and libs.junit.classpath are properly defined in build.properties in userdir. I can also create and run a test. Reopening the project, or creating or opening another JavaSE project in this situation leads to same "reference problems" in that project. Only restart helps. Get the same behavior if enable JavaSE in Tools|Plugins first after IDE start instead of letting that on FoD. Given these facts it seems like some projects related problem. reproduced with Product Version: NetBeans IDE 6.9 Beta (Build 201004142028) Java: 1.6.0_18; Java HotSpot(TM) Client VM 16.0-b13 System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb) by creating Java Application on fresh installation with empty userdir Seems as a race caused by FoD. Fixed jet-main 2776269b99a3 Integrated into 'main-golden', will be available in build *201004170515* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main/rev/2776269b99a3 User: Tomas Zezula <tzezula@netbeans.org> Log: #183039:Reference Problem on creating Java Application |