# Facing Error while restarting Stardog server after creating a Virtual Graph

**URL:** https://community.stardog.com/t/facing-error-while-restarting-stardog-server-after-creating-a-virtual-graph/2772
**Category:** Support
**Created:** [October 31, 2020, 10:16pm UTC](https://community.stardog.com/t/facing-error-while-restarting-stardog-server-after-creating-a-virtual-graph/2772 "2020-10-31T22:16:49Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Ashique](https://avatars.discourse-cdn.com/v4/letter/a/5daacb/32.png) [@Ashique](https://community.stardog.com/u/Ashique)
#### Post date: [October 31, 2020, 10:16pm UTC](https://community.stardog.com/t/facing-error-while-restarting-stardog-server-after-creating-a-virtual-graph/2772/1 "2020-10-31T22:16:49Z")

</div>

I am using Stardog Server for Windows, version 7.4.2.  
Below are the sequence of activities I did perform and also the error faced-

1. Started the Stardpg server.
2. Created a database.
3. Created a Virtual Graph from a mapping sms file connecting my MySQL Localhost.
4. Stopped the Stardog server and then tried to start it again, Faced the below error-

The error is a lengthy one. 5 errors been displayed one after other. So tried to put the first paragraph of the same in here.

**Error:**  
There was an error initializing Stardog; one or more dependencies could not be satisfied. Please verify your classpath is correct.  
The initialization errors were:

- 

```
 Error injecting constructor, com.complexible.stardog.StardogException: com.complexible.stardog.StardogException: com.stardog.stark.impl.IRIImpl cannot be cast to java.lang.Comparable
         com.complexible.stardog.cache.CachedDatasetRegistryStore.<init>()
         com.complexible.stardog.cache.db.CacheConnectableFactory.<init>()
         com.complexible.stardog.virtual.VirtualGraphService.<init>()
         com.complexible.stardog.virtual.DefaultVirtualGraphRegistry
         com.complexible.stardog.plan.eval.service.DefaultServiceRegistry.<init>()
         com.complexible.stardog.db.DatabaseFactoryImpl
         com.complexible.stardog.virtual.VirtualGraphModule.configure(VirtualGraphModule.java:52) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.virtual.VirtualGraphModule)
         com.complexible.stardog.virtual.DefaultVirtualGraphRegistry.<init>()
         com.complexible.stardog.cache.DefaultCachedDatasetRegistry.<init>()
         com.complexible.stardog.plan.eval.service.DefaultServiceRegistry
         com.complexible.stardog.StardogKernel
         com.complexible.stardog.BaseStardogModule.configure(BaseStardogModule.java:145) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.BaseStardogModule)
         com.complexible.stardog.cache.db.CacheModule.configure(CacheModule.java:25) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.cache.db.CacheModule)
         com.complexible.stardog.cache.db.CacheModule.configure(CacheModule.java:24) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.cache.db.CacheModule -> com.google.inject.multibindings.Multibinder$RealMultibinder)
         com.complexible.stardog.db.DatabaseFactoryImpl.<init>()
         com.complexible.stardog.cache.CachedDatasetRegistryStore
         com.complexible.stardog.StardogKernel.<init>()
         com.complexible.stardog.virtual.VirtualGraphService
         com.complexible.stardog.cache.DefaultCachedDatasetRegistry
         com.complexible.stardog.cache.db.CacheConnectableFactory
         com.complexible.stardog.virtual.VirtualGraphModule.configure(VirtualGraphModule.java:45) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.virtual.VirtualGraphModule)
         com.complexible.stardog.cache.db.CacheModule.configure(CacheModule.java:20) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.cache.db.CacheModule)
         com.complexible.stardog.search.waldo.WaldoModule.configure(WaldoModule.java:49) (via modules: com.google.inject.util.Modules$OverrideModule -> com.complexible.stardog.search.waldo.WaldoModule -> com.google.inject.multibindings.Multibinder$RealMultibinder)

```

 ![mysql issue3](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/1X/005679e65b37f4832e899d14d9a69b44e564691b.jpeg)

Any help would be greatly appreciated

---

<div class="post-metadata">

### Author: ![jess](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/jess/32/10_2.png) [@jess](https://community.stardog.com/u/jess)
#### Post date: [October 31, 2020, 10:33pm UTC](https://community.stardog.com/t/facing-error-while-restarting-stardog-server-after-creating-a-virtual-graph/2772/2 "2020-10-31T22:33:20Z")

</div>

Hi Ashique!

Thanks for reporting this. Are you able to share the full log or exception trace? It's a little bit longer than you've shared here. Thanks.

Jess

---

<div class="post-metadata">

### Author: ![Ashique](https://avatars.discourse-cdn.com/v4/letter/a/5daacb/32.png) [@Ashique](https://community.stardog.com/u/Ashique)
#### Post date: [October 31, 2020, 10:37pm UTC](https://community.stardog.com/t/facing-error-while-restarting-stardog-server-after-creating-a-virtual-graph/2772/3 "2020-10-31T22:37:42Z")

</div>

[stardog\_server\_err.log](https://community.stardog.com/uploads/short-url/gvz4jfFHdetX75Du2PhMfVfMxUH.log) (117.5 KB)

Hi Jess,

Thanks for the prompt reply.  
I have attached the full error log.

Ashique

---

<div class="post-metadata">

### Author: ![jess](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.stardog.com/jess/32/10_2.png) [@jess](https://community.stardog.com/u/jess)
#### Post date: [November 2, 2020, 11:45pm UTC](https://community.stardog.com/t/facing-error-while-restarting-stardog-server-after-creating-a-virtual-graph/2772/4 "2020-11-02T23:45:05Z")

</div>

Thanks for the report and log file. We have isolated this bug and created issue PLAT-1736. It will be fixed in the next release.

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex030/uploads/stardog/original/2X/e/ed66b48a616f505106a4acde3c9cee7e6da9bc67.svg) [@system](https://community.stardog.com/u/system)
#### Post date: [November 16, 2020, 11:45pm UTC](https://community.stardog.com/t/facing-error-while-restarting-stardog-server-after-creating-a-virtual-graph/2772/5 "2020-11-16T23:45:12Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
