Solved

Cannot resolve an eclipse JDI error

Posted on 2013-05-21
2
577 Views
Last Modified: 2013-05-26
Hello!

I am in a Java EE 3.0 project at the customerside with eclipselink to Oracle, using eclipse Juno as IDE. I made an update this morning, getting the latest version (Build id: 20130225-0426). The reason for searching an update was error messages when deleting a marked text. The first character I entered was displayed after the replacement, but an error message appeared without any consequences. As this was annoying, I installed the last version - all under Windows 7...

Now, I cannot debug properly the project. To be honest, I am not sure whether the problem arose because of the update or not.

Although eclipse does not come with installers (you have just unzip the files to the location you want to), this time, there was a kind of "installar wizard" with a [Next >] and a [Finish] button. At the end, a message said that changes will not be come effective until an eclipse re-start. May be, only some drop-ins or plug-ins have been updated...
 
Currently, I experience some other kind of errors from JBoss. I will be back when I solved them.

The error message is

The error message I get prior to debug problems
I tried to find the exact positon where this error is produced. Once, I got another error why I was inside the String class that reads

Null pointer exception that I get only sometimes
Put the main problem seems to be the first error.

What I have done so far
As I already wrote, I got the newest version of eclipse Juno
I closed eclipse and reopened it. Once, I even made a restart of the notebook
I cleaned the whole project, resulting in an automatic rebuild. This helps after getting the JDI error, as the error prevents any debugging: you cannot see where you are in the code anymore
I redeployed even application, although the problem seems to be a client problem

But all these steps turned out to be pointless. The debugger stops at some point, and there is no way to continue. The only way to start the program is to run it in the "release" mode. Now, it's your turn! :)

Thank you for your help in advance!
0
Comment
Question by:sae1962at
2 Comments
 
LVL 35

Accepted Solution

by:
girionis earned 500 total points
ID: 39198005
Have you seen this? It states:

"Try increasing the debugger timeout in eclipse menu Window > Preferences > Java > Debug. That worked for me in a similar situation. "
0
 
LVL 1

Author Comment

by:sae1962at
ID: 39198559
Yes, a colleague of mine told me to increase it to 600 s. I think that solved the problem.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The article will include the best Data Recovery Tools along with their Features, Capabilities, and their Download Links. Hope you’ll enjoy it and will choose the one as required by you.
When you try to share a printer , you may receive one of the following error messages. Error message when you use the Add Printer Wizard to share a printer: Windows could not share your printer. Operation could not be completed (Error 0x000006…
This Micro Tutorial will teach you how to the overview of Microsoft Security Essentials. This is a free anti-virus software that guards your PC against viruses, spyware, worms, and other malicious software. This will be demonstrated using Windows…
This Micro Tutorial will give you a basic overview of Windows Live Photo Gallery and show you various editing filters and touches to photos you can apply. This will be demonstrated using Windows Live Photo Gallery on Windows 7 operating system.

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now