Open ge0ffrey opened 2 weeks ago
I think this is related to https://github.com/jpype-project/jpype/pull/1057
How a ConstraintProvider is constructed go through these steps:
SolverFactory
to create a Solver
SolverFactory
create an instance of the generated ConstraintProvider
class and call its defineConstraints
methoddefineConstraints
call into Python to compile the Python functions used in constraints and return to JavaThe Python code in defineConstraints
throws a name error since Availability
is not in globals (missed import or removed class). This exception then goes to Java, which replaces its stack trace with its own.
What line did this happen on?
I suspect line 75 in constraints.py:
The error message dosn't mention "line 75" nor the filename.