Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 229254 - 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 Setting attribute not allowed for JarFileSystem [C:\User...
Product: javaee
Classification: Unclassified
Component: Web Project
All All
: P4 (vote)
: 7.4
Assigned To: David Konecny
Depends on:
  Show dependency treegraph
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

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

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: 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/ <- org.netbeans.modules.web.IsServletFile=true]
   at org.openide.filesystems.JarFileSystem.writeAttribute(
   at org.openide.filesystems.JarFileSystem$Impl.writeAttribute(
   at org.openide.filesystems.AbstractFileObject.setAttribute(
   at org.openide.filesystems.AbstractFileObject.setAttribute(
   at org.netbeans.modules.web.project.ui.SetExecutionUriAction$
   at org.netbeans.modules.web.project.ui.SetExecutionUriAction$
Comment 1 Exceptions Reporter 2013-05-01 19:28:52 UTC
Created attachment 134015 [details]
Comment 2 Jaroslav Havlin 2013-07-19 14:08:17 UTC
Method org.netbeans.modules.web.project.ui.SetExecutionUriAction$ 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.

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