[jbosstools-issues] [JBoss JIRA] Created: (JBIDE-1475) NPE opening html file if JBossTools installed with Local Site

Joseph Sondow (JIRA) jira-events at lists.jboss.org
Mon Dec 10 20:40:51 EST 2007


NPE opening html file if JBossTools installed with Local Site
-------------------------------------------------------------

                 Key: JBIDE-1475
                 URL: http://jira.jboss.com/jira/browse/JBIDE-1475
             Project: JBoss Tools
          Issue Type: Bug
          Components: JBoss Tools Core
    Affects Versions: 2.0.0.CR1
         Environment: WinXP SP2
Eclipse 3.3.1.1 for Java EE
            Reporter: Joseph Sondow
         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. 


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list