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.
Summary: | IDE Won't Work After Creating Project That Uses JDK 1.4 Beta 2 | ||
---|---|---|---|
Product: | platform | Reporter: | ccocco <ccocco> |
Component: | -- Other -- | Assignee: | _ ttran <ttran> |
Status: | CLOSED WONTFIX | ||
Severity: | blocker | CC: | jpokorsky |
Priority: | P2 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Windows ME/2000 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
Attached "ide.log" file as requested.
ide.log from c:\netbeans_userdir\system directory. |
Description
ccocco
2001-11-01 18:25:47 UTC
Charles, error messages you mentioned seem to be related to your operation system not Netbeans. It is not clear to me if you are running ide with jdk1.3 or 1.4. And what do you mean by "creating a project file that using JDK 1.4 Beta 2"? Using jdk1.3 everything works well? Thanks for more details. Hmm, it's clearly a machine's problem, not IDE's This issue has not been resolved. Explanation was that it was related to my environment. No other information was given to resolve issue. I have only 1 JVM installed on my PC, JDK 1.4 Beta 2. After installing the product, creating a project, and configuring the IDE and compiler settings, NetBeans will not restart again and reports the error above. If this is related to my environment, please explain in detail how to resolve it. If it doesn't work with this version of the JDK, please notify me of that. Also, it is not clear whether the assigned person who closed this out actually tried this version of the JDK. Thanks... The IDE should work using that version JDK. It seems you have created your nb userdir on a device which is not present in your system any more. Do you use any removable devices (zip drive, ...)? Try to run IDE as 'runide.exe -userdir new_location'. If problems remain attach your ide.log file please. The issue is related to your environment so priority decreased. I have upgraded this bug to a P1 as I cannot use the application any longer after initially bringing it up, creating a new project, closing it, and attempting to restart it again. If I set the - userdir option to some arbitrary directory on my pc, it will display okay but then the next time I close it down and try to restart it again, I still get the following error: runide.exe - No Disk "There is no disk in the drive. Please insert a disk into drive \Device\Harddisk0\DR0." I only have 1 JVM installed on my PC, JDK 1.4 Beta 2 and I do not have any removable media on my system. Charles, please bring this issue up on nbusers, someone there can help you and us debug the problem. What you described is very strange, we cannot reproduce it and cannot even guess what can be the cause. Another experiment: put a freshly formatted floppy in your floppy drive a:. Run the IDE with runide.exe -userdir a:\nbuser Don't customize to much, you'd run out of space on the floppy. Report back to us if it works. Charles can you have a look into windows registery for "HKEY_CURRENT_USER\Software\netbeans.org\NetBeans IDE\{3.3 or Dev}\UserDir" value? Thanks Answer to Trung's comments from Charles: Hi, I tried your suggestion of running the IDE with -userdir set to a:\nbuser, using an empty formatted floppy, and the application hung and never came up... Answer to Honza's comments from Charles: Hi, I did not find the values for the keys listed below in the registry. I did a search for the key "UserDir" and found several values for it: "c:\netbeans" and "c:\netbeans\projects". I'm not sure if that is what you're looking for or not but these values are the ones I've tried specifying in the -userdir parm. when starting up NetBeans... Charlie Cocchiaro Hi Charlie, we are not able to reproduce the bug on any platform. I would suggest following: Run ide from scratch. It means: a) install netbeans 3.3 beta3 to other folder than c:\netbeans (your old instalation) e.g c:\netbeans3.3_beta3 b) run ide from command prompt as "runide -userdir path_to_empty_userdir". Choose other than install dir e.g. c:\nbusrs\nb33b3 Now write down step by step what you did to achieve error messages. Attach these messages and your ide.log file. Please do not reply by email but through Issuezilla form. Otherwise your message can be missed. Other answers to you previous emails: Using param -userdir should ignore values stored in the windows registery. You can set up your default project or create new one as you want. There are no constraints which project you change. If you find out key userdir in win registery and select it you shoud see full path to this key in the aplication's status bar. Thanks for your collaboration Charles, can you please provide us with the information Jan Pokorsky was asking for? Thanks Created attachment 3360 [details]
Attached "ide.log" file as requested.
Steps to reproduce problem: 1. Install NetBeans on drive c: 2. Invoke and choose MDI option 3. Create a new project 4. Add .java files to project that exist in a ClearCase view on a network drive (UNIX server) 5. Set target for Compiling/External Execution to different directory on same network drive 6. Close application and restart 7. Previously reported error occurs and you cannot run the application any longer Charles can you follow instructions how to run ide from scratch as was mentioned above please? From ide.log you attached I see you still run old instalation with old userdir (c:\netbeans). To ensure the installer does not use previous userdir you can also delete 'netbeans.org' key from your win. registery. When you run new installation choose userdir different from installdir. Thanks I have already followed the instructions suggested below for setting the -userdir to a different directory and the same results occurred. I also tried setting it to a blank floppy as suggested below with the same results. FYI: The Project Settings item I referred to in my last comment for redirecting the .class files to a different directory was incorrect, it should have been Compiler Types/External Compilation/Target, although this may be coincidental and have nothing to do with the actual problem. I will uninstall NetBeans and do this one more time and followup with another comment. Please attach your ide.log again. If problems remain you could try to install jdk1.3.1_01 and check out to reproduce them (runide -jdkhome path_to_jdk1.3). I do not see any way how java compiler settings could prevent ide from start up. Did you try to restart ide immediately after installation? Created attachment 3362 [details]
ide.log from c:\netbeans_userdir\system directory.
I uninstalled NetBeans and reinstaled (verison 3.3 Beta 3) and the same problem has occurred. Here are the exact steps to reproduce it: 1. Download NetBeans 3.3 Beta 3 from the netbeans.org web site. 2. Install it in the c:\netbeans directory. 3. Set the desktop Shortcut/Target to C:\netbeans\bin\runidew.exe - userdir c:\netbeans_userdir after creating this directory. 4. Run NetBeans and select Window Mode/Full Screen Mode (MDI). 5. Create a new project 6. Mount several directories on network drive under Clearcase view 7. Choose Tools/Options/Building/Compiler Types/External Compilation/Target and select the mounted directory where the .class files are to be redirected (same clearcase drive but a different directory). 8. Add existing .java files to project 9. Select Build All and compile all files. 10. Execute after selecting class with main method. 11. Close application and restart. The following error occurs and the application can no longer be run: runide.exe - No Disk There is no disk in the drive. Please insert a disk into drive \Device\Harddisk0\DR0. The ide.log file from the c:\netbeans_userdir\system directory has been attached. I've looked into the ide.log you attached and see that you used jdk 1.4 beta2. Please try the latest stable version of the JDK 1.3.1_01, you can download it from java.sun.com website With respect to your suggestion to trying it with JDK 1.3.1_01, this is not an option for me. My product is being shipped with JDK 1.4. I'm not getting the disk error, but a few times with NetBeans3.3 and JDK1.4beta3 i've got NetBeans to hang while trying to load the project. One workaround is to delete the project.last from the netbeans system folder. NetBeans then should start up. Once inside NetBeans through the Project Manager, open the project, the common problem for me is some exceptions to do with serialisation of the Filesystems involved in that project. <<I'm waiting for this to happen again so i can get the a better report to file a bug with. Although i did a search through issuezilla and there seems a few bugs on similar situations to this. Should i be looking at any particular one?>> To Michael Wever: your problem is definitely a different one. If it happens again please file a separate bug report. Thanks I am lowering this bug priority to P2. Reasons: - it happens only to one user, nobody else is able to reproduce it - from the bug description it is questionable if it's truly a bug in the IDE or in the JDK or in the user's environment. The IDE is written in Java, and java code by itself cannot cause this error. At most it can reveal a bug elsewhere which we may or may not be able to find a workaround for. By setting prio to P2 I want to say that although this is a bug we want to resolve but it's not a showstopper for the IDE and the majority of its users. Notes to Charles Cocchiaro: this is a hard bug. The developers cannot reproduce it, nor guess the reasons why it can happen (other than blame your computer). We need your help otherwise it won't be fixed. Please - try the latest JDK 1.4 beta3 - try the latest stable version of the JDK, 1.3.1_01 We want to narrow down the problem to find out where the problem lies. Without your help we'll very likely have to mark this bug as WONTFIX Reassigned to Trung. Well, I've already responded to this bug report 9x for this issue so please don't threaten to close it at this point. But that's up to you, it's your product. I will continue to try your suggestions and supply you with information when I have a chance to do so. I've been fairly prompt in reponses so far. As for the suggestion below, I will try JDK 1.4 Beta 3 when I have a chance. Thanks... I have uninstalled JDK 1.4 Beta 2 and installed JDK 1.4 Beta 3. I deleted the project.last file from the netbeans system folder pointed to at the location specified by the -userdir parameter. The program shortcut points to a separate directory (c:\netbeans_userdir) than the installation directory (c:\netbeans). Upon initial invocation, I re-instated my project. After closing the application and restarting again, the same error message occurred and the application cannot be run any longer. FYI: I have installed Forte for Java 3.0 on the same hard drive, using the same environment (JDK 1.4 Beta 3) and it works fine. It previously worked fine with Beta 2 as well. I installed this after initially encountering the problem with NetBeans and never had a problem using it. I wonder how far the second startup of NetBeans goes before the error message is shown. Does it wrtite the Info into console or does it die immediately after infoking the runide.exe? If the second case is what happens, please try to start NetBeans with the old batch file: [nbhome]\bin\unsupported\runide_nt.bat and let us know the results. BTW does the same think happen if you mount some standard network drive without the Clearcase? Charles by the way: you can certainly *develop* apps for JDK 1.4 while using 1.3.1_01 to run NetBeans, if that is helpful. It is just a matter of properly configuring your compiler types, executors, debuggers, Javadoc, whatever you use. The online help should cover it. Target milestone -> 3.3.1. Target milestone -> 3.3.1. Charles, any new news? Without additional information I doubt there is anything we can do with this problem. not enough information to fix the bug Resolved for 3.4.x or earlier, no new info since then -> verified. Resolved for 3.4.x or earlier, no new info since then -> closing. |