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 67729 - Cannot work with project in project view
Summary: Cannot work with project in project view
Status: VERIFIED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: EJB Freeform (show other bugs)
Version: 5.x
Hardware: All All
: P2 blocker (vote)
Assignee: Andrei Badea
URL:
Keywords:
: 67651 67920 67932 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-10-28 13:52 UTC by Lukas Jungmann
Modified: 2005-12-21 14:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
test project (1.65 KB, application/octet-stream)
2005-10-28 13:54 UTC, Lukas Jungmann
Details
whole nbproject (3.07 KB, application/octet-stream)
2005-10-31 23:02 UTC, Lukas Jungmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lukas Jungmann 2005-10-28 13:52:33 UTC
[build 200525101800]

-have attached project (only skeleton) and let's create ejb-freeform from it

In the New EJB with ex. ant script wizard:
1st panel - pick project dir, next
2st panel - next
3rd panel - set Server resources folder to "conf" (same value as for conf
files), leave SJS appserver as server type, next
4th panel - add src/beans, src/java, src/websvc to src pkg folders, _remove_ "."
from there and add src/test to test pkg folders, set src level to 1.4, next
5th panel - Finish

=> "." directory is between project sources, although i explicitly removed it
from there, so remove it again from project sources through project properties
and press OK

=> java.lang.AssertionError and user is not able to work with this project from
project tab
	at
org.netbeans.modules.j2ee.ejbfreeform.EJBProjectNature.createSourceFolderView(EJBProjectNature.java:119)
	at
org.netbeans.modules.ant.freeform.ui.View$RootChildren.createNodes(View.java:191)
	at org.openide.nodes.Children$Keys$KE.nodes(Children.java:2136)
...
Comment 1 Lukas Jungmann 2005-10-28 13:54:15 UTC
Created attachment 26425 [details]
test project
Comment 2 Andrei Badea 2005-10-28 17:05:47 UTC
Very likely duplicate of issue 67651. Please attach the nbproject directory so
that I'm able to confirm it.
Comment 3 Lukas Jungmann 2005-10-31 23:01:54 UTC
I'm attaching whole project, so you should be able to reproduce this by opening
it in IDE and expanding project root node in prj logical view. And have to
confirm that it seems like a dup of 67651.
Comment 4 Lukas Jungmann 2005-10-31 23:02:44 UTC
Created attachment 26505 [details]
whole nbproject
Comment 5 Andrei Badea 2005-11-01 09:45:57 UTC
The AssertionError is caused by the invalid content of the classpath element in
project.xml. Very likely duplicate of 67651, but waiting for the reporter of
67651 to attach his project just to be sure.
Comment 6 Andrei Badea 2005-11-01 17:39:02 UTC
*** Issue 67920 has been marked as a duplicate of this issue. ***
Comment 7 Andrei Badea 2005-11-01 18:55:35 UTC
*** Issue 67932 has been marked as a duplicate of this issue. ***
Comment 8 Andrei Badea 2005-11-13 19:41:32 UTC
Fixed.

Checking in src/org/netbeans/modules/j2ee/ejbfreeform/EJBModules.java;
/cvs/j2ee/ejbfreeform/src/org/netbeans/modules/j2ee/ejbfreeform/EJBModules.java,v
 <--  EJBModules.java
new revision: 1.6; previous revision: 1.5
done
Checking in src/org/netbeans/modules/j2ee/ejbfreeform/ui/EJBLocationsPanel.java;
/cvs/j2ee/ejbfreeform/src/org/netbeans/modules/j2ee/ejbfreeform/ui/EJBLocationsPanel.java,v
 <--  EJBLocationsPanel.javanew revision: 1.20; previous revision: 1.19
done
Comment 9 Andrei Badea 2005-11-13 19:48:51 UTC
*** Issue 67651 has been marked as a duplicate of this issue. ***
Comment 10 Lukas Jungmann 2005-12-21 14:35:40 UTC
v.