cancel
Showing results for 
Search instead for 
Did you mean: 

SAP Netweaver Developer Studio and error

0 Kudos

Hi,

I am getting the below error in NWDS while creating project from an existing DC.

An intenal error has occured. See error log for more details.

Plugin name: Webdynpro Archive Builder.

Plugin ID: com.sap.ide.webdynpro.archivebuilder

Class : com.sap.ide.webdynpro.archivebuilder.project.WebdynproDevelop

Method: createJavaProject(IProject, IprogressMonitor)

Message: File/Server_track_DCname/.classpath is read-only.

On giving OK and when I checked in Webdynpro perspective, i could not find the Project created.

Regards,

Manchari

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello

Create the new Workspace in your sytem connect that Workspace vai NWDS.Close and Open NWDS.... Try....

Create the project and try again.

BR

SS

Answers (2)

Answers (2)

0 Kudos

Thanks for your help.

It worked when I closed NWDS ans open again

Regards,

Manchari

ErvinSzolke
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Manchari,

this happens if someone accidentally checked in the .classpath file into the DTR. This file should not be part of the DTR (this is a "non-dtr" resource) only necessary on client side. What happens is that the NWDS on client side tries to sync this file from the DTR (since it has been checked in there) but the file also exists already on client side created by the NWDS and marked it as read-only. The solution is to get rid of these non-dtr resources as they are only necessary for local build and local file generation. Other non-dtr resources are for instance (without the sake of completeness!) the .metamodel , the .project file, the folders bin, gen_wdp, gen_ddic (you can always compare other folders to see which files and folders are not necessary. Never remove the ".dcdef" file and the folder "src").

The fixing instructions are :

1.please navigate to

/usr/sap/XYZ/SYS/global/com.sap.dtr.console

2.execute the run.bat

(if this is unix, then please do not forget to replace the ";" by ":" inside the run.bat)

3. when you managed to start it, the prompt (">") will appear.

4. feel free to use the "help" command, but in the following example you'll also see how to proceed.

5. connect <yourhost>:<yourport> <nwdi admin user> <password>

    • Example: **

localhost:xyzadm 72> ./run.bat

> connect <host>:5<instnum>00 <nwdi admin user> <mynwdiadminpass>

6. use the "ls" command to locate the resource to be deleted. You can also use the "pwd" command to print the current working directory. Almost the same commands as on unix.

    • Example: **

localhost:/>ls

Fri, 7 Mar 2008 03:08:25 GMT .

Mon, 15 Nov 2010 17:52:59 GMT system-tools/

Fri, 7 Mar 2008 03:08:25 GMT ws/

7. locate the resource using the "cd" command

    • Example: **

cd /ws/<track>/sap.com_SAP_ESS/dev/inactive/DCs/sap.com/ess/us/w4/_comp

8. delete bin

9. delete gen_ddic

10 delete gen_wdp

11. do the same for dev/active and for cons/inactive and for cons/active

12. delete the project for the DC on the client side in NWDS.

13. recreate the project for the DC

14. you should be done.

See also a similar SDN entry here:

Best Regards,

Ervin ()