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 32108 - Request Processor errors when working with jsp files
Summary: Request Processor errors when working with jsp files
Status: RESOLVED DUPLICATE of bug 31573
Alias: None
Product: javaee
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: Petr Jiricka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-03-18 22:32 UTC by rshearin
Modified: 2003-12-11 14:27 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
ide.log showing Invalid LOC bad signature error (156.90 KB, text/plain)
2003-03-20 14:57 UTC, rshearin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rshearin 2003-03-18 22:32:10 UTC
When working with JSPs, I sometimes get the following 
error message or similar error message when editing and 
especially when executing a jsp. This also happened when I 
was using Sun ONE Studio, although it has happened less 
often in NetBeans so far. (I tried to use NetBeans because 
I was getting the error message so often in Sun ONE 
Studio.) This happens with any of my jsps, not just 
specific ones. It is not reproducible on demand but rather 
just happens periodically on one PC. Have never 
experienced the problem on another PC but have reinstalled 
both NetBeans and Sun ONE Studio to no avail. Both PCs 
have the same OS build.

I can click through the error messages and edit or execute 
the files but it has become quite an annoying problem.

Annotation: Exception occurred in Request Processor
java.lang.InternalError: jzentry == 0,
 jzfile = 390708000,
 total = 55,
 name = C:\TogetherSoft\Together6.0.1
\myprojects\Reagents\Reagent_Management\src\jsp\WEB-
INF\lib\reagentsPC.jar,
 i = 21,
 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.getTldLocati
onsCache(WMDataCache.java:96)
        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 Marian Mirilovic 2003-03-19 07:59:38 UTC
reassigne to web for investigation ... 
Comment 2 _ rkubacki 2003-03-19 08:27:08 UTC
Is it possible that 'C:\TogetherSoft\Together6.0.1
\myprojects\Reagents\Reagent_Management\src\jsp\WEB-
INF\lib\reagentsPC.jar' file is correputed. Regardless if it is or is
not we need better error recovery issuch case.
Comment 3 Petr Jiricka 2003-03-19 14:57:30 UTC
Can you please check whether the jar file is corrupted 
(using WinZip or similar), and whether the application can 
be correctly executed on standalone Tomcat ?

Thanks, Petr.
Comment 4 rshearin 2003-03-19 15:30:02 UTC
jar file is not corrupted when opening using Winzip. I 
also deleted the jar and recreated it with a new name and 
received the error message on the new jar.

Application also ran successfully on standalone Tomcat.

Richard
Comment 5 psuk 2003-03-19 18:50:10 UTC
It's not the first bug report about this problem. Petr, Radim, see
Issue 31573 and related issue 31938, we need to isolate the problem.

Richard, do you use CVS for storing JAR file?

Comment 6 Petr Jiricka 2003-03-20 09:41:47 UTC
Can you please also attach your IDE log file ? Which 
version of the JDK are you using ?

There are some JDK bugs which look related, namely 4725265 
and 4731870.

Thanks.

Comment 7 rshearin 2003-03-20 14:57:42 UTC
Created attachment 9472 [details]
ide.log showing Invalid LOC bad signature error
Comment 8 psuk 2003-04-04 07:50:46 UTC
Adding all related comments from Richard to issue 31573 as it has the
same symptoms.
Richard, thanks for your input so far. Please continue to watch the
issue 31573 (I've added you on CC list).
You can also vote for this bug to get the bug promoted.


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