Looks like we should augment that exception to include some information about what the name was that it didn't except :)
-tobias On Sun, Feb 27, 2011 at 6:49 PM, Andreas Kollegger < andreas.kolleg...@neotechnology.com> wrote: > Hi again, > > So, it looks like the verifyName() complaint is about the name containing > characters that aren't URL encoded. > > And, sorry, you asked for the source to ServerPlugin.java. That's here: > > https://github.com/neo4j/server/blob/master/server-api/src/main/java/org/neo4j/server/plugins/ServerPlugin.java > > Cheers, > Andreas > > On Feb 27, 2011, at 4:27 PM, Brendan Cheng wrote: > > > Hi, > > > > I tried to load the GetAll example into ServerPlugin directory of > > 1.3.M03 but found: > > > > 22:58:28 | 850 [WrapperSimpleAppMain] WARN > > org.neo4j.server.plugins.PluginManager - Failed to load plugin: > > ServerPlugin[GetAll] > > INFO | jvm 1 | 2011/02/27 22:58:28 | > > java.lang.IllegalArgumentException: Name contains illegal characters > > INFO | jvm 1 | 2011/02/27 22:58:28 | at > > org.neo4j.server.plugins.ServerPlugin.verifyName(ServerPlugin.java:120) > > INFO | jvm 1 | 2011/02/27 22:58:28 | at > > org.neo4j.server.plugins.PluginPoint.<init>(PluginPoint.java:36) > > INFO | jvm 1 | 2011/02/27 22:58:28 | at > > org.neo4j.server.plugins.PluginMethod.<init>(PluginMethod.java:40) > > INFO | jvm 1 | 2011/02/27 22:58:28 | at > > > org.neo4j.server.plugins.PluginPointFactoryImpl.createFrom(PluginPointFactoryImpl.java:98) > > INFO | jvm 1 | 2011/02/27 22:58:28 | at > > > org.neo4j.server.plugins.ServerPlugin.getDefaultExtensionPoints(ServerPlugin.java:175) > > INFO | jvm 1 | 2011/02/27 22:58:28 | at > > > org.neo4j.server.plugins.ServerPlugin.loadServerExtender(ServerPlugin.java:152) > > INFO | jvm 1 | 2011/02/27 22:58:28 | at > > org.neo4j.server.plugins.PluginManager.<init>(PluginManager.java:57) > > INFO | jvm 1 | 2011/02/27 22:58:28 | at > > org.neo4j.server.plugins.PluginManager.<init>(PluginManager.java:45) > > INFO | jvm 1 | 2011/02/27 22:58:28 | at > > org.neo4j.server.modules.RESTApiModule.loadPlugins(RESTApiModule.java:75) > > INFO | jvm 1 | 2011/02/27 22:58:28 | at > > org.neo4j.server.modules.RESTApiModule.start(RESTApiModule.java:50) > > INFO | jvm 1 | 2011/02/27 22:58:28 | at > > > org.neo4j.server.NeoServerWithEmbeddedWebServer.startModules(NeoServerWithEmbeddedWebServer.java:114) > > INFO | jvm 1 | 2011/02/27 22:58:28 | at > > > org.neo4j.server.NeoServerWithEmbeddedWebServer.start(NeoServerWithEmbeddedWebServer.java:83) > > INFO | jvm 1 | 2011/02/27 22:58:28 | at > > org.neo4j.server.BootStrapper.start(BootStrapper.java:62) > > INFO | jvm 1 | 2011/02/27 22:58:28 | at > > org.neo4j.server.BootStrapper.main(BootStrapper.java:115) > > INFO | jvm 1 | 2011/02/27 22:58:28 | at > > sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > INFO | jvm 1 | 2011/02/27 22:58:28 | at > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) > > INFO | jvm 1 | 2011/02/27 22:58:28 | at > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > > INFO | jvm 1 | 2011/02/27 22:58:28 | at > > java.lang.reflect.Method.invoke(Method.java:597) > > INFO | jvm 1 | 2011/02/27 22:58:28 | at > > > org.tanukisoftware.wrapper.WrapperSimpleApp.run(WrapperSimpleApp.java:272) > > INFO | jvm 1 | 2011/02/27 22:58:28 | at > > java.lang.Thread.run(Thread.java:662) > > > > I have changed a character from your example. > > Any idea? > > where can I locate your ServerPlugin.java file? > > Cheers, > > > > Brendan > > _______________________________________________ > > Neo4j mailing list > > User@lists.neo4j.org > > https://lists.neo4j.org/mailman/listinfo/user > > _______________________________________________ > Neo4j mailing list > User@lists.neo4j.org > https://lists.neo4j.org/mailman/listinfo/user > -- Tobias Ivarsson <tobias.ivars...@neotechnology.com> Hacker, Neo Technology www.neotechnology.com Cellphone: +46 706 534857 _______________________________________________ Neo4j mailing list User@lists.neo4j.org https://lists.neo4j.org/mailman/listinfo/user