java - Jython JTable PrepareRenderer Runtime error Maximum Recursion Depth -
i have been working on burp suite extension jython library. new working java swing , jtables. have been trying debug error quite time. not sure issue is. invoking objects , methods correctly.
here snippet of code in question:
def build_tasks_table(self): class taskstable(jtable): def preparerenderer(self, renderer, row, column): #print(type(renderer)) print("{} , {}".format(row, column)) component = super(taskstable, self).preparerenderer(renderer, row, column)
the error appears when navigate tab in question in extension is: runtimeerror: maximum recursion depth exceeded (java stackoverflowerror)
the error happens on last line, never makes past. recursively calls preparerenderer method again , again.
any appreciated, can provide info needed debug problem.
solved:
i calling super methods incorrectly.
the fix was
self.super__preparerenderer(renderer, row, columns)
cheers
Comments
Post a Comment