Wiki source code of Troubleshooting

Version 1.1 by Quinton Dolan on 2007/07/15 03:04

Show last authors
1 === ERXExtensions have not been initialized. ===
2
3 When your application starts running you might get the message:
4
5 ERXExtensions have not been initialized. Please report the classpath and the rest of the bundles to the Wonder mailing list:
6 Remaining JavaXML, JavaFoundation, ERJars, JavaEOControl, JavaWOExtensions, JavaEOAccess, JavaJDBCAdaptor, JavaWOSMIL, ERExtensions, JavaWebObjects
7
8 ==== Fix 1 ====
9
10 Check your main routine - it should be:
11
12 {{code}}
13
14 public static void main (String argv []) {
15 // Do not put any calls to Wonder code here.
16 ERXApplication.main (argv, Application.class);
17 }
18
19 {{/code}}
20
21 You can have other code in here before the call to ERXApplication, but you can't have calls to any Wonder stuff before the call to ERXApplication.main. This interferes with the order in which Wonder frameworks are loaded, which causes the above problem.