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 75478 - AE while creating new project
Summary: AE while creating new project
Status: VERIFIED FIXED
Alias: None
Product: javaee
Classification: Unclassified
Component: App Client (show other bugs)
Version: 5.x
Hardware: All All
: P1 blocker (vote)
Assignee: Martin Krauskopf
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-04-25 11:55 UTC by Lukas Jungmann
Modified: 2006-05-17 02:21 UTC (History)
4 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 Lukas Jungmann 2006-04-25 11:55:10 UTC
[200604250200]

-Create new ejb module

=> java.lang.AssertionError: Java Extent for classpath root
D:\test\prjs\EJBModule1\src\java wasn't resolved. Probably called BEFORE the
root was added to GlobalPathRegistry?
	at
org.netbeans.modules.j2ee.metadata.NNMDRListener.resolveType(NNMDRListener.java:264)
	at
org.netbeans.modules.j2ee.metadata.NNMDRListener.getAnnotationUsages(NNMDRListener.java:246)
	at
org.netbeans.modules.j2ee.metadata.NNMDRListener.access$300(NNMDRListener.java:53)
	at org.netbeans.modules.j2ee.metadata.NNMDRListener$1.run(NNMDRListener.java:227)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:493)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:926)
Comment 2 Lukas Jungmann 2006-04-27 11:35:04 UTC
v.
Comment 3 Lukas Jungmann 2006-05-02 14:03:25 UTC
happening also in appclient project
Comment 4 Lukas Jungmann 2006-05-02 14:04:39 UTC
You can try to use Martin's fix for ejb project... ;)
Comment 5 Martin Adamek 2006-05-02 14:45:59 UTC
It is important to remove this call from generator, it should be called in
ProjectOpenHook AFTER classpath roots are added to global path registry. Should
be done also for Web project.
Comment 6 Martin Krauskopf 2006-05-02 15:28:07 UTC
Really P1? Project is otherwise "successfully" created. But maybe it does not
work correctly?....
Comment 7 Martin Krauskopf 2006-05-02 15:28:55 UTC
Thanks for the clue....
Comment 9 Martin Krauskopf 2006-05-03 09:13:52 UTC
release55
  clientproject/AppClientProject.java; 1.1.4.15 -> 1.1.4.16;
  clientproject/api/AppClientProjectGenerator.java; 1.1.4.12 -> 1.1.4.13;

release55_beta
  clientproject/AppClientProject.java; 1.1.4.14 -> 1.1.4.14.2.1;
  clientproject/api/AppClientProjectGenerator.java; 1.1.4.12 -> 1.1.4.12.2.1;
Comment 10 Lukas Jungmann 2006-05-17 02:21:30 UTC
v.