Troubleshooting

From SONIVIS:Wiki

Jump to: navigation, search

Unsolved Problems

  • The data base table categories is not available and/or not filled (on HAL).

Solved Problems

@Override error

  • Description: Every @Override annotation causes an error. E.g. The method update(int, Object...) of type new IListener(){} must override a superclass method.
  • Solution:
    • Update of Java 5.0 on Java 6.0
    • Set Window -> Preferences -> Java -> Compiler -> "Compiler compliance level:" to 6.0

Eclipse does not work and/or the SONIVIS-tool does not run

  • Description: Eclipse projects are marked with error symbols and imported classes are not found, although they are present. The tool throws errors when started.
  • Solution:
    • Close projects that are not found and open them again (Choose Project -> Close Project in the project's context menu)
    • Clean and rebuild the projects (Project -> Clean)
    • Start the tool directly: Open the .product file in the project de.sonivis.tool.installer and click on "Launch an Eclipse application" in the opened pane.)
    • Delete the runtime folder (Folder runtime-SONIVIS_tool.product)

Heap Memory Errors

  • Description: Heap memory errors in the Rengine
  • Solution:
    • The Rengine can be started with further parameters, e.g. new Rengine(new String[] { "--vanilla", "--max-mem-size=1G", "--enable-memory-profiling", "--tool=massif" }, false, null);
    • More variables are described here: Memory management and RJava FAQ

rJava Problem

  • Description: Error in or with the JRI.jar
  • Solution:
    • Are the environment variables (R_HOME, JAVA_HOME) correctly set?
    • Does the table revision_links exist in the data base and is it filled with data?
    • Maybe this jri can be helpful.

Tool stops

  • Description: -
  • Solution: This is a Eclipse deadlock bug that arises if too much text is written into the console at the same time.

Eclipse shows error for editor

  • Description: Source files cannot be displayed in Eclipse because the editor shows an error.
  • Solution: Choose "Help->Software Updates->Manage Configuration" from the menu and disable Coverlipse (Version 0.9.5.3)

java.lang.UnsatisfiedLinkError: ..\library\rJava\jri\jri.dll: Can't find dependent libraries

  • Description: -
  • Solution: The environment variable R_HOME has to be set globally for the system, not only for the current user (restart of the system recommended)

Ignoring (WontFix)

java.lang.NoClassDefFoundError: RJavaClassLoader

  • Description: the REngine does not find the RJavaClassLoader to load classes through GNU R
    • This ClassLoader is needed if the library rJava is initialized
    • Till now, we do not need the RJavaClassLoader and this error has no side effects on the function of SONIVIS:Tool.
Personal tools