file [SOLVED] Redifined opération

8 years 2 months ago - 8 years 2 months ago #2772 by Kalite
Hi all,

The issue I note is the next. I try to redefined an abstract method in a children class and I have an "internal eroor" with the reason java.lang.NullPointerException when I do it. All the UI is freeze, I must restart Modelio to continue my work.

The operation is the follow :
ProcoleDisplayV(resId in : TResId, module in : TModule [0..1], ... in <no type>)

C++ code is:
virtual void ProtocoleDisplayV(TResId resId, TModule* module, ...) = 0;

I'm on modelio 3.1.2 --> 201405191231.

Please Log in or Create an account to join the conversation.

8 years 2 months ago #2774 by ebr
Hi Kalite,

I do not reproduce your issue...
Can you give us a more detailled scenario?
When exactly do you have this error, when you select the redefined operation?

Best Regards,

EBR

Please Log in or Create an account to join the conversation.

8 years 2 months ago #2777 by cde
Hi Kalite,

I reproduce your issue!

It's due to the parameter with <no type>...

Type your parameter with 'undefined' instead of <no type> to avoid this issue...

Best regards,
cde.
The following user(s) said Thank You: Kalite

Please Log in or Create an account to join the conversation.

8 years 2 months ago #2779 by Kalite
I have a abstract method ProtocoleDisplayV in a abstract class CProtocol. I derived it (Generalization) in CProtocolPane. So I copy the ProtocoleDisplayV from CProtocol, remove abstract field and precise redefine field in "Element" tab. The bug occurre when I select the methode redefined.

It also occurred when I create a new operation and input all parameters (not using the copy / past fonction).

Maybe it's my project. :(
I start it in Modelio 2.0 so maybe there is some error in it.

Best regards,
Kalite

Please Log in or Create an account to join the conversation.

8 years 2 months ago #2780 by Kalite
Sorry I do not have see this post before answer.

Ok that's noted and it works fine. Thank you.

Best regards,
Kalite.

Please Log in or Create an account to join the conversation.

Moderators: tmaaabcde
Time to create page: 0.039 seconds
^ Back to Top