-
Notifications
You must be signed in to change notification settings - Fork 194
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tycho 3.x: Stackoverflow when fetching target platform component #2358
Comments
The demo is quite messed up, but I can reproduce that the following target definition location works with Tycho 2.7.5, but not with 3.0.4: <location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
<repository location="https://sourceforge.net/projects/birt/files/release/4.16.0/"/>
<unit id="org.eclipse.birt.osgi.runtime.feature.group" version="0.0.0"/>
</location> Sourceforge does a lot of redirecting. For example, |
@howlger @pramsden thanks for reporting the issue, I'd like to include it in the next bugfix release, do you think it would be possible to provide an integration-test to demonstrate the issue? |
To reproduce I need to use an empty repository, this is the stacktrace I get:
|
From a first debugging, the issue is mostly because
redirects to
(please note the last |
Please try out the current tycho snapshot build if the problem is fixed. |
First test looks good. No Stackoverflow exception. I used 4.0.0-SNAPSHOT.
I'm currently focussed on other work at the moment so I haven't tested
further.
Thanks!
…On Tue, 16 May 2023 at 14:19, Christoph Läubrich ***@***.***> wrote:
Please try out the current tycho snapshot
<https://github.com/eclipse/tycho/wiki#getting-tycho-snapshots> build if
the problem is fixed.
—
Reply to this email directly, view it on GitHub
<#2358 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJMPOKVYVUQ5QWDQKSIZ5LXGNWDDANCNFSM6AAAAAAXGWZ45Q>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
--
------------------------------------------------
paul ramsden
ramsden edv-beratung
http://www.ramsden.de
mobile tel.: +49 (0) 176 996 699 32
|
ignore that. my project was not properly set up
…On Tue, 30 May 2023 at 10:50, Paul Ramsden ***@***.***> wrote:
First test looks good. No Stackoverflow exception. I used 4.0.0-SNAPSHOT.
I'm currently focussed on other work at the moment so I haven't tested
further.
Thanks!
On Tue, 16 May 2023 at 14:19, Christoph Läubrich ***@***.***>
wrote:
> Please try out the current tycho snapshot
> <https://github.com/eclipse/tycho/wiki#getting-tycho-snapshots> build if
> the problem is fixed.
>
> —
> Reply to this email directly, view it on GitHub
> <#2358 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAJMPOKVYVUQ5QWDQKSIZ5LXGNWDDANCNFSM6AAAAAAXGWZ45Q>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
|
Today the issue re-occurred with Tycho 4.0.10 when the p2 server respond with a "301 Moved Permanently". This is the log out from tycho:
When trying to download the file manually using wget I see it got moved permanently:
I've logged it as new issue: |
I have created a small demo here: https://github.com/pramsden/tycho-stackoverflow.git
I am using a certain version of BIRT which is located on Sourceforge and this has been added to the target definition. When I use Tycho 3.x, the BIRT location seems to cause a stackoverflow. With 2.7.5 the problem does not occur.
As the project now contains fragments, I believe that I need to use Tycho 3.x.
It is possible that sourceforge is a problem. I wanted to mirror the location in our Nexus but that was not possible - although I haven't been able to figure out why. However, previous versions of Tycho were able to handle it.
The text was updated successfully, but these errors were encountered: