cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

ant clean all BUG! print in console

former_member943411
Discoverer
0 Likes
2,004

Hi everyone,

i experience a strange behaviour while running ant clean all. On the first try i get the following error:

/hybris/hybris/bin/ext-platform-optional/groovynature/buildcallbacks.xml:25: BUG! exception in phase 'semantic analysis' in source unit '/hybris/hybris/bin/ext-commerce/textfieldconfiguratortemplatefacades/testsrc/de/hybris/platform/textfieldconfiguratortemplatefacades/groovy/PreconfiguredProductTextFieldTest.groovy' null

I have to run the ant clean all command up to 2-3 times until this message disappears. Occurs with SAp Cloud commerce 1811.6.

Any ideas?

Kind regards,

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Likes

Hello, are you using the "build.parallel=true" entry in your local.properties file? Could you try removing it?

I ran into a similar issue, and solved it following the solution in this thread:

https://answers.sap.com/questions/13012156/bug-exception-in-phase-semantic-analysis.html

former_member943411
Discoverer
0 Likes

Hi , yes the message disappears after running ant clean all for 2-3 times. Unfortunately i had no time to find out more. Regards

Former Member
0 Likes

: Thanks for your quick reply. It seems to work for me as well when i retry. But this is so weird, we cant expect the automated build scripts to be fault tolerant for this, and retry!!

If anyone has a solution for this, can you please reply here. Thank you.

Former Member
0 Likes

Hi,

I am seeing a similar error in 1811, just with a different groovy test. BUG! exception in phase 'semantic analysis' in source unit 'hybris\bin\ext-commerce\subscriptionfacades\testsrc\de\hybris\platform\subscriptionfacades\AbstractSubscriptionFacadeSpockTest.groovy' null

: Does this go away after multiple retries of ant clean all? Were you able to find out more about this?

@Experts : Can someone help with the root cause and solution for this pls. Thank you.