Details
-
Bug
-
Resolution: Cannot Reproduce
-
Medium
-
None
-
3.1
-
None
-
uwcimporter
Description
UWC Importer Admin 1.1 installed successfully, both modules enabled.
Running 3.1-SNAPSHOT and accessing http://localhost:8080/admin/uwcimporter/uwcimporter.action (Admin > import from Another Wiki}}
causes NPE:
2009-08-24 11:47:51,438 ERROR [http-8080-Processor24] [plugins.uwc.uwcimporter.UWCImporterAction] getProperties Could not load props file: /resources/Webui.properties -- url: /admin/uwcimporter/uwcimporter.action | userName: admin | referer: http://localhost:8080/admin/uwcimporter/uwcimporter.action | action: uwcimporter java.lang.NullPointerException at java.util.Properties$LineReader.readLine(Properties.java:365) at java.util.Properties.load(Properties.java:293) at com.atlassian.confluence.plugins.uwc.uwcimporter.UWCImporterAction.getProperties(UWCImporterAction.java:76) at com.atlassian.confluence.plugins.uwc.uwcimporter.UWCImporterAction.getTextDirectly(UWCImporterAction.java:61) at com.atlassian.confluence.plugins.uwc.uwcimporter.UWCImporterAction.getText(UWCImporterAction.java:45) at sun.reflect.GeneratedMethodAccessor182.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.doInvoke(UberspectImpl.java:389) at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:378) at com.atlassian.confluence.velocity.introspection.UnboxingMethod.invoke(UnboxingMethod.java:31) at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:270)
It seems as the plugin is using its own custom i18n properties files that can not be loaded. MR reviewed and wondered why the plugin is not using the usual i18n approach?
Between - downloaded the UWC converter and was able to import pages from MediaWiki successfully.