Question

_ant_compile fails with error when building UPD14

  • 5 February 2022
  • 3 replies
  • 184 views

Userlevel 5
Badge +7

Hi Experts,

During UPD14 build, the _ant_compile failed with below error.  I have run a clean build as well. But encountered the same error. Please let me know any suggestions to correct this error.

 

Error Log 

[echo] *** Compiling services...
    [javac] Compiling 1115 source files to C:\LAND2_DEV2APP10\build_home\build\ejb-classes\Service
    [javac] warning: Supported source version 'RELEASE_6' from annotation processor 'org.netbeans.modules.openide.util.ServiceProviderProcessor' less than -source '1.8'
    [javac] warning: Supported source version 'RELEASE_6' from annotation processor 'org.netbeans.modules.openide.util.URLStreamHandlerRegistrationProcessor' less than -source '1.8'
    [javac] C:\LAND2_DEV2APP10\build_home\build\gen\ejbs\Service\ifs\application\distributiontransactionmanagement\impl\InboundDistributionTransactionsImpl.java:539: error: cannot find symbol
    [javac]          line.c56.setValue(invoiceLines.delivTypeId);
    [javac]                                        ^
    [javac]   symbol:   variable delivTypeId
    [javac]   location: variable invoiceLines of type InvoiceLine
    [javac] C:\LAND2_DEV2APP10\build_home\build\gen\ejbs\Service\ifs\application\distributiontransactionmanagement\impl\InboundDistributionTransactionsImpl.java:540: error: cannot find symbol
    [javac]          line.c57.setValue(invoiceLines.delivTypeDescription);
    [javac]                                        ^
    [javac]   symbol:   variable delivTypeDescription
    [javac]   location: variable invoiceLines of type InvoiceLine
    [javac] C:\LAND2_DEV2APP10\build_home\build\gen\ejbs\Service\ifs\application\distributiontransactionmanagement\impl\OutboundDistributionTransactionsImpl.java:1443: error: cannot find symbol
    [javac]                oLine.delivTypeId.setValue(line.c56);
    [javac]                     ^
    [javac]   symbol:   variable delivTypeId
    [javac]   location: variable oLine of type InvoiceLine
    [javac] C:\LAND2_DEV2APP10\build_home\build\gen\ejbs\Service\ifs\application\distributiontransactionmanagement\impl\OutboundDistributionTransactionsImpl.java:1445: error: cannot find symbol
    [javac]                oLine.delivTypeDescription.setValue(line.c57);
    [javac]                     ^
    [javac]   symbol:   variable delivTypeDescription
    [javac]   location: variable oLine of type InvoiceLine
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -Xlint:deprecation for details.
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.
    [javac] 4 errors
    [javac] 2 warnings

 

Many Thanks,

Priyanjala Silva


This topic has been closed for comments

3 replies

Userlevel 3
Badge +4

Hi Priyanjala,

 

Are there any customisation done in customer’s environment related to this area?

 

Best Regards,

Prabhavi.

 

Userlevel 5
Badge +9

Hi @Priyanjala Silva , 

 

This is related to the OutboundDistributionTransactionsImpl.java customizations. 
However, during the analysis this is not detected as a customization impact because this is a core file.

Thanks and Best Regards,
Kalana

  

Userlevel 3
Badge +5

Hi @Priyanjala Silva ,


I found the same error in another customer when build the UPD 15. These code lines have been added via UPD 12 patch:159041. It seems that InvoiceManagement.serverpackage has not been built successfully. I temporarily created a package and manually checkout the files (InboundDistributionTransactionsImpl.java,InvoiceManagement.csv,InvoiceManagement.serverpackage,OutboundDistributionTransactionsImpl.java) which includes in patch: 159041 and was able to build the package without any errors.


Best Regards,
Tharindu