Forum Discussion
Unable to load Ashling Riscfree NiosV libraries
Hello,
I have been trying to make Ashling Riscfree for NiosV debugging work on our Linux system with Quartus v23.1;
I have installed RIscFree together with Quartus from the all-in-one data package.
Whenever I start RiscFree, Eclipse loads but I see none of the actual plugins for NiosV.
This is the .log I see in my workspace:
!SESSION 2026-02-13 14:16:09.472 -----------------------------------------------
eclipse.buildId=unknown
java.version=20.0.1
java.vendor=Eclipse Adoptium
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=en_US
Command-line arguments: -os linux -ws gtk -arch x86_64 -clean -data /home/laboratorio/workspace_niosv
!ENTRY org.eclipse.cdt.core 4 0 2026-02-13 14:22:56.805
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Exception in org.eclipse.cdt.core.CCorePlugin.stop() of bundle org.eclipse.cdt.core.
at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:895)
at org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:1046)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:376)
at org.eclipse.osgi.container.Module.doStop(Module.java:660)
at org.eclipse.osgi.container.Module.stop(Module.java:521)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1893)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1768)
at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:275)
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:208)
at org.eclipse.osgi.container.Module.doStop(Module.java:660)
at org.eclipse.osgi.container.Module.stop(Module.java:521)
at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:207)
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:226)
at java.base/java.lang.Thread.run(Thread.java:1623)
Caused by: java.lang.NullPointerException: Cannot invoke "org.eclipse.core.runtime.content.IContentTypeManager.removeContentTypeChangeListener(org.eclipse.core.runtime.content.IContentTypeManager$IContentTypeChangeListener)" because the return value of "org.eclipse.core.runtime.Platform.getContentTypeManager()" is null
at org.eclipse.cdt.internal.core.model.CModelManager.shutdown(CModelManager.java:1378)
at org.eclipse.cdt.core.model.CoreModel.shutdown(CoreModel.java:1156)
at org.eclipse.cdt.core.CCorePlugin.stop(CCorePlugin.java:375)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:875)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:571)
at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:867)
... 13 more
Root exception:
java.lang.NullPointerException: Cannot invoke "org.eclipse.core.runtime.content.IContentTypeManager.removeContentTypeChangeListener(org.eclipse.core.runtime.content.IContentTypeManager$IContentTypeChangeListener)" because the return value of "org.eclipse.core.runtime.Platform.getContentTypeManager()" is null
at org.eclipse.cdt.internal.core.model.CModelManager.shutdown(CModelManager.java:1378)
at org.eclipse.cdt.core.model.CoreModel.shutdown(CoreModel.java:1156)
at org.eclipse.cdt.core.CCorePlugin.stop(CCorePlugin.java:375)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:875)
at org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:571)
at org.eclipse.osgi.internal.framework.BundleContextImpl.stop(BundleContextImpl.java:867)
at org.eclipse.osgi.internal.framework.EquinoxBundle.stopWorker0(EquinoxBundle.java:1046)
at org.eclipse.osgi.internal.framework.EquinoxBundle$EquinoxModule.stopWorker(EquinoxBundle.java:376)
at org.eclipse.osgi.container.Module.doStop(Module.java:660)
at org.eclipse.osgi.container.Module.stop(Module.java:521)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.decStartLevel(ModuleContainer.java:1893)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1768)
at org.eclipse.osgi.container.SystemModule.stopWorker(SystemModule.java:275)
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule.stopWorker(EquinoxBundle.java:208)
at org.eclipse.osgi.container.Module.doStop(Module.java:660)
at org.eclipse.osgi.container.Module.stop(Module.java:521)
at org.eclipse.osgi.container.SystemModule.stop(SystemModule.java:207)
at org.eclipse.osgi.internal.framework.EquinoxBundle$SystemBundle$EquinoxSystemModule$1.run(EquinoxBundle.java:226)
at java.base/java.lang.Thread.run(Thread.java:1623)
I have tried making a "clean" run of RiscFree, by using the following custom .sh:
#!/bin/bash
# --- Definizione Percorsi ---
# Usiamo il percorso che hai indicato tu nei messaggi precedenti
export QUARTUS_INSTALL_DIR=/opt/intelFPGA_pro/Quartus23.1
export QUARTUS_ROOTDIR=$QUARTUS_INSTALL_DIR/quartus
export NIOSV_HOME=$QUARTUS_INSTALL_DIR/niosv
# --- Configurazione Ambiente ---
# Aggiungiamo i binari di Quartus e Nios V al PATH
export PATH=$QUARTUS_ROOTDIR/bin:$NIOSV_HOME/bin:$PATH
# Variabili fondamentali per i plugin Ashling
export RISCV_JET_PATH=$NIOSV_HOME/bin
# --- Risoluzione problemi grafici MobaXterm/X11 ---
export NO_AT_BRIDGE=1
# Se l'interfaccia dovesse apparire vuota o nera, prova a cambiare 0 con 1 qui sotto
export SWT_GTK3=0
# --- Avvio IDE ---
echo "Inizializzazione ambiente Nios V e avvio RiscFree..."
cd $QUARTUS_INSTALL_DIR/riscfree/RiscFree/
./RiscFree -clean -data ~/workspace_niosv &
But this has changed absolutely nothing.
It is impossible to see NIOS V or Ashling RiscFree integration in the RiscFree environment.
What could be the issue?
I will now add a few infos about our system.
uname -r :
5.15.0-139-generic
cat /etc/os-release:
NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"
HOME_URL="https://www.ubuntu.com/"
SUPPORT_URL="https://help.ubuntu.com/"
BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/"
PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy"
VERSION_CODENAME=focal
UBUNTU_CODENAME=focal
I am worried JAVA might be causing issues but I have not been able to solve them.
5 Replies
- LiangYuG_Altera
Contributor
Whenever I start RiscFree, Eclipse loads but I see none of the actual plugins for NiosV.
Can you specify what observation that leads to your hypothesis that Nios V plugin is not integrated?
The Ashling RiscFree IDE is built-in with Nios V and HPS plugin once installed. You are not required to install custom extensions/plugins.
Thus, it is unusual that Nios V plugin is missing in your RiscFree IDE.
If I were to guess, I think:
You were referring to the doc version 25.3.1, but it is RiscFree IDE v23.1 that is installed.
As such, you are experiencing missing plugins like the "Import Nios V CMake Project" button.
In truth, the "Import Nios V CMake Project" button is yet to be introduced in RiscFree IDE v23.1, as documented in the doc version 23.1.Regards,
Liang Yu- Cloudscraper
New Contributor
Hello, so:
there is nothing in my entire ashling riscfree window that refers to NiosV, not in new project wizard, not in import wizard, nowhere else. I will anyway double check on my server if the description explained in the manual you have just linked is realistic for our usecase.
- LiangYuG_Altera
Contributor
Hi Cloudscraper ,
there is nothing in my entire ashling riscfree window that refers to NiosV
I see, you are correct.
I reviewed the RiscFree IDE v23.1, and the following are my observations.not in new project wizard
Most Nios V projects are imported BSP & APP projects. Currently, there is no equivalent "File > New > Nios II Application and BSP from Template" in RiscFree IDE.
not in import wizard
In RiscFree IDE v23.1, the import wizard is based on "File > New > Project > C/C++ > C++ Project". So, there is no "Nios V" text throughout the whole flow. But there will be a dedicated import feature called Import Nios V CMake Project starting from RiscFree IDE v24.1.
nowhere else
Debugging side of things --- Nios V is using the RISC-V Hardware Debugging run/debug configuration option. So, another no "Nios V" text workflow.
I will anyway double check on my server if the description explained in the manual you have just linked is realistic for our usecase.
Thanks for your help. I hope that my hypothesis is valid, and you will be unblocked soon.
If possible, please share your expected first impression. We and our partner, Ashling are interested to hear more to make the tool more intuitive.
Regards,
Liang Yu