java.lang.IllegalStateException: source not specified


Solutions on the web2

Solution icon of github
source not specified

Solution icon of github
via GitHub by jasyn
, 1 year ago
source not specified

Stack trace

java.lang.IllegalStateException: source not specified
	at org.eclipse.jdt.core.dom.ASTParser.createAST(ASTParser.java:807)
	at gr.uom.java.jdeodorant.refactoring.manipulators.ReplaceConditionalWithPolymorphism.modifyInheritanceHierarchy(ReplaceConditionalWithPolymorphism.java:271)
	at gr.uom.java.jdeodorant.refactoring.manipulators.ReplaceConditionalWithPolymorphism.apply(ReplaceConditionalWithPolymorphism.java:94)
	at gr.uom.java.jdeodorant.refactoring.manipulators.ReplaceConditionalWithPolymorphism.checkFinalConditions(ReplaceConditionalWithPolymorphism.java:973)
	at org.eclipse.ltk.core.refactoring.CheckConditionsOperation.run(CheckConditionsOperation.java:85)
	at org.eclipse.ltk.core.refactoring.CreateChangeOperation.run(CreateChangeOperation.java:121)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
	at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.