facebook

[Closed] A Runtime Exception

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #242146 Reply

    – System Setup ——————————-
    Operating System and version: Windows XP SP2
    Eclipse version: Version: 3.1.1
    Eclipse build id: Build id: M20050929-0840
    Fresh Eclipse install (y/n): Y
    If not, was it upgraded to its current version using the update manager?
    Other installed external plugins:
    Number of plugins in the <eclipse>/plugins directory that begin with org.eclipse.pde.*: 4
    MyEclipse version: 4.0.3 GA
    Eclipse JDK version: 1.4.2_08
    Application Server JDK version: 1.4.2_08
    Are there any exceptions in the Eclipse log file?
    !ENTRY com.ibm.etools.validation 4 0 2005-11-28 09:44:33.62
    !MESSAGE
    *** ERROR ***: Mon Nov 28 09:44:33 CET 2005 java.lang.ExceptionInInitializerError

    !ENTRY com.ibm.etools.validation 4 0 2005-11-28 09:47:31.640
    !MESSAGE
    *** ERROR ***: Mon Nov 28 09:47:31 CET 2005 java.lang.NoClassDefFoundError

    If this is a DB related question please answer the following:

    RDBMS vendor and version:
    JDBC driver vendor and version, and access type (thin, type-2, etc):
    Connection URL:
    Eclipse error logs related to com.genuitec.eclipse.sqlexplorer packages:

    – Message Body ——————————-
    Hello,
    always, when I do a rebuild of my WebApp I get the following warning in the Problems-View:
    Run-time exception java.lang.NoClassDefFoundError occurred during validation. The Validator being run was JSP Validator and the message thrown was .
    There is no filename given, only the name of my WebApp.

    It seems to be JSP related, because, when I have deleted all JSPs or disable JSP-Validation, no warning appears.

    Any suggestions ???

    Bernhard Berbuir

    #242175

    Riyad Kalla
    Member

    Bernhard,
    If you open up a console window and simply type “javac” do you get a usage message or a “command not found” error?

    Also, please try shutting down MyEclipse, erasing your .log file, restarting MyEclipse, then rebuilding your project. Then open your new .log file and copy and paste the entire contents here for us to see.

    #242219

    Hello,
    here ist the content of the file .metadat/.log

    !SESSION 2005-11-29 09:04:03.436 -----------------------------------------------
    eclipse.buildId=M20050929-0840
    java.version=1.4.2_08
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
    Framework arguments:  -showlocation -vm D:\Java\J2sdk\j2sdk1.4.2_08\bin\javaw.exe
    Command-line arguments:  -os win32 -ws win32 -arch x86 -showlocation -vm D:\Java\J2sdk\j2sdk1.4.2_08\bin\javaw.exe
    
    !ENTRY com.ibm.etools.validation 4 0 2005-11-29 09:06:46.326
    !MESSAGE 
    *** ERROR ***: Tue Nov 29 09:06:46 CET 2005    java.lang.ExceptionInInitializerError
    

    When I start javac, the program is found and prints it usage information.

    I hope this information helps.

    Bernhard Berbuir

    #242238

    Riyad Kalla
    Member

    How big is your web app, would you be able to send it to us for testing? If you can, please zip it up and email it to support@genuitec.com ATTN Riyad, with a link to this forum topic so I know why I’m getting the attachment.

    #253513

    sanpraka
    Member

    I have installed Eclipse SDK 3.1.2 and Myeclipse 4.1 on Fedora 5.

    Runtime Exception java.lang.NoClassDefFoundError occured during validation.The validator being run was JavaScript Validator and the message thrown was com.genuitec.eclipse.integrator.Integrator.

    Runtime Exception java.lang.NoClassDefFoundError occured during validation.The validator being run was XML Validator and the message thrown was com.genuitec.eclipse.integrator.Integrator.

    when i click on any tab for eg (Problems,Tasks,Web Browser,Cache,Image Preview,Package Explorer,Hierarchy),i get the following error.

    An error has occured.See error log for many details.

    root@localhost eclipse]# eclipse &
    [1] 3846
    [root@localhost eclipse]# Could not create action delegate for id: com.genuitec.org.springframework.ide.eclipse.beans.ui.actionset.showinview
    Reason:
    Internal plug-in action delegate error on creation.
    Could not create action delegate for id: com.genuitec.org.springframework.ide.eclipse.beans.ui.actionset.openjavatype
    Reason:
    Internal plug-in action delegate error on creation.
    Unhandled Exception
    Reason:
    Unable to execute early startup code for an extension

    [root@localhost eclipse]#

    Please help me out as i am new to Eclipse,Myeclipse and Linux.

    #253520

    Riyad Kalla
    Member

    sanpraka,
    I’m willing to bet my life that the problem is RedHat/Fedora ship GCJ/Classpath as their default Java implementation which is not a fully compatible JDK implementation. In order for Eclipse and MyEclipse to function properly you should download and install the SUn JDK for Linux. Then specify using the -vm command line argument to Eclipse which Java executable it should use, something like:
    eclipse -vm /usr/local/sun-jdk-1.5.0_06/bin/java

    #253522

    sanpraka
    Member

    @sanpraka wrote:

    Thanks a lot for a quick reply.Its working excellently now withour any error.Actually there are two java versions in my system.

    When i executed the command you have said,it’s working excellently.

    i bet you are really great.

    Regards,
    Sanjeev
    I have installed Eclipse SDK 3.1.2 and Myeclipse 4.1 on Fedora 5.

    Runtime Exception java.lang.NoClassDefFoundError occured during validation.The validator being run was JavaScript Validator and the message thrown was com.genuitec.eclipse.integrator.Integrator.

    Runtime Exception java.lang.NoClassDefFoundError occured during validation.The validator being run was XML Validator and the message thrown was com.genuitec.eclipse.integrator.Integrator.

    when i click on any tab for eg (Problems,Tasks,Web Browser,Cache,Image Preview,Package Explorer,Hierarchy),i get the following error.

    An error has occured.See error log for many details.

    root@localhost eclipse]# eclipse &
    [1] 3846
    [root@localhost eclipse]# Could not create action delegate for id: com.genuitec.org.springframework.ide.eclipse.beans.ui.actionset.showinview
    Reason:
    Internal plug-in action delegate error on creation.
    Could not create action delegate for id: com.genuitec.org.springframework.ide.eclipse.beans.ui.actionset.openjavatype
    Reason:
    Internal plug-in action delegate error on creation.
    Unhandled Exception
    Reason:
    Unable to execute early startup code for an extension

    [root@localhost eclipse]#

    Please help me out as i am new to Eclipse,Myeclipse and Linux.

    #253527

    Riyad Kalla
    Member

    Glad to hear it’s working now.

Viewing 8 posts - 1 through 8 (of 8 total)
Reply To: [Closed] A Runtime Exception

You must be logged in to post in the forum log in