Skip to main content
Question

_ant_compile fails with error when building UPD14

  • February 5, 2022
  • 3 replies
  • 218 views

Priyanjala Silva
Sidekick (Employee)
Forum|alt.badge.img+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

Forum|alt.badge.img+4

Hi Priyanjala,

 

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

 

Best Regards,

Prabhavi.

 


Kalana Rathnayake
Hero (Employee)
Forum|alt.badge.img+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

  


Tharindu Sooriyaarachchi
Hero (Employee)
Forum|alt.badge.img+6

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
 


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings