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 11286 - Annotation exception when I click on the jar contents file
Summary: Annotation exception when I click on the jar contents file
Status: CLOSED WONTFIX
Alias: None
Product: obsolete
Classification: Unclassified
Component: jarpackager (show other bugs)
Version: 3.x
Hardware: PC Windows 3.1/NT
: P3 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-04-11 01:41 UTC by heidi amiri
Modified: 2003-07-01 10:00 UTC (History)
1 user (show)

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 heidi amiri 2001-04-11 01:41:21 UTC
build 10410 pilsen ee: Although the jar contents file can be built fine when I 
click on it I get the exception:
Tue Apr 10 17:30:17 PDT 2001: java.lang.InternalError: Posted StackTrace
Annotation: Exception occurred in Request Processor
Nested annotation: jzentry == 0
org.openide.util.RequestProcessor$Holder: Posted StackTrace(task 
org.openide.filesystems.JarFileSystem$1@3d7173 [-16, 1, -1])
	at 
org.openide.util.RequestProcessor$Task.createHolder(RequestProcessor.java:322)
	at org.openide.util.RequestProcessor.post(RequestProcessor.java:100)
	at org.openide.util.RequestProcessor.post(RequestProcessor.java:84)
	at 
org.openide.filesystems.JarFileSystem.setJarFile(JarFileSystem.java:398)
	at 
org.netbeans.modules.web.taglib.TagLibSupport.isTagLibJar(TagLibSupport.java:135
)
	at 
org.netbeans.modules.web.taglib.TagLibSupport.isTagLibJar(TagLibSupport.java:123
)
	at 
org.netbeans.modules.web.taglib.actions.AddTagLibToRepository.enable(AddTagLibTo
Repository.java:51)
	at 
org.openide.util.actions.NodeAction$NodesL.checkEnabled(NodeAction.java:248)
	at org.openide.util.actions.NodeAction$NodesL.run(NodeAction.java:203)
	at org.openide.util.Task.run(Task.java:124)
[catch] at 
org.openide.util.RequestProcessor$ProcessorThread.run(RequestProcessor.java:622)

Tue Apr 10 17:30:17 PDT 2001: java.lang.InternalError: jzentry == 0
java.lang.InternalError: jzentry == 0
	at java.util.zip.ZipFile$2.nextElement(ZipFile.java:297)
	at java.util.jar.JarFile$1.nextElement(JarFile.java:198)
	at org.openide.filesystems.JarFileSystem$1.run(JarFileSystem.java:130)
	at org.openide.util.Task.run(Task.java:124)
[catch] at 
org.openide.util.RequestProcessor$ProcessorThread.run(RequestProcessor.java:622)
to recreate you can access my contents file at \\sargon\jppilsen\jc2
Comment 1 Jesse Glick 2001-04-11 18:05:46 UTC
BTW I am not sure whose problem this is, but generally this exception means one
thread is reading a JAR file and someone is also externally modifying (or
deleting) the JAR.
Comment 2 heidi amiri 2001-04-11 18:48:51 UTC
I am using the same jar contents thru two different IDEs, but when I get this 
exception no activity is going on on the other IDE. Unless a lock is held and 
not released by one on them which doesn't look right to me.
Comment 3 Mike Schilling 2001-04-23 18:11:03 UTC
This is also related to Bugtraq item # 4449058 -- the problem being that 
TagLibSupport has created a JarFileSystem, which keeps the file open and parses 
it repeatedly, rather than simply examining it.
Comment 4 Quality Engineering 2003-07-01 09:57:51 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 5 Quality Engineering 2003-07-01 09:59:36 UTC
Resolved for 3.4 or earlier, no new info since then -> closing.
Comment 6 Quality Engineering 2003-07-01 10:00:41 UTC
Resolved for 3.4 or earlier, no new info since then -> closing.