Composite invoking Spring Context errors with Missing class indicator field

Hi. I’m working on a composite with a Spring Context component that is referenced in a BPMN process and have run into some issues and I was hoping you may have some insight.
I’m able to deploy the composite successfully, however when I try testing it on the SOA Server, it fails with the exception below:
<auditQueryPayload auditId="17008" ciKey="12">
<dataState>
<dataObject name="FaultMessage" isBusinessIndicator="false">
<value> com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.oracle.com/bpel/extension}remoteFault} messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage} parts: {{ summary=<summary>Exception [EclipseLink-44] (Eclipse Persistence Services - 2.3.1.v20111018-r10243): org.eclipse.persistence.exceptions.DescriptorException Exception Description: Missing class indicator field from database row [UnmarshalRecord()]. Descriptor: XMLDescriptor(com.bea.infra.events.ExtendedData --> [DatabaseTable(ns2:ExtendedData)])</summary> ,detail=<detail> Exception Description: Missing class indicator field from database row [UnmarshalRecord()]. Descriptor: XMLDescriptor(com.bea.infra.events.ExtendedData --> [DatabaseTable(ns2:ExtendedData)])</detail>} </value>
</dataObject>
</dataState>
</auditQueryPayload>
The class referenced in the error, ExtendedData, is a very simple, abstract class. Here it is:
@XmlSeeAlso( { AssetUnregistered.class, ExtractionReassign.class,
RelatedAssetRegister.class, ExtractionSubsequentNotify.class,
ExtractionIntialNotify.class, AssetSubmission.class,
ExtractionStatusChanged.class, MultiUse.class,
ALERExtendedData.class })
public abstract class ExtendedData {
Do you have any thoughts or would know someone who could help?
Thanks,
Mike

I've tried adding the jar to the classpath, installing the jar on the weblogic server, adding all the dependencies, and adding the jar to the project sourcepath. None of these worked either. Any Help would be appreciated.

Similar Messages

  • Missing class indicator field from database row

    Hi,
    I have following problem :
    There is a class inheritance with root interface and 4 subclasses, they are initialized with class indicator field. If I use ReadAllQuery with an interface or some of concrete class as search class - it is working perfect, but if I try to build query with custom selected fields (addPartialAttribute) I always get an error - Missing class indicator field from database row.
    AFAIK This field have not to be mapped in Workbench to real table column, how can I tell TopLink that I will read this indicator field too by reading some custom fields ? I thought TopLink reads such fields automatically, like it does it with primary keys.
    Thank you
    Maksim

    This sounds like an issue with our partial attribute queries and inheritance as the type indicator column must always be read. Can you map the type indicator to a read-only attribute (mark mapping as read-only) and include this in your list of attributes as a work-around?
    Doug

  • XML mapping inheritance problem; missing class indicator field

    Hi!
    I am currently working on a project which involves mapping a large domain model on a XSD schema. For this we use Toplink 10.1.3.1 which is mostly great. But now I have a problem while wanting to use class inheritance.
    In my XSD I have the following defined
    <xs:complexType name="Traject">
         <xs:sequence>
              <xs:element name="SoortTraject" type="SoortTraject"/>
         </xs:sequence>
    </xs:complexType>
    <xs:complexType name="SpecialTraject">
         <xs:complexContent>
              <xs:extension base="Traject">
                   <xs:sequence>
                                 [some elements] 
                   </xs:sequence>
              </xs:extension>
         </xs:complexContent>
    </xs:complexType>My XML is an implementation of this XSD and looks like this
    <Trajecten>
            <Traject xsi:type="SpecialTraject">
                     [implementation of the elements]
             </Traject>
    </Trajecten>My domain model corresponts to the XSD, so there is a Traject object and an inherited SpecialTraject object.
    In the mapping I used the Advanced properties->inheritance on both descriptors telling the Traject descriptor that it was the 'Root Parent Descriptor' ('Use class indicator field' -> 'use XML Schema Type attribute', 'Use class indicator dictionary') and the SpecialTraject what it Child Descriptor was ('Traject').
    When I test my mapping it always results in the same error (no matter how I configure this inheritance mapping). It says :
    [TOPLINK-44] missing class indicator field
    Descriptor: XMLDescriptor(Traject --> [])What am I doing wrong? Does anybody know a sollution?
    Best regards,
    Jouke Stoel
    Developer

    This is the changed XML descriptor file. When I deploy the file it automaticly overrides the old file so it ain't possible that I was still using the wrong file
    <toplink:class-indicator-mappings>
        <toplink:class-indicator-mapping>
            <toplink:class>Traject</toplink:class>
            <toplink:class-indicator xsi:type="xsd:string">Traject</toplink:class-indicator>
        </toplink:class-indicator-mapping>
        <toplink:class-indicator-mapping>
            <toplink:class>SpecialTraject</toplink:class>
            <toplink:class-indicator xsi:type="xsd:string">SpecialTraject</toplink:class-indicator>
        </toplink:class-indicator-mapping>
    </toplink:class-indicator-mappings>I have posted the stacktrace but I had to translate a bit because my exception was in Dutch :)
    Locale is a great invention
    Exception [TOPLINK-44] (Oracle TopLink - 10g Release 3 (10.1.3.1.0) (Build 061004)): oracle.toplink.exceptions.DescriptorException
    Exception description: Missing class indicator field of database row [UnmarshalRecord()].
    Descriptor: XMLDescriptor(Traject --> [])
         at oracle.toplink.exceptions.DescriptorException.missingClassIndicatorField(DescriptorException.java:887)
         at oracle.toplink.internal.ox.QNameInheritancePolicy.classFromRow(QNameInheritancePolicy.java:84)
         at oracle.toplink.internal.ox.XMLRelationshipMappingNodeValue.processChild(XMLRelationshipMappingNodeValue.java:13)
         at oracle.toplink.internal.ox.XMLCompositeCollectionMappingNodeValue.startElement(XMLCompositeCollectionMappingNodeValue.java:62)
         at oracle.toplink.ox.record.UnmarshalRecord.startElement(UnmarshalRecord.java:352)
         at oracle.xml.parser.v2.NonValidatingParser.parseElement(NonValidatingParser.java:1288)
         at oracle.xml.parser.v2.NonValidatingParser.parseRootElement(NonValidatingParser.java:336)
         at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:303)
         at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:205)
         at oracle.toplink.internal.ox.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:189)
         at oracle.toplink.internal.ox.record.SAXUnmarshaller.unmarshal(SAXUnmarshaller.java:147)
         at oracle.toplink.ox.XMLUnmarshaller.unmarshal(XMLUnmarshaller.java:228)
    .

  • Spring framework - Error with session scoped Beans

    Hello guys,
    I'm trying execute my Java Application inside Netweaver Application Server, but I'm having problems with serviceBeans with scope session. Anyone have already used Spring with session scope?
    Thanks,
    Cleiton.

    After many attempt, when I declared the bean with <aop:scoped-proxy  /> it works, however it could cause performance problem. I don't need refer this bean by another singleton bean, i did a wrong configuration in order to make a work a round...
    When I run my application on tomcat server, the DWR starts perfectly the "session scope bean form IOC container", but in the WEBAS maybe it's running in other thread. Is it possible?
    Anyone had a problem like this?
    I got a detailed error with log4j,
    ERROR Application [1] org.directwebremoting.impl.DefaultCreatorManager - Error loading class for creator 'SpringCreator[CounterSpringFacade]'.
    org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'counterSpringFacade': Scope 'session' is not active for the current thread; consider defining a scoped proxy for this bean if you intend to refer to it from a singleton; nested exception is java.lang.IllegalStateException: No thread-bound request found: Are you referring to request attributes outside of an actual web request, or processing a request outside of the originally receiving thread? If you are actually operating within a web request and still receive this message, your code is probably running outside of DispatcherServlet/DispatcherPortlet: In this case, use RequestContextListener or RequestContextFilter to expose the current request.
         at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:312)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
         at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
         at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:881)
         at org.directwebremoting.spring.SpringCreator.getInstance(SpringCreator.java:145)
         at org.directwebremoting.spring.SpringCreator.getType(SpringCreator.java:107)
    Edited by: Cleiton dos Santos Garcia on Jan 7, 2009 5:02 PM

  • XSQL Error. Missing class: oracle.xdb.XMLType XML

    I am using OC4J and XSQL to publish information and most of the normal stuff runs fine. When I try to run the following query, I get errors. I copied the following example from XML developer's kit manual and work fine in SQL*Plus.
    =============================
    <?xml version="1.0"?>
    <xsql:query connection="demo" xmlns:xsql="urn:oracle-xsql">
    select XmlElement("DepartmentList",
    XmlAgg(
    XmlElement("Department",
    XmlAttributes(deptno as "Id"),
    XmlForest(dname as "Name"),
    (select XmlElement("Employees",
    XmlAgg(
    XmlElement("Employee",
    XmlAttributes(empno as "Id"),
    XmlForest(ename as "Name",
    sal as "Salary",
    job as "Job")
    from emp e
    where e.deptno = d.deptno
    ) as result
    from dept d
    order by dname
    </xsql:query>
    ====================
    Following is the header portion of the errors shown.
    XML-25017: Unexpected Error Occurred
    oracle.classloader.util.AnnotatedNoClassDefFoundError:
    Missing class: oracle.xdb.XMLType
    Dependent class: oracle.xml.sql.core.OracleXMLConvert
    Loader: oracle.xml:10.1.0_2
    Code-Source: /C:/oracle/oc4j_1013/lib/xsu12.jar
    Configuration: <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\oracle\oc4j_1013\j2ee\home\oc4j.jar
    The missing class is available from the following locations:
    1. Code-Source: /C:/oracle/oc4j_1013/j2ee/home/applications/xsql/xsql/WEB-INF/lib/xdb.jar (from WEB-INF/lib/ directory in C:\oracle\oc4j_1013\j2ee\home\applications\xsql\xsql\WEB-INF\lib)
    This code-source is available in loader xsql.web.xsql:0.0.0.
    I tried to search several forums but was unable to find any solution to resolve this issue. Any help is appreciated.
    Thanks,

    I am using OC4J and XSQL to publish information and most of the normal stuff runs fine. When I try to run the following query, I get errors. I copied the following example from XML developer's kit manual and work fine in SQL*Plus.
    =============================
    <?xml version="1.0"?>
    <xsql:query connection="demo" xmlns:xsql="urn:oracle-xsql">
    select XmlElement("DepartmentList",
    XmlAgg(
    XmlElement("Department",
    XmlAttributes(deptno as "Id"),
    XmlForest(dname as "Name"),
    (select XmlElement("Employees",
    XmlAgg(
    XmlElement("Employee",
    XmlAttributes(empno as "Id"),
    XmlForest(ename as "Name",
    sal as "Salary",
    job as "Job")
    from emp e
    where e.deptno = d.deptno
    ) as result
    from dept d
    order by dname
    </xsql:query>
    ====================
    Following is the header portion of the errors shown.
    XML-25017: Unexpected Error Occurred
    oracle.classloader.util.AnnotatedNoClassDefFoundError:
    Missing class: oracle.xdb.XMLType
    Dependent class: oracle.xml.sql.core.OracleXMLConvert
    Loader: oracle.xml:10.1.0_2
    Code-Source: /C:/oracle/oc4j_1013/lib/xsu12.jar
    Configuration: <code-source> (ignore manifest Class-Path) in META-INF/boot.xml in C:\oracle\oc4j_1013\j2ee\home\oc4j.jar
    The missing class is available from the following locations:
    1. Code-Source: /C:/oracle/oc4j_1013/j2ee/home/applications/xsql/xsql/WEB-INF/lib/xdb.jar (from WEB-INF/lib/ directory in C:\oracle\oc4j_1013\j2ee\home\applications\xsql\xsql\WEB-INF\lib)
    This code-source is available in loader xsql.web.xsql:0.0.0.
    I tried to search several forums but was unable to find any solution to resolve this issue. Any help is appreciated.
    Thanks,

  • Deleting  rows with missing values in field in start routine of update rule

    Hello experts,
    how can I delet rows with missing values in a specific field in the start routine of update rules?
    I think ABAP code should look something like this:
    delete ...  from DATA_PACKAGE where Z_NO = ''.
    thanks in advance for any suggestions!
    hiza

    Write:
    delete data_package where field = value.
    Hope it helps.
    Regards

  • Inheritance, class indicator field and subclasses

    Hi
    Ok, I have an inheritance model with a base class (let's call it BaseClass), which is abstract. Every subclasse of BaseClass have a different implementation, but no additional attribute. I don't want to map all subclasses in Mapping Workbench, so I mapped BaseClass and configured inheritance to use a field as a class indicator (using the java class name).
    Now, to read all subclasses in one single query, I do this:
    Collection result = session.readAllObjects(BaseClass.class);
    Now the problem is that TopLink generates the following SQL:
    SELECT JAVA_CLASS_NAME, [...] FROM BASE_CLASS_TABLE WHERE JAVA_CLASS_NAME = 'com.[...].BaseClass'
    Well, obviously this is not what I expected, since this will not return anything! I tried to use the "Read Subclasses on Query' option, to no avail. Am I missing something here? I thought this would pretty staight forward... :-(
    TIA
    Regards
    Eric Morin

    You must always map all subclasses that you wish to persist/read. If TopLink does not have a descriptor for a class it will persist/instantiate it as its superclass descriptor class.
    If you explictly configured your descriptor to read subclasses on queries in code (descriptor.getInheritancePolicy().readSubclassesOnQueries()) it would generate the correct SQL that you want, however it would return you all instances of the root class, not the subclasses. The only way to read subclasses is to map them.
    If you don't want to have to map all of the classes in the Mapping Workbench, you could just add the descriptor's for the subclasses in code.
    i.e.
    List allSublcasses = getAllMySubclasses();
    for (Iterator iterator = allSublcasses.iterator(); iterator.hasNext(); ) {
    Descriptor descriptor = new Descriptor();
    Class subclass = (Class) iterator.next();
    descriptor.setJavaClass(subclass);
    descriptor.getInheritancePolicy().setParentClass(subclass.getSuperClass());

  • Error with PeoplePicker Class

    I am getting portal runtime error when i import the following class in my jsp file of JspDynPage.
    <%@ page import=" com.sap.ip.collaboration.coreui.api.people.composite.PeoplePicker" %>.
    When i remove this statemt from jsp, its working fine. Have added the corresponding jar file into the project using add external Jars.
    And my portal.xml contains
      <application-config>
        <property name="PrivateSharingReference" value="com.sap.portal.htmlb"/>
        <property name="SharingReference" value="collaboration,usermanagement, knowledgemanagement, landscape, htmlb, exportalJCOclient, exportal"/>
      </application-config>
    Please let me know what could be reason for the same

    I am posting the part of default trace. Its saying as the package is missing, but the package is getting imported properly in teh corresponding java file of teh JSPDynPage.
    import com.sap.ip.collaboration.coreui.api.people.composite.*;
    But its throwing error when i imported teh same in jsp
    <%@ page import="com.sap.ip.collaboration.coreui.api.people.composite.*"%>     
    at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Caused by: com.sapportals.portal.prt.servlets_jsp.server.compiler.CompilingException: E:/usr/sap/SEP/JC02/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/web-inf/portal/portalapps/infyauspeoplefinder/work/pagelet/_sapportalsjsp_peoplefinder.java:18: package com.sap.ip.collaboration.coreui.api.people.composite does not exist
    import com.sap.ip.collaboration.coreui.api.people.composite.PeoplePicker;
                                                                ^
    1 error
         at com.sapportals.portal.prt.servlets_jsp.server.compiler.impl.J2eeCompiler_6_30.launchCompilerProcess(J2eeCompiler_6_30.java:564)
         at com.sapportals.portal.prt.servlets_jsp.server.compiler.impl.J2eeCompiler_6_30.compileExternal(J2eeCompiler_6_30.java:371)
         at com.sapportals.portal.prt.servlets_jsp.server.compiler.impl.J2eeCompiler_6_30.compile(J2eeCompiler_6_30.java:676)
         at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPParser.parse(JSPParser.java:2160)
         at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.compile(JSPCompiler.java:81)
         at com.sapportals.portal.prt.servlets_jsp.server.jsp.JSPCompiler.run(JSPCompiler.java:140)
         at com.sapportals.portal.prt.core.broker.JSPComponentItem.compileJSP(JSPComponentItem.java:291)
         at com.sapportals.portal.prt.core.broker.JSPComponentItem.getComponentInstance(JSPComponentItem.java:141)

  • Error with missing files after force quit

    I just spent hours building project management pages for work when the program would not respond I was forced to force quit. Then when I try to reopen I get an error and it tells me that all of the fonts and content is missing. When I click on each page it shows me images from templates that have gone away. Has anyone experienced anything like this?

    If you have the 'keep' option enabled and let iTunes do the work - take a sound track album as an example - that has various artists and you didn't tell iTunes that the album was a compilation album - then iTunes will put all the tunes into into the iTunes Music folder as Artist>Album>Song - if you have the compilation option enabled for the tunes on that same album - iTunes will nest it as iTunes Music>Compilation>Album>Song. This helps reduce the clutter in the iTunes Music folder with a thousand artists and only one tune for that artist.
    With the 'keep' option selected iTunes will move tunes automatically within the iTunes Music folder. Since iTunes moved the files it can keep track of the links.
    To create a second library launch iTunes with the 'option' key down and follow the dialog box instructions. I have a 'Master iTunes Library' on my internal HD and several ext HD's with other libraries which I give unique names i.e.: Really Big Music. I give the library data base file its' own unique name so I don't accidentally erase the wrong file. I also keep all the files that you would normally see for an iTunes library on the ext HD (iTunes library. .xml, art work etc.,). If you are into lots of movies and TV Shows you could create a library on and ext HD with only video content and name it accordingly. You would keep all the files for that library including the library 'management' files on the ext HD in the same nesting as you would find on your internal HD.
    This strategy works for me. I tried to manage the files by myself at one point and just had to many problems so I decided to not fight City Hall and go with the flow and it works for me.
    MJ

  • Compiling error with a class that references another class

    Hello,
    I have two Java-Classes in two files in the same folder. Both are in the same package. The class StatusZwo should reference the function ValueX of the class Status.
    The class Status has a function which returns the boolean value true. If compile the file Status.java there is no error, but if I
    compile the file StatusZwo.java there comes the error message:
    D:\Test\Test>javac StatusZwo.java
    StatusZwo.java:12: cannot resolve symbol
    symbol : variable Status
    location: class Test.StatusZwo
    System.out.printLn(Status.ValueX);
    StatusZwo.java
    package Test;
    import Test.*;
    public class StatusZwo{
    public static void main (String arguments[]) {
    System.out.printLn(Status.ValueX);
    Status.java:
    package Test;
    public class Status{
    public static boolean ValueX() {
    return true;
    What is the problem?
    Thank you Flo

    Next time please use [code] and [/code] tags around any code.
    There are two issues on one particular line;
    [code]System.out.printLn(Status.ValueX);[/code]
    should be
    [code]System.out.println(Status.ValueX());[/code]

  • Errors with missing font hoeflerText

    I had some problems with iweb and someone in the forums recommended turning off the hoefler font in the font book. I did this and it actually did solve my problem.
    Now, when I navigate through iweb I receive intermittent messages that this font is missing in regular and italic. I guess there must be pages using the font?
    I'm wondering if:
    1. It would be okay to turn the font back on at this point. Probably not.
    2. Is there a way to disarm this message?
    3. Is there a way to easily find the pages that include this font. I have a LOT of pages.

    Clayton ~ Although your Public Profile indicates you're running Mac OS X (10.6.1), if you're actually on 6.2, this Apple doc regarding the font database may help:
    _iWeb & iWork: Applications may suddenly quit after updating to Mac OS X v10.6.2_

  • Error with inner Classes

    I've a Swing app in wich I've the following code :
    final ComboBoxEditor editor = comboBox.getEditor();
    editor.getEditorComponent().addKeyListener(new java.awt.event.KeyAdapter() {
    public void keyReleased(KeyEvent e) {
    combo_keyReleased(e,editor);
    Runned in a normal way it works, runned via Webstart 1.4.2 it gives me :
    java.lang.ClassFormatError: it/axioma/basic/application/templates/ClWidgetCombo$2 (Illegal Variable name " val$editor")
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         at com.sun.jnlp.JNLPClassLoader.defineClass(Unknown Source)
         at com.sun.jnlp.JNLPClassLoader.access$100(Unknown Source)
         at com.sun.jnlp.JNLPClassLoader$1.run(Unknown Source)
    etc...
    Could someone explain me why ?
    Is there any workaround ?
    TIA
    Tullio

    There seems to be a problem using final variables with anonymous inner classes under a different classloader, see http://forum.java.sun.com/thread.jsp?forum=38&thread=372291

  • Type Mismatch Error with Window Class

    i have been trying in vain to recreate various examples that
    spawn popup windows. i have been certain to follow instructions
    carefully in each example (from both livedocs and the forums and
    other sites)...copying and pasting the code where applicable. yet,
    nothing works. everytime i am greeted with a Type Mismatch error
    when I compile. i have seen threads on discussion boards where a
    solution was posted that apparantly worked for everyone else...but
    not me. at this point, all i want to do is spawn a pop up window
    that i can control the content, title, size and placement with AS.
    i'm using flash 8 on windoze xp pro.

    actually, that is one of the threads i was referring to when
    i said that i found info from other locations that didnt work.
    but wait...theres more...
    after posting yesterday i discovered that the issue is
    related to my desktop for some weird reason. the following code
    works fine on my laptop but not on my desktop. both machines have
    the same OS...the same version and copy of Flash (from the same
    disc no less) and the same configuration. yet, the laptop produces
    the desired result while the desktop gives me a type mismatch error
    when i compile. i havent had time to look into it further...i
    simply finished development on the laptop and copied the final SWFs
    to the network. yet its still a bit troubling. here is the code...

  • CS3 Indesign error with missing dbghelp.dll

    Has anybody got a solution for this?

    Thanks John
    The problem is solved!! I have created a function whose entry is a char and the output is a PMString.
    My char variable has UTF-8 encoding. This type of encoding is described in "http://en.wikipedia.org/wiki/UTF-8".
    The key is to convert each char to integer, but some characters (for example cyrillic) are saved into 2 or 3 bytes. So it's neccesary to read these 2 or 3 bytes to generate their decimals.
    For example:
    char myText[] = "й"
    myText has 2 bytes: 11010000 and 10111001, so that, reads these 2 bytes and transforms to decimal (1081). This number is assigned to PMString with the "AppendW" function.
    This is the function (it works with 1, 2 or 3 bytes):
    PMString Convert_UTF8_to_PMString (char * myText)
    PMString myString;
    int total;
    char binary[4];
    bool two_bytes = false;
    bool third_byte = false;
    for (int cont=0; cont < strlen(myText); cont++)
    int i = CHAR_BIT;
    while(i>4)
    --i;
    binary[7-ib]=(const char)(myText[cont]&(1 << i) ? '1' : '0');
    int num = myText[cont];
    if (strncmp(binary,"110",3)==0)
    // 2 BYTES
    two_bytes = true;
    total = (num+64)*64;
    else if (strncmp(binary,"1110",4)==0)
    // 3 BYTES
    two_bytes = false;
    total = (num+32)*4096;
    else if (strncmp(binary,"10",2)==0)
    if (two_bytes)
    myString.AppendW(total + num + 128);
    else
    if (third_byte)
    third_byte = false;
    myString.AppendW(total + num + 128);
    else
    total = total + ((num + 128)*64);
    third_byte = true;
    else
    // 1 BYTE
    two_bytes = false;
    myString.AppendW(num);
    return myString;
    Thanks!

  • Weird error with access class

    Sigh. I only saved a few of those pages before they deleted it.
    Dammit. I only got as far as jverd actually imploding.
    What did I miss?
    Message was edited by:
    cdelmio

    -jverd imploded/exploded
    -filestream made some comment about you being an
    avaocado shaped like Madonna circa 1984
    - I said I was speechless
    - the knives came outI'm sorry I missed all that!I saved the first bit, but that last part I don't have. Someone should make a website to post deleted threads.
    :P
    Edit -- Too easy! It's a saying! How can you .... grrr. Nevermind.
    Message was edited by:
    cdelmio

Maybe you are looking for