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 80520 - The sample project Travel Reservation Service under Service Oriented Architecture of netbeans eterprise pack gives exception while opening
Summary: The sample project Travel Reservation Service under Service Oriented Architec...
Status: VERIFIED FIXED
Alias: None
Product: usersguide
Classification: Unclassified
Component: SOA (show other bugs)
Version: 5.x
Hardware: Other Windows XP
: P1 blocker (vote)
Assignee: Praveen Savur
URL:
Keywords:
: 81991 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-07-18 23:53 UTC by malkit
Modified: 2006-10-12 10:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE Log file (114.57 KB, text/plain)
2006-07-18 23:54 UTC, malkit
Details
The exceptions that Manish got (12.39 KB, text/plain)
2006-08-03 00:08 UTC, _ hong_lin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description malkit 2006-07-18 23:53:29 UTC
Got the following exception as attached.

Relevent facts:
Tested on vetted builds 200607170000 obtained from
http://balui.sfbay.sun.com/kits/oriondev/main/latestvetted/installers/

1. I was not able to open other same projects under Service Oriented
Archtecture, got similar exception
2. I am BPEL service engine component developer (runtime) and was able to open
the other projects that i created.
3. Did not use the default location for installing the netbeans used
C:\J2EE_Coke\vetted0717\netbeans-5.5beta2 location.
Comment 1 malkit 2006-07-18 23:54:50 UTC
Created attachment 31979 [details]
IDE Log file
Comment 2 Michael Frisino 2006-07-21 13:53:09 UTC
Can anyone else in QE reproduce this problem?

 We need to know if this problem is specific to environment.
Comment 3 _ hong_lin 2006-07-22 01:24:15 UTC
Did you open an existing TRS sample app that you created before?

Did you start your IDE with an old userdir, which was created by an older
version IDE?

Do you get the same exception when you create a new TRS sample?
Comment 4 _ hong_lin 2006-07-22 01:27:17 UTC
I tried to create TRS sample on build 060719 (milestone build 16) and soa auto
build 060721_24, without getting any exception.
Comment 5 malkit 2006-07-22 03:38:55 UTC
I created fresh installation of netBeans and also removed .netbeans from my home
directory. When I tried to open the sample project Travel Reservation Service I
got the exception as stated. 

I am trying to open the sample project packaged with the netBeans. Just click
open new project and then select sample and under SOA you will find this project.

I got the Build 060721_24 build and test out.

I noticed that I am able to open the TRS Project for the default user home
location, but if I go more than two or three level deep for any other location I
get the exception. For example for me it is opening fine If I pick C:\Documents
and Settings\mbhasin but fails if I pick C:\alaska\jbicomps\test, I get the
exception. 

Can you please verify that you don’t have such issues.
Comment 6 _ hong_lin 2006-07-26 22:08:15 UTC
I still can't get this exception, even I tried to create the TRS sample under 
C:\Temp\TRS\test directory.
The build I tested is nightly build 060725.
Comment 7 Mikhail Kondratyev 2006-07-27 10:25:44 UTC
Seems the bug can't be reproduced (TRS opens successfully for me too)
Resolving issue as WORKSFORME
Comment 8 _ hong_lin 2006-07-28 02:30:39 UTC
I saw Malkit reproduced the exception on two different machines with nightly
build 060721. Both installation are clean. But I can't reproduce it on my machines.

I would like to re-open the bug and lower the priority to P3. Because it is not
easy to reproduce, but it exist. 

Malkit promised to try that with latest nightly 060727_3.
Comment 9 _ hong_lin 2006-08-03 00:03:07 UTC
Upgraded this bug back to P1. 

Mike, Manish got this issue as well. Would you please take a look at this bug 
again?
Comment 10 _ hong_lin 2006-08-03 00:08:27 UTC
Created attachment 32464 [details]
The exceptions that Manish got
Comment 11 Manish Malhotra 2006-08-03 00:54:03 UTC
Reproducable consistently on my laptop, which is avail for borrowing if needed.
I see the exception for all EntPack samples, but not those included from NB beta 2.
Comment 12 Michael Frisino 2006-08-03 08:27:41 UTC
Manish, can you describe your builld or install procedure. Is it possible that
you r install was not clean and there is some collision/merge of older bits and
new bits?
Comment 13 Michael Frisino 2006-08-03 08:30:15 UTC
I ask this because in my case it was clearly due to a imperfect CVS update plus
build that resulted in my exceptions.

I assume you are working with installer version, but you have also been
re-installing several times. And this could be related to some garbage being
left over in either the install dir or the user dir.
Comment 14 Manish Malhotra 2006-08-04 00:23:35 UTC
yes, yes, yes and yes. Praveen is looking into this, but indeed I see this w/
M17 installer and fresh/clean install.
Comment 15 Praveen Savur 2006-08-04 00:54:50 UTC
On Manish machine this is very reproducible and repeatable. Tried on a clean
install with a clean user directory.

The reason could be a machine/processor issue because the first project (bpel
module project) is not immediately seen on creation. So when the second compapp
project creation goes and asks for the first project's directory it is null.

To keep the risk minimum, the fix only applies in cases where the directory
turns out to be null. 

Going forward we can always use the directory from the project wizard, so that
we do not have to ask the first project for its directory. 

Comment 16 Praveen Savur 2006-08-11 00:25:42 UTC
*** Issue 81991 has been marked as a duplicate of this issue. ***
Comment 17 lchang 2006-09-06 00:15:00 UTC
I have the exact same problem as Malkit.

- If I accept the default project location, I can open any sample project fine.
- If I change the project location to: C:\Alaska\jbicomps\test\bpelse\assign, 
I get the exception.  (The project location was created as a result to a CVS 
checkout.)
- When I try to reproduce the same problem by manually creating the same level 
of directories without CVS checkout "C:\temp\jbicomps\test\bpelse\assign", 
then there is no problem.  
- If I copy/paste the CVS repository just as a dummy repository 
to "C:\temp\jbicomps\test\bpelse\assign\CVS, then I get the exception again.
Comment 18 lchang 2006-09-06 00:15:13 UTC
comment above is on the 0905 build.
Comment 19 Mikhail Kondratyev 2006-10-12 10:48:57 UTC
Can not reproduce the problem in m22
Will close as verified