-
-
Notifications
You must be signed in to change notification settings - Fork 352
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
SourcePosition from unexpected compilation unit #3133
Comments
Thanks for the bug report. This has been heavily touched recently. Could you try with master?
|
I have tried with 7.6.0-beta-4 and 7.5.0 from the maven repository. Yes, I can try. |
Well, the master branch is on 7.6.0-beta-4 so I guess it failed. |
Anything else I can do? |
Can you try the snapshot version? <dependencies>
<dependency>
<groupId>fr.inria.gforge.spoon</groupId>
<artifactId>spoon-core</artifactId>
<version>7.6.0-SNAPSHOT</version>
</dependency>
</dependencies>
<repositories>
<repository>
<id>maven.inria.fr-snapshot</id>
<name>Maven Repository for Spoon Snapshots</name>
<url>http://maven.inria.fr/artifactory/spoon-public-snapshot</url>
</repository>
</repositories> I also faced a lot of problem with SniperJavaPrettyPrinter, it does not surprise me that you face this problem. |
I will try, thanks for the suggestion. |
Now I am getting another error:
|
Are there any other suggestions? I really need to get this fixed. I am making myself available to help if necessary. |
would you be able to create a pull-request that reproduces the problem in a small test case? that would be super useful! |
I will try to create it in the weekend. |
cool, thanks.
|
I was able to make the PR. I had a problem trying to catch the error, it shows in the console, however, I am not able to try-catch it. |
closed per #3137 |
Hi there,
This is my first time posting an issue in this repository. I have been using Spoon for some time and it has been an enjoyable activity. I am currently using it in my master's thesis. I have reached a problem that I cannot solve by myself, so I require your assistance. A little bit of context... I am in the middle of the process o creating a gradle plugin to refactor android applications, powered by Spoon of course. In this particular experiment I used Slide an open-source android project. I gathered the dependencies automatically and give them to the spoon launcher classpath. When I try to run the launcher I get different errors depending on the PrettyPrinter that I use (I want to use SniperJavaPrettyPrinter).
Stacktrace with SniperJavaPrettyPrinter:
Stacktrace without SniperJavaPrettyPrinter (I believe there is an similar closed issue that was closed prematurely, not sure if it is the same one. #2441):
Any help would be appreciated, thank you.
The text was updated successfully, but these errors were encountered: