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 229254 - java.io.IOException: Setting attribute not allowed for JarFileSystem [C:\Users\ajuser\Documents\NetBeansProjects\click-2.3.0\dist\click-extras-2.3.0.jar!org/apache/click/extras/spring/SpringClickServl
Summary: java.io.IOException: Setting attribute not allowed for JarFileSystem [C:\User...
Status: RESOLVED WORKSFORME
Alias: None
Product: javaee
Classification: Unclassified
Component: Web Project (show other bugs)
Version: 7.3
Hardware: All All
: P4 normal (vote)
Assignee: David Konecny
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-05-01 19:28 UTC by Exceptions Reporter
Modified: 2015-02-04 03:29 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 200357


Attachments
stacktrace (2.55 KB, text/plain)
2013-05-01 19:28 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2013-05-01 19:28:51 UTC
This bug was originally marked as duplicate of bug 146129, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.3 (Build 201302132200)
VM: Java HotSpot(TM) Client VM, 23.7-b01, Java(TM) SE Runtime Environment, 1.7.0_17-b02
OS: Windows 7

User Comments:
GUEST: n/a




Stacktrace: 
java.io.IOException: Setting attribute not allowed for JarFileSystem [C:\Users\ajuser\Documents\NetBeansProjects\click-2.3.0\dist\click-extras-2.3.0.jar!org/apache/click/extras/spring/SpringClickServlet.java <- org.netbeans.modules.web.IsServletFile=true]
   at org.openide.filesystems.JarFileSystem.writeAttribute(JarFileSystem.java:671)
   at org.openide.filesystems.JarFileSystem$Impl.writeAttribute(JarFileSystem.java:1222)
   at org.openide.filesystems.AbstractFileObject.setAttribute(AbstractFileObject.java:357)
   at org.openide.filesystems.AbstractFileObject.setAttribute(AbstractFileObject.java:340)
   at org.netbeans.modules.web.project.ui.SetExecutionUriAction$3.run(SetExecutionUriAction.java:415)
   at org.netbeans.modules.web.project.ui.SetExecutionUriAction$3.run(SetExecutionUriAction.java:398)
Comment 1 Exceptions Reporter 2013-05-01 19:28:52 UTC
Created attachment 134015 [details]
stacktrace
Comment 2 Jaroslav Havlin 2013-07-19 14:08:17 UTC
Method org.netbeans.modules.web.project.ui.SetExecutionUriAction$3.run is trying to set an attribute of a read-only file.

Probably a bug in Web Project. Reassigning.
Please evaluate. Thank you.
Comment 3 David Konecny 2013-07-23 01:25:48 UTC
Run action should be enabled on Servlet only when servlet is in project sources.
Comment 4 Quality Engineering 2015-02-04 03:29:53 UTC
Reported for 7.3.x or earlier, no new info since then -> closing as worksforme, please reopen in case you see it.