java.lang.NullPointerException

GitHub | dmazinanian | 9 months ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. java.lang.NullPointerException

    No message provided

    at org.eclipse.jdt.core.dom.rewrite.ASTRewrite.replace()
  2. JDT Core
    ASTRewrite.replace
    1. org.eclipse.jdt.core.dom.rewrite.ASTRewrite.replace(ASTRewrite.java:438)
    1 frame
  3. gr.uom.java
    ExtractCloneRefactoring.checkFinalConditions
    1. gr.uom.java.jdeodorant.refactoring.manipulators.ExtractCloneRefactoring.replaceFieldAccessesOfParameterizedFields(ExtractCloneRefactoring.java:3597)
    2. gr.uom.java.jdeodorant.refactoring.manipulators.ExtractCloneRefactoring.processASTNodeWithDifferences(ExtractCloneRefactoring.java:3437)
    3. gr.uom.java.jdeodorant.refactoring.manipulators.ExtractCloneRefactoring.processCloneStructureNode(ExtractCloneRefactoring.java:2628)
    4. gr.uom.java.jdeodorant.refactoring.manipulators.ExtractCloneRefactoring.processCloneStructureNode(ExtractCloneRefactoring.java:2751)
    5. gr.uom.java.jdeodorant.refactoring.manipulators.ExtractCloneRefactoring.extractClone(ExtractCloneRefactoring.java:1237)
    6. gr.uom.java.jdeodorant.refactoring.manipulators.ExtractCloneRefactoring.apply(ExtractCloneRefactoring.java:340)
    7. gr.uom.java.jdeodorant.refactoring.manipulators.ExtractCloneRefactoring.checkFinalConditions(ExtractCloneRefactoring.java:5053)
    7 frames
  4. ca.concordia.jdeodorant
    Application.start
    1. ca.concordia.jdeodorant.eclipse.commandline.Application.testRefactoring(Application.java:669)
    2. ca.concordia.jdeodorant.eclipse.commandline.Application.start(Application.java:185)
    2 frames
  5. Equinox Container
    EclipseAppHandle.run
    1. org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    1 frame
  6. Eclipse OSGi
    EclipseStarter.run
    1. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    2. org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    3. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
    4. org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
    4 frames
  7. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:498)
    4 frames
  8. Equinox
    Main.main
    1. org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:673)
    2. org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
    3. org.eclipse.equinox.launcher.Main.run(Main.java:1519)
    4. org.eclipse.equinox.launcher.Main.main(Main.java:1492)
    4 frames