Hitachi Vantara Pentaho Community Forums
Results 1 to 2 of 2

Thread: Fatal UDJC Error: An unexpected error occurred in Spoon. Lost it all. Possible JIRA

  1. #1
    Join Date
    Apr 2012
    Posts
    15

    Default Fatal UDJC Error: An unexpected error occurred in Spoon. Lost it all. Possible JIRA

    Hello,

    I have been slowly developing my Java code in the UDJC for the past month. I was working in the step last night and all of a sudden, I get a fatal error. I am able to open the transformation, but I do not see any steps on the screen and if I click anywhere, the same error presents itself. I'm thinking it was caused by a syntax error on my end. It's just that when I clicked the Test Class button, everything compiled. 5 minutes before this, I was running the transformation successfully and receiving the desired output.

    I am working under the assumption that I just lost all of my work. If this isn't the case, I would love to know how to recover any part of the transformation. I have supplied the stack trace below and the error that proceeds. FYI: The prompt that says I can still work and Save my work was incorrect. I was not able to click anywhere in the software except for the two buttons Yes or No. I tried saving the transformation as another name, but I get the same error.

    Any help would be much appreciated.

    An unexpected error occurred in Spoon:
    (class: Processor, method: findDescriptionInHtml signature: ([Ljava/lang/String;Ljava/lang/String;III)Z) Register 6 contains wrong type
    java.lang.VerifyError: (class: Processor, method: findDescriptionInHtml signature: ([Ljava/lang/String;Ljava/lang/String;III)Z) Register 6 contains wrong type
    at java.lang.Class.getDeclaredMethods0(Native Method)
    at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
    at java.lang.Class.getMethod0(Unknown Source)
    at java.lang.Class.getMethod(Unknown Source)
    at org.pentaho.di.trans.steps.userdefinedjavaclass.UserDefinedJavaClassMeta.getStepIOMeta(UserDefinedJavaClassMeta.java:338)
    at org.pentaho.di.trans.TransPainter.drawLine(TransPainter.java:899)
    at org.pentaho.di.trans.TransPainter.drawHop(TransPainter.java:510)
    at org.pentaho.di.trans.TransPainter.drawHop(TransPainter.java:499)
    at org.pentaho.di.trans.TransPainter.drawTrans(TransPainter.java:184)
    at org.pentaho.di.trans.TransPainter.buildTransformationImage(TransPainter.java:144)
    at org.pentaho.di.ui.spoon.trans.TransGraph.getTransformationImage(TransGraph.java:2728)
    at org.pentaho.di.ui.spoon.trans.TransGraph.paintControl(TransGraph.java:2691)
    at org.pentaho.di.ui.spoon.trans.TransGraph$4.paintControl(TransGraph.java:487)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(Unknown Source)
    at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Composite.WM_PAINT(Unknown Source)
    at org.eclipse.swt.widgets.Control.windowProc(Unknown Source)
    at org.eclipse.swt.widgets.Canvas.windowProc(Unknown Source)
    at org.eclipse.swt.widgets.Display.windowProc(Unknown Source)
    at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
    at org.eclipse.swt.internal.win32.OS.DispatchMessage(Unknown Source)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
    at org.pentaho.di.ui.spoon.Spoon.readAndDispatch(Spoon.java:1169)
    at org.pentaho.di.ui.spoon.Spoon.start(Spoon.java:6943)
    at org.pentaho.di.ui.spoon.Spoon.main(Spoon.java:553)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.pentaho.commons.launcher.Launcher.main(Launcher.java:134)
    Name:  fatal_JDUC_2.png
Views: 70
Size:  23.2 KB

  2. #2
    Join Date
    Apr 2012
    Posts
    15

    Default

    Just to follow up. I had a senior developer look at my problem this morning and his idea was to open the .ktr file in Notepad++, so that we can view the XML. Since Pentaho inserts the contents of the UDJC as CDATA, I was able to view and extract my Java code. Phew!! What a relief.

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.