Java.io.InvalidClassException: org.eclipse.persistence.internal.indirection.DatabaseValueHolder; local class incompatible: stream classdesc serialVersionUID = -6893195210780291759, local class serialVersionUID = 1128857921468654749

Hi,
I recently create a webservice application.
It work fine when the server is implemented as java application. But when rewritten as web application( *.war),  the deploiement work on WLS.
However it throws java.io.InvalidClassException: org.eclipse.persistence.internal.indirection.DatabaseValueHolder; local class incompatible: stream classdesc serialVersionUID = -6893195210780291759, local class serialVersionUID = 1128857921468654749 error when the client start consumming the web service methods.
I add both eclipselink-javax.persistence-2.0.jar and eclipselink-2.0.2.jar(which are also used in the server side) in $WL_HOME/wlserver_10.3/common/deployable-libraries, that doesn't solve the problem yet.
Any help will be appreciated, cheers.

Abenk,
This looks like a serial version mismatch due to multiple Eclipselink.jar files. Check if you have any under server/internal/ext folder.
What are you putting in your classpath? Is there a "jrf.jar" and is it getting picked up first? Does this Jrf.jar have an entry of Eclipselink jar?
Try to check the classpath of the jars used by Weblogic and remove any redundant Eclipselink/Toplink jars.
What is the complete version of your Weblogic Server ?

Similar Messages

  • Java.io.InvalidClassException: org.eclipse.persistence.internal.helper.DatabaseTable

    Hello im using weblogic 10.3.5 and jpa 2, but i cant make that my project works coz i have this issue....
    56177847, local class serialVersionUID = -8219935847209476671 java.io.InvalidClassException: org.eclipse.persistence.internal.helper.DatabaseTable; local class incompatible: stream classdesc serialVersionUID = 740837816705
    Can somebody help me please?
    Thanks.

    Just a guess because there is so little information given but perhaps you are attempting to deserialize a class that should not have been serialized in the first place.

  • Warning: Supported source version 'RELEASE_6' from annotation processor 'org.eclipse.persistence.internal.jpa.modelgen.CanonicalModelProcessor' less than -source '1.7'

    warning: Supported source version 'RELEASE_6' from annotation processor 'org.eclipse.persistence.internal.jpa.modelgen.CanonicalModelProcessor' less than -source '1.7'
    Note: Creating static metadata factory ...
    An annotation processor threw an uncaught exception.
    Consult the following stack trace for details.
    java.lang.ClassFormatError: Absent Code attribute in method that is not native or abstract in class file javax/persistence/PersistenceException
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:760)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:455)
        at java.net.URLClassLoader.access$100(URLClassLoader.java:73)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:367)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:361)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:360)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
        at java.lang.Class.getDeclaredFields0(Native Method)
        at java.lang.Class.privateGetDeclaredFields(Class.java:2570)
        at java.lang.Class.getDeclaredField(Class.java:2055)
        at org.eclipse.persistence.internal.security.PrivilegedAccessHelper.findDeclaredField(PrivilegedAccessHelper.java:67)
        at org.eclipse.persistence.internal.security.PrivilegedAccessHelper.getField(PrivilegedAccessHelper.java:223)
        at org.eclipse.persistence.internal.helper.Helper.getField(Helper.java:980)
        at org.eclipse.persistence.internal.descriptors.InstanceVariableAttributeAccessor.initializeAttributes(InstanceVariableAttributeAccessor.java:100)
        at org.eclipse.persistence.mappings.DatabaseMapping.preInitialize(DatabaseMapping.java:1455)
        at org.eclipse.persistence.mappings.foundation.AbstractDirectMapping.preInitialize(AbstractDirectMapping.java:913)
        at org.eclipse.persistence.oxm.mappings.XMLDirectMapping.preInitialize(XMLDirectMapping.java:439)
        at org.eclipse.persistence.oxm.XMLDescriptor.preInitialize(XMLDescriptor.java:559)
        at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.initializeDescriptors(DatabaseSessionImpl.java:649)
        at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.initializeDescriptors(DatabaseSessionImpl.java:632)
        at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.initializeDescriptors(DatabaseSessionImpl.java:568)
        at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.postConnectDatasource(DatabaseSessionImpl.java:799)
        at org.eclipse.persistence.internal.sessions.DatabaseSessionImpl.login(DatabaseSessionImpl.java:756)
        at org.eclipse.persistence.oxm.XMLContext$XMLContextState.setupSession(XMLContext.java:738)
        at org.eclipse.persistence.oxm.XMLContext$XMLContextState.setupSession(XMLContext.java:1)
        at org.eclipse.persistence.internal.oxm.Context$ContextState.<init>(Context.java:86)
        at org.eclipse.persistence.oxm.XMLContext$XMLContextState.<init>(XMLContext.java:702)
        at org.eclipse.persistence.oxm.XMLContext.<init>(XMLContext.java:192)
        at org.eclipse.persistence.oxm.XMLContext.<init>(XMLContext.java:164)
        at org.eclipse.persistence.oxm.XMLContext.<init>(XMLContext.java:154)
        at org.eclipse.persistence.internal.jpa.modelgen.objects.PersistenceXMLMappings.createXMLContext(PersistenceXMLMappings.java:139)
        at org.eclipse.persistence.internal.jpa.modelgen.objects.PersistenceXMLMappings.createXML2_1Context(PersistenceXMLMappings.java:123)
        at org.eclipse.persistence.internal.jpa.modelgen.objects.PersistenceUnitReader.initPersistenceUnits(PersistenceUnitReader.java:178)
        at org.eclipse.persistence.internal.jpa.modelgen.objects.PersistenceUnitReader.<init>(PersistenceUnitReader.java:72)
        at org.eclipse.persistence.internal.jpa.modelgen.CanonicalModelProcessor.process(CanonicalModelProcessor.java:376)
        at com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:794)
        at com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:705)
        at com.sun.tools.javac.processing.JavacProcessingEnvironment.access$1800(JavacProcessingEnvironment.java:91)
        at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1035)
        at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1176)
        at com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1173)
        at com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:859)
        at com.sun.tools.javac.main.Main.compile(Main.java:523)
        at com.sun.tools.javac.main.Main.compile(Main.java:381)..................
    I'm an undergraduate student in software engineering. I worked with EE and tried to built a EJB Application. It worked. But when i connected it to database using persistence it getting error as mentioned.
    When i change my source Binary Format to jdk6 it runs without errors. What can i do for this without downgrading jdk version?

    I resolved my problem. The issue was the version of EclipseLink that I had specified in my pom.xml. Version 2.0.1 has an issue with the meta-model generation and, in fact, I wanted to be using version 2.1.1. Once I changed to 2.1.1 everything compiled correctly.
    Just make certain that you include the correct EclipseLink repository.
    <repository>
    <id>EclipseLink Repo</id>
    <name>EclipseLink Repository for the JPA implementation</name>
    <url>http://www.eclipse.org/downloads/download.php?r=1&amp;nf=1&amp;file=/rt/eclipselink/maven.repo</url>
    </repository>

  • Ava.io.InvalidClassException: local class incompatible: stream classdesc

    Hi,
    When I am testing a scnerio in my application, I am getting the following error. When I am trying to do again, I am not getting this error. Basically when first time serializable object creation, I am getting this error I guess. Pls reply as its really disturbs our application in Production.
    22 Apr 2005 14:27:12,442 ERROR [service-j2ee] model.TopsFileManager - java.io.InvalidClassException: com.gepower.gees.tops.data.JobCtxtMgr; local class incompatible: stream classdesc serialVersionUID = 7011266017804180214, local class serialVersionUID = 1299119170608910687
    java.io.InvalidClassException: com.gepower.gees.tops.data.JobCtxtMgr; local class incompatible: stream classdesc serialVersionUID = 7011266017804180214, local class serialVersionUID = 1299119170608910687
    at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:463)
    at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1521)
    at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1626)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
    at com.gepower.gees.tops.model.TopsFileManager.getValue(TopsFileManager.java:159)
    at com.gepower.gees.tops.control.PlanJobAssocCtrl.process(PlanJobAssocCtrl.java:181)
    at com.gepower.gees.tops.control.LeafCommand.perform(LeafCommand.java:93)
    at com.ge.dialect.cb.DefaultController.processInteraction(DefaultController.java:790)
    at com.ge.dialect.cb.DefaultController.handleInteraction(DefaultController.java:607)
    at com.ge.dialect.cb.DefaultController.service(DefaultController.java:490)
    at com.ge.casper.servlet.CasperServlet.service(CasperServlet.java:231)
    at org.apache.catalina.core.StandardWrapperValve.invokeServletService(StandardWrapperValve.java:720)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:309)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:212)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:203)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:505)
    at com.iplanet.ias.web.connector.nsapi.NSAPIProcessor.process(NSAPIProcessor.java:157)
    at com.iplanet.ias.web.WebContainer.service(WebContainer.java:598)
    22 Apr 2005 14:27:12,445 ERROR [service-j2ee] control.ProcessJobCtrl - com.gepower.gees.tops.data.JobCtxtMgr; local class incompatible: stream classdesc serialVersionUID = 7011266017804180214, local class serialVersionUID = 1299119170608910687
    Thanks in advance

    Hello
    I am using Netbeans5.5, JBoss 4.0.4 with hibernate3. I have a simple Entity bean (UserProfile), which i mapped from the database table.
    In the session bean, i am using EntityManager to find my Entity bean i.e. UserProfile. But i am getting the following exception:
    java.rmi.MarshalException: Failed to communicate.  Problem during marshalling/unmarshalling; nested exception is:
            java.io.InvalidClassException: org.hibernate.collection.PersistentBag; local class incompatible: stream classdesc serialVersionUID = -992182677146982163, local class serialVersionUID = 2819117614876030537
            at org.jboss.remoting.transport.socket.SocketClientInvoker.transport(SocketClientInvoker.java:306)
            at org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInvoker.java:143)
            at org.jboss.remoting.Client.invoke(Client.java:525)
            at org.jboss.remoting.Client.invoke(Client.java:488)
            at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:55)
            at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61)
            at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:55)
            at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:78)
            at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
            at org.jboss.ejb3.stateful.StatefulRemoteProxy.invoke(StatefulRemoteProxy.java:133)
            at $Proxy1.findUser(Unknown Source)
            at anapro.Main.main(Main.java:34)
    Caused by: java.io.InvalidClassException: org.hibernate.collection.PersistentBag; local class incompatible: stream classdesc serialVersionUID = -992182677146982163, local class serialVersionUID = 2819117614876030537
            at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:519)
            at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1546)
            at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1460)
            at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1693)
            at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
            at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912)
            at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)
            at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713)
            at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
            at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
            at org.jboss.aop.joinpoint.InvocationResponse.readExternal(InvocationResponse.java:122)
            at java.io.ObjectInputStream.readExternalData(ObjectInputStream.java:1753)
            at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1711)
            at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
            at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1912)
            at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1836)
            at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1713)
            at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1299)
            at java.io.ObjectInputStream.readObject(ObjectInputStream.java:339)
            at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.receiveObject(JavaSerializationManager.java:128)
            at org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.read(SerializableUnMarshaller.java:66)
            at org.jboss.remoting.transport.socket.SocketClientInvoker.transport(SocketClientInvoker.java:279)
            ... 14 moreSince netbeans creates an EJB module and a client module, I have added hibernate-entitymanager.jar to the class path of both the client and ejb module but this exception exists. can anyone please help me in this?
    thanks

  • Org.eclipse.persistence.exceptions.ConversionException with INTERVALSD

    I have this issue with eclipselink 1.2.0.v20091016-r5565 and Oracle 11gR2
    column is INTERVAL DAY(5) TO SECOND(1) in database
    in EJB has been generated as Integer
    any workaround ???
    thank u
    patrick
    [EL Warning]: Exception [EclipseLink-3002] (Eclipse Persistence Services - 1.2.0.v20091016-r5565): org.eclipse.persistence.exceptions.ConversionException
    Exception Description: The object [0 0:0:2.400000000], of class [class oracle.sql.INTERVALDS], from mapping [org.eclipse.persistence.mappings.DirectToFieldMapping[flushElapsed-->sys.WRM$_SNAPSHOT.FLUSH_ELAPSED]] with descriptor [RelationalDescriptor(org.eclipse.persistence.extension.dynamic.WrmSnapshot --> [DatabaseTable(sys.WRM$_SNAPSHOT)])], could not be converted to [class java.lang.Integer].
    Exception in thread "main" Local Exception Stack:
    Exception [EclipseLink-3002] (Eclipse Persistence Services - 1.2.0.v20091016-r5565): org.eclipse.persistence.exceptions.ConversionException
    Exception Description: The object [0 0:0:2.400000000], of class [class oracle.sql.INTERVALDS], from mapping [org.eclipse.persistence.mappings.DirectToFieldMapping[flushElapsed-->sys.WRM$_SNAPSHOT.FLUSH_ELAPSED]] with descriptor [RelationalDescriptor(org.eclipse.persistence.extension.dynamic.WrmSnapshot --> [DatabaseTable(sys.WRM$_SNAPSHOT)])], could not be converted to [class java.lang.Integer].
    at org.eclipse.persistence.exceptions.ConversionException.couldNotBeConverted(ConversionException.java:71)
    at org.eclipse.persistence.internal.helper.ConversionManager.convertObjectToInteger(ConversionManager.java:539
    package org.eclipse.persistence.extension.dynamic;
    import java.io.Serializable;
    import java.sql.Timestamp;
    import javax.persistence.Column;
    import javax.persistence.Entity;
    import javax.persistence.Id;
    import javax.persistence.IdClass;
    import javax.persistence.NamedQueries;
    import javax.persistence.NamedQuery;
    import javax.persistence.Table;
    @Entity
    @NamedQueries({
    @NamedQuery(name = "WrmSnapshot.findAll", query = "select o from WrmSnapshot o")
    @Table(name = "WRM$_SNAPSHOT")
    @IdClass(WrmSnapshotPK.class)
    public class WrmSnapshot implements Serializable {
    @Column(name="BEGIN_INTERVAL_TIME", nullable = false)
    private Timestamp beginIntervalTime;
    @Column(name="BL_MOVED")
    private Long blMoved;
    @Id
    @Column(nullable = false)
    private Long dbid;
    @Column(name="END_INTERVAL_TIME", nullable = false)
    private Timestamp endIntervalTime;
    @Column(name="ERROR_COUNT")
    private Long errorCount;
    @Column(name="FLUSH_ELAPSED")
    private Integer flushElapsed;
    @Id
    @Column(name="INSTANCE_NUMBER", nullable = false)
    private Long instanceNumber;
    @Column(name="SNAP_FLAG")
    private Long snapFlag;
    @Id
    @Column(name="SNAP_ID", nullable = false)
    private Long snapId;
    @Column(name="SNAP_LEVEL")

    It probably depends on which tool are you using to generate EJB's from tables, but i don't think it's possible to make it use String for INTERVAL fields.
    I don't have much experience with working with INTERVAL fields but my guess is that they are converted to Lob's instead of byte array (Lob actually make sense as a representation of byte array). My other guess is that if you choose String for your field then when read from DB it is first converted to Lob then to String, but proper mapping for INTERVAL field is Lob. Number field can be converted to String but its not a "proper" way to handle Number fields.

  • Java.io.InvalidClassException: org.jboss.proxy.Interceptor...

    Hi there,
    I'm working on a JSP running on a Tomcat server 4.0.1. Such JSP calls a Servlet, which tries to recover an EJB:
         public CommunityEJB getCommunityEJB() throws UnexpectedException
              CommunityEJB lRet = null;
              CommunityEJBHome lhome = null;
              Context jndiContext = null;
              try
                   lhome = (CommunityEJBHome) ServiceLocator.getInstance().getEJBHome(JNDINames.EJB_COMMUNITY);
                   lRet = lhome.create();
              catch (Exception e)
                   UnexpectedException ue = new UnexpectedException(e);
                   logger.throwing(CLASS_NAME, "getCommunityEJB", ue);
                   throw ue;
              return lRet;
    The EJB is recovered though JNDI, running on JBoss 3.2.1. Tomcat server and JBoss are running separately (Tomcat I'm using is not the embedded in JBoss).
    The code above throws the next exception:
    tuamo.core.exception.UnexpectedException: javax.naming.CommunicationException [Root exception is java.io.InvalidClassException: org.jboss.proxy.Interceptor; local class incompatible: stream classdesc serialVersionUID = 4358098404672505200, local class serialVersionUID = 8774269974037850782]
    Can anybody help me with this?
    Thanks!!

    The EJB client jar is out of sync with the EJB server jars. In simple words, you might have recompiled any or all of the following and either only redeployed it on the server or dropped it in the client classpath depending on where did you make the changes.
    home interface
    remote interface
    types being passed over the methods in these interfaces (parameters, return values, etc.)
    I'm not quite sure what you mean by recovering an EJB? Typically its called looking it up.

  • Import org.eclipse.persistence.sessions.Project ?

    Hello,
    I have a legacy mapping file that is a Java file and its class extends org.eclipse.persistence.sessions.Project.
    This file maintains the toplink mapping and is the only toplink configuration of the project. During its inception, the webgain workbench was used to create the file. Later, it was totally hand maintained.
    Now, we would like to bring this to be managed in the JDeveloper Toplink workbench.
    Could you please tell if this is possible.
    Thanks,
    Raj

    Username and password supplied in the persistence.xml file should be for the Database configured user. This user is not an OS user.
    --Gordon                                                                                                                                                                                                                                                                                           

  • Could not find plugin org.eclipse.persistence.jpa.equinox.weaving

    one of my rcp project 's product file defined
    <plugin id="org.eclipse.persistence.jpa.equinox.weaving" fragment="true"/>
    it was working for the helio javaee IDE
    I download helio javaee ide again,
    i was supriseingly found out , this plugin does not exist anymore.
    how do I add the plugin
    org.eclipse.persistence.jpa.equinox.weaving
    for helio javaee ?
    Any hints will be more than welcome

    http://www.eclipse.org/equinox/weaving/
    > one of my rcp project 's product file defined
    > <plugin id="org.eclipse.persistence.jpa.equinox.weaving" fragment="true"/>
    > it was working for the helio javaee IDE
    > I download helio javaee ide again,
    > i was supriseingly found out , this plugin does not exist anymore.
    >
    > how do I add the plugin
    > org.eclipse.persistence.jpa.equinox.weaving
    > for helio javaee ?
    >
    > Any hints will be more than welcome

  • (Eclipse Persistence Services - 2.3.2.v20111125-r10461): org.eclipse.persistence.exceptions.DescriptorException

    We are upgrading various webservices to Weblogic 12c. We are running i a very annoying issue where the webservice can't be deployed on 12c whenever there is an element which is nillable and the type is an Enumartion. For example : <xsd:element name="adresType" type="bg:AdresType" nillable="true" minOccurs="0" /> where AdresType is :
        <xsd:simpleType name="AdresType">
            <xsd:restriction base="xsd:string">
                <xsd:enumeration value="DAILY" />
                <xsd:enumeration value="OFFICIAL" />
                <xsd:enumeration value="CORRESPONDENCE" />
            </xsd:restriction>
        </xsd:simpleType>
    Putting eclipselink 2.5.0 on the class path solves the problem. However, i am using a shared environment and they don't allow me to change the classpath ;-(
    I tried putting 'prefer-application-package', ' prefer-web-inf-classes' etcetera in the weblogic.xml. Doesn't work.
    Can anybody help me out?
    regards
    Johan van Kampen

    I've filed bug 382029 and checked in a fix into trunk (2.5) to fix the error you are getting so that it prints off the pk class causing the exception instead of 202 (which is the error code).
    The reason it seems to work is that the error occurs at the tail end of initializing the descriptor for PlanEffectiveData. When you continue on, it doesn't retry initializing this descriptor and will proceed. What hasn't been initialized are the fetch groups and the primary key class for the PlanEffectiveData; you will likely run into an issue if you attempt to use an em.find on the PlanEffectiveData class.
    I will have to test what the issue is, but I suspect it is a processing problem where the PersistableId IDClass isn't being replaced with the TemporalId class. Can you try removing the IDClass annotations from HistorySlice and seeing if you get this same exception? Presumably you will have to exclude any Entities that directly extend HistorySlice to test that it works correctly.
    Regards,
    Chris

  • GetBasicRequestData api throwing java.io.InvalidClassException

    Hi,
    I am new to OIM. we have OIM 11g R2 and am trying to run some sample programs to get Request Information using Java Program. I am getting an java.io.InvalidClassException while trying the getBasicRequestData.
    Here is what i am doing in my class:
    OIMClient oimClient;
                   String oimUserName = "xelsysadm";
    String oimPassword = "Welcome123";
    String oimURL = "t3://localhost:14000";
    // set the initial context factory
    String oimInitialContextFactory = "weblogic.jndi.WLInitialContextFactory";
    // set up the environment for making the OIM API invocation
    java.util.Hashtable env = new java.util.Hashtable();
    System.setProperty("APPSERVER_TYPE", "wls");
    System.setProperty("java.security.auth.login.config","C:\\Development\\JDeveloper\\OIMClientTest\\ViewController\\public_html\\config\\authwl.conf");//server or client
    env.put(oracle.iam.platform.OIMClient.JAVA_NAMING_FACTORY_INITIAL, oimInitialContextFactory);
    env.put(oracle.iam.platform.OIMClient.JAVA_NAMING_PROVIDER_URL, oimURL);
    env.put(oracle.iam.platform.OIMClient.APPSERVER_TYPE_WEBLOGIC, "WEBLOGIC");
    // get reference to OIMClient and perform login
    oimClient = new oracle.iam.platform.OIMClient(env);
                   try {
                        oimClient.login(oimUserName, oimPassword.toCharArray(), env);
                        System.out.println("Login Successful");
                   } catch (LoginException e) {
                        System.out.println("LoginException: " + e.getMessage());
                   RequestService reqSvc = (oracle.iam.request.api.RequestService)oimClient.getService(oracle.iam.request.api.RequestService.class);
                   oracle.iam.request.vo.Request req;
                   try {
                        req = (oracle.iam.request.vo.Request)reqSvc.getBasicRequestData("11");
                        System.out.println("Request Status is ****** : " + req.getRequestStatus());
                   } catch (RequestServiceException e) {
                        System.out.println("RequestServiceException: " + e.getMessage());
                   } catch (NoRequestPermissionException e) {
                        System.out.println("NoRequestPermissionException: " + e.getMessage());
    I am getting the below Exception:
    Login Successful
    Exception in thread "main" javax.ejb.EJBException: failed to unmarshal interface oracle.iam.request.vo.Request; nested exception is:
         java.io.InvalidClassException: org.eclipse.persistence.indirection.IndirectList; local class incompatible: stream classdesc serialVersionUID = 4038061360325736360, local class serialVersionUID = -494763524358427112; nested exception is: java.io.InvalidClassException: org.eclipse.persistence.indirection.IndirectList; local class incompatible: stream classdesc serialVersionUID = 4038061360325736360, local class serialVersionUID = -494763524358427112
    java.io.InvalidClassException: org.eclipse.persistence.indirection.IndirectList; local class incompatible: stream classdesc serialVersionUID = 4038061360325736360, local class serialVersionUID = -494763524358427112
         at java.io.ObjectStreamClass.initNonProxy(ObjectStreamClass.java:562)
         at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1582)
         at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1495)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1731)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1946)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1870)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1752)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1328)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:350)
         at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:208)
         at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:599)
         at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:204)
         at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:62)
         at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:243)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
         at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
         at oracle.iam.request.api.RequestService_dnwrzl_RequestServiceRemoteImpl_1036_WLStub.getBasicRequestDatax(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
         at $Proxy2.getBasicRequestDatax(Unknown Source)
         at oracle.iam.request.api.RequestServiceDelegate.getBasicRequestData(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at Thor.API.Base.SecurityInvocationHandler$1.run(SecurityInvocationHandler.java:68)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
         at weblogic.security.Security.runAs(Security.java:41)
         at Thor.API.Security.LoginHandler.weblogicLoginSession.runAs(weblogicLoginSession.java:52)
         at Thor.API.Base.SecurityInvocationHandler.invoke(SecurityInvocationHandler.java:79)
         at $Proxy3.getBasicRequestData(Unknown Source)
         at edimsoatest.OIMClientTest.main(OIMClientTest.java:83)
    I have all the jars in the class path. Any help in this regard will be much appreciated.
    Regards,
    Venkat.

    java.io.InvalidClassException: org.eclipse.persistence.indirection.IndirectList; local class incompatible:
    See the java version... the one which your JDeveloper is using vs the one which your OIM is using
    And you should have the jars ONLY from Oracle_IDM1/server/client/oimclient.zip expansion and REMOVE ALL OTHER JARS... (except wlfullclient.jar...)
    And make sure your jars are not obtained from ANYWHERE ELSE
    Actually I am afraid your jars might be from somewhere else like from some older installatin etc....

  • Org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)

    I started up FB 4 today and got this error in my log:
    Any ideas good friends?
    !SESSION 2009-10-28 12:33:26.601 -----------------------------------------------
    eclipse.buildId=unknown
    java.version=1.6.0_16
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Command-line arguments:  -os win32 -ws win32 -arch x86 -clean -data H:\My Documents\Flash Builder 4 -clean
    !ENTRY org.eclipse.update.configurator 4 0 2009-10-28 12:33:30.367
    !MESSAGE Unable to find feature.xml in directory: C:\Program Files\Adobe\Adobe Flash Builder Beta 2\features\com.adobe.ide.coldfusion.feature_1.0.0.253229-8LAqPgroE9KlmfZZdDcADiNC
    !ENTRY org.eclipse.ui 4 0 2009-10-28 12:34:13.745
    !MESSAGE Unhandled event loop exception
    !STACK 0
    org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
        at org.eclipse.swt.SWT.error(SWT.java:3777)
        at org.eclipse.swt.SWT.error(SWT.java:3695)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:136)
        at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3800)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3425)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198)
        at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at com.adobe.flexbuilder.standalone.FlexBuilderApplication.start(FlexBuilderApplication.java :99)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        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.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
    Caused by: java.lang.NullPointerException
        at org.eclipse.eclipsemonkey.actions.RecreateMonkeyMenuAction.createTheMenu(RecreateMonkeyMe nuAction.java:118)
        at org.eclipse.eclipsemonkey.actions.RecreateMonkeyMenuAction.run(RecreateMonkeyMenuAction.j ava:71)
        at org.eclipse.eclipsemonkey.UpdateMonkeyActionsResourceChangeListener$2.run(UpdateMonkeyAct ionsResourceChangeListener.java:256)
        at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
        at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:133)
        ... 22 more
    !SESSION 2009-10-29 09:05:49.373 -----------------------------------------------
    eclipse.buildId=unknown

    I went and deleted my metadata folder it FB4 stared ok _

  • "NoSuchMethodError" "org.eclipse.wst.server.core.internal.Trace.trace"?

    Hello,
    I'm encountering the following when publishing to WebLogic Server via Eclipse with the Enterprise Pack installed. Thanks for any help!
    !ENTRY org.eclipse.core.jobs 4 2 2011-05-23 09:11:52.563
    !MESSAGE An internal error occurred during: "Publishing to Oracle WebLogic Server 11gR1 PatchSet 4 at localhost [voodoo]...".
    !STACK 0
    java.lang.NoSuchMethodError: org.eclipse.wst.server.core.internal.Trace.trace(ILjava/lang/String;)V
         at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publishOnce(WeblogicServerBehaviour.java:647)
         at oracle.eclipse.tools.weblogic.server.internal.WeblogicServerBehaviour.publish(WeblogicServerBehaviour.java:531)
         at org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:775)
         at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:3046)
         at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:341)
         at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    This excerpt is from the Eclipse log.
    It's interesting to note that I have no applications deployed to this domain - The result is the same if I attempt to add a simple test application.
    I've used this on my Windows XP workstation for some time. This is my first attempt on my Mac!
    Mac OS X 10.6.7
    Java 1.6.0_24
    Eclipse Helios SR2
    "Fresh" installations of Eclipse and WebLogic
    The latest Eclipse & Oracle Enterprise pack updates
    WebLogic starts normally via the shell

    Hi,
    I was able to reproduce the issue you are seeing. This issue is caused by the fact that there is a new version of org.eclipse.wst.server.core_1.1.207.v20110401_1511.jar which is newer than the version which was shipped with Eclipse JEE SR2 bundle.
    The Helios JEE SR2 installers at http://eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/heliossr2 contain the following version org.eclipse.wst.server.core_1.1.206.v20110110_p001.jar.
    In your case when you tried with Helios GA and the OEPE update site , I presume you had the "Contact all update site during install to find required software" checked which updated your eclipse installation with the latest 207 version.
    There are a couple of options to workaround this issue:
    1) download and install all-in-one OEPE kits from http://www.oracle.com/technetwork/developer-tools/eclipse/downloads/oepe-111172-360027.html
    2) install eclipse JEE SR2 and install OEPE from the following update site http://download.oracle.com/otn_software/oepe/helios but make sure that the "Contact all update site during install to find required software" option is unchecked.
    hope this helps. Please confirm if this resolves the issue.
    thanks
    Raj
    Edited by: Raj Alagumalai on May 25, 2011 3:41 PM

  • Application error java.lang.RuntimeException: Application "org.eclipse.ui.ide.workbench" c

    I'm trying to create a graphical editor with GMF tools. To launch the plugin i used Run configurations, for the plugins i used "plugins selected below only" and pressing "add required plugins" it worked fine but after updating eclipse with help->check for updates I can not run the application and i get this error:
    eclipse.buildId=4.4.2.M20150204-1700
    java.version=1.8.0_31
    java.vendor=Oracle Corporation
    BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=fr_FR
    Framework arguments: -product org.eclipse.platform.ide
    Command-line arguments: -product org.eclipse.platform.ide -data C:\Users\Computer\IT\pfe Master\temp\EclipseModelingProjects\gmf1_filesystem\filesystem app1 -dev file:C:/Users/Computer/IT/pfe Master/temp/EclipseModelingProjects/.metadata/.plugins/org.eclipse.pde.core/filesystem app1/dev.properties -os win32 -ws win32 -arch x86_64 -consoleLog
    org.eclipse.osgi
    Error
    Wed May 13 19:18:59 GMT+01:00 2015
    Application error
    java.lang.RuntimeException: Application "org.eclipse.ui.ide.workbench" could not be found in the registry. The applications available are: org.eclipse.ant.core.antRunner, org.eclipse.e4.ui.workbench.swt.E4Application, org.eclipse.e4.ui.workbench.swt.GenTopic, org.eclipse.help.base.infocenterApplication, org.eclipse.help.base.helpApplication, org.eclipse.help.base.indexTool, org.eclipse.equinox.app.error.
    at org.eclipse.equinox.internal.app.EclipseAppContainer.startDefaultApp(EclipseAppContainer.java:248)
    at org.eclipse.equinox.internal.app.MainApplicationLauncher.run(MainApplicationLauncher.java:29)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
    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.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1438)
    I will appreciate your help.

    Hi,
    after updating, did you get back to Run configuration and press add required plugin again?
    If after update there are modifications, it means that you are not using a Target Platform. I recommend to use one in order to have a stable base against which to work on. See documentation.
    Regards,

  • Java.lang.OutOfMemoryError on Eclipse with FlexBuilder plugin

    Dear All,
    I am compiling a J2EE+Flex application on eclipse ganymede Version: 3.4.1 with the following eclipse.ini settings. (I am working on windows7 machine with 2GB Ram)
    -showsplash
    org.eclipse.platform
    --launcher.XXMaxPermSize
    512M
    -framework
    plugins\org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar
    -vmargs
    -Dosgi.requiredJavaVersion=1.5
    -Xms1024m
    -Xmx1024m
    -XX:PermSize=512m
    -XX:MaxPermSize=512m
    -XX:+HeapDumpOnOutOfMemoryError
    -Djava.net.preferIPv4Stack=true
    But I have continuously happened to face for the following Memory out of bounce exception during compiling the application.
    An internal error occurred during: "Building Workspace". java.lang.OutOfMemoryError
    Following is the exception trace at <workspace>/.metadeta/.log file.
    eclipse.buildId=M20080911-1700
    java.version=1.6.0_11
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
    Command-line arguments: -os win32 -ws win32 -arch x86
    !ENTRY org.eclipse.core.jobs 4 2 2010-01-12 08:14:47.007
    !MESSAGE An internal error occurred during: "Building Workspace".
    !STACK 0
    java.lang.OutOfMemoryError
    at java.io.RandomAccessFile.writeBytes(Native Method)
    at java.io.RandomAccessFile.write(Unknown Source)
    at flex2.compiler.PersistenceStore.write(PersistenceS tore.java: 154)
    at flex2.compiler.API.persistCompilationUnits(API.jav a:4154)
    at flex2.compiler.API.persistCompilationUnits(API.jav a:4133)
    at flex2.tools.oem.internal.OEMUtil.save(OEMUtil.java :163)
    at flex2.tools.oem.Application.save(Application.java: 506)
    at com.adobe.flexbuilder.multisdk.compiler.internal.A SBuilder.s aveState(ASBuilder.java:522)
    at com.adobe.flexbuilder.multisdk.compiler.internal.A SItemBuild er.saveState(ASItemBuilder.java:94)
    at com.adobe.flexbuilder.project.compiler.BuilderMana ger.maybeR emoveOldestBuilder(Unknown Source)
    at com.adobe.flexbuilder.project.compiler.BuilderMana ger.getBui lder(Unknown Source)
    at com.adobe.flexbuilder.project.compiler.internal.Fl exIncremen talBuilder.preBuild(Unknown Source)
    at com.adobe.flexbuilder.project.compiler.internal.Fl exProjectB uilder.buildItem(Unknown Source)
    at com.adobe.flexbuilder.project.compiler.internal.Fl exProjectB uilder.build(Unknown Source)
    at com.adobe.flexbuilder.project.compiler.internal.Fl exIncremen talBuilder.build(Unknown Source)
    at org.eclipse.core.internal.events.BuildManager$2.ru n(BuildMan ager.java:633)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner .java:37)
    at org.eclipse.core.internal.events.BuildManager.basi cBuild(Bui ldManager.java:170)
    at org.eclipse.core.internal.events.BuildManager.basi cBuild(Bui ldManager.java:201)
    at org.eclipse.core.internal.events.BuildManager$1.ru n(BuildMan ager.java:253)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner .java:37)
    at org.eclipse.core.internal.events.BuildManager.basi cBuild(Bui ldManager.java:256)
    at org.eclipse.core.internal.events.BuildManager.basi cBuildLoop (BuildManager.java:309)
    at org.eclipse.core.internal.events.BuildManager.buil d(BuildMan ager.java:341)
    at org.eclipse.core.internal.resources.Workspace.buil d(Workspac e.java:330)
    at org.eclipse.ui.actions.GlobalBuildAction$1.run(Glo balBuildAc tion.java:182)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.j ava:55)
    Someone please be kind enough to help me out to get rid of this exception, Sounds like the exception fired from the Flex compiler. I have been working on days in finding a solution for this. What I found in every place was asking to increase the memory for JVM, as you can see I have already done it at the eclipse.ini file, but the error popping up continuously.
    Thanks a lot in advance
    Dhammika

    NoNick4Me,
    Thanks for the reply... I tried with the following settings on the eclipse.ini
    -showsplash
    org.eclipse.platform
    --launcher.XXMaxPermSize
    256M
    -framework
    plugins\org.eclipse.osgi_3.4.2.R34x_v20080826-1230.jar
    -vm
    C:\Program Files\Java\jdk1.6.0_11\bin\javaw.exe
    -vmargs
    -Xms128m
    -Xmx512m
    -XX:PermSize=256m
    -XX:MaxPermSize=512m
    -Djava.net.preferIPv4Stack=true
    and I cant see any diffferance of the result. I am still getting the same out of memory exception as mentioned above..
    Please let me know your thouhts....
    Thnkx

  • ClassCastException at org.eclipse.xtext.builder.clustering.ClusteringBuilderState.doUpdate(Clusterin

    Hi,
    After upgrading xtext to 2.7.3 i get this exception in some cases
    java.lang.ClassCastException: null
    2015-07-02 13:44:19,842 ERROR o.e.x.b.c.ClusteringBuilderState: Error resolving cross references on resource 'platform:/resource/models/Demo/examples/comp.start'
    java.lang.ClassCastException: null
    2015-07-02 13:44:19,842 ERROR org.apache.log4j: org.eclipse.xtext.builder.clustering.ClusteringBuilderState - Error loading resource from: platform:/resource/models/Demo/examples/comp.start
    org.eclipse.xtext.builder.resourceloader.IResourceLoader$LoadOperationException: java.lang.ClassCastException
    at org.eclipse.xtext.builder.clustering.ClusteringBuilderState.doUpdate(ClusteringBuilderState.java:230)
    at org.eclipse.xtext.builder.builderState.AbstractBuilderState.update(AbstractBuilderState.java:112)
    at org.eclipse.xtext.builder.impl.XtextBuilder.doBuild(XtextBuilder.java:187)
    at org.eclipse.xtext.builder.impl.XtextBuilder.incrementalBuild(XtextBuilder.java:167)
    at org.eclipse.xtext.builder.impl.XtextBuilder.build(XtextBuilder.java:95)
    at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)
    at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)
    at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351)
    at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374)
    at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143)
    at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    Any idea on how to get rid of this ??

    This class will be called while starting the tool
    public class dslXtextUtilities {
    @Inject
    Injector injector;
    public org.eclipse.emf.ecore.resource.Resource parseString(String str){
    org.eclipse.emf.ecore.resource.Resource xtextResource = null;
    try {
    URI uri = URI.createURI("stdt.dsl", true);
    VhdlParser parser = injector.getInstance(VhdlParser.class);
    XtextResourceSet xtextResourceSet = injector.getInstance(XtextResourceSet.class);
    xtextResource = xtextResourceSet.createResource(uri);
    xtextResourceSet.addLoadOption(XtextResource.OPTION_RESOLVE_ALL, Boolean.TRUE);
    InputStream inputStream = new LazyStringInputStream(str);
    ((XtextResource) xtextResource).setParser(parser);
    ((XtextResource) xtextResource).load(inputStream, xtextResourceSet.getLoadOptions());
    } catch (Exception e) {
    return xtextResource;
    return xtextResource;
    ==============================================
    Here is the call
    public class MApp implements IApplication {
    public Object start(IApplicationContext context) throws Exception {
    // unnecessaryExceptions
    try {
    dslXtextUtilities.parseString("int x = 0;");

Maybe you are looking for

  • How to release transport request

    Hi, Good Morning!!!!!!!!!!!!!!! How to realease the transport request?,in that one rquest is header in that one one more task number is there. can u help me,this is very urgent, please send step by step procedure. very urgent.please Yours srilatha

  • Borderless printing in Aperture 2

    I just upgraded to Aperture 2.0 and I can no longer make borderless prints on my Canon Pixma Pro9500. I ran the "Printer Calibration" wizard that is supposed to center the image but it made no difference. Here is my workflow using 8x10 paper. Edit Im

  • Clicking on other's photos in Facebook exits the whole thing

    I am using iPhone5 and ios7. This problem was already present even before I updated to ios7. When I visit other's Facebook profile and click on the Photos (to check on that person's photos) the whole app exits. It just brings me back to my phone's me

  • Unable to consistently keep XBOX Live party with multiple consoles from same location.

    I have FIOS (Actiontec MI424WR Rev E with firmware 20.10.7.5) and am having problems staying in a party when running two XBOX 360 consoles.  Both Xbox's are connected to the router wirelessly.   We often like to crreate our own party (of 2) and play

  • Stop vgaswitcheroo service on supend and start on resume. Gnome 3

    1st. Hello, whenever I suspend my MacBook Pro mid-2012 it resumes fine, but I have a problem if on suspend I have my discrete GPU disabled I cannot make a clean restart. On wake-up the discrete gpu becomes enabled again, but for some reason I cannot