fadmaa/grefine-rdf-extension — Issue #39: "error:undefined" alert on start up
Author: danpaulsmith
Created: 2011-11-28 15:01:41+00:00
State: open

Hi there,

Using the 0.5.3 version and latest Refine version, for the last two weeks, we've been getting a JavaScript alert when loading the project page.

Console log from Refine shows a null pointer exception when doing something with the Sindice service:

14:58:29.332 [ butterfly] GET /project [main] (32059ms)
14:58:29.580 [ butterfly] GET /wirings.js [main] (248ms)
14:58:29.581 [ butterfly] GET /externals/jquery-1.4.2.min.js [main] (1ms)
14:58:29.582 [ butterfly] GET /externals/jquery.cookie.js [main] (1ms)
14:58:29.583 [ butterfly] GET /externals/jquery.eventstack-0.3.js [main] (1ms)
14:58:29.583 [ butterfly] GET /externals/suggest/suggest-1.2.1.min.js [main] (0ms)
14:58:29.584 [ butterfly] GET /externals/jquery-ui/jquery-ui-1.8.custom.min.js [main] (1ms)
14:58:29.599 [ butterfly] GET /externals/imgareaselect/jquery.imgareaselect.js [main] (15ms)
14:58:29.693 [ butterfly] GET /externals/date.js [main] (94ms)
14:58:29.693 [ butterfly] GET /externals/CFInstall.min.js [main] (0ms)
14:58:29.694 [ butterfly] GET /scripts/chrome-frame.js [main] (1ms)
14:58:29.694 [ butterfly] GET /scripts/project.js [main] (0ms)
14:58:29.700 [ butterfly] GET /scripts/util/misc.js [main] (6ms)
14:58:29.756 [ butterfly] GET /scripts/util/url.js [main] (56ms)
14:58:29.772 [ butterfly] GET /scripts/util/string.js [main] (16ms)
14:58:29.797 [ butterfly] GET /scripts/util/ajax.js [main] (25ms)
14:58:29.797 [ butterfly] GET /scripts/util/menu.js [main] (0ms)
14:58:29.807 [ butterfly] GET /scripts/util/dialog.js [main] (10ms)
14:58:29.808 [ butterfly] GET /scripts/util/custom-suggest.js [main] (1ms)
14:58:29.808 [ butterfly] GET /scripts/util/dom.js [main] (0ms)
14:58:29.808 [ butterfly] GET /scripts/util/encoding.js [main] (0ms)
14:58:29.825 [ butterfly] GET /scripts/widgets/histogram-widget.js [main] (17ms)
14:58:29.825 [ butterfly] GET /scripts/widgets/slider-widget.js [main] (0ms)
14:58:29.825 [ butterfly] GET /scripts/project/browsing-engine.js [main] (0ms)
14:58:29.825 [ butterfly] GET /scripts/project/history-panel.js [main] (0ms)
14:58:29.837 [ butterfly] GET /scripts/project/process-panel.js [main] (12ms)
14:58:29.837 [ butterfly] GET /scripts/project/extension-bar.js [main] (0ms)
14:58:29.883 [ butterfly] GET /scripts/project/summary-bar.js [main] (46ms)
14:58:29.883 [ butterfly] GET /scripts/project/exporters.js [main] (0ms)
14:58:29.910 [ butterfly] GET /scripts/project/scripting.js [main] (27ms)
14:58:29.911 [ butterfly] GET /scripts/facets/list-facet.js [main] (1ms)
14:58:29.911 [ butterfly] GET /scripts/facets/timerange-facet.js [main] (0ms)
14:58:29.911 [ butterfly] GET /scripts/facets/scatterplot-facet.js [main] (0ms)
14:58:29.911 [ butterfly] GET /scripts/facets/text-search-facet.js [main] (0ms)
14:58:29.911 [ butterfly] GET /scripts/facets/range-facet.js [main] (0ms)
14:58:29.926 [ butterfly] GET /scripts/views/data-table/data-table-view.js [main] (15ms)
14:58:29.927 [ butterfly] GET /scripts/views/data-table/cell-ui.js [main] (1ms)
14:58:29.928 [ butterfly] GET /scripts/views/data-table/column-header-ui.js [main] (1ms)
14:58:29.929 [ butterfly] GET /scripts/views/data-table/menu-facets.js [main] (1ms)
14:58:29.929 [ butterfly] GET /scripts/views/data-table/menu-edit-cells.js [main] (0ms)
14:58:29.930 [ butterfly] GET /scripts/views/data-table/menu-edit-column.js [main] (1ms)
14:58:29.993 [ butterfly] GET /scripts/views/data-table/menu-reconcile.js [main] (63ms)
14:58:29.993 [ butterfly] GET /scripts/reconciliation/recon-manager.js [main] (0ms)
14:58:29.993 [ butterfly] GET /scripts/reconciliation/recon-dialog.js [main] (0ms)
14:58:29.994 [ butterfly] GET /scripts/reconciliation/freebase-query-panel.js [main] (1ms)
14:58:30.008 [ butterfly] GET /scripts/reconciliation/standard-service-panel.js [main] (14ms)
14:58:30.056 [ butterfly] GET /scripts/dialogs/expression-preview-dialog.js [main] (48ms)
14:58:30.056 [ butterfly] GET /scripts/dialogs/clustering-dialog.js [main] (0ms)
14:58:30.056 [ butterfly] GET /scripts/dialogs/scatterplot-dialog.js [main] (0ms)
14:58:30.056 [ butterfly] GET /scripts/dialogs/templating-exporter-dialog.js [main] (0ms)
14:58:30.056 [ butterfly] GET /scripts/dialogs/column-reordering-dialog.js [main] (0ms)
14:58:30.057 [ butterfly] GET /scripts/dialogs/custom-tabular-exporter-dialog.js [main] (1ms)
14:58:30.077 [ butterfly] GET /extension/rdf-extension/scripts/rdf-data-table-view.js [main] (20ms)
14:58:30.077 [ butterfly] GET /extension/rdf-extension/scripts/menu-bar-extensions.js [main] (0ms)
14:58:30.078 [ butterfly] GET /extension/rdf-extension/scripts/rdf-schema-alignment.js [main] (1ms)
14:58:30.078 [ butterfly] GET /extension/rdf-extension/scripts/rdf-schema-alignment-ui-node.js [main] (0ms)
14:58:30.078 [ butterfly] GET /extension/rdf-extension/scripts/rdf-schema-alignment-ui-link.js [main] (0ms)
14:58:30.078 [ butterfly] GET /extension/rdf-extension/scripts/suggestterm.suggest.js [main] (0ms)
14:58:30.117 [ rdf_extension] recieving request for scripts/rdf-schema-alignment.js (39ms)
14:58:30.118 [ rdf_extension] recieving request for scripts/menu-bar-extensions.js (1ms)
14:58:30.119 [ rdf_extension] recieving request for scripts/rdf-schema-alignment-ui-link.js (1ms)
14:58:30.119 [ rdf_extension] recieving request for scripts/rdf-data-table-view.js (0ms)
14:58:30.123 [ rdf_extension] recieving request for scripts/suggestterm.suggest.js (4ms)
14:58:30.123 [ rdf_extension] recieving request for scripts/rdf-schema-alignment-ui-node.js (0ms)
14:58:30.136 [ butterfly] GET /extension/rdf-extension/scripts/rdf-schema-manage-vocabs-widget.js [main] (13ms)
14:58:30.151 [ rdf_extension] recieving request for scripts/rdf-schema-manage-vocabs-widget.js (15ms)
14:58:30.191 [ butterfly] GET /extension/rdf-extension/scripts/rdf-schema-vocabulary-manager.js [main] (40ms)
14:58:30.191 [ butterfly] GET /extension/rdf-extension/scripts/rdf-schema-new-prefix-widget.js [main] (0ms)
14:58:30.191 [ butterfly] GET /extension/rdf-extension/scripts/externals/jquery.form.js [main] (0ms)
14:58:30.191 [ butterfly] GET /extension/rdf-extension/scripts/sindice/sindice-dialog.js [main] (0ms)
14:58:30.192 [ butterfly] GET /extension/linkedgov/scripts/project.js [main] (1ms)
14:58:30.200 [ butterfly] GET /extension/linkedgov/externals/jquery-ui/jquery-ui.datepicker.js [main] (8ms)
14:58:30.220 [ rdf_extension] recieving request for scripts/sindice/sindice-dialog.js (20ms)
14:58:30.223 [ rdf_extension] recieving request for scripts/rdf-schema-vocabulary-manager.js (3ms)
14:58:30.223 [ rdf_extension] recieving request for scripts/rdf-schema-new-prefix-widget.js (0ms)
14:58:30.224 [ rdf_extension] recieving request for scripts/externals/jquery.form.js (1ms)
14:58:30.270 [ butterfly] GET /extension/freebase/scripts/extension.js [main] (46ms)
14:58:30.270 [ butterfly] GET /extension/freebase/scripts/util/freebase.js [main] (0ms)
14:58:30.270 [ butterfly] GET /extension/freebase/scripts/util/sign.js [main] (0ms)
14:58:30.328 [ butterfly] GET /extension/freebase/scripts/dialogs/freebase-loading-dialog.js [main] (58ms)
14:58:30.382 [ butterfly] GET /extension/freebase/scripts/dialogs/extend-data-preview-dialog.js [main] (54ms)
14:58:30.417 [ butterfly] GET /extension/freebase/scripts/dialogs/schema-alignment/dialog.js [main] (35ms)
14:58:30.417 [ butterfly] GET /extension/freebase/scripts/dialogs/schema-alignment/ui-node.js [main] (0ms)
14:58:30.417 [ butterfly] GET /extension/freebase/scripts/dialogs/schema-alignment/ui-link.js [main] (0ms)
14:58:30.439 [ butterfly] GET /extension/gdata/scripts/gdata-extension.js [main] (22ms)
14:58:30.439 [ butterfly] GET /extension/gdata/scripts/project/exporters.js [main] (0ms)
14:58:30.439 [ butterfly] GET /extension/sample/scripts/project-injection.js [main] (0ms)
14:58:30.457 [ butterfly] GET /externals/jquery-ui/css/ui-lightness/jquery-ui-1.8.custom.css [main] (18ms)
14:58:30.457 [ butterfly] GET /externals/suggest/css/suggest-1.2.1.min.css [main] (0ms)
14:58:30.495 [ butterfly] GET /externals/imgareaselect/css/imgareaselect-default.css [main] (38ms)
14:58:30.529 [ butterfly] GET /styles/common.less [main] (34ms)
14:58:30.529 [ butterfly] GET /styles/pure.css [main] (0ms)
14:58:30.529 [ butterfly] GET /styles/jquery-ui-overrides.less [main] (0ms)
14:58:30.529 [ butterfly] GET /styles/util/menu.less [main] (0ms)
14:58:30.529 [ butterfly] GET /styles/util/dialog.less [main] (0ms)
14:58:30.538 [ butterfly] GET /styles/util/custom-suggest.less [main] (9ms)
14:58:30.608 [ butterfly] GET /styles/util/encoding.less [main] (70ms)
14:58:30.608 [ butterfly] GET /styles/project.less [main] (0ms)
14:58:30.608 [ butterfly] GET /styles/project/sidebar.less [main] (0ms)
14:58:30.609 [ butterfly] GET /styles/project/facets.less [main] (1ms)
14:58:30.609 [ butterfly] GET /styles/project/process.less [main] (0ms)
14:58:30.612 [ butterfly] GET /styles/widgets/histogram-widget.less [main] (3ms)
14:58:30.645 [ butterfly] GET /styles/widgets/slider-widget.less [main] (33ms)
14:58:30.645 [ butterfly] GET /styles/views/data-table-view.less [main] (0ms)
14:58:30.653 [ butterfly] GET /styles/dialogs/expression-preview-dialog.less [main] (8ms)
14:58:30.654 [ butterfly] GET /styles/dialogs/clustering-dialog.less [main] (1ms)
14:58:30.654 [ butterfly] GET /styles/dialogs/scatterplot-dialog.less [main] (0ms)
14:58:30.654 [ butterfly] GET /styles/dialogs/column-reordering-dialog.less [main] (0ms)
14:58:30.657 [ butterfly] GET /styles/dialogs/custom-tabular-exporter-dialog.less [main] (3ms)
14:58:30.693 [ butterfly] GET /styles/reconciliation/recon-dialog.less [main] (36ms)
14:58:30.693 [ butterfly] GET /styles/reconciliation/standard-service-panel.less [main] (0ms)
14:58:30.693 [ butterfly] GET /extension/rdf-extension/styles/rdf-schema-alignment-dialog.css [main] (0ms)
14:58:30.694 [ butterfly] GET /extension/rdf-extension/styles/rdf-reconcile-service.css [main] (1ms)
14:58:30.694 [ butterfly] GET /extension/rdf-extension/styles/sindice/recon-dialog.css [main] (0ms)
14:58:30.695 [ butterfly] GET /extension/linkedgov/styles/project.css [main] (1ms)
14:58:30.721 [ butterfly] GET /extension/linkedgov/externals/jquery-ui/css/jquery-ui.datepicker.less [main] (26ms)
14:58:30.722 [ rdf_extension] recieving request for styles/sindice/recon-dialog.css (1ms)
14:58:30.724 [ rdf_extension] recieving request for styles/rdf-reconcile-service.css (2ms)
14:58:30.725 [ butterfly] GET /extension/freebase/styles/dialogs/freebase-loading-dialog.less [main] (1ms)
14:58:30.725 [ rdf_extension] recieving request for styles/rdf-schema-alignment-dialog.css (0ms)
14:58:30.726 [ butterfly] GET /extension/freebase/styles/dialogs/extend-data-preview-dialog.less [main] (1ms)
14:58:30.726 [ butterfly] GET /extension/freebase/styles/dialogs/schema-alignment-dialog.less [main] (0ms)
14:58:30.740 [ butterfly] GET /extension/sample/styles/project-injection.less [main] (14ms)
14:58:30.750 [ refine] GET /command/core/get-preference (10ms)
14:58:30.751 [ butterfly] GET /images/logo-googlerefine-30.png [main] (1ms)
14:58:31.271 [ refine] POST /command/rdf-extension/initializeServices (520ms)
14:58:31.275 [ command] Exception caught (4ms)
java.lang.NullPointerException
at java.util.Properties$LineReader.readLine(Properties.java:418)
at java.util.Properties.load0(Properties.java:337)
at java.util.Properties.load(Properties.java:325)
at com.google.refine.org.deri.reconcile.rdf.factories.PreviewResourceCannedQuery.(PreviewResourceCannedQuery.java:25)
at com.google.refine.org.deri.reconcile.sindice.SindiceService.(SindiceService.java:62)
at com.google.refine.org.deri.reconcile.sindice.SindiceService.(SindiceService.java:49)
at com.google.refine.org.deri.reconcile.commands.InitializeServicesCommand.getReconciliationService(InitializeServicesCommand.java:22)
at com.google.refine.org.deri.reconcile.commands.AbstractAddServiceCommand.doPost(AbstractAddServiceCommand.java:25)
at com.google.refine.RefineServlet.service(RefineServlet.java:177)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:511)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1166)
at org.mortbay.servlet.UserAgentFilter.doFilter(UserAgentFilter.java:81)
at org.mortbay.servlet.GzipFilter.doFilter(GzipFilter.java:132)
at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1157)
at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:388)
at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216)
at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:182)
at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:765)
at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:418)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152)
at org.mortbay.jetty.Server.handle(Server.java:326)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:542)
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:938)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:755)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:218)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:404)
at org.mortbay.jetty.bio.SocketConnector$Connection.run(SocketConnector.java:228)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:680)
14:58:31.279 [ butterfly] GET /extension/linkedgov/html/project/typing-panel.html [main] (4ms)
14:58:31.279 [ butterfly] GET /images/large-spinner.gif [main] (0ms)
14:58:31.281 [ refine] GET /command/core/get-project-metadata (2ms)
14:58:31.285 [ butterfly] GET /extension/linkedgov/images/logo-small.png [main] (4ms)
14:58:31.434 [ refine] GET /command/core/get-models (149ms)
14:58:31.434 [ butterfly] GET /extension/linkedgov/scripts/project/typing-panel.js [main] (0ms)
14:58:31.479 [ refine] POST /command/core/get-rows (45ms)
14:58:31.516 [ butterfly] GET /images/down-arrow.png [main] (37ms)
14:58:31.517 [ butterfly] GET /images/small-spinner.gif [main] (1ms)
14:58:31.531 [ butterfly] GET /images/logo-gem-40.png [main] (14ms)
14:58:31.531 [ refine] GET /command/core/get-history (0ms)
14:58:31.548 [ butterfly] GET /scripts/views/data-table/column-header.html [main] (17ms)
14:58:31.594 [ butterfly] GET /scripts/project/history-panel.html [main] (46ms)
14:58:31.627 [ butterfly] GET /scripts/project/history-entry.html [main] (33ms)
14:58:31.848 [ refine] GET /command/core/get-history (221ms)
14:58:31.848 [ butterfly] GET /images/menu-dropdown.png [main] (0ms)
14:58:31.848 [ butterfly] GET /images/star-flag-map.png [main] (0ms)
14:58:31.854 [ butterfly] GET /images/edit-map.png [main] (6ms)
14:58:32.822 [ butterfly] GET /extension/linkedgov/images/columns_to_rows_wizard_icon.png [main] (968ms)
14:58:32.822 [ butterfly] GET /extension/linkedgov/images/rows_to_columns_wizard_icon.png [main] (0ms)
14:58:32.822 [ butterfly] GET /extension/linkedgov/images/date_and_time_wizard_icon.png [main] (0ms)
14:58:32.822 [ butterfly] GET /extension/linkedgov/images/measurements_wizard_icon.png [main] (0ms)
14:58:32.822 [ butterfly] GET /extension/linkedgov/images/geolocation_wizard_icon.png [main] (0ms)
14:58:32.822 [ butterfly] GET /extension/linkedgov/images/address_wizard_icon.png [main] (0ms)
14:58:32.837 [ butterfly] GET /extension/linkedgov/scripts/project/address-wizard.js [main] (15ms)
14:58:32.839 [ butterfly] GET /extension/linkedgov/scripts/project/datetime-wizard.js [main] (2ms)
14:58:32.845 [ butterfly] GET /extension/linkedgov/scripts/project/geolocation-wizard.js [main] (6ms)
14:58:32.851 [ butterfly] GET /extension/linkedgov/scripts/project/measurements-wizard.js [main] (6ms)
14:58:32.868 [ butterfly] GET /extension/linkedgov/scripts/project/columnsToRows-wizard.js [main] (17ms)
14:58:32.868 [ butterfly] GET /extension/linkedgov/scripts/project/rowsToColumns-wizard.js [main] (0ms)
14:58:32.869 [ butterfly] GET /extension/linkedgov/scripts/project/refine-operations.js [main] (1ms)
14:58:32.869 [ butterfly] GET /extension/linkedgov/scripts/project/rdf-operations.js [main] (0ms)
14:58:34.320 [ butterfly] GET /extension/linkedgov/images/arrow.png [main] (1451ms)
14:58:34.343 [ butterfly] GET /extension/linkedgov/images/rdf-small.png [main] (23ms)