Errors while Debugging in 4.1.3

Questions and answers regarding the use of eclipse environment as seen in Servoy Developer

Errors while Debugging in 4.1.3

Postby rvpm » Wed Aug 19, 2009 7:02 am

Using the servoy_sample_crm solution, I put an application.output('Testing') statement at the beginning (right after the first if block) and at the end of the openSolution global method. I placed a breakpoint on the if statement in the first if block.

Multiple Errors have Ocurred.
Label Job (Time of error: shows date and time)

In the details dialog box:
An internal error occurred during: "Label Job".
java.lang.NullPointerException

Everytime I press the step button, the error repeats.

If I remove the breakpoint and restart the smart client, everything runs find without any errors.
I see the output of the two application.output statements in the Debug Console window.

As a newbie to 4.1.3, I sure could use some help in understanding what is going on. :? Your assistance is greatly appreciated.

Windows XP SP2 - JAVA 1.6.0_16_b01 - Servoy 4.1.3
Ron McBean
Realm Information Technologies
SAN Partner
rvpm
 
Posts: 41
Joined: Fri Feb 09, 2007 3:35 am
Location: Chandler, AZ

Re: Errors while Debugging in 4.1.3

Postby jcompagner » Fri Aug 21, 2009 12:19 pm

i just tried this but i cant reproduce it.
Problem is that for me that breakpoint is sometimes not hit because the debugger is connected a little bit slower then the on solution load runs when i really start a new debug connection

If then do after the first start File -> close in the client or i close the client and press debug again, it works for me and i dont see that error.
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet

Re: Errors while Debugging in 4.1.3

Postby rvpm » Fri Aug 21, 2009 9:05 pm

Johan,

I followed your suggestion and set the onLoad event of the custom login form to point to the openSolutions method. I downloaded 4.1.3 from the website as an Windows .exe file. When I peruse the Manage Configuration I see errors in the following components: Elipse Java Development tools and Eclipse Modeling Framework. Please see the attachment. Is this normal?

BR, Ron
Attachments
Eclipse_errors.pdf
(66.27 KiB) Downloaded 296 times
Ron McBean
Realm Information Technologies
SAN Partner
rvpm
 
Posts: 41
Joined: Fri Feb 09, 2007 3:35 am
Location: Chandler, AZ

Re: Errors while Debugging in 4.1.3

Postby jcompagner » Fri Aug 21, 2009 10:39 pm

yes this is know and wont be changed for 4.1
In 5.0 we have fixed the configuration (and updated to eclipse 3.5)
Johan Compagner
Servoy
User avatar
jcompagner
 
Posts: 8833
Joined: Tue May 27, 2003 7:26 pm
Location: The Internet


Return to Eclipse Environment

Who is online

Users browsing this forum: No registered users and 5 guests

cron