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

AssertionError thrown when compiling WebSocket project

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 11.3
    • None
    • java - Compiler
    • None
    • NetBeans 11.3
      Tomcat 9.0.34
      JDK 14
      Windows 10

    Description

      This is a WebSocket based web application.  NetBeans throws an AssertionError when this project is opened or after making a change to the server-side Java files; i.e., when the project is compiled.  Repeatable, not intermittent. However, the project still runs.  So not a real impediment, but I didn't find this issue in the bug list so I thought you might like to know. 

      (I have to do a Clean and Build Project after every change to a server-side Java file before Run will work.  Don't know if that's related or a separate issue.  The Clean and Build throws the same AssertionError but seems to work.)

      The stack trace implies the issue is related to annotations.  The only annotations in the source code are the WebSocket annotations (@ServerEndpoint, @OnOpen, etc.).

      Attachments

        1. messages.log
          110 kB
          Bart Berger
        2. IDE UI log.txt
          556 kB
          Bart Berger
        3. IDE log.txt
          109 kB
          Bart Berger

        Activity

          People

            Unassigned Unassigned
            bartberger Bart Berger
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: