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

org.jboss.tools.common.validation.JBTValidationException

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 4.0.0.Alpha1
    • 3.3.0.CR1
    • jsf
    • None
    • Hide

      In order to recreate the scenario:

      1. Download the latest nightly JBoss Seam: https://hudson.jboss.org/hudson/job/Seam-2.3.X-dist-nightly/115/ (Please keep checking for latest versions, #115 is date 06/07/2012 or 07/06/2012 for Europeans)

      2. Create a war project named 'grapesofstash' using seam-gen.

      3. Replace the .classpath, .project, .launch files, and the .settings folder with the .classpath, .project, .launch files, and settings.zip file respectively.

      4. Import the project into Eclipse/JBIDE, using File > Import

      Show
      In order to recreate the scenario: 1. Download the latest nightly JBoss Seam: https://hudson.jboss.org/hudson/job/Seam-2.3.X-dist-nightly/115/ (Please keep checking for latest versions, #115 is date 06/07/2012 or 07/06/2012 for Europeans) 2. Create a war project named 'grapesofstash' using seam-gen. 3. Replace the .classpath, .project, .launch files, and the .settings folder with the .classpath, .project, .launch files, and settings.zip file respectively. 4. Import the project into Eclipse/JBIDE, using File > Import

      In reference to https://issues.jboss.org/browse/JBSEAM-4960

      In an attempt to reconfigure the older .project, .classpath, and .settings/* files for it to be compatible with the latest JBIDE, I get an NPE in the process:

      org.jboss.tools.common.validation.JBTValidationException
      	at org.jboss.tools.common.validation.ValidatorManager.validateInJob(ValidatorManager.java:101)
      	at org.eclipse.wst.validation.internal.operations.ValidatorJob.run(ValidatorJob.java:78)
      	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
      Caused by: java.lang.NullPointerException
      	at org.jboss.tools.jsf.web.validation.FacesConfigValidator.validateAll(FacesConfigValidator.java:314)
      	at org.jboss.tools.common.validation.ValidatorManager.validateAll(ValidatorManager.java:132)
      	at org.jboss.tools.common.validation.ValidatorManager.validateInJob(ValidatorManager.java:84)
      	... 2 more
      

      This could be me either my doing, or perhaps there is a bug.

        1. settings.zip
          4 kB
        2. grapesofstash.launch
          1 kB
        3. explode.launch
          2 kB
        4. debug-jboss-grapesofstash.launch
          0.9 kB
        5. debug-glassfish-grapesofstash.launch
          0.9 kB
        6. .project
          2 kB
        7. .classpath
          2 kB

              scabanovich Viacheslav Kabanovich (Inactive)
              dhinojosa_jira Daniel Hinojosa (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: