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 31938 - exceptions when replacing jar in cvs based web app
Summary: exceptions when replacing jar in cvs based web app
Status: RESOLVED DUPLICATE of bug 31573
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: issues@javaee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-12 12:43 UTC by leomekenkamp
Modified: 2006-06-05 00:02 UTC (History)
0 users

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 leomekenkamp 2003-03-12 12:43:35 UTC
Exceptions occur when a cvs based jar is replaced.
As 'refresh' in a cvs based checkout dir is
impossible (please add this, it would not only be
a fast workaround for the problem described here)
the workaround is to unmount and then remount the
web-app.

steps to reproduce:
- create a web application in a cvs server
- include a jar in WEB-INF/lib
- do a fresh cvs checkout (in netbeans)
- replace (in a shell) the aforementioned jar with
a newer version
- edit a jsp (in netbeans)
- the following exception gets thrown at the time
one would expect the command completion to kick in:

Annotation: Exception occurred in Request Processor
java.lang.InternalError: jzentry == 0,
 jzfile = 135494136,
 total = 357,
 name =
/home/leo/work/workshop/workshop/web/WEB-INF/lib/ozone-1.2.x-dev.jar,
 i = 69,
 message = invalid LOC header (bad signature)
        at
java.util.zip.ZipFile$2.nextElement(ZipFile.java:309)
        at
java.util.jar.JarFile$1.nextElement(JarFile.java:201)
        at
org.apache.jasper.compiler.TldLocationsCache.tldConfigJar(TldLocationsCache.java:237)
        at
org.apache.jasper.compiler.TldLocationsCache.processJars(TldLocationsCache.java:210)
        at
org.apache.jasper.compiler.TldLocationsCache.<init>(TldLocationsCache.java:139)
        at
org.netbeans.modules.web.jspparser.WMDataCache.getTldLocationsCache(WMDataCache.java:87)
        at
org.netbeans.modules.web.jspparser.OptionsImpl.<init>(OptionsImpl.java:55)
        at
org.netbeans.modules.web.jspparser.OptionsImpl.<init>(OptionsImpl.java:48)
        at
org.netbeans.modules.web.jspparser.JspParserImpl.parsePage(JspParserImpl.java:103)
        at
org.netbeans.modules.web.core.jsploader.TagLibParseSupport$ParsingRunnable.run(TagLibParseSupport.java:121)
        at org.openide.util.Task.run(Task.java:136)
[catch] at
org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:599)
Comment 1 pzajac 2003-03-12 12:52:29 UTC
reassigned to web module
Comment 2 psuk 2003-03-12 14:16:38 UTC
The symptoms (exception) looks similar to issue 31573.

*** This issue has been marked as a duplicate of 31573 ***