As a followup to this question, first the background
Given a class with this declaration:
public class SomeClass
And a sub
It's a weird one. It seems, though, you could always get rid of the error without introducing any problems by extending SomeClass instead of SomeClass:
SomeClass
public class SomeSubClass extends SomeClass { ... }