ml-in-programming / ArchitectureReloaded

Design defects detection plugin for IntelliJ IDEA. Based on BasLeijdekkers/MetricsReloaded plugin.
Other
8 stars 3 forks source link

No containing class and it throws IllegalStateException #136

Open RamSaw opened 6 years ago

RamSaw commented 6 years ago

this code throws IllegalStateException: sourceClassMetricsValues = extractMetricsResultsFor( Objects.requireNonNull(refactoring.getContainingClassOrThrow().getQualifiedName()), resultsForClasses ); in constructor of MoveMethodRefactoringFeatures class.

How to reproduce: I don't know, I tried but it didn't come out.

Error: lost, but this error goes from RefactoringSessionInfo and logging part.

Ivan-Veselov commented 6 years ago

Is it related to #135? Or it is something else?

RamSaw commented 6 years ago

@Ivan-Veselov apparently no. But I got this error only once and when I ran the second time error didn't occurred.