Community
Participate
Working Groups
Build Identifier: 20110218-0911 I am using Eclipse with the Android SDK to learn how to create Droid Apps. The instructions I get out of my book (and other internet sources) are to create a new folder called "menu" in my project's resource folder. I can do this, but when I try to do the next step -- which is to create an .xml file called "mainmenu.xml" in the new folder, Eclipse crashes with a "java.lang.StackOverflow error". I can create new .xml files in other folders that were automatically generated when I created the new project, but if I try to create any new file in a folder I create, it crashes. I've tried naming the file several random names in hopes that it was the file name that was causing confusion, but still came up with the same problem. Reproducible: Always Steps to Reproduce: 1.Create new Android project 2.Create new folder "menu" in the /res folder 3.Create a new file in the newly created "menu" folder
Please attach the '.log' file (in '.metadata' or get it via 'Error Log' view). Can you create files if you create a general project and folder?
Created attachment 196392 [details] .log file Here is the .log file. I was able to create a new folder and .xml file in a regular Java project.
The SOE happens in WST but it could also be caused by Android Dev. Moving to WST for further investigation. Maybe you could remote debug your workspace with a breakpoint at XMLModelUpdater.java:440 so that we see the call chain?
Can you provide us with a sample file that's causing this problem? Thanks.
(In reply to comment #2) > Created attachment 196392 [details] > .log file > > Here is the .log file. I was able to create a new folder and .xml file in a > regular Java project. Are there additional traces, specifically for a stack overflow that also have a "bottom"? There's no information on how it entered the troublesome method.
Created attachment 196621 [details] Sample project Here is the project that the error occurred in. I still have the "menu" folder that I created in the /res directory. If it tried to create a file in that folder, it crashed.
Created attachment 196622 [details] .metadata folder I'm not sure how to find the bottom of the report (I don't know a lot about this kind of stuff). I've attached my entire .metadata folder. Hopefully what you need is in there. Let me know if there is anything else I can do to help.
Hi, thanks for providing the workspace and your logs. I have not been able to reproduce this in plain WTP. As Dani said, the Android SDK may be a factor here.
I've worked on a few other projects since the original problem, and I haven't had any problems. Thanks for taking a look at it. (In reply to comment #8) > Hi, thanks for providing the workspace and your logs. I have not been able to > reproduce this in plain WTP. As Dani said, the Android SDK may be a factor > here.
(In reply to comment #9) > I've worked on a few other projects since the original problem, and I haven't > had any problems. Thanks for taking a look at it. > > (In reply to comment #8) > > Hi, thanks for providing the workspace and your logs. I have not been able to > > reproduce this in plain WTP. As Dani said, the Android SDK may be a factor > > here. I'll resolve as works for me. If you find that you run into this again and you have new information that might lead to helping to reproduce the problem, please reopen it.