Processor Exper MAC version java stack overflow error

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Processor Exper MAC version java stack overflow error

1,787 Views
robertkonc
Contributor II

I'm using KDS 3.0 on MAC. And after updates always discover that some PE modules generate error java.lang.StackOverflowError.

At last update I find that mqx_ksds properties generate that error.

62544_62544.pngScreen Shot 2015-08-11 at 10.42.02.png

 

Is there any solution to increase java start or it is related to bug in code?

 

I always tested same function in Win7 at it work OK.

 

Thanks for answer in advance,

Robert

Labels (1)
9 Replies

1,571 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

hi,

In addition, Erich has two article regarding to this topic. hope this can also help.

Show Heap Status in Eclipse | MCU on Eclipse

Improve Eclipse Performance with Increased Heap Size | MCU on Eclipse


Have a great day,
Zhang Jun

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply

1,571 Views
robertkonc
Contributor II

I'm testing heap size and it looks OK. When error occurs heap size is in range.

I take snap shot before and after I click to "mqx_ksdk" bean.

Heap size status in on bottom line.

Screen Shot 2015-08-12 at 09.19.04.png

Screen Shot 2015-08-12 at 09.19.15.png

Screen Shot 2015-08-12 at 09.19.38.png

I think heap size is not a problem.

Best regards,

Robert Konc

0 Kudos
Reply

1,571 Views
BlackNight
NXP Employee
NXP Employee

Hi Robert,

could you turn on the heap monitor (see Show Heap Status in Eclipse | MCU on Eclipse ) so you see how much heap is used. Maybe this gives an indication.

Additionally you could try to increase the heap size (Improve Eclipse Performance with Increased Heap Size | MCU on Eclipse ), maybe this helps. But it won't help if there is something recursive, then you still will see a stack overflow.

Erich

0 Kudos
Reply

1,571 Views
Lukas_Heczko
NXP Employee
NXP Employee

Hi Robert,

I was able to reproduce this problem and forwarded it for analysis to Processor Expert team. For now, as a workaround you can try to disable the Tabs view in Component Inspector before opening the mqx_ksdk component:

TabsView.png

Sorry for the inconvenience.

Best regards,

Lukas

1,571 Views
ilkkanisula
Contributor I

I can confirm that this happens all the time to me also with OS X 10.11.3 running KDS 3.1.0 and PE for MKE04Z8VFK4.

0 Kudos
Reply

1,571 Views
robertkonc
Contributor II

Hello Lukas,

Yes, that solve my problem for now.

This is old fashion CodeWarrior view of PE. And for me is more useful.

I did not know that this view exist in PE for KDS.

Thanks for that workaround. And I hope that PE team will find that error without big problems.

Best regards,

Robert

0 Kudos
Reply

1,571 Views
BlackNight
NXP Employee
NXP Employee

Hi Robert,

see Switching between ‘tabs’ and ‘no-tabs’ UI in Processor Expert | MCU on Eclipse  how you can make that setting stored in the workspace settings.

So you don't have to do it every time.

I hope this helps,

Erich

0 Kudos
Reply

1,571 Views
Carlos_Mendoza
NXP Employee
NXP Employee

Hi Robert,

Does this happen with a specific part number? Could you tell us which MCU are you using?

Thanks in advance.

Best Regards!

Carlos Mendoza

Technical Support Engineer

0 Kudos
Reply

1,571 Views
robertkonc
Contributor II

I'm tested on FRDM-KL25 and on FRDM-K64F and get same error.

So I think it is not related to specific processor.

Robert

0 Kudos
Reply