|
E3607 Missing Class in Association or Port Name Cannot Be Resolved
[Previous]  [Next] 
|
![]() |
User Manual [Previous]  [Next] E3607 Missing Class in Association or Port Name Cannot Be ResolvedThis error can occur in two situations: a semantic error raised when a port name cannot be resolved, or a syntax error caused by an invalid associationA port used in a class must be defined before usage by port bindings and active methods. This is shown in the first example below, with a resolution in the second example. This error might also be raised if you intended to create an association from the current class to another, but omitted the destination class. This is shown in the third example. The solution would be to add another class and then give the name of that class as the destination of the association after the asterisk. Example
//inB has not been defined
//in class A, causing the error
class A {
public in Integer inA;
public out Integer outA;
inB -> outA;
}
Load the above code into UmpleOnline Solution to The Above So the Message No Longer Appears
//Both inA and outA are
//defined; the error does
//not occur
class A {
public in Integer inA;
public out Integer outA;
inA -> outA;
}
Load the above code into UmpleOnline Example where this an association with a missing Class that should have followed the *
//Destination class name is missing,
//causing the error
class X {
1 -> *;
}
Load the above code into UmpleOnline |