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

Summary: 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
Product: javaee Reporter: Exceptions Reporter <exceptions_reporter>
Component: Web ProjectAssignee: David Konecny <dkonecny>
Status: RESOLVED WORKSFORME    
Severity: normal CC: franciscocpg
Priority: P4    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 200357
Attachments: stacktrace

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.