Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-1475

NPE opening html file if JBossTools installed with Local Site

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Do
    • Icon: Major Major
    • None
    • 2.0.0.CR1
    • common
    • None
    • WinXP SP2
      Eclipse 3.3.1.1 for Java EE

      JBossTools plugin installation has a bug where some editors throw a NullPointerException if the plugin is installed using Local Site.

      Steps to reproduce:

      1. Install Eclipse 3.3.1.1 JEE using eclipse-jee-europa-fall2-win32.zip by unzipping to C:\eclipse
      2. Unzip JBossTools-2.0.0.CR1-ALL-win32.zip to C:\jbosstoolsinstall
      3. Start Eclipse with eclipse.exe -clean
      4. Help > Software Updates > Find and Install > Search for new features to install > Next
      5. New Local SIte > C:\jbosstoolsinstall
      6. Finish plugin installation by following prompts. Quit Eclipse and restart it with eclipse.exe -clean
      7. Create a new empty simple project. Create an html file. It opens automatically with the JBoss Tools HTML Editor, immediately throwing a NullPointerException (See attached error log). The same happens if you create an XHTML or JSP file, or try to open an existing file of type HTML, XHTML, or JSP.

      Tested on 2 similar computers. The behavior is consistent.

      Workaround:

      Don't use Local Site to install JBossTools plugins. Instead, just copy the contents of the features and plugins folders into the corresponding Eclipse folders, then restart Eclipse.

              Unassigned Unassigned
              jsondow Joseph Sondow (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: