You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
2020-12-02 16:19:42 [main] [ERROR] CUILauncher - class org.eclipse.jdt.core.dom.InfixExpression cannot be cast to class org.eclipse.jdt.core.dom.Statement (org.eclipse.jdt.core.dom.InfixExpression and org.eclipse.jdt.core.dom.Statement are in unnamed module of loader 'app')
java.lang.ClassCastException: class org.eclipse.jdt.core.dom.InfixExpression cannot be cast to class org.eclipse.jdt.core.dom.Statement (org.eclipse.jdt.core.dom.InfixExpression and org.eclipse.jdt.core.dom.Statement are in unnamed module of loader 'app')
at jp.kusumotolab.kgenprog.ga.mutation.heuristic.OperationGenerator.chooseNodeForReuse(OperationGenerator.java:65)
at jp.kusumotolab.kgenprog.ga.mutation.HeuristicMutation.makeOperation(HeuristicMutation.java:70)
at jp.kusumotolab.kgenprog.ga.mutation.Mutation.makeBase(Mutation.java:93)
at jp.kusumotolab.kgenprog.ga.mutation.Mutation.exec(Mutation.java:82)
at jp.kusumotolab.kgenprog.KGenProgMain.run(KGenProgMain.java:113)
at jp.kusumotolab.kgenprog.CUILauncher.launch(CUILauncher.java:72)
at jp.kusumotolab.kgenprog.CUILauncher.main(CUILauncher.java:35)
問題
HeuristicMutation
を利用する場合,再利用候補に条件式が存在するとClassCastException
でkgpが落ちる.原因
HeuristicMutation
はHeuristicStatementSelection
により再利用候補から文を選択している.#710 により再利用候補に条件式が含まれるようになったが,
HeuristicStatementSelection
が更新されていない.The text was updated successfully, but these errors were encountered: