- This topic has 8 replies, 4 voices, and was last updated 15 years, 5 months ago by support-joy.
-
AuthorPosts
-
Rob StoeckleinMemberEvery time I try to attach source code to a jar I get this message:
An error occurred while applying the source attachment
Reason:
Cannot create linked resource ‘/.org.eclipse.jdt.core.external.folders/.link0’. The parent resource is not accessible.Anyone have any idea what to do here?
I am using MyEclipse 7.1.1.
support-joyMemberrstoeck,
Can you send me the reproduction script? Please be as elaborate as possible, mention the type of project, if there is an example project, let me know, if any you have enabled any capabilities, what is the deployment server, your current version of MyEclipse, what is the jar file and the source file you are trying to add? Also copy and paste your installation detail – you can get it from MyEclipse > Installation Summary > Installation Detail.
Rob StoeckleinMemberMyEclipse 7.1.1-2009-03-10
Simple java project, NO enabled capabilities
Windows Vista
>>This operation has worked before, but something has gotten “confused”.<<
Anytime I try to add a source *directory* to a jar file on the build path I get this error. If I add a source *file* (i.e. source jar file), then it works fine. It doesn’t matter what jar file is selected, they all exhibit the same problem.
Steps to recreate:
1) From the Package Explorer right click on the project and select Build Path > Configure Build Path
2) Click the Libraries tab in the Java Build Path dialog box
3) Go to the jar file of interest, for example, Apache commons-dbcp-1.2.2
4) Open its node and highlight the “Source attachment” line, click the Edit button
5) Click the External Folder button on the Source Attachment Configuration dialog
6) Navigate to and select the root source directory of the jar file
7) Click OK to close the Source Attachment Configuration dialog, the “Source attachment” line has the selected directory filled in
8) Click OK to close the Java Build Path dialog box
9) The “Problem Occurred” dialog box appears immediately giving the error message
I have put the “-clean” option in the myeclipse.ini file, hoping that would fix it, but it did not. I have restarted MyEclipse and my computer both, no change.
Here’s the installation summary:
*** Date:
Thursday, April 30, 2009 9:13:28 AM CDT** System properties:
OS=WindowsVista
OS version=6.0.0
Java version=1.5.0_11*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 7.1.1
Build id: 7.1.1-20090310*** Eclipse details:
MyEclipse Enterprise WorkbenchVersion: 7.1.1
Build id: 7.1.1-20090310Eclipse Platform
Version: 3.4.1.r341_v20080731-9I96EiDElYevwz-p1bP5z-NlAaP7vtX6Utotqsu
Build id: M20080911-1700Eclipse Java Development Tools
Version: 3.4.1.r341_v20080709-0800-7o7tEAfEF_U5qyUgrb2HAp539P97
Build id: M20080709-0800Eclipse Graphical Editing Framework GEF
Version: 3.4.1.v20080806-67718083A56B4H2A3213573
Build id: 200809101400Eclipse RCP
Version: 3.4.100.r341_v20080814-989JESIEdAciFYfkZZsBfSwQ2341
Build id: M20080703-0800Eclipse Plug-in Development Environment
Version: 3.4.1.r341_v20080731-7T7U0E9mlRIuGUYviF_VP
Build id: M20080703-0800Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-showsplash
-launcher
C:\Users\rob\AppData\Local\Genuitec\MyEclipse 7.0\myeclipse.exe
-name
Myeclipse
–launcher.library
C:\Users\rob\AppData\Local\Genuitec\MyEclipse 7.0\../Common\plugins\org.eclipse.equinox.launcher.win32.win32.x86_1.0.101.R34x_v20080731\eclipse_1115.dll
-startup
C:\Users\rob\AppData\Local\Genuitec\MyEclipse 7.0\../Common\plugins\org.eclipse.equinox.launcher_1.0.101.R34x_v20080819.jar
-clean
-configuration
configuration
-vm
C:\Users\rob\AppData\Local\Genuitec\Common\binary\com.sun.java.jre.win32.x86_1.5.0.011\bin\client\jvm.dllThanks for any help you can give!
-Rob
support-joyMemberRob,
I am on XP and I have tried the reproduction script but I am not able to reproduce the same at my end. I will get a dev team member who is also on vista to help you with this issue. Sorry for the inconvinience.
Loyal WaterMemberRob,
I was unable to reproduce this issue on Vista. Can you switch to a new workspace and test this again. Let me know if the problem persists.
PokeringsMemberHi
Im running the latest version of the eclipse and I have this exact same problem while attaching source with the same message. We might have different environments but problem is the same. Obviously a bug in eclipse.
support-joyMemberPokerings,
I see that this issue is being faced by couple of users. I need your help to get to the bottom of this issue.
For starters –
1. Can you copy and paste your installation detail? You can get it from MyEclipse > Installation Summary > Installation Detail.
2. I need the steps to reproduce this issue. Be as elaborate as possible. (If you have upgraded from an earlier version of ME to this current version, please mention details such as – when did you upgrade and since when are you facing this issue, etc)
3. Can you share your source? You can send a mail to support@genuitec.com, add ATTN: Joy in the subject. Please refer this post. This will help in establishing quick tracking of this issue. I can guarantee confidentiality of your source files. If not, can you share a test source file using which we can replicate this at our end?
4. Can you attach your log file? You can get it from [your workspace dir]/.metadata/.logs
5. Have you added any 3rd party plugin? Can you list them out for me? You can get it from Help > Software Updates > Add/Remove software.
6. Can you get to pulse2.properties file, look for pulse.handshake.id and copy and paste it here for me? (You can find it here ~\Genuitec\Common\configuration\pulse2.properties – this is the path in XP, look for similar setting in your OS)
PokeringsMemberHi Joy
Thanks for the reply. However before I do all of that I would like you to know as I stated in the previous post that I am not using MyEclipse. Just plain old Eclipse (latest version). Would you still like me to go and do the above steps?
So its definitely a bug in Eclipse and its strange that when you google it only 3 results come up of which only yours is addressing it.
Thanks.
support-joyMemberThanks for pointing this out to me. Yes, if this a bug in eclipse, and since MyEclipse is based on Eclipse, we also inherit Eclipse bugs 🙁
Do you have any related bug tracking ID in eclipse or link that points to the bug? Can you share the link to the bug here? -
AuthorPosts