Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-6146

JSP editor no response when type '<' for long time

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 12.1
    • None
    • javaee - JSP
    • None

    Description

      Each time when I edit a JSP page, once I type in '<' character the whole IDE will no any response about 70 seconds.

      I do not edit JSP usually, but this has been a long time issue to me. Edit HTML file no problem, only JSP file.

      Below is the log:

      INFO [org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper]: URL=file:/Applications/NetBeans/Apache NetBeans 12.1.app/Contents/Resources/NetBeans/netbeans/enterprise/docs/syntaxref20.zip
      java.net.URISyntaxException: Illegal character in path at index 34: file:/Applications/NetBeans/Apache NetBeans 12.1.app/Contents/Resources/NetBeans/netbeans/enterprise/docs/syntaxref20.zip
      at java.base/java.net.URI$Parser.fail(URI.java:2938)
      at java.base/java.net.URI$Parser.checkChars(URI.java:3109)
      at java.base/java.net.URI$Parser.parseHierarchical(URI.java:3191)
      at java.base/java.net.URI$Parser.parse(URI.java:3139)
      at java.base/java.net.URI.<init>(URI.java:623)
      at java.base/java.net.URL.toURI(URL.java:1063)
      [catch] at org.netbeans.modules.masterfs.filebasedfs.FileBasedURLMapper.getFileObjects(FileBasedURLMapper.java:73)
      at org.netbeans.modules.masterfs.MasterURLMapper.getFileObjects(MasterURLMapper.java:40)
      at org.openide.filesystems.URLMapper.findFileObject(URLMapper.java:188)
      at org.openide.filesystems.JarArchiveRootProvider.isArchiveFile(JarArchiveRootProvider.java:55)
      at org.openide.filesystems.FileUtil.getArchiveRoot(FileUtil.java:1847)
      at org.netbeans.modules.web.core.syntax.JspSyntaxSupport.initCompletionData(JspSyntaxSupport.java:896)
      at org.netbeans.modules.web.core.syntax.JspSyntaxSupport.getAllTags(JspSyntaxSupport.java:575)
      at org.netbeans.modules.web.core.syntax.JSPProcessor.createBeanVarDeclarations(JSPProcessor.java:136)
      at org.netbeans.modules.web.core.syntax.SimplifiedJspServlet.renderProcess(SimplifiedJspServlet.java:237)
      at org.netbeans.modules.web.core.syntax.JSPProcessor$2.run(JSPProcessor.java:325)
      at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1402)
      at org.netbeans.modules.web.core.syntax.JSPProcessor.process(JSPProcessor.java:321)
      at org.netbeans.modules.web.core.syntax.EmbeddingProviderImpl.getEmbeddings(EmbeddingProviderImpl.java:52)
      at org.netbeans.modules.parsing.impl.TaskProcessor.callEmbeddingProvider(TaskProcessor.java:576)
      at org.netbeans.modules.parsing.impl.SourceCache.refresh(SourceCache.java:343)
      at org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:770)
      at org.openide.util.lookup.Lookups.executeWith(Lookups.java:279)
      at org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
      at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
      at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
      at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
      at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
      at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
      at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
      at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
      WARNING [org.netbeans.modules.editor.bracesmatching.MasterMatcher]: Origin offsets out of range, origin = [1392, 1401], caretOffset = 1463, lookahead = 1, searching backwards. Offending BracesMatcher: org.netbeans.modules.html.editor.HtmlBracesMatching@6d6f9361
      WARNING [org.netbeans.modules.editor.bracesmatching.MasterMatcher]: Origin offsets out of range, origin = [1392, 1401], caretOffset = 1463, lookahead = 2, searching forward. Offending BracesMatcher: org.netbeans.modules.html.editor.HtmlBracesMatching@4c5e28f8
      INFO [org.netbeans.modules.web.core.jsploader.BaseJspEditorSupport$4]: property change fired with both new and old value null!
      java.lang.IllegalStateException
      at org.netbeans.modules.web.core.jsploader.BaseJspEditorSupport$4.propertyChange(BaseJspEditorSupport.java:165)
      at java.desktop/java.beans.PropertyChangeSupport.fire(PropertyChangeSupport.java:341)
      at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:333)
      at java.desktop/java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:266)
      at org.openide.text.CloneableEditorSupport.firePropertyChange(CloneableEditorSupport.java:459)
      at org.openide.text.CloneableEditorSupport.fireDocumentChange(CloneableEditorSupport.java:1751)
      at org.openide.text.DocumentOpenClose$DocumentClose.run(DocumentOpenClose.java:976)
      at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
      at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
      at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
      at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
      WARNING [org.netbeans.core.TimableEventQueue]: too much time in AWT thread org.netbeans.modules.sampler.InternalSampler@4e35ea0f

      Attachments

        Activity

          People

            Unassigned Unassigned
            gooddreams James Z
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: