java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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: {noformat} 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) {noformat} 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.
    via by Ivan Benko [Atlassian],
  • 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: {noformat} 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) {noformat} 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.
    via by Ivan Benko [Atlassian],
  • Eclipse won't read a config file
    via Stack Overflow by Ankur
    ,
    • 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)

    Users with the same issue

    jf-ast
    1 times, last one,
    nasimk
    3 times, last one,
    poroszd
    1 times, last one,
    treefolk
    4 times, last one,
    Unknown visitor1 times, last one,
    17 more bugmates