[jbosstools-issues] [JBoss JIRA] Commented: (JBIDE-1628) NulPointerException in model when executing JUnit tests for VPE without delay time.
Viacheslav Kabanovich (JIRA)
jira-events at lists.jboss.org
Mon Jan 14 12:06:21 EST 2008
[ http://jira.jboss.com/jira/browse/JBIDE-1628?page=comments#action_12394975 ]
Viacheslav Kabanovich commented on JBIDE-1628:
----------------------------------------------
Maxim, please try to add to class VpeTest static block
static {
ClassLoaderUtil.init();
}
I think it must help. When xmodel starts from a job rather than from main thread,
it fails because of some failure inside xerces parser.
It is a problem known for years, but no other way to solve it has been found.
> NulPointerException in model when executing JUnit tests for VPE without delay time.
> -----------------------------------------------------------------------------------
>
> Key: JBIDE-1628
> URL: http://jira.jboss.com/jira/browse/JBIDE-1628
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: Visual Page Editor
> Affects Versions: 2.0.0.GA
> Reporter: Maxim Areshkau
> Assigned To: Viacheslav Kabanovich
> Attachments: JUnitNullPointer-exception.log.txt
>
>
> java.lang.NullPointerException exception throws in org.jboss.tools.common.model.options.PreferenceModelUtilities when we executing junit without delay time.
> Steps to Reroduce:
> 1. Run Junit for JSF components and look in TestResult file.
> 2.Go into class VpeTest and comment in function performTestForVpeComponent line TestUtil.delay(1000);
> 3. Set breakpoint in org.jboss.tools.common.model.options.PreferenceModelUtilities on line 35(catch block in first static initialization block)
> 4.Run again JUnit tests for jsf and look in testResultFile again.
>
--
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