I got exact same error when I tried to build jenkins testng-plugin-plugin.

Anybody knows what's wrong here?

peidong

On Thursday, April 17, 2014 9:30:42 AM UTC-4, pallen wrote:
>
> Hi Guys,
>
> I'm trying to write a unit test for the SCM entries in the project 
> configuration page.
>  
>
>> @Rule
>> public JenkinsRule jenkins = new JenkinsRule();
>>
>> @Test
>> public void testManualWorkspaceImpl() throws Exception {
>>    FreeStyleProject project = jenkins.createFreeStyleProject("Manual");
>>    PerforceScm scm = new PerforceScm(...stuff...);
>>    project.setScm(scm);
>>    project.save();
>>
>>    HtmlPage page = jenkins.createWebClient().getPage(project, 
>> "configure");
>>    System.out.println(page.asText());
>> } 
>
>
> This errors with the following:
>
>> SEVERE: Unexpected exception occurred while parsing HTML snippet
>> Apr 17, 2014 11:57:30 AM 
>> com.gargoylesoftware.htmlunit.javascript.StrictErrorReporter runtimeError
>> SEVERE: runtimeError: message=[Unexpected exception occurred while 
>> parsing HTML snippet: input name="x"] sourceName=[
>> http://localhost:51496/jenkins/static/fd1dcdac/scripts/prototype.js] 
>> line=[1927] lineSource=[null] lineOffset=[0]
>
>
> I have tried a variety of different 'plugin' versions, but currently using 
> 1.532.3.
>
> Sorry if this is the wrong place to post, but only signed up today.
>
> Kind regards,
> Paul
>

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to