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 67724 - [50cat] IDE does not starts after some refactoring , search and replace...
Summary: [50cat] IDE does not starts after some refactoring , search and replace...
Status: VERIFIED WORKSFORME
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 5.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-28 12:21 UTC by kalali
Modified: 2006-02-14 17:55 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
it contains the log file of IDE after it crashed. (9.25 KB, application/x-compressed)
2005-10-28 12:22 UTC, kalali
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kalali 2005-10-28 12:21:09 UTC
[ BUILD # : 20051013 ]
[ JDK VERSION : 1.5.0_03 ]

Hi
I did some refactoring (move two class from one module project to another)
Then i closed the ide and that project.
I reopen the IDE , and perform some search replace inside all open modules.
An exception window opend which does not allow me to do anything (it was not modal but when i tried to do some editing job the focus come to the exception window -another exception happens-)
I close the IDE.
And i tried to reopen it.IDE does not opens at all , it shows one exeception I dismiss it  and IDE never continue to be opend
Indeed the Java process remines open , and Nbexec processs too but ide does not come along.
I included the log file.
I could not re-opn IDE until i rename my suite folder which contain all modules.
hope it helps to hunt the bug.

After i opend the ide when i tried to open the module the same exception as the exceptions it shows when it was open
it is about org.netbeans.modules.apisupport.project.Util.findText(Util.java:101)
Comment 1 kalali 2005-10-28 12:22:54 UTC
Created attachment 26423 [details]
it contains the log file of IDE after it crashed.
Comment 2 Jan Becicka 2005-10-31 07:41:52 UTC
Exceptions are from apisupport module. Please evaluate them first.
Comment 3 Jesse Glick 2005-10-31 19:25:44 UTC
Log file shows only ClassCastException:
org.netbeans.jmi.javamodel.InfixExpression$Impl from AssignmentImpl.initChildren.
Comment 4 Jan Becicka 2005-11-01 07:34:56 UTC
Log file does not show any ClassCastException. It shows
java.lang.NullPointerException
	at org.netbeans.modules.apisupport.project.Util.findText(Util.java:101)

and

java.lang.AssertionError
	at
org.netbeans.modules.project.uiapi.Utilities.getOpenProjectsTrampoline(Utilities.java:51)

and 
java.io.IOException: Could not find netbeans.org CVS root from
E:\dev\WorkSpace\netbeans_ws\collab\ui; note that 3rd-level modules (a/b/c) are
permitted at the maximum
	at
org.netbeans.modules.apisupport.project.universe.ModuleList.getModuleList(ModuleList.java:123)

and some more exceptions from windowing system.
Comment 5 Jesse Glick 2005-11-03 00:53:23 UTC
Right, somehow I was getting someone else's messages.zip...

Re. AssertionError from Utilities.getOpenProjectsTrampoline - don't know, your
IDE installation is somehow corrupted if you get this.

Re. NPE from apisupport.project.Util.findText - you have some obsolete or broken
NBM project on disk somewhere. Missing <code-name-base> in the /2 schema. A
future version of project system infrastructure should support XML Schema
validation during project load which would catch this sort of problem more smoothly.

Re. IOE "Could not find netbeans.org CVS root..." - perhaps you are trying to
check out just the collab module *without* other modules. This is not supported.
NBM projects need to have their dependencies available.
Comment 6 kalali 2006-01-18 09:15:30 UTC
verified
Comment 7 kalali 2006-01-18 09:15:54 UTC
verified