eclipse

MemoryAnalyzer throws StackOverFlow Error. How to solve this problem.

Hi, I am write a Java Application which will monitor Network devices. It throws OutOfMemory Error, so inorder to find out the root cause I have enabled the -XX:HeapDumpOnOutOfMemoryError flag in the java process. After adding the flag, hprof file is generated peoperly with size as around 500 MB. While try to load / parse the file in Ecl...

python module cx_Oracle in eclipse: undefined variable from import (ubuntu 10.4)

Hi guys, so here it is: I'm trying to use the cx_Oracle to access Oracle10g XE database. everything goes ok if i'm invoking python via the shell terminal then use the cx_Oracle module in a command line manner (import, db access and querying). However,I face some problems with Eclipse. There in no comment in the import line where I im...

Eclipse device management: NullPointer Exception while selecting device

I have installed Motorola iDEN sdk for j2me (midp2.0) on Windows 7 with Eclipse 3.5. I go to window->preference->java me->device management and click the tab manual install. I get the error no Error Searching For Device(java.lang.nullpointerexception). I have also installed motodev_sdk; it works fine. Can anyone help describ...

Eclipse: Debug script that expects command line parameters

I have a python script I am trying to debug in eclipse. I can execute it, breakpoint all that jazz, but this specific script requires a handful of command line parameters. Is it possible to setup my dev environment in eclipse to put these parameters in? Right now my program is just generating the line to execute, like: script.py -aword...

Something in my Preferences file breaks auto-complete...

There's something in my preferences file that is causing Eclipse's auto-complete feature (for Java) to not work. What do I mean? Well, I work on multiple computers, and I like a very specific color scheme. So, I exported my preferences file from Eclipse on one computer, and I import it to Eclipse on my other computers. The colors look g...

How do I get eclipse to automatically add a semicolon?

Here is the situation. I have the following Java code: String a; a. Right after I press the "." I get the popup menu with the String methods. I choose one, fill in the arguments, but then I have to press the right-arrow key to get past the ) so I can type in the ; In Emacs I used a macro (meta-Enter I think) which, when pressed, woul...

Cannot make Project Lombok work on Eclipse (Helios)

I have followed the tutorial here http://projectlombok.org/ but after adding import and @Data nothing happens. Does it work on eclipse helios ? ...

What is a reasonable way to convert a complicated Ant script to a set of Eclipse projects?

I inherited an existing Ant build script. It invokes javac three times on three different source directories: shared, client, and server. It then produces two JAR files: client.jar (shared + client) and server.jar (shared + server). When I translated this to Eclipse, I ended up making three projects with appropriate dependencies. This w...

GWT Launcher error because of huge classpath

Hi All, I am trying to run an GWT application which (unfortunately) has a huge classpath, because if which the GWT launcher fails to load and I get the following error : CreateProcess error=87, The parameter is incorrect. Does somebody know a workaround for this solution ? Thanks in advance.. ...

javadoc location in for Java ME?

Using Eclipse 3.5 and the plugin for mtj. Where can I find the Javadoc location for Java ME? How can I set the Javadoc location in Eclipse? I am using motodev sdk and also installed a mtj as Eclipse plugins. ...

How do you clear the validation errors in Eclipse?

I accidentally clicked on "Validate" for all of my projects (instead of going to Team > synchronize...) and I have several validation errors and tons of warnings. I can't figure out how to clear these so it goes back to just having the standard errors. (One way is to go to "Configure Contents" of the "Problems" view and deselect the va...

Where to put ServiceLoader config file in a web app

I am writing a web app in Eclipse. I am trying to use the ServiceLoader class to load some plugins. The docs for ServiceLoader say I need to place a file in META-INF/services. I have placed the file in the WebContent/META-INF/service folder but when I run the JUnit test via Eclipse it does not find any plugins. Is this the correct lo...

NullPointerException error

My Logcat 08-06 01:27:34.874: ERROR/AndroidRuntime(721): Uncaught handler: thread main exiting due to uncaught exception 08-06 01:27:34.893: ERROR/AndroidRuntime(721): java.lang.NullPointerException 08-06 01:27:34.893: ERROR/AndroidRuntime(721): at one.two.Booking$MyOnItemSelectedListener.onItemSelected(Booking.java:53) 08-06 01:27...

Can I make IntelliJ IDEA look more like Eclipse?

I've been developing in Eclipse for a long while, but am taking a hard look at IntelliJ IDEA 9.0.3 because of its good Flex development tools and Maven flexmojos integration. But I just CAN'T STAND the look of the thing on Ubuntu 10.04. Coming from Eclipse, the fonts and colors make everything very hard to read....very straining on the...

Problem using Maven to obtain Flash Builder 4 Libraries?

My question is related to this one, but is not exactly the same: http://stackoverflow.com/questions/828960/how-can-i-add-maven-dependencies-to-the-flex-build-path-in-flex-builder-3 Given that Maven will happily download all the correct version of all the swc's of the Flex SDK, it seems that I could point to those from the Library setti...

How to copy dependencies to gae war/WEB-INF/lib

I'm coming from Ant perspective, so pardon me. I realise there are quite a few questions here already on how to maven dependencies, but none of them seem to tell how to do what need to do. Question 1: Currently, in conjunction with using maven-war-plugin, when I run mvn war:war, it creates a war folder in target folder. However, I wish...

Store eclipse .project files outside the project directory

Hello there, I dunno whether it's even possible since this file does not contain any relevant links to directories, but anyway: I want to store .project files in a separate dir outside the project root. How can I do that? Best regards ...

Howto debug program that needs to run as root from gdb (Eclipse) as user (set gdb suid root?)

I need to debug a program on Linux with Eclipse (gdb). The program run as root and is quite large. The binary with debug symbols is about 250MB large and has more than 60 running threads after startup. I'm thinking about the best solution: Use gdbserver Run Eclipse as root Set gdb suid I think number 1 (gdbserver) would be the bes...

Installing Aptana and Eclipse PDT - what should be main and what as a plugin

I would like to use an IDE for PHP Development using Zend framework & jQuery. I decided to use Aptana Studio. There is no PHP support in [Studio 2][2], so I have to use Eclipse PDF. My question is: Should I install Eclipse PDT first and the use Aptana as plugin or install Aptana Studio and then install Eclipse PDT as a plugin? What are ...

How to change default Eclipse WTP "Web Resources" dynamic folder

I need to change the default Eclipse WTP "Web Resources" dynamic folder. Currently it points to WebContent, and I need to point to src\main\webapp. Thanks ...