It happens because cdi.ui is not declared dependency to cdi.xml plugin with FileCDIBeans entity definition. But uses it when Finish button is pressed in New CDI beans.xml file wizard. Current dependencies i CDI component are shown below
There should be one more dependency from cdi.ui to cdi.xml to fix this issue.