Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Pentaho never launches and gives a xul exception.

  1. #1
    Join Date
    Jan 2015

    Default Pentaho never launches and gives a xul exception.

    I downloaded prd-ce 5.2 and also 5.0 and both gave xul exception and did not started. With a close look to the terminal I realized that there may be a "locale" setting problem. While xul class is checking for "window" handler it uppercases it. And when you uppercase in english i becomes I which makes window tag to WINDOW. But if it is turkish "i" it becomes "İ". This makes "window" to "WİNDOW" . Searching for "WİNDOW" by XUL class , throws an exception. After I installed an english operating system (windows and macos) everything worked well. So for all who have following exception please be informed.


    org.pentaho.ui.xul.XulException: java.lang.NullPointerException
    at org.pentaho.ui.xul.impl.AbstractXulLoader.loadXul(
    at org.pentaho.ui.xul.impl.AbstractXulLoader.loadXul(
    at org.pentaho.ui.xul.impl.AbstractXulLoader.loadXul(
    at org.pentaho.reporting.designer.core.xul.XulDesignerFrame.<init>(
    at org.pentaho.reporting.designer.core.ReportDesignerFrame$FrameViewController.initializeXulDesignerFrame(
    at org.pentaho.reporting.designer.core.ReportDesignerFrame$FrameViewController.access$1100(
    at org.pentaho.reporting.designer.core.ReportDesignerFrame.<init>(
    at org.pentaho.reporting.designer.core.ReportDesigner$
    at java.awt.event.InvocationEvent.dispatch(
    at java.awt.EventQueue.dispatchEventImpl(
    at java.awt.EventQueue.access$200(
    at java.awt.EventQueue$
    at java.awt.EventQueue$
    at Method)
    at java.awt.EventQueue.dispatchEvent(
    at java.awt.EventDispatchThread.pumpOneEventForFilters(
    at java.awt.EventDispatchThread.pumpEventsForFilter(
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(
    at java.awt.EventDispatchThread.pumpEvents(
    at java.awt.EventDispatchThread.pumpEvents(
    Caused by: java.lang.NullPointerException
    at org.pentaho.ui.xul.impl.XulParser.parseDocument(
    at org.pentaho.ui.xul.impl.AbstractXulLoader.loadXul(
    ... 21 more

  2. #2
    Join Date
    Mar 2003


    Yes, this is caused by a bug in one of the low-level libraries and is triggered by the Turkish locale, which translates lowercase 'i' into a character that is not a latin upper case 'i'. Start the report designer with any other locale by editing the "report-designer.bat/sh" file and inserting

    Code: -Duser.language=en
    before the "-XX:MaxPermSize.." parameter.
    Get the latest news and tips and tricks for Pentaho Reporting at the Pentaho Reporting Blog.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
Privacy Policy | Legal Notices | Safe Harbor Privacy Policy

Copyright © 2005 - 2019 Hitachi Vantara Corporation. All Rights Reserved.