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 31188 - Unable to perform operations like compile after getting the exception
Summary: Unable to perform operations like compile after getting the exception
Status: RESOLVED INVALID
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: -S1S-
Hardware: Sun Solaris
: P1 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-02-19 00:49 UTC by Srinivas Gundeaboina
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide log file with exceptions (576.54 KB, text/plain)
2003-02-19 00:50 UTC, Srinivas Gundeaboina
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Srinivas Gundeaboina 2003-02-19 00:49:35 UTC
Mounted a file system containing java files.
Few exceptions are thrown.  After that I am unable
to do operations like compile and build on the
java files.

Please find the ide.log file with exceptions.
Comment 1 Srinivas Gundeaboina 2003-02-19 00:50:58 UTC
Created attachment 9013 [details]
ide log file with exceptions
Comment 2 Jan Becicka 2003-02-19 08:14:08 UTC
Isn't it duplicate of issue 28535?
Try to change default compiler to external compilation. Or select
files, you cannot compile, and change it's compiler to external
compilation.
Comment 3 Tomas Hurka 2003-02-19 10:50:41 UTC
Yes, this is duplicate of issue 28535. 

*** This issue has been marked as a duplicate of 28535 ***
Comment 4 Jan Becicka 2003-02-19 14:16:09 UTC
Srinivas, you said, you are unable to compile after those exceptions.
What is the result of those operations (build, compile)? Other exceptions?
Comment 5 Jan Becicka 2003-02-21 11:41:16 UTC
Srinivas, what exceptions are thrown? Your ide.log is full of
exceptions. Which one do you get right before you are unable to
compile? Thanks
Comment 6 Jan Becicka 2003-02-21 11:47:25 UTC
Copy/pasting Srinivas' comments from issue issue 28535. 

------- Additional Comments From Srinivas Gundeaboina 2003-02-20 12:40
PST -------

This is causing a P1 regression in S1Studio, because S1S must be
backward compatible with previous versions in Nevada Timeframe.

------- Additional Comments From Srinivas Gundeaboina 2003-02-20 12:46
PST -------

After the attached exception, all actions for compiled build and clean
are no longer active.  Right Click on Exploer object did not come up
with the usual DropDown menu.  After restarting the IDE all of them
were active again.
Comment 7 Chris Webster 2003-02-21 23:03:57 UTC
The ClassNotFoundException:

INFORMATIONAL *********** Exception occurred ************ at Tue Feb
18 15:08:12 PST 2003
java.lang.ClassNotFoundException:
org.netbeans.beaninfo.editors.CompilerTypeEditor$NoCompiler
	at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:145)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:262)
	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322)
	at java.lang.Class.forName0(Native Method)
	at java.lang.Class.forName(Class.java:207)
[catch] at
org.openide.ServiceType$Handle.getServiceType(ServiceType.java:293)
	at
org.openide.loaders.CompilerSupport.getCompilerType(CompilerSupport.java:117)
	at org.openide.loaders.CompilerSupport.addToJob(CompilerSupport.java:80)
	at
org.netbeans.modules.java.JavaDataObject.checkUpToDate(JavaDataObject.java:1232)
	at
org.netbeans.modules.java.JavaDataObject.access$400(JavaDataObject.java:63)
	at
org.netbeans.modules.java.JavaDataObject$PrimaryListener.propertyChange(JavaDataObject.java:963)
	at
java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:252)
	at org.openide.loaders.DataObject.firePropertyChange(DataObject.java:773)
	at org.openide.loaders.MultiDataObject$1.run(MultiDataObject.java:686)
	at org.openide.util.Task.run(Task.java:136)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:313)
	at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:650)
Comment 8 Tomas Hurka 2003-02-21 23:18:59 UTC
Chris, you are wrong. The ClassCastException cannot cause 
this. It is properly handled and the output to the log is 
only INFORMATIONAL. 
Comment 9 Svata Dedic 2003-02-24 09:14:14 UTC
The exception logged in the logfile is intentional; the log will be
disabled for RCs and the release.
We could not reproduce the other described behaviour (compile actions
disabled until IDE restart); even if the exception was logged, the IDE
correctly reported "Do not compile" for user directory created under
NB-3.3 and read by the current dev trunk version.