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.
Whenever I try to open a page and start typing, I get an dialog message saying "C:\Program%20Files\NetBeans%207.0\enterprise\modules\ext\standard.jar does not exist." Actually, the file exists, and is in the exactly place of the complain. Version: Product Version: NetBeans IDE 7.0 (Build 201104080000) Java: 1.7.0-ea; Java HotSpot(TM) 64-Bit Server VM 21.0-b09 System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb) Userdir: C:\Users\Edson\.netbeans\7.0 Relevant portion of Netbeans log: "SEVERE [org.openide.util.Exceptions] msg Caused: org.openide.filesystems.FSException: File C:\Program%20Files\NetBeans%207.0\enterprise\modules\ext\standard.jar does not exist. at org.openide.filesystems.JarFileSystem.setJarFile(JarFileSystem.java:296) at org.openide.filesystems.JarFileSystem.<init>(JarFileSystem.java:196) [catch] at org.netbeans.modules.web.core.syntax.completion.JspCompletionQuery.queryJspTagInContent(JspCompletionQuery.java:512) at org.netbeans.modules.web.core.syntax.completion.JspCompletionQuery.query(JspCompletionQuery.java:142) at org.netbeans.modules.web.core.syntax.completion.JspCompletionProvider$Query.doQuery(JspCompletionProvider.java:97) at org.netbeans.modules.web.core.syntax.completion.JspCompletionProvider$AbstractQuery.query(JspCompletionProvider.java:172) at org.netbeans.spi.editor.completion.support.AsyncCompletionTask.run(AsyncCompletionTask.java:223) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1424) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1968) ALL [null]: File C:\Program%20Files\NetBeans%207.0\enterprise\modules\ext\standard.jar does not exist. SEVERE [org.openide.util.Exceptions] msg Caused: org.openide.filesystems.FSException: File C:\Program%20Files\NetBeans%207.0\enterprise\modules\ext\standard.jar does not exist. at org.openide.filesystems.JarFileSystem.setJarFile(JarFileSystem.java:296) at org.openide.filesystems.JarFileSystem.<init>(JarFileSystem.java:196) [catch] at org.netbeans.modules.web.core.syntax.completion.JspCompletionQuery.queryJspTagInContent(JspCompletionQuery.java:512) at org.netbeans.modules.web.core.syntax.completion.JspCompletionQuery.query(JspCompletionQuery.java:142) at org.netbeans.modules.web.core.syntax.completion.JspCompletionProvider$Query.doQuery(JspCompletionProvider.java:97) at org.netbeans.modules.web.core.syntax.completion.JspCompletionProvider$AbstractQuery.query(JspCompletionProvider.java:172) at org.netbeans.spi.editor.completion.support.AsyncCompletionTask.run(AsyncCompletionTask.java:223) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1424) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1968) ALL [null]: File C:\Program%20Files\NetBeans%207.0\enterprise\modules\ext\standard.jar does not exist."
Problem does not occur with JDK 1.6.0.22 (32bit), only on JDK 7 64bit.
JDK 7 will be supported in NetBeans 7.0.1, there is no support for 7.0 yet.
Hi, which build of JDK 7 do you use? Thanks.
Hi, jdk-7-ea-bin-b139-windows-x64-21_apr_2011.exe Regards, Edson Richter
Created attachment 108076 [details] Screenshot of the problem Here is a screenshot of the issue. Happens with NetBeans 7.0 and JDK 7.0 b139. Does not happens with JDK 1.6.0.24.
Just confirmed: JDK 7.0 b139 64bit: does not work. JDK 1.6.0.22 32bit: works fine. JDK 1.6.0.22 64bit: works fine. Interesting, I tried JRockit 1.6.0.20, and NetBeans does not even starts (frozen, no error message at all)... but this is another problem. My real problem is how to run JDK 7.0 b139 and NetBeans in WebApps... Regards, Edson.
Forget the issue with JRockit: it works with "--locale en:US" on config file + removing special GC directives...
Same problem with JDK 7 M1 Build 139 (64 bit) and JDK 7 M2 Build 140 (32 bit). Regards, Edson.
On Product Version = NetBeans IDE Dev (Build 20110511-3cecfb33a748) (#3cecfb33a748) Operating System = Linux version 2.6.35-28-generic running on amd64 Java; VM; Vendor = 1.7.0-ea; Java HotSpot(TM) 64-Bit Server VM 21.0-b11; Oracle Corporation Runtime = Java(TM) SE Runtime Environment 1.7.0-ea-b141 Java Home = /home/software/jdk1.7.0/jre I get different problem. I never get dialog but instead "<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>" is underlined and error is: Unable to read TLD "META-INF/c.tld" from JAR file "file:/home/david/GlassFish_Server_3.1/glassfish/modules/jstl-impl.jar": org.apache.jasper.JasperException: PWC6169: Failed to load or instantiate TagLibraryValidator class: org.apache.taglibs.standard.tlv.JstlCoreTLV On JDK6 this works fine. That's as far as I've got evaluating this. Will continue tomorrow unless somebody else takes over this issue.
I'm slightly suspicious about spaces in path (.../Program Files/... and .../NetBeans 7.0/... ) and whether they might be causing Not Found dialog. I do not have Windows to try that out. ecerichter, if it is trivial could you try to copy your NB installation to a different path without space characters and try to reproduce the problem on JDK7? Thanks.
While testing this I noticed also issue 198533.
I can reproduce the problem even on Ubuntu - starting IDE with a GF which has space character in the path is causing this problem. And vice versa.
Well now I can reproduce it even on JDK 6. Getting closer the the cause.
Dialog problem fixed in e7cd189969ac. Somebody else please review and test. I was able to reproduce it on Ubuntu in JDK6 on standard index.jsp create in new Web Project. I just typed "<c:set" and CTRL+SPACE to create include and then space. I think I was able to reproduce it only when "c:set" is NOT in bold (taglib include was not processed). There is second part of the problem which I describe in #9 and that one does happen to me only on JDK7. I will keep investigating on Monday unless somebody else fixes. The bigger problem I had today I was not able to find sources for glassfish JSP parser in order to debug it.
> The bigger problem I had today I was not able to find sources for glassfish JSP parser I also had this problem, I started to write up instructions here: http://wiki.netbeans.org/DebuggingJspParser
(In reply to comment #15) > > The bigger problem I had today I was not able to find sources for glassfish JSP parser > > I also had this problem, I started to write up instructions here: > http://wiki.netbeans.org/DebuggingJspParser Great. Where did you learn it? Is it written somewhere? How do you know GF 3.1 is using JSP 2.2.1? I will continue debugging this today.
Created attachment 108304 [details] exception I was able to find underlying exception but because it is a classloader issue I was not able to find the cause. At the moment I know only that the problem can be anywhere - JDK 7 problem or NetBeans problem which we have not noticed prior JDK7 or JSP parser problem which we have not noticed prior to JDK7 or ... I will try tomorrow again. Any hints welcome!
> How do you know GF 3.1 is using JSP 2.2.1? This is GF 3.0.1, not 3.1. I think Kin-Man wrote this to me before, but right now I can not find this e-mail.
*** Bug 198521 has been marked as a duplicate of this bug. ***
This fixed. Remaining problem with with "Failed to load or instantiate TagLibraryValidator class: org.apache.taglibs.standard.tlv.JstlCoreTLV" is tracked as separate issue 198692 - looks like something between NB module class loader and JDK7.
Verified... Product Version: NetBeans IDE 7.0.1 Dev (Build 201106072116) Java: 1.7.0 b145 (32bit)
*** Bug 199472 has been marked as a duplicate of this bug. ***