Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » materializing Xtext workspace with oomph
materializing Xtext workspace with oomph [message #1457659] Fri, 31 October 2014 15:13 Go to next message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
Hi

I've just started using oomph, and of course the first project I tried
was Xtext :)

Unfortunately, something goes wrong during "Performing setup task
Targlets", with the below exception... any suggestion on how to fix that?

Thanks in advance

[16:02:38] Adding repository
https://extern.itemis.de/jenkins/job/xdoc/lastSuccessfulBuild/artifact/site/
[16:02:39] ERROR: org.eclipse.equinox.p2.transport.ecf code=1002 Unable
to read repository at
https://extern.itemis.de/jenkins/job/xdoc/lastSuccessfulBuild/artifact/site/content.jar.
javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)
at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1959)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1077)
at
sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312)
at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:702)
at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:122)
at
org.apache.http.impl.io.AbstractSessionOutputBuffer.flushBuffer(AbstractSessionOutputBuffer.java:147)
at
org.apache.http.impl.io.AbstractSessionOutputBuffer.flush(AbstractSessionOutputBuffer.java:154)
at
org.apache.http.impl.AbstractHttpClientConnection.doFlush(AbstractHttpClientConnection.java:278)
at
org.apache.http.impl.AbstractHttpClientConnection.flush(AbstractHttpClientConnection.java:283)
at
org.apache.http.impl.conn.AbstractClientConnAdapter.flush(AbstractClientConnAdapter.java:197)
at
org.apache.http.protocol.HttpRequestExecutor.doSendRequest(HttpRequestExecutor.java:260)
at
org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)
at
org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:715)
at
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:520)
at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805)
at
org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientRetrieveFileTransfer.performConnect(HttpClientRetrieveFileTransfer.java:1077)
at
org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientRetrieveFileTransfer.access$0(HttpClientRetrieveFileTransfer.java:1068)
at
org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientRetrieveFileTransfer$1.performFileTransfer(HttpClientRetrieveFileTransfer.java:1064)
at
org.eclipse.ecf.filetransfer.FileTransferJob.run(FileTransferJob.java:73)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

[16:02:39] ERROR: org.eclipse.equinox.p2.transport.ecf code=1002 Unable
to read repository at
https://extern.itemis.de/jenkins/job/xdoc/lastSuccessfulBuild/artifact/site/content.jar.
javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure
at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
at sun.security.ssl.Alerts.getSSLException(Alerts.java:154)
at sun.security.ssl.SSLSocketImpl.recvAlert(SSLSocketImpl.java:1959)
at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1077)
at
sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1312)
at sun.security.ssl.SSLSocketImpl.writeRecord(SSLSocketImpl.java:702)
at sun.security.ssl.AppOutputStream.write(AppOutputStream.java:122)
at
org.apache.http.impl.io.AbstractSessionOutputBuffer.flushBuffer(AbstractSessionOutputBuffer.java:147)
at
org.apache.http.impl.io.AbstractSessionOutputBuffer.flush(AbstractSessionOutputBuffer.java:154)
at
org.apache.http.impl.AbstractHttpClientConnection.doFlush(AbstractHttpClientConnection.java:278)
at
org.apache.http.impl.AbstractHttpClientConnection.flush(AbstractHttpClientConnection.java:283)
at
org.apache.http.impl.conn.AbstractClientConnAdapter.flush(AbstractClientConnAdapter.java:197)
at
org.apache.http.protocol.HttpRequestExecutor.doSendRequest(HttpRequestExecutor.java:260)
at
org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)
at
org.apache.http.impl.client.DefaultRequestDirector.tryExecute(DefaultRequestDirector.java:715)
at
org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:520)
at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:906)
at
org.apache.http.impl.client.AbstractHttpClient.execute(AbstractHttpClient.java:805)
at
org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientRetrieveFileTransfer.performConnect(HttpClientRetrieveFileTransfer.java:1077)
at
org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientRetrieveFileTransfer.access$0(HttpClientRetrieveFileTransfer.java:1068)
at
org.eclipse.ecf.provider.filetransfer.httpclient4.HttpClientRetrieveFileTransfer$1.performFileTransfer(HttpClientRetrieveFileTransfer.java:1064)
at
org.eclipse.ecf.filetransfer.FileTransferJob.run(FileTransferJob.java:73)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book


Re: materializing Xtext workspace with oomph [message #1457668 is a reply to message #1457659] Fri, 31 October 2014 15:23 Go to previous messageGo to next message
Dennis Huebner is currently offline Dennis HuebnerFriend
Messages: 257
Registered: July 2009
Senior Member

javax.net.ssl.SSLHandshakeException: Received fatal alert: handshake_failure

Could you try to run oomph with JDK 1.7?



+Dennis Huebner

Get professional support from the Xtext committers at www.typefox.io
Re: materializing Xtext workspace with oomph [message #1457669 is a reply to message #1457668] Fri, 31 October 2014 15:25 Go to previous messageGo to next message
Dennis Huebner is currently offline Dennis HuebnerFriend
Messages: 257
Registered: July 2009
Senior Member

However, the correct URL is https://xtext-builds.itemis.de/jenkins/job/xdoc/lastSuccessfulBuild/artifact/site/


+Dennis Huebner

Get professional support from the Xtext committers at www.typefox.io
Re: materializing Xtext workspace with oomph [message #1457673 is a reply to message #1457669] Fri, 31 October 2014 15:28 Go to previous messageGo to next message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
On 31/10/2014 16:25, Dennis Huebner wrote:
> However, the correct URL is
> https://xtext-builds.itemis.de/jenkins/job/xdoc/lastSuccessfulBuild/artifact/site/
>

I'm running

java version "1.7.0_72"
Java(TM) SE Runtime Environment (build 1.7.0_72-b14)
Java HotSpot(TM) 64-Bit Server VM (build 24.72-b04, mixed mode)

I noted that there's a redirection, but I haven't touched anything in
the setup tasks... that URL is part of Xtext oomph setup from what I
understand...

cheers
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book


Re: materializing Xtext workspace with oomph [message #1457695 is a reply to message #1457673] Fri, 31 October 2014 15:51 Go to previous messageGo to next message
Dennis Huebner is currently offline Dennis HuebnerFriend
Messages: 257
Registered: July 2009
Senior Member

We also had this problem with a plain eclipse update manager. So it's not an oomph issue, it's more a Java+Server setup problem. I forgot with which JDK it works, maybe 1.6? Smile


+Dennis Huebner

Get professional support from the Xtext committers at www.typefox.io
Re: materializing Xtext workspace with oomph [message #1457702 is a reply to message #1457695] Fri, 31 October 2014 16:03 Go to previous messageGo to next message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
On 31/10/2014 16:51, Dennis Huebner wrote:
> We also had this problem with a plain eclipse update manager. So it's
> not an oomph issue, it's more a Java+Server setup problem. I forgot with
> which JDK it works, maybe 1.6? :)

I tried with Java 1.6 and I have the same problem... by trying with Java
1.6 I mean that I run the eclipse provisioned by oomph with Java 1.6.

cheers
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book


Re: materializing Xtext workspace with oomph [message #1457760 is a reply to message #1457702] Fri, 31 October 2014 17:21 Go to previous messageGo to next message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
Eike solved this problem and the materialization terminates
successfully... however, I now have an error in
org.eclipse.xtend.core.conversion.JavaASTFlattener when calling
extraDimensions that returns a List, instead of an expected int.
getExtraDimensions is the method to be called, so I guess the version of
Xtend used in the IDE is not up-to-date... this brings me to the
question: which version of Xtext/Xtend must be installed in the IDE for
the Xtext/Xtend development workspace? I selected the DSL distribution...

cheers
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book


Re: materializing Xtext workspace with oomph [message #1457889 is a reply to message #1457760] Fri, 31 October 2014 20:35 Go to previous messageGo to next message
Dennis Huebner is currently offline Dennis HuebnerFriend
Messages: 257
Registered: July 2009
Senior Member

Lorenzo Bettini wrote on Fri, 31 October 2014 18:21
... this brings me to the
question: which version of Xtext/Xtend must be installed in the IDE for
the Xtext/Xtend development workspace?

The latest version in stream. In your case master=2.8.0



+Dennis Huebner

Get professional support from the Xtext committers at www.typefox.io
Re: materializing Xtext workspace with oomph [message #1458286 is a reply to message #1457889] Sat, 01 November 2014 07:17 Go to previous messageGo to next message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
On 31/10/2014 21:35, Dennis Huebner wrote:
> Lorenzo Bettini wrote on Fri, 31 October 2014 18:21
>> ... this brings me to the
>> question: which version of Xtext/Xtend must be installed in the IDE for
>> the Xtext/Xtend development workspace?
>
> The latest version in stream. In your case master=2.8.0

But there's no way to enforce that in oomph during the Eclipse IDE
installation is that right?

I mean, I'll have to update the Eclipse IDE myself after the first
materialization using
http://download.eclipse.org/modeling/tmf/xtext/updates/composite/latest/
is that correct?

cheers
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book


Re: materializing Xtext workspace with oomph [message #1460144 is a reply to message #1458286] Mon, 03 November 2014 08:32 Go to previous messageGo to next message
Dennis Huebner is currently offline Dennis HuebnerFriend
Messages: 257
Registered: July 2009
Senior Member

Oomph will install the latest nightly for you when the setup runs. It will also update the version every time you restart the IDE (there is a property to disable that).


+Dennis Huebner

Get professional support from the Xtext committers at www.typefox.io
Re: materializing Xtext workspace with oomph [message #1460283 is a reply to message #1460144] Mon, 03 November 2014 11:55 Go to previous messageGo to next message
Lorenzo Bettini is currently offline Lorenzo BettiniFriend
Messages: 1812
Registered: July 2009
Location: Firenze, Italy
Senior Member
On 03/11/2014 09:32, Dennis Huebner wrote:
> Oomph will install the latest nightly for you when the setup runs. It
> will also update the version every time you restart the IDE (there is a
> property to disable that).

mh... that actually did not happen when I ran the setup with Oomph: I
had to upgrade to the latest nightly myself, since the version that was
automatically installed was 2.7.2 (and the update site was the release one).

cheers
Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
HOME: http://www.lorenzobettini.it
Xtext Book:
http://www.packtpub.com/implementing-domain-specific-languages-with-xtext-and-xtend/book


Re: materializing Xtext workspace with oomph [message #1460332 is a reply to message #1460283] Mon, 03 November 2014 13:01 Go to previous message
Dennis Huebner is currently offline Dennis HuebnerFriend
Messages: 257
Registered: July 2009
Senior Member

I'm not maintaining the new oomph setup. With the old oomph all works as I described above.


+Dennis Huebner

Get professional support from the Xtext committers at www.typefox.io
Previous Topic:xtext dslexecutableExtensionFactory class cannot be loaded
Next Topic:CfP: EclipseCon NA 2015
Goto Forum:
  


Current Time: Sat Apr 27 01:47:58 GMT 2024

Powered by FUDForum. Page generated in 0.04823 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top