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
java.io.IOException: Setting attribute not allowed for JarFileSystem [C:\User...
Status: NEW
Product: javaee
Classification: Unclassified
Component: Web Project
7.3
All All
: P4 (vote)
: 7.4
Assigned To: David Konecny
issues@javaee
EXCEPTIONS_REPORT
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-05-01 19:28 UTC by Exceptions Reporter
Modified: 2013-07-23 01:25 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
:


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.


By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo