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 122524 - NullPointerException at org.netbeans.modules.project.ant.AntBasedProjectFactorySingleton.getProjectFor
Summary: NullPointerException at org.netbeans.modules.project.ant.AntBasedProjectFacto...
Status: RESOLVED WORKSFORME
Alias: None
Product: projects
Classification: Unclassified
Component: Ant Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Milan Kubec
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-21 16:02 UTC by Sergey Petrov
Modified: 2008-01-18 13:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 12386


Attachments
stacktrace (4.51 KB, text/plain)
2007-11-21 16:02 UTC, Sergey Petrov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Petrov 2007-11-21 16:02:42 UTC
Build: NetBeans IDE 6.0 Beta 2 (Build 200710212201)
VM: Java HotSpot(TM) 64-Bit Server VM, 1.5.0_14-b03
OS: Windows Vista, 6.0, amd64

User Comments: 
may it's all related:
1. got crash of nb
2. load nb and all looks ok
3. restart windows
4. open nb
java projects aren't opened (UML project is opened) and npe
Comment 1 Sergey Petrov 2007-11-21 16:02:54 UTC
Created attachment 53315 [details]
stacktrace
Comment 2 Sergey Petrov 2007-11-21 16:12:56 UTC
after nb restart all projects are opened
Comment 3 Milan Kubec 2007-12-11 10:37:39 UTC
What kind of crash are you refering in point 1. ?
It's possible that during the crash your userdir got corrupted. Are you able to reproduce the issue or it happened just
once?
Comment 4 Sergey Petrov 2007-12-11 11:46:59 UTC
never got it again, but crashes on 'clean-build' or 'build' happens sometimes yet
Comment 5 Milan Kubec 2008-01-04 09:10:04 UTC
Please, provide more info about what do you mean by "crashes on 'clean-build' or 'build' happens sometimes yet". What
kind of crashes? Thanks.
Comment 6 Sergey Petrov 2008-01-04 11:03:35 UTC
we discussed it in uml team just before release, and most team member reported they have crahes on bulding.
with latest builds it seems less important(may be because some additional checks for filesytem problem was implemented,
I start getting yyy.jar can't be found sometimes with next build was able to find this jar, can't be certain now, if
I'll get again, I'll try to update the issue) but still happens sometimes, just invoke 'clean/build on uml module
project after some work with classes and ide disappears.
I'm on holiday break until January 9, so have no crashes at all now
Comment 7 Milan Kubec 2008-01-18 12:19:47 UTC
If the IDE crashes, it looks more like a problem of JDK. NetBeans, of course cannot restore opened projects then. Is
there any JDK dump after the crash?
Comment 8 Sergey Petrov 2008-01-18 12:26:56 UTC
Where I can get jdk dump? I'll search next time ide will crash or may be there is old one somewhere
Comment 9 Milan Kubec 2008-01-18 13:17:28 UTC
I think that it's usually in netbeans bin folder (along with the executable that launched ide).
Comment 10 Sergey Petrov 2008-01-18 13:29:20 UTC
ok, I found one jvm log in nb folder, but don't remember if it was in time of last crash
may be this issue can be resolved as invalid/works for me because even with first good load after crash it still may be
related to crash which may cause any problem and I also saw it only once
I can file separate issue for crashes next time it occur(of cause this issue may be dependent on jvm issue, but still an
issue)
Comment 11 Milan Kubec 2008-01-18 13:36:57 UTC
OK, thanks for info. I'll close the issue. If you got crash again please file new issue (also consider that it might be
JVM problem).