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 8316 - <do not compile> java.io.IOException
Summary: <do not compile> java.io.IOException
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P3 normal (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-11-09 13:55 UTC by Marian Mirilovic
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2000-11-09 13:55:56 UTC
[002] NB
 After mount JAR package, and open properties for one class from package , in
EXECUTION set compiler as <do not compile> show window INFORMATION without text.


[1146]  Internet Edition
After mount JAR package, and open properties for one class from package ,
EXECUTION set compiler as <do not compile> occured exception.


*********** Exception occurred ************
Thu Nov 09 14:41:02 CET
2000org.openide.explorer.propertysheet.PropertyDetails$Exceptio
nHack:
java.lang.reflect.InvocationTargetException: java.io.IOException
        at
org.openide.filesystems.JarFileSystem.outputStream(JarFileSystem.java:597)
        at
org.openide.filesystems.JarFileSystem$Impl.outputStream(JarFileSystem.java:8
71)
        at
org.openide.filesystems.DefaultAttributes.saveTable(DefaultAttributes.java:3
32)
        at
org.openide.filesystems.DefaultAttributes.writeAttribute(DefaultAttributes.j
ava:198)
        at
org.openide.filesystems.AbstractFileObject.setAttribute(AbstractFileObject.j
ava:251)
        at
org.openide.loaders.CompilerSupport.setCompilerType(CompilerSupport.java:91)
        at
org.openide.loaders.CompilerSupport$1.setValue(CompilerSupport.java:139)
        at
org.openide.explorer.propertysheet.PropertyDetails.setPropertyValue(Property
Details.java:185)
        at
org.openide.explorer.propertysheet.PropertyDisplayer.setPropertyValue(Proper
tyDisplayer.java:762)
        at
org.openide.explorer.propertysheet.PropertyDisplayer.setAsText(PropertyDispl
ayer.java:732)
        at
org.openide.explorer.propertysheet.PropertyDisplayer$3.actionPerformed(Prope
rtyDisplayer.java:520)
        at javax.swing.JComboBox.fireActionEvent(JComboBox.java:870)
        at javax.swing.JComboBox.selectedItemChanged(JComboBox.java:894)
        at javax.swing.JComboBox.contentsChanged(JComboBox.java:950)
        at
javax.swing.AbstractListModel.fireContentsChanged(AbstractListModel.java:79)
        at
javax.swing.DefaultComboBoxModel.setSelectedItem(DefaultComboBoxModel.java:8
6)
        at javax.swing.JComboBox.setSelectedItem(JComboBox.java:415)
        at javax.swing.JComboBox.setSelectedIndex(JComboBox.java:455)
        at
javax.swing.plaf.basic.BasicComboPopup$ListMouseHandler.mouseReleased(BasicC
omboPopup.java:582)
        at
java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
        at java.awt.Component.processMouseEvent(Component.java:3715)
        at java.awt.Component.processEvent(Component.java:3544)
        at java.awt.Container.processEvent(Container.java:1165)
        at java.awt.Component.dispatchEventImpl(Component.java:2593)
        at java.awt.Container.dispatchEventImpl(Container.java:1214)
        at java.awt.Component.dispatchEvent(Component.java:2497)
        at
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2452)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2217)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2126)
        at java.awt.Container.dispatchEventImpl(Container.java:1201)
        at java.awt.Window.dispatchEventImpl(Window.java:912)
        at java.awt.Component.dispatchEvent(Component.java:2497)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:333)
        at
java.awt.EventDispatchThread.pumpOneEvent(EventDispatchThread.java:103)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:84
Comment 1 Pavel Buzek 2000-12-07 14:23:59 UTC
*** Bug 8803 has been marked as a duplicate of this bug. ***
Comment 2 Svata Dedic 2000-12-12 13:31:59 UTC
I was wrongly claiming that the bug is in Java module - in fact, it is incorrect
implementation of org.openide.loaders.CompilerSupport which does not test
whether the file is r/o. I can fix it however.
Comment 3 Svata Dedic 2000-12-12 13:37:59 UTC
[dev-87] fixed - r/o files will get r/o "Compiler" property.
Comment 4 Jan Becicka 2001-02-01 09:45:59 UTC
[010130_1] Verified
Comment 5 Quality Engineering 2003-07-01 13:15:47 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.