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 35477 - NPE , IAE from Add Source to Project....
Summary: NPE , IAE from Add Source to Project....
Status: VERIFIED WORKSFORME
Alias: None
Product: platform
Classification: Unclassified
Component: Filesystems (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: rmatous
URL:
Keywords: RANDOM
Depends on:
Blocks:
 
Reported: 2003-08-19 09:44 UTC by dmladek
Modified: 2008-12-22 19:35 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
first stacktrace of NPE (2.15 KB, text/plain)
2003-08-19 09:45 UTC, dmladek
Details
second stacktrace of IAE (1.23 KB, text/plain)
2003-08-19 09:45 UTC, dmladek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description dmladek 2003-08-19 09:44:40 UTC
Product Version       = NetBeans IDE Dev (Build
200308190000)
  Operating System      = Linux version
2.4.20-18.9 running on i386
  Java; VM; Vendor      = 1.4.2; Java HotSpot(TM)
Client VM 1.4.2-b28; Sun Microsystems Inc.
  Java Home             =
/usr/local/java/j2sdk1.4.2/jre
  System Locale; Encod. = cs_CZ; ISO-8859-2
  Home Dir; Current Dir = /usr/local/home/delphym;
/usr/local/forte/forte3/NBdev-last/netbeans-prj40/bin
  IDE Install; User Dir =
/usr/local/forte/forte3/NBdev-last/netbeans-prj40;
/usr/local/home/delphym/.netbeans/dev-prj40
-------------------------------------------------------------------------------

In Sample Project...
 On Sources node I perform popup Add...
I went throuh the Add to Project wizard:
 step 1.  Java Package Root
 step 2.  I selected autorecognized CVS directory
          (formely the CVS Working dir) which
contained
          sources of netbeans.
          When I press NEXT but. the NPE was thrown
          but I could continue
 step 3.  lots of Discovered Java PAckage Roots
were finded
          After I pressed FINISH but. the IAE was
thrown...
     
But some new nodes under 
Sample Proj
 |-Sources
     |-Packages
were added....
Comment 1 dmladek 2003-08-19 09:45:09 UTC
Created attachment 11352 [details]
first stacktrace of NPE
Comment 2 dmladek 2003-08-19 09:45:36 UTC
Created attachment 11353 [details]
second stacktrace of IAE
Comment 3 dmladek 2003-08-19 10:18:26 UTC
Seems like it doesn't occure always.... and the NPE doesn't always
occur exactly on the second step. But also it occured when ide was
searching for the source roots javapackages in the step 3.
Comment 4 dmladek 2003-08-19 17:58:05 UTC
I was litle bit mistaken... This happen so often  that I can't left
there keyword "RANDOM" :-( Also it's quite annoying and block my work
on VCS module which I have mainly test...
So for me this bug is blocking and at least P2.
Sorry about that, if you consider it isn't don't beat me and rather 
lowerise it, please;-)
Comment 5 rmatous 2003-08-22 15:24:37 UTC
Tested on last dev build, but not able to reproduce. I ran into many
problems not related with this issue (deadlocks,
ClassNotFoundException, ClassCastExeption ...). From my point of view
RANDOM is appropriate flag. Please test and provide more info. Tested
on Win2000, but I hasitate why should it be platform specific. Could
you verify ?
Comment 6 dmladek 2003-09-01 15:40:42 UTC
Well, this bug is little bit weird:-/
Now, I can't reproduce it too:-( neither with today nor the original
build... So I'm adding back the keywoard...

BTW: previously I little experimented with creating project, etc. So
if this bug wasn't some kind of its result...
Comment 7 rmatous 2003-09-01 16:57:11 UTC
Tested again, but again not able to reproduce. Then marked as
WORKSFORME, because no idea how to solve. But feel free to reopen just
after you run into this problem again.
Comment 8 dmladek 2003-09-02 17:42:37 UTC
OK, I'm accepting it and  verifying...
While I run into the trouble again, I'll reopen it or maybe rather
enter a new one;-)