]
Josef Kopriva closed JBIDE-1475.
--------------------------------
Closing, nothing to do.
NPE opening html file if JBossTools installed with Local Site
-------------------------------------------------------------
Key: JBIDE-1475
URL:
https://issues.redhat.com/browse/JBIDE-1475
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: common
Affects Versions: 2.0.0.CR1
Environment: WinXP SP2
Eclipse 3.3.1.1 for Java EE
Reporter: Joseph Sondow
Priority: Major
Attachments: eclipse-error.txt
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.