JEAF Generator Error Codes
This page describes all the possible errors that might come up during code generation.
Code | Type | Description |
9100 | Error | JEAF Generator expects a specific version of the so called JEAF Meta Model (JMM). The JMM version that is used by your UML model seems to be outdated. Please upgrade to latest version of JMM. |
9101 | Warning | When working with OpenAPI and REST there are some restrictions concerning the data types that can be used in Java. This warning tells you that in a specific REST operation a incompatible parameter or return type is used. This will lead to an invalid request / response from an OpenAPI perspective. |
9102 | Warning | Depending on how you export XMI files from your MagicDraw UML model, it might happen that the files contain information about file systems paths. This should not be an issue on the machine where you exported the files. However, it may lead to problems on other devices or your CI/CD infrastructure where file system paths might not be the same. |
9103 | Warning | When working with OpenAPI and REST there are some restrictions concerning the data types that can be used in Java. This warning tells you that in a defined |
9104 | Error | When defining the path of a REST resource then the path that is defined on the |
9105 | Error | The resource path of an |
9106 | Error | The path of a |
9107 | Error | Each |
9108 | Error | The |
9109 | Error | The supported consumed media types can either be defined on the |
9110 | Error | The produced media types can either be defined on the |
9111 | Error | All input parameters of a |
9112 | Error | All input parameters that are not explicitly marked as |
9113 | Error | A |
9114 | Error | It's not allowed to have more than 1 global error response for an OpenAPI specification in an UML model. |
9115 | Error |
|
9116 | Error |
|
9117 | Error |
|
9118 | Error |
|
9119 | Error |
|
9120 | Error | When defining a |
9121 | Error |
|
9122 | Warning | It is strongly recommended that the elements of the UML model have a meaningful documentation ;-) |
9123 | Error | When working with so called composite data types then inheritance is not supported for them. |
9124 | Error | When modeling attributes in UML it is important that they also have a type. If a type is not defined then code generation is not possible. |
9125 | Error | When modeling attributes and associations then it is required that they also have a type. If it is not defined then code generation is not possible. |
9126 | Error | When modeling operations of services it is required that they also have a return type. Also case |
9127 | Error | When modeling parameters of operations it is required that they also have a name. If there are input parameters without a name then code generation is not possible. |
9128 | Error | When modeling methods also a return type is required not only for methods that really return something but also in case of |
9129 | Error | When modeling method then they also have to have a name. Otherwise code generation is not possible. |
9130 | Error | All parameters within the UML model need to have a type. Otherwise code generation is not possible. |
9131 | Error | When modeling activities you have to ensure that each |
9132 | Error | When modeling |
9133 | Error | Class that are modeled as |
9134 | Error | When modeling persistent classes and their associations it is required that either both ends of an association have applied stereotype |
9135 | Error | When modeling associations between classes then it is required that navigable associations ends have set a role name. Otherwise code generation is not possible. |
9136 | Error |
|
9137 | Error | Minimum value for for Java Bean Validation |
9138 | Error | For a specific Java Bean Validation a string-based or numeric target type is expected. |
9139 | Error | Maximum value for for Java Bean Validation |
9140 | Error | For a specific Java Bean Validation a numeric target type is expected. |
9141 | Error | When working with Java Bean Validation |
9142 | Error | When working with Java Bean Validation |
9143 | Error | When working with Java Bean Validation |
9144 | Error | When working with Java Bean Validation |
9145 | Error | When working with Java Bean Validation |
9146 | Error | When working with Java Bean Validation |
9147 | Error | For a specific Java Bean Validation a |
9148 | Error | When working with Java Bean Validation |
9149 | Error | For a specific Java Bean Validation a |
9150 | Error | For a specific Java Bean Validation a |
9151 | Error | For a specific Java Bean Validation a date target type is expected. |
9152 | Warning | Special stereotype Proper solution to this is to clean up your UML model. That's why a warning is shown during code generation. |
9153 | Warning | OpenAPI standard defines that for whatever reason some header fields should not be mentioned in the OpenAPI specification e.g. However from an overall perspective it still might make sense to explicitly model them e.g. if these fields are still required in Java code. |
9154 | Warning | JEAF Generator supports to mark various elements in the UML model as deprecated. This information is also added to the generated code and OpenAPI specification. Example: xyz:
# Property "theBankAccount" is marked as deprecated. However OpenAPI does not support to mark references to complex types as deprecated.
$ref: '#/components/schemas/XYZType' |
9155 | Error | JAX-RS specification only allows to use |
9156 | Error | JAX-RS specification only allows to use |
9157 | Error | JEAF Generator supports to also make the public representation of a composite data type visible internally. To do so, a property has to be marked with stereotype «CompositeDataTypePublicField». In addition it is required that the property is of type String. |
9158 | Error | JEAF Generator supports so called soft links. They can be used to modularize your model without loosing information about real types. One possibility when using soft links is to use so called custom generic soft links. In this case you can define your own type that should be used to represent the soft link association. This type, however has to be configured in JEAF Generator Maven Plugin. |
9159 | Warning | JEAF Generator supports so called OpenAPI Data Types. They can be used a strong type representation for basic types. For OpenAPI Data Types it is strongly recommended that they are immutable. |
9160 | Error | And model element can either be marked with stereotype «POJO» or «ServiceObject» but not both of them a the same time. |
9161 | Warning | If a model element is marked as deprecated also a description, a "since" flag and the planned removal date of the deprecation should be provided so that consumers of the classes, services etc. can prepare. |
9162 | Error | If a model element is marked as composite data type then a name for the public field representation is required to be set in the model. |
9163 | Warning | In case that a class has one or more bidirectional associations it is not possible to generate |
9164 | Error | JEAF Generator supports so called soft links. They can be used to modularize and decouple your application. Due to that it does not make sense to use them in combination with bidirectional associations. |
9165 | Error | A REST operation path defines one or more path params but not all of them are also present as parameters in the defined REST operation |
9166 | Error | A REST operation defines path parameters that are not defined on the operations paths as parameters |