NoClassDefFoundError: Could not initialize class org.python.antlr.ast.Name

"Vincent Privat" <[email protected]> Tue, 19 Jul 2016 18:14:07 +0200
Newsgroups gmane.comp.lang.jython.user
Message-ID <[email protected]>
Hi,

We're using Jython 2.7.0 in a Maven/J2EE application and face the following
error:

 

java.lang.NoClassDefFoundError: java.lang.NoClassDefFoundError: Could not
initialize class org.python.antlr.ast.Name

       at org.python.core.Py.JavaError(Py.java:546)

       at org.python.core.ParserFacade.fixParseError(ParserFacade.java:107)

       at org.python.core.ParserFacade.parse(ParserFacade.java:190)

       at org.python.core.imp.compileSource(imp.java:366)

       at org.python.core.imp.compileSource(imp.java:355)

       at org.python.core.util.importer.getModuleCode(importer.java:211)

       at
org.python.core.util.importer.importer_load_module(importer.java:95)

       at
org.python.modules.zipimport.zipimporter.zipimporter_load_module(zipimporter
.java:163)

       at
org.python.modules.zipimport.zipimporter$zipimporter_load_module_exposer.__c
all__(Unknown Source)

       at
org.python.core.PyBuiltinMethodNarrow.__call__(PyBuiltinMethodNarrow.java:46
)

       at org.python.core.imp.loadFromLoader(imp.java:587)

       at org.python.core.imp.find_module(imp.java:537)

       at org.python.core.imp.import_next(imp.java:840)

       at org.python.core.imp.import_first(imp.java:861)

       at org.python.core.imp.load(imp.java:716)

       at org.python.core.Py.importSiteIfSelected(Py.java:1558)

       at
org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:116)

       at
org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:94)

       at com.mycompany.myapplication

Caused by: java.lang.NoClassDefFoundError: Could not initialize class
org.python.antlr.ast.Name

       at
org.python.antlr.GrammarActions.makeDottedName(GrammarActions.java:91)

       at org.python.antlr.PythonParser.dotted_name(PythonParser.java:5682)

       at
org.python.antlr.PythonParser.dotted_as_name(PythonParser.java:5447)

       at
org.python.antlr.PythonParser.dotted_as_names(PythonParser.java:5539)

       at org.python.antlr.PythonParser.import_name(PythonParser.java:4860)

       at org.python.antlr.PythonParser.import_stmt(PythonParser.java:4782)

       at org.python.antlr.PythonParser.small_stmt(PythonParser.java:2731)

       at org.python.antlr.PythonParser.simple_stmt(PythonParser.java:2524)

       at org.python.antlr.PythonParser.stmt(PythonParser.java:2438)

       at org.python.antlr.PythonParser.file_input(PythonParser.java:618)

       at org.python.antlr.BaseParser.parseModule(BaseParser.java:78)

       at org.python.core.CompileMode$3.dispatch(CompileMode.java:22)

       at org.python.core.ParserFacade.parse(ParserFacade.java:158)

       at org.python.core.ParserFacade.parse(ParserFacade.java:188)

       ... 54 more

I was unable to find this stacktrace in the bug database, is it a known bug,
or maybe a configuration problem?

 

Thanks,

Vincent

------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are 
consuming the most bandwidth. Provides multi-vendor support for NetFlow, 
J-Flow, sFlow and other flows. Make informed decisions using capacity planning
reports.http://sdm.link/zohodev2dev

_______________________________________________
Jython-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jython-users