Skip to main content

alphaWorks  >  Forums  >  CodeInvaders Challenge  >  developerWorks

[gameName].xml not found Problem    Point your RSS reader here for a feed of the latest messages in this thread


     

 
 

My developerWorks
 Welcome, Guest
Sign in or register
Permlink Replies: 2 - Pages: 1 - Last Post: Jan 12, 2007 9:36 AM Last Post By: Threads: [ Previous | Next ]

Posts: 1
Registered: Jul 29, 2006 12:24:29 PM
[gameName].xml not found Problem
Posted: Jul 29, 2006 12:29:53 PM
Click to report abuse...   Click to reply to this thread Reply
Hi everyone. I tried to debug this project. But i encountered a problem. Here is log file;
2006.07.29 19:21.29 I Game location: file:/d:/Program Files/eclipse/eclipse/plugins/com.ibm.games.codeinvaders_3.1.0.jar
2006.07.29 19:21.29 I Loading CodeInvaders from d:/Program Files/eclipse/eclipse/plugins/com.ibm.games.codeinvaders_3.1.0.jar
2006.07.29 19:21.29 I createMainWindow
2006.07.29 19:21.30 I Loading CodeInvaders from d:/Program Files/eclipse/eclipse/plugins/com.ibm.games.codeinvaders_3.1.0.jar
2006.07.29 19:21.31 I showSplash
2006.07.29 19:21.31 I Reading playlist
2006.07.29 19:21.31 I Loading playlist: D:\Program Files\eclipse\workspace\.metadata\.plugins\com.ibm.games\Game1.xml
2006.07.29 19:21.31 E Error reading playlist
java.io.FileNotFoundException: D:\Program Files\eclipse\workspace\.metadata\.plugins\com.ibm.games\Game1.xml (Access is denied)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at com.ibm.games.internal.util.Playlist.load(Playlist.java:46)
at com.ibm.jgfw.Launcher.getPlayers(Launcher.java:212)
at com.ibm.jgfw.Launcher.playSyncTournament(Launcher.java:187)
at com.ibm.jgfw.Launcher.run(Launcher.java:169)
at com.ibm.jgfw.Launcher.main(Launcher.java:131)

When i look at to eclipse\workspace\.metadata\.plugins\com.ibm.games\Game1.xml file, i see that game1.xml looks like a folder. I do not understand what is going on.What is the problem? Does anybody help me?
deboer

Posts: 12
Registered: Mar 10, 2005 02:49:38 PM
Re: [gameName].xml not found Problem
Posted: Aug 09, 2006 12:50:49 PM   in response to: in response to: 's post
Click to report abuse...   Click to reply to this thread Reply
Hi,
When you launch the game, it tries to create that xml file as input for the external game process. The error is occuring because the game cannot read the file.
Is it really a folder? Does it contain any files? You could try removing it and launching again, or creating a new project so that the launch configuration has a different name.

Posts: 1
Registered: Jan 12, 2007 02:27:13 AM
Re: [gameName].xml not found Problem
Posted: Jan 12, 2007 09:36:32 AM   in response to: deboer in response to: deboer's post
Click to report abuse...   Click to reply to this thread Reply
On my WinXp I had the same problem, the simpliest solution is to delete created directory (e.g. "project.xml") and create empty file instead of this dir - "project.xml".

Point your RSS reader here for a feed of the latest messages in all forums