Uploaded image for project: 'Blazegraph (by SYSTAP)'
  1. Blazegraph (by SYSTAP)
  2. BLZG-1243

bigdata-client does not invoke ServiceProviderHook.forceLoad()

    XMLWordPrintable

    Details

      Description

      ServiceProviderHook.forceLoad() is used to force the load of several writers and readers used by the platform. The NPE below (against the 1.5.2 development branch as part of the maven refactor) appears because this method has not been invoked. Further, the ServiceProviderHook class is not actually bundled with the bigdata-client jar. Thus, a client only using this jar and not linking to the main jars would be unable to perform some operations (this occurs in createRepository when we try to send an XML representation of the properties for the new namespace).

      java.lang.NullPointerException
      	at com.bigdata.rdf.sail.webapp.client.RemoteRepositoryManager.createRepository(RemoteRepositoryManager.java:708)
      	at com.bigdata.journal.jini.ha.AbstractHAGroupCommitTestCase.doGroupCommit_2Namespaces_ConcurrentWriters(AbstractHAGroupCommitTestCase.java:94)
      	at com.bigdata.journal.jini.ha.TestHA1GroupCommit.test_HA1_GroupCommit_2Namespaces_ConcurrentWriters(TestHA1GroupCommit.java:85)
      


      - See BLZG-565 Class loader problems

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              bryanthompson bryanthompson
              Reporter:
              bryanthompson bryanthompson
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: