[jbosstools-issues] [JBoss JIRA] (JBIDE-20670) Test fail after TP changes

Xavier Coulon (JIRA) issues at jboss.org
Mon Sep 14 13:11:00 EDT 2015


    [ https://issues.jboss.org/browse/JBIDE-20670?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13108383#comment-13108383 ] 

Xavier Coulon edited comment on JBIDE-20670 at 9/14/15 1:10 PM:
----------------------------------------------------------------

inspecting the server's response for the tests that fail with an error 500 (eg, {{org.jboss.tools.livereload.internal.server.jetty.LiveReloadServerTestCase:838}}), we can see the following message:

{code}
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 500 </title>
</head>
<body>
<h2>HTTP ERROR: 500</h2>
<p>Problem accessing /sample-static-site/WebContent/index.html. Reason:
<pre>    java.lang.NoClassDefFoundError: org/eclipse/jetty/util/thread/SpinLock</pre></p>
<hr /><i><small>Powered by Jetty://</small></i>
</body>
</html>

{code}

As suggested by Rob, the following commit might explain the missing class: http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/commit/jetty-util/src/main/java/org/eclipse/jetty/util/thread/SpinLock.java?id=b18adb525f1784714a3b0548df1b9dfde0eda44a


was (Author: xcoulon):
inspecting the server's response for the tests that fail with an error 500 (eg, {{org.jboss.tools.livereload.internal.server.jetty.LiveReloadServerTestCase:838}}), we can see the following message:

{code}
<head>
<meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1"/>
<title>Error 500 </title>
</head>
<body>
<h2>HTTP ERROR: 500</h2>
<p>Problem accessing /sample-static-site/WebContent/index.html. Reason:
<pre>    java.lang.NoClassDefFoundError: org/eclipse/jetty/util/thread/SpinLock</pre></p>
<hr /><i><small>Powered by Jetty://</small></i>
</body>
</html>

{code}

> Test fail after TP changes
> --------------------------
>
>                 Key: JBIDE-20670
>                 URL: https://issues.jboss.org/browse/JBIDE-20670
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: livereload
>    Affects Versions: 4.3.0.CR1
>            Reporter: Xavier Coulon
>            Assignee: Xavier Coulon
>            Priority: Blocker
>              Labels: respin-a
>             Fix For: 4.3.0.CR1
>
>
> After the latest TP changes, the Jetty dependencies were set at a specific range to exclude the latest versions of some Jetty bundles brought as transitive dependencies of other bundles, using {{[9.2.10, 9.3)}}, but the TP itself was wrong and contained Eclipse Neon bundles (see JBIDE-20662). After the TP was fixed, the unwanted Jetty bundles were in version {{9.2.13}} which was caught by the specific range aforementioned, but this causes runtime errors because some classes cannot be resolved ({{org.eclipse.jetty.util.thread.Spinlock}}, for example).



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jbosstools-issues mailing list