I am moving an app from 6.10.9 to 7.6.0. The app compiles and runs successfully in 6.10.9. However, I receive the following error when trying to start up in 7.6.0: Buildfile: C:\Users\mkump\Documents\Mendix\PITHOS-main\deployment\build_core.xml compile: [javac] Compiling 2 source files to C:\Users\mkump\Documents\Mendix\PITHOS-main\deployment\run\bin [javac] C:\Users\mkump\Documents\Mendix\PITHOS-main\javasource\imap_pop3_email\actions\EmailHandler.java:423: error: incompatible types: int cannot be converted to Long [javac] attach.setSize(bodyPart.getSize()); [javac] ^ [javac] Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output [javac] 1 error The IMAP_POP3 module has been updated to the most recent version (3.1). As my Java skills are minimal, any pointers would be appreciated. Thanks in advance.
Size is standard attribute of filedocument since 7.4. The module is not updated (As should be done for all AppStore Modules per release IMHO ) . Update is easy
Remove the size attribute of the Entity 'Attachment'
Correct one overview that misses the 'size', replace with default 'size' attribute
Adapt the java line in 'EmailHandler.java'
Edit 1: Hi Mike
You can rename the size attribute to DocSize and adapt the java to .
Just place 'get' before the attribute name, which is the Java way to get the value. The 'set' you can guess....
In this case you will loose no data.
Chris de Gelder
Have you checked that the userlib folder is clean? Updating modules does not remove old libs.