Error with XSLTransform example ....

Hi,
I try to use the XSLTransform exmaple and I've got the following error. Please help !!
oracle.xml.parser.v2.XSLException: XSL-1009: Attribute 'xsl:version' not found in 'xsl:stylesheet'.
at java.lang.Throwable.fillInStackTrace(Native Method)
at java.lang.Throwable.fillInStackTrace(Compiled Code)
at java.lang.Throwable.<init>(Compiled Code)
at java.lang.Exception.<init>(Exception.java:42)
at oracle.xml.parser.v2.XSLException.<init>(XSLException.java:38)
at oracle.xml.parser.v2.XSLStylesheet.error(XSLStylesheet.java:1382)
at oracle.xml.parser.v2.XSLStylesheet.processResult(XSLStylesheet.java:603)
at oracle.xml.parser.v2.XSLStylesheet.initStylesheet(XSLStylesheet.java:409)
at oracle.xml.parser.v2.XSLStylesheet.<init>(XSLStylesheet.java:147)
at XSLTransform.main(XSLTransform.java:44)
the xml file is:
<?xml version="1.0"?>
<portfolio>
<stock>
<name>zacx corp</name>
<symbol>ZCXM</symbol>
<price>28.875</price>
</stock>
<stock>
<name>zaffymat inc</name>
<symbol>ZFFX</symbol>
<price>92.250</price>
</stock>
<stock>
<name>zysmergy inc</name>
<symbol>ZYSZ</symbol>
<price>20.313</price>
</stock>
</portfolio>
and the XSL file:
<?xml version='1.0'?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<xsl:template match="/">
<HTML>
<BODY>
<TABLE BORDER="2">
<TR>
<TD>Symbol</TD>
<TD>Name</TD>
<TD>Price</TD>
</TR>
<xsl:for-each select="portfolio/stock">
<TR>
<TD><xsl:value-of select="symbol"/></TD>
<TD><xsl:value-of select="name"/></TD>
<TD><xsl:value-of select="price"/></TD>
</TR>
</xsl:for-each>
</TABLE>
</BODY>
</HTML>
</xsl:template>
</xsl:stylesheet>
null

Hi,
I found the answer to my question ... I just have to change one ligne in my XSL stylesheet
The old version:
<xsl:stylesheet xmlns:xsl="http://www.w3.org/TR/WD-xsl">
and the correct one:
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
Regards.
null

Similar Messages

  • Error with clustering example

              I am trying to get the ejb clustering example working for weblogic 5.1 sp10. The
              examples all deploy ok, but when I try to get the client to connect I get the
              following errors occuring.
              I get no errors come up on the weblogic server.
              Can anyone help??
              cheers
              Piers
              ---------- Java output ------------------
              D:\java\jdk1.2.2\bin\javaw -classpath "D:\Downloads\Java\weblogic\cluster\classes;D:\weblogic\lib\weblogicaux.jar;D:\weblogic\classes;D:\java\jdk1.2.2\demo\jfc\Java2D\Java2Demo.jar;D:\java\jdk1.2.2\jre\lib\ext\iiimp.jar;D:\java\jdk1.2.2\jre\lib\i18n.jar;D:\java\jdk1.2.2\jre\lib\jaws.jar;D:\java\jdk1.2.2\jre\lib\plugprov.jar;D:\java\jdk1.2.2\jre\lib\rt.jar;D:\java\jdk1.2.2\lib\dt.jar;D:\java\jdk1.2.2\lib\tools.jar"
              examples.cluster.ejb.Client t3://mycluster:81
              Beginning cluster.ejb.Client...
              Start of transaction set 1
              Transaction 1 of set 1 (997703208590)
              Attempt 1
              Error: java.rmi.RemoteException: Weblogic RemoteException(weblogic.rmi.ServerError)
              remapped from:weblogic.rmi.ServerError: A RemoteException occurred in the server
              method
              - with nested exception:
              [java.lang.NoSuchMethodError: weblogic.ejb.internal.EJBHomeImpl: method findMethodInfo(Ljava/lang/String;)Lweblogic/ejb/internal/MethodInfo;
              not found]; nested exception is:
                   weblogic.rmi.ServerError: A RemoteException occurred in the server method
              - with nested exception:
              [java.lang.NoSuchMethodError: weblogic.ejb.internal.EJBHomeImpl: method findMethodInfo(Ljava/lang/String;)Lweblogic/ejb/internal/MethodInfo;
              not found]
              Attempt 2
              Error: java.rmi.RemoteException: Weblogic RemoteException(weblogic.rmi.ServerError)
              remapped from:weblogic.rmi.ServerError: A RemoteException occurred in the server
              method
              - with nested exception:
              [java.lang.NoSuchMethodError: weblogic.ejb.internal.EJBHomeImpl: method findMethodInfo(Ljava/lang/String;)Lweblogic/ejb/internal/MethodInfo;
              not found]; nested exception is:
                   weblogic.rmi.ServerError: A RemoteException occurred in the server method
              - with nested exception:
              [java.lang.NoSuchMethodError: weblogic.ejb.internal.EJBHomeImpl: method findMethodInfo(Ljava/lang/String;)Lweblogic/ejb/internal/MethodInfo;
              not found]
              Attempt 3
              Error: java.rmi.RemoteException: Weblogic RemoteException(weblogic.rmi.ServerError)
              remapped from:weblogic.rmi.ServerError: A RemoteException occurred in the server
              method
              - with nested exception:
              [java.lang.NoSuchMethodError: weblogic.ejb.internal.EJBHomeImpl: method findMethodInfo(Ljava/lang/String;)Lweblogic/ejb/internal/MethodInfo;
              not found]; nested exception is:
                   weblogic.rmi.ServerError: A RemoteException occurred in the server method
              - with nested exception:
              [java.lang.NoSuchMethodError: weblogic.ejb.internal.EJBHomeImpl: method findMethodInfo(Ljava/lang/String;)Lweblogic/ejb/internal/MethodInfo;
              not found]
              Attempt 4
              Error: java.rmi.RemoteException: Weblogic RemoteException(weblogic.rmi.ServerError)
              remapped from:weblogic.rmi.ServerError: A RemoteException occurred in the server
              method
              - with nested exception:
              [java.lang.NoSuchMethodError: weblogic.ejb.internal.EJBHomeImpl: method findMethodInfo(Ljava/lang/String;)Lweblogic/ejb/internal/MethodInfo;
              not found]; nested exception is:
                   weblogic.rmi.ServerError: A RemoteException occurred in the server method
              - with nested exception:
              [java.lang.NoSuchMethodError: weblogic.ejb.internal.EJBHomeImpl: method findMethodInfo(Ljava/lang/String;)Lweblogic/ejb/internal/MethodInfo;
              not found]
              Attempt 5
              Error: java.rmi.RemoteException: Weblogic RemoteException(weblogic.rmi.ServerError)
              remapped from:weblogic.rmi.ServerError: A RemoteException occurred in the server
              method
              - with nested exception:
              [java.lang.NoSuchMethodError: weblogic.ejb.internal.EJBHomeImpl: method findMethodInfo(Ljava/lang/String;)Lweblogic/ejb/internal/MethodInfo;
              not found]; nested exception is:
                   weblogic.rmi.ServerError: A RemoteException occurred in the server method
              - with nested exception:
              [java.lang.NoSuchMethodError: weblogic.ejb.internal.EJBHomeImpl: method findMethodInfo(Ljava/lang/String;)Lweblogic/ejb/internal/MethodInfo;
              not found]
              :::::::::::::: Error :::::::::::::::::
              java.lang.Exception: Transaction 1 of set 1 ended unsuccessfully
                   at examples.cluster.ejb.Client$Transaction.transaction(Client.java, Compiled
              Code)
                   at java.lang.Exception.<init>(Exception.java, Compiled Code)
                   at examples.cluster.ejb.Client$Transaction.transaction(Client.java, Compiled
              Code)
                   at examples.cluster.ejb.Client.main(Client.java, Compiled Code)
              Statistics for different servers:
              No statistics are available.
              End cluster.ejb.Client...
              

              Thanks, that worked! I didn't have the weblogic service pack jar
              on the classpath with compiling with ejbc.
              Sabha <[email protected]> wrote:
              >Make sure you have built the ejbs with the latest service pack and then
              >run the client. Seems either some older methods are still being called.
              >
              >-Sabha
              >
              >Piers wrote:
              >
              >> I am trying to get the ejb clustering example working for weblogic
              >5.1 sp10. The
              >> examples all deploy ok, but when I try to get the client to connect
              >I get the
              >> following errors occuring.
              >> I get no errors come up on the weblogic server.
              >>
              >> Can anyone help??
              >>
              >> cheers
              >>
              >> Piers
              >>
              >> ---------- Java output ------------------
              >>
              >> D:\java\jdk1.2.2\bin\javaw -classpath "D:\Downloads\Java\weblogic\cluster\classes;D:\weblogic\lib\weblogicaux.jar;D:\weblogic\classes;D:\java\jdk1.2.2\demo\jfc\Java2D\Java2Demo.jar;D:\java\jdk1.2.2\jre\lib\ext\iiimp.jar;D:\java\jdk1.2.2\jre\lib\i18n.jar;D:\java\jdk1.2.2\jre\lib\jaws.jar;D:\java\jdk1.2.2\jre\lib\plugprov.jar;D:\java\jdk1.2.2\jre\lib\rt.jar;D:\java\jdk1.2.2\lib\dt.jar;D:\java\jdk1.2.2\lib\tools.jar"
              >> examples.cluster.ejb.Client t3://mycluster:81
              >>
              >> Beginning cluster.ejb.Client...
              >>
              >> Start of transaction set 1
              >>
              >> Transaction 1 of set 1 (997703208590)
              >>
              >> Attempt 1
              >>
              >> Error: java.rmi.RemoteException: Weblogic RemoteException(weblogic.rmi.ServerError)
              >> remapped from:weblogic.rmi.ServerError: A RemoteException occurred
              >in the server
              >> method
              >> - with nested exception:
              >> [java.lang.NoSuchMethodError: weblogic.ejb.internal.EJBHomeImpl: method
              >findMethodInfo(Ljava/lang/String;)Lweblogic/ejb/internal/MethodInfo;
              >> not found]; nested exception is:
              >> weblogic.rmi.ServerError: A RemoteException occurred in the
              >server method
              >> - with nested exception:
              >> [java.lang.NoSuchMethodError: weblogic.ejb.internal.EJBHomeImpl: method
              >findMethodInfo(Ljava/lang/String;)Lweblogic/ejb/internal/MethodInfo;
              >> not found]
              >>
              >> Attempt 2
              >>
              >> Error: java.rmi.RemoteException: Weblogic RemoteException(weblogic.rmi.ServerError)
              >> remapped from:weblogic.rmi.ServerError: A RemoteException occurred
              >in the server
              >> method
              >> - with nested exception:
              >> [java.lang.NoSuchMethodError: weblogic.ejb.internal.EJBHomeImpl: method
              >findMethodInfo(Ljava/lang/String;)Lweblogic/ejb/internal/MethodInfo;
              >> not found]; nested exception is:
              >> weblogic.rmi.ServerError: A RemoteException occurred in the
              >server method
              >> - with nested exception:
              >> [java.lang.NoSuchMethodError: weblogic.ejb.internal.EJBHomeImpl: method
              >findMethodInfo(Ljava/lang/String;)Lweblogic/ejb/internal/MethodInfo;
              >> not found]
              >>
              >> Attempt 3
              >>
              >> Error: java.rmi.RemoteException: Weblogic RemoteException(weblogic.rmi.ServerError)
              >> remapped from:weblogic.rmi.ServerError: A RemoteException occurred
              >in the server
              >> method
              >> - with nested exception:
              >> [java.lang.NoSuchMethodError: weblogic.ejb.internal.EJBHomeImpl: method
              >findMethodInfo(Ljava/lang/String;)Lweblogic/ejb/internal/MethodInfo;
              >> not found]; nested exception is:
              >> weblogic.rmi.ServerError: A RemoteException occurred in the
              >server method
              >> - with nested exception:
              >> [java.lang.NoSuchMethodError: weblogic.ejb.internal.EJBHomeImpl: method
              >findMethodInfo(Ljava/lang/String;)Lweblogic/ejb/internal/MethodInfo;
              >> not found]
              >>
              >> Attempt 4
              >>
              >> Error: java.rmi.RemoteException: Weblogic RemoteException(weblogic.rmi.ServerError)
              >> remapped from:weblogic.rmi.ServerError: A RemoteException occurred
              >in the server
              >> method
              >> - with nested exception:
              >> [java.lang.NoSuchMethodError: weblogic.ejb.internal.EJBHomeImpl: method
              >findMethodInfo(Ljava/lang/String;)Lweblogic/ejb/internal/MethodInfo;
              >> not found]; nested exception is:
              >> weblogic.rmi.ServerError: A RemoteException occurred in the
              >server method
              >> - with nested exception:
              >> [java.lang.NoSuchMethodError: weblogic.ejb.internal.EJBHomeImpl: method
              >findMethodInfo(Ljava/lang/String;)Lweblogic/ejb/internal/MethodInfo;
              >> not found]
              >>
              >> Attempt 5
              >>
              >> Error: java.rmi.RemoteException: Weblogic RemoteException(weblogic.rmi.ServerError)
              >> remapped from:weblogic.rmi.ServerError: A RemoteException occurred
              >in the server
              >> method
              >> - with nested exception:
              >> [java.lang.NoSuchMethodError: weblogic.ejb.internal.EJBHomeImpl: method
              >findMethodInfo(Ljava/lang/String;)Lweblogic/ejb/internal/MethodInfo;
              >> not found]; nested exception is:
              >> weblogic.rmi.ServerError: A RemoteException occurred in the
              >server method
              >> - with nested exception:
              >> [java.lang.NoSuchMethodError: weblogic.ejb.internal.EJBHomeImpl: method
              >findMethodInfo(Ljava/lang/String;)Lweblogic/ejb/internal/MethodInfo;
              >> not found]
              >>
              >> :::::::::::::: Error :::::::::::::::::
              >>
              >> java.lang.Exception: Transaction 1 of set 1 ended unsuccessfully
              >>
              >> at examples.cluster.ejb.Client$Transaction.transaction(Client.java,
              >Compiled
              >> Code)
              >>
              >> at java.lang.Exception.<init>(Exception.java, Compiled Code)
              >>
              >> at examples.cluster.ejb.Client$Transaction.transaction(Client.java,
              >Compiled
              >> Code)
              >>
              >> at examples.cluster.ejb.Client.main(Client.java, Compiled Code)
              >> Statistics for different servers:
              >>
              >> No statistics are available.
              >>
              >> End cluster.ejb.Client...
              >
              

  • OAS Error with Servelet example from OTN

    I have followed the servelet example
    from OTN Oracle Java Roadmap and it works
    in JDeveloper. THen I followed the steps for
    deployment to OAS and I get the following
    02-22-2000 13:21:43 0 demlwo193 `JAVAWEB` 445 7 0x400fff `Java cartridge runtime intialize..., thr_id: 19
    `
    02-22-2000 13:21:43 0 demlwo193 `JAVAWEB` 445 7 0x400fff `Notify object content initialized to null`
    02-22-2000 13:21:43 0 demlwo193 `JAVAWEB` 445 7 0x400fff `config flag: MAX_HEAP value: 64M
    `
    02-22-2000 13:21:43 0 demlwo193 `JAVAWEB` 445 7 0x400fff `config flag: SYSTEM_PROPERTY value: java.naming.factory.initial=oracle.oas.naming.jndi.CartxInitCtxFactory
    `
    02-22-2000 13:21:43 0 demlwo193 `JAVAWEB` 445 7 0x400fff `config flag: SYSTEM_PROPERTY value: ORACLE_HOME=e:\oracle\oas
    `
    02-22-2000 13:21:43 0 demlwo193 `JAVAWEB` 445 7 0x400fff `config flag: SYSTEM_PROPERTY value: ORAWEB_HOME=e:\oracle\oas\ows\4.0
    `
    02-22-2000 13:21:43 0 demlwo193 `JAVAWEB` 445 7 0x400fff `Using Servlet runtime
    `
    02-22-2000 13:21:43 0 demlwo193 `JAVAWEB` 445 7 0x400fff `config flag: RUNTIME_MODE value: JSERVLET
    `
    02-22-2000 13:21:43 0 demlwo193 `JAVAWEB` 445 7 0x400fff `CLASSPATH=e:\oracle\oas\ows\4.0\jdk\lib\classes.zip;e:\oracle\oas\ows\4.0\classes\services.jar;e:\oracle\oas\ows\cartx\jweb\classes\jweb.jar;e:\oracle\oas\ows\cartx\jweb\classes\j servlet.jar;e:\oracle\oas\orb\classes\yoj.jar;e:\oracle\oas\ows\4.0\classes\cosnam.jar;e:\oracle\oas\orb\classes\session.jar;e:\oracle\oas\orb\classes\cache.jar;e:\oracle\oas\jdbc\ lib\classes111.zip;e:\oracle\oas\ots\classes\oraclejts.jar;e:\oracle\oas\ots\classes\jtsjdbc.jar;e:\oracle\oas\ows\4.0\classes\ecoapi.jar;e:\oracle\oas\ows\4.0\classes\ejbapi.jar;e :\oracle\oas\ows\4.0\classes\oasdeploy.jar;c:\ctxdemo\DemoDBServelet.jar;c:\jCVS-5.1.1\jcvsii.jar
    `
    02-22-2000 13:21:47 0 demlwo193 `JAVAWEB` 445 0 0x400fff `Exception `
    02-22-2000 13:21:47 0 demlwo193 `JAVAWEB` 445 0 0x400fff `in thread `
    02-22-2000 13:21:47 0 demlwo193 `JAVAWEB` 445 0 0x400fff `"Thread-5"`
    02-22-2000 13:21:47 0 demlwo193 `JAVAWEB` 445 0 0x400fff ` `
    02-22-2000 13:21:47 0 demlwo193 `JAVAWEB` 445 0 0x400fff `Exception happend in executing:oracle.OAS.servlet.servletrunner.main(String[])
    `
    null

    1. Which version of JDK you are using. OAS 4081 is certified for JDK 1.1.6. If you are using JDeveloper3.0 (JDK 1.2.2), please change over to JDeveloper3.0 (JDK 1.1.8).
    2. Similarly, which version of JVM is used with OAS. You may have to edit your wrb.app to make necessary changes.
    Jayakumar
    null

  • 7009: Test Execution Error with tutorial examples

    Hi,
    I tried to run the tutorial files found on EclipseCon 2014 site (the "classic" dvd app test).
    Following first steps, after running AUT when I run test cases I always get this error:
    7009: Test Execution Error.
    Referenced Testcase could not be found.
    What does it mean? Is it a configuration problem?
    I am on windows 7 64bit and Jubula 8.1 (the latest version).
    The same happens when I try to run other pre-installed example projects.
    Thanks for reply
    Regards
    Matteo

    Hi,
    okay, from a first quick look at your Test Case I can tell that the unbound modules concrete 8.0 library is missing in your database used by Jubula. This library is reused in the JubulaTutorial Project but since is does not exist in the database the JubulaTutorial Project is displayed "broken". But don´t worry, this is very easy to fix
    1. Open the Properties for the JubulaTutorial Project
    2. Select node "Used Projects"
    3. On the left hand side you can see which libraries exist in you DB, on the right hand side you can which projects are reused in the currently opened Project
    4. Select the unbound modules concrete 8.1 from the left side and select the unbound modules concrete 8.0 from the right side
    5. Then click the single arrow which points to the right side
    6. Confirm
    7. Fixed

  • Error with vb example

    This is from the VB Scripting reference:
    Set appRef = CreateObject("Illustrator.Application.3")
    If (appRef.Documents.Count = 0) Then
        Set docRef = appRef.Documents.Add
    Else
        Set docRef = appRef.ActiveDocument
    End If
    If appRef.Documents.Count > 0 Then
        If Not IsEmpty(appRef.ActiveDocument.selection) Then
            endIndex = UBound(appRef.ActiveDocument.selection)
            Set newGroup = appRef.ActiveDocument.GroupItems.Add
            For i = 0 To endIndex
                Set artItem = appRef.ActiveDocument.selection(i)
                Set dupItem = artItem.Duplicate(newGroup, aiPlaceAtEnd)
                appRef.ActiveDocument.GraphicStyles(2).ApplyTo dupItem
            Next
        End If
    End If
    I get an error "Object required"
    Any ideas?

    Version of illustrator?
    In Top of your coding declare the object for illustrator.
    Dim docRef As Illustrator.Document
    Dim appRef As New Illustrator.Application
    Also add the reference for your illustrator version.(In Vb goto Project->References->"Adobe Illustrator CS(Version) Type Library")

  • Odd Error with decode function in Order By Clause

    I am trying to compile a procedure and can't get around an error with a dynamic order by that doesn't make much sense to me. I can repoduce the error with a plain select statment in sql plus so I can rule out a declaration error. Here is an example with 2 numeric columns and a date column.
    select task_id, display_date, remark_id from task_list
    where task_id > 1000
    order by decode('Task_ID', 'Task_ID',Task_ID, 'Display_Date', Display_Date, 'Remark_ID',Remark_ID)
    returns the error:
    select task_id, display_date, remark_id from task_list
    ERROR at line 1:
    ORA-00932: inconsistent datatypes: expected NUMBER got DATE
    I'm not sure why this error is occuring, because it doesn't even hit the Display_Date field in the Decode statment. If I take the Display_date out of the statement, it runs properly. If I change Display_Date to To_Char(Display_Date) it also runs fine, but the sorting is incorrect. Also I'm running 9.2, and do not want to use dynamic sql to build my query. Any Ideas out there as to the cause of this error?

    I did find a workaround to this issue by breaking the decode statment into three separate statement, but I still think that the way it is written above should work, and may be a bug, or an error that I don't understand fully.
    The Order by was rewritten like this:
    order by decode(pSort, 'Task_ID',Task_ID), decode(pSort, 'Display_Date', Display_Date),
    decode(pSort, 'Remark_ID',Remark_ID);
    Thanks

  • Graphic problems/errors with Mainstage 3 and MBP (15'' 2011)

    Hi,
    I bought Mainstage 3 for my MBP (15'' 2011).
    When i click con "perform" i get graphic errors.
    I have the same issue with the old Mainstage version since Mountain Lion.
    Also a fresh installation didn't help.
    I think i'm not the only one with this issue!
    I don't know how to report a bug?
    Perhaps someone can help me.
    (and  I'm probably not the only one (see feedback in Apple Store) If you also have this problem, please add a comment with your configuration (Hardware, Software))
    /forgotten ebi
    So, here an example how it looks like when i click on "perform":

    Same configuration,same problem. BUT I found a workaround.
    Mainstage has this error with the AMD video card and/or a second monitor connected.
    With a little app (http://gfx.io)  it's possible to really force the MBPro to use the Intel Graphics card.
    This will work only with the internal screen, not with a second screen connected.
    And sometimes you need to restart, to really make the Intel video card free.
    This works fine...In the meantime of a fix.

  • Error while building examples Java EE

    Hi
    When trying to build an example project (included with the Java EE tutorial http://java.sun.com/javaee/5/docs/tutorial/doc/) with the use of Netbeans I get the following error with e.g. the coffee example
    error: http://127.0.0.1:8080/jaxws-coffee-supplier/SupplierService/__container$publishing$subctx/WEB-INF/wsdl/SupplierService_schema1.xsd
    unknown location
    I carefully followed the instructions as mentioned in the tutorial; What am I doing wrong? Do I need to save the examples folder in a specific place on my hard disk?
    Thanks in advance!

    Hi,
    This forum is exclusively for the Sun Java Studio Creator related discussions.
    Please post your question at: http://forum.java.sun.com/forum.jspa?forumID=38
    Thanks,
    Creator Team.

  • Applescript 'Contacts' code error with Maverick

    After upgrading from MacOSX 10.6.8 to Maverick my applescripts are creating errors. One example is the following script which works fine if you run it from within the 'Applescript Editor.app' (v 2.6.1) under Maverick but creates a "Data paste section" error -1743 from the 'Contacts' app if you run the script indpendently. Any hints anyone on how I might return this script to full indpendent functionality?
    Script to load a raw address for conversion and inserting into Address Book
    Wish list
    1.    Check if 'New Address' Group already exists and if it doesn't then create one.
    2.    Provide a dialog that enables the user to specify which group to attach the new address to.
    3.    Find the new address and show it in Address Book.
    4.    Create a list of existing Groups to chose from to reduce keyboard error. --> done but the resultant window is not complete - no scroll bar becomes active.
    Problem code:
    set theFiles to (every file of folder addressesFolder) as alias list
    global ABactive, aExists
    property testText : "http://address-parser.com"
    property newGroup : "New Addresses" --> Default group for new address additions
    property aPrefix : ""
    property aFirstName : ""
    property aMiddleName : ""
    property aLastName : ""
    property aSuffix : ""
    property aPosition : ""
    property aDepartment : ""
    property aCompany : ""
    property aCompany2 : ""
    property aStreet : ""
    property aStreet2 : ""
    property aPostbox : ""
    property aPlace : ""
    property aPostPlace : ""
    property aState : ""
    property aZip : ""
    property aPostboxCode : ""
    property aCountry : ""
    property aPhone : ""
    property aPhone2 : ""
    property aMobile : ""
    property aFax : ""
    property aEmail : ""
    property aWebsite : ""
    property aNote : ""
    set newline to ASCII character 10
    -- Select the desired file
    try
        set addressFile to (choose file with prompt "Choose an address file:" of type {"public.text"} without invisibles) as text
        --    set addressFile to (choose file with prompt "Choose an address file:" of type {"public.text"} default location addressesFolder without invisibles) as text
        -- note the data type set for 'addressFile' is 'text'
    on error number -128
        -- User pressed 'Cancel' button
        return
    end try
    set AppleScript's text item delimiters to {":"}
    set fileName to last text item of addressFile
    set AppleScript's text item delimiters to {""}
    (* If there is an error while processing the address file, delay it just long enough to close the file access. Otherwise continue. *)
    set addressFileReference to open for access addressFile
    -- 'addressFileReference' is the 'returned access number'
    -- Check first to see whether the file was created with output from the expected source
    try
        set wholeFile to read addressFileReference as text
        if (offset of testText in wholeFile) is equal to 0 then
            display dialog "File chosen is:" & return & fileName & return & return & "This file does not appear to contain output from the 'http://www.address-parser.com' demo page." buttons {"Cancel"} default button 1 with title "Error!" with icon stop
        end if
    on error number -128
        -- User pressed 'Cancel' button
        close access addressFileReference
        set wholeFile to ""
        return
    end try
    close access addressFileReference
    set wholeFile to ""
    -- Reopen file (need to clarify why EOF error if two read calls made with file open).
    set addressFileReference to open for access addressFile
    try
        set AppleScript's text item delimiters to {""}
        -- Read address file contents in 'addressFileContents' as a list delimited by paragraph and tab.
        set x to paragraphs of (read addressFileReference as text)
        set addressFileContents to {}
        set AppleScript's text item delimiters to tab
        repeat with i from 1 to count x
            set addressFileContents's end to x's item i's text items
        end repeat
        set AppleScript's text item delimiters to {""}
        repeat with i from 1 to count of addressFileContents
            if (item i of addressFileContents) is not {} then
                --Every line must be checked as there is no set order
                if text item 1 of (item i of addressFileContents) is "Prefix= " then ¬
                    set aPrefix to text item 2 of (item i of addressFileContents)
                if text item 1 of (item i of addressFileContents) is "First name= " then ¬
                    set aFirstName to text item 2 of (item i of addressFileContents)
                if text item 1 of (item i of addressFileContents) is "Middle name= " then ¬
                    set aMiddleName to text item 2 of (item i of addressFileContents)
                if text item 1 of (item i of addressFileContents) is "Last name= " then ¬
                    set aLastName to text item 2 of (item i of addressFileContents)
                if text item 1 of (item i of addressFileContents) is "Suffix= " then ¬
                    set aSuffix to text item 2 of (item i of addressFileContents)
                if text item 1 of (item i of addressFileContents) is "Position= " then ¬
                    set aPosition to text item 2 of (item i of addressFileContents)
                if text item 1 of (item i of addressFileContents) is "Department= " then ¬
                    set aDepartment to text item 2 of (item i of addressFileContents)
                if text item 1 of (item i of addressFileContents) is "Company= " then ¬
                    set aCompany to text item 2 of (item i of addressFileContents)
                if text item 1 of (item i of addressFileContents) is "Company - line 2= " then ¬
                    set aCompany2 to text item 2 of (item i of addressFileContents)
                if text item 1 of (item i of addressFileContents) is "Street address= " then ¬
                    set aStreet to text item 2 of (item i of addressFileContents)
                if text item 1 of (item i of addressFileContents) is "Street address - line 2= " then ¬
                    set aStreet2 to text item 2 of (item i of addressFileContents)
                if text item 1 of (item i of addressFileContents) is "Postbox address= " then ¬
                    set aPostbox to text item 2 of (item i of addressFileContents)
                if text item 1 of (item i of addressFileContents) is "Place name= " then ¬
                    set aPlace to text item 2 of (item i of addressFileContents)
                if text item 1 of (item i of addressFileContents) is "Post place name= " then ¬
                    set aPostPlace to text item 2 of (item i of addressFileContents)
                if text item 1 of (item i of addressFileContents) is "State/Region/Province= " then ¬
                    set aState to text item 2 of (item i of addressFileContents)
                if text item 1 of (item i of addressFileContents) is "ZIP/Postal code= " then ¬
                    set aZip to text item 2 of (item i of addressFileContents)
                if text item 1 of (item i of addressFileContents) is "Postal code of postbox= " then ¬
                    set aPostboxCode to text item 2 of (item i of addressFileContents)
                if text item 1 of (item i of addressFileContents) is "Country= " then ¬
                    set aCountry to text item 2 of (item i of addressFileContents)
                if text item 1 of (item i of addressFileContents) is "Phone= " then ¬
                    set aPhone to text item 2 of (item i of addressFileContents)
                if text item 1 of (item i of addressFileContents) is "Phone 2= " then ¬
                    set aPhone2 to text item 2 of (item i of addressFileContents)
                if text item 1 of (item i of addressFileContents) is "Mobile phone= " then ¬
                    set aMobile to text item 2 of (item i of addressFileContents)
                if text item 1 of (item i of addressFileContents) is "Fax= " then ¬
                    set aFax to text item 2 of (item i of addressFileContents)
                if text item 1 of (item i of addressFileContents) is "Email= " then ¬
                    set aEmail to text item 2 of (item i of addressFileContents)
                if text item 1 of (item i of addressFileContents) is "Web site= " then ¬
                    set aWebsite to text item 2 of (item i of addressFileContents)
                --Collect unrecognised elements and place them in the 'Note' field
                if text item 1 of (item i of addressFileContents) contains "Unrecognized values:" then
                    set i to i + 1
                    set aNote to "Additional address bits:"
                    repeat with i from i to count of addressFileContents
                        --display dialog "Note text reads:" & return & "aNote:" & tab & "'" & aNote & "'" & return & "Line #:" & tab & i & return & (item i of addressFileContents) as text default button 1 with title "Debug Dialog"
                        if (item i of addressFileContents) is not {} then
                            if item 1 of (item i of addressFileContents) is "" and ¬
                                item 2 of (item i of addressFileContents) is not "" then
                                set aNote to aNote & newline & text item 2 of (item i of addressFileContents)
                            end if
                        end if
                    end repeat
                end if
            end if
        end repeat
    on error errMsg number errNum
        close access addressFileReference
        -- do some sort of error processing here
        display dialog "An error occurred with the following number and description: " & return & errNum & return & errMsg & return & return & "Item " & (i as string) & tab & "'" & (item i of addressFileContents) & "'" with title "Data load section."
        error errMsg number errNum
    end try
    close access addressFileReference
    --Debug dialogs
    --display dialog (item 1 of addressFileContents as text) & return & return & (item 2 of addressFileContents as text) & return & return & (item 3 of addressFileContents as text) & return & return & (item 4 of addressFileContents as text)
    --display dialog "title:" & tab & tab & tab & aPrefix & return & "first name:" & tab & tab & aFirstName & return & "middle name:" & tab & tab & aMiddleName & return & "last name:" & tab & tab & aLastName & return & "suffix:" & tab & tab & tab & aSuffix & return & "job title:" & tab & tab & tab & aPosition & return & "department:" & tab & aDepartment & return & "organization:" & tab & aCompany with title "Just prior to new record insertion:" with icon note
    --check if Contacts application is active
    tell application "System Events"
        if exists application process "Contacts" then
            set ABactive to true
        else
            set ABactive to false
        end if
    end tell
    --display dialog "title:" & tab & tab & tab & aPrefix & return & "first name:" & tab & tab & aFirstName & return & "middle name:" & tab & tab & aMiddleName & return & "last name:" & tab & tab & aLastName & return & "suffix:" & tab & tab & tab & aSuffix & return & "job title:" & tab & tab & tab & aPosition & return & "department:" & tab & aDepartment & return & "organization:" & tab & aCompany with title "Just prior to create new entry:" with icon note
    --create new address entry
    tell application "Contacts"
        try
            --if the aCompany2 variable is filled append its contents to the aCompany variable
            if aCompany2 is equal to "" then
                set thePerson to make new person with properties ¬
                    {title:aPrefix, first name:aFirstName, middle name:aMiddleName, last name:aLastName, suffix:aSuffix, job title:aPosition, department:aDepartment, organization:aCompany}
            else
                set aCompany to aCompany & newline & aCompany2
                set thePerson to make new person with properties ¬
                    {title:aPrefix, first name:aFirstName, middle name:aMiddleName, last name:aLastName, suffix:aSuffix, job title:aPosition, department:aDepartment, organization:aCompany}
            end if
            --set the Company view binary if no First and Last name
            if (first name of thePerson is equal to "") and (last name of thePerson is equal to "") then ¬
                set the company of thePerson to true
            tell thePerson
                if aPhone is not equal to "" then ¬
                    make new phone at end of phones with properties ¬
                        {label:"work", value:aPhone}
                if aPhone2 is not equal to "" then ¬
                    make new phone at end of phones with properties ¬
                        {label:"other", value:aPhone2}
                if aMobile is not equal to "" then ¬
                    make new phone at end of phones with properties ¬
                        {label:"mobile", value:aMobile}
                if aFax is not equal to "" then ¬
                    make new phone at end of phones with properties ¬
                        {label:"fax", value:aFax}
                if aEmail is not equal to "" then ¬
                    make new email at end of emails with properties ¬
                        {label:"Work", value:aEmail}
                if aWebsite is not equal to "" then ¬
                    make new url at end of urls with properties ¬
                        {label:"Work", value:aWebsite}
                if aStreet is not equal to "" then
                    if aStreet2 is equal to "" then
                        make new address at end of addresses with properties ¬
                            {label:"work", street:aStreet, city:aPlace, state:aState, zip:aZip, country:aCountry}
                    else
                        make new address at end of addresses with properties ¬
                            {label:"work", street:aStreet & ", " & aStreet2, city:aPlace, state:aState, zip:aZip, country:aCountry}
                    end if
                end if
                if aPostPlace is equal to "" then set aPostPlace to aPlace
                if aPostbox is not equal to "" then
                    if aPostboxCode is not equal to "" then
                        make new address at end of addresses with properties ¬
                            {label:"postal", street:aPostbox, city:aPostPlace, state:aState, zip:aPostboxCode, country:aCountry}
                    else
                        make new address at end of addresses with properties ¬
                            {label:"postal", street:aPostbox, city:aPlace, state:aState, zip:aZip, country:aCountry}
                    end if
                end if
                if aNote is not equal to "" then set note to aNote
            end tell
            -- place the new entry into a group
            set myGroups to name of every group
            set theGroup to (choose from list myGroups with prompt "Attach to which group?" without multiple selections allowed and empty selection allowed) as text
            --If user selects 'Cancel' button the value of the result variable is 'false'
            if theGroup is not "false" then
                add thePerson to group theGroup
            else
                -- create a default group and place the entry in there; first testing to see whether the default group already exists
                try
                    if group newGroup exists then ¬
                        display dialog "newGroup exists" with icon 1
                    add thePerson to group newGroup
                on error number -1728
                    -- newGroup does not exist so create it
                    display dialog "newGroup does not exist. Make new group with newGroup" with icon 1
                    set theGroup to make new group with properties {name:newGroup}
                    add thePerson to group newGroup
                end try
            end if
            save application "Contacts"
            set selection to (thePerson)
            activate
    --set flag that new address entry was successful by seeking
            if the selection is equal to properties ¬
                {title:aPrefix, first name:aFirstName, ¬
                middle name:aMiddleName, last name:aLastName, ¬
                suffix:aSuffix, job title:aPosition, ¬
                department:aDepartment, organization:aCompany} then ¬
            set aExists to true
        on error errMsg number errNum
            -- do some sort of error processing here
            display dialog "An error occurred with the following number and description: " & return & errNum & return & errMsg with title "Data paste section."
            error errMsg number errNum
        end try
        --if we opened the AB, we'll close it
        if not ABactive then quit
    end tell
    --clear address variables content in case of repeat use
    set aPrefix to ""
    set aFirstName to ""
    set aMiddleName to ""
    set aLastName to ""
    set aSuffix to ""
    set aPosition to ""
    set aDepartment to ""
    set aCompany to ""
    set aCompany2 to ""
    set aStreet to ""
    set aStreet2 to ""
    set aPostbox to ""
    set aPlace to ""
    set aState to ""
    set aZip to ""
    set aPostboxCode to ""
    set aCountry to ""
    set aPhone to ""
    set aPhone2 to ""
    set aMobile to ""
    set aFax to ""
    set aEmail to ""
    set aWebsite to ""
    set aNote to ""
    -- Delete original file if contents have been successfully added
    if aExists then
        try
            tell application "Finder"
                if exists file addressFile then
                    delete file addressFile --moves it to the trash
                end if
            end tell
        on error errMsg number errNum
            display dialog "Inserting new address was successfiul, however an error occurred while deleting the original file:" & return & addressFile buttons {"Cancel"} default button 1 with title "Error!" with icon stop
            display dialog ""
        end try
    end if
    -- End of 'add address' script

    Well, after a few days of restoring my cellphone (The C6-01 I mentioned before), I came to this:
    - After Hard resetting, the Lock Code is still erroneous;
    - After firmware reinstalling, Lock Code is erroneous;
    - Pulling out the battery, leaving the cellphone with no power for several hours, give the same result;
    - Downgrading firmware (previous version) did not fix the problem;
    Interesting thing is, after power on, the cellphone asks for the code lock: entering ANY number, returns "Code Error", and simply goes back to normal operation.
    Everything is working, except I can no use de Lock Code, or any function related to it.
    Of course, is pretty annoying to enter the lock code every time I power-on the cell.

  • Tips for blue screen (BSOD) errors with Windows Vista and Intel Turbo Memory on T61/T61p

    Important note: The symptoms and solutions described below address only a small subset of the possible causes for blue screen errors, aka BSOD. This information can help address blue screen errors specifically related to Turbo Memory, but may not solve errors related to other issues. Please read through the instructions completely, make sure they apply to your system, and after attempting the solutions please post back with your feedback for the community.
    Some users may experience random blue screen errors with ThinkPad
    systems running Windows Vista with Intel Turbo Memory hardware. These
    blue screens may occur during normal usage on the system or they may
    occur when booting into Windows Vista. Blue screens related to the
    Intel Turbo Memory hardware may reference a stop code of 8086 with
    memory address locations of {0, 0, 0, 0}.
    There are two main steps that you can take to help resolve blue screen issues related to Intel Turbo Memory.
    Step 1: Update Intel Turbo Memory Driver
    If the driver version is before version 1.0.1.1004-7.0.3.1001, please
    update to this version.
    To determine what version of the Intel Turbo Memory driver is installed:
    1.    Click Start, then click Control Panel.
    2.    Click System and Maintenance.
    3.    Click System.
    4.    Click Device Manager.
    5.    Expand the Storage controllers category.
    6.    Double-click Intel Flash Cache Logic Chip.
    7.    Click the Driver tab. Then you will see the driver version (for example, 1.0.1.1004).
    The new driver and installation instructions can be found here.
    Note: The Intel Matrix Storage Driver is updated with this package.
    Step 2: BIOS version
    If your BIOS version is older than those listed below, please update to the version listed.
    How to check your BIOS version:
    Turn off the system.
    Turn on the system.
    While the To interrupt normal startup, press the blue ThinkVantage button message is displayed at the lower-left area of the screen, press the F1 key.
    The
    BIOS Setup Utility menu will be displayed. If you have set a supervisor
    password, the BIOS Setup Utility menu appears after you enter the
    password.
    Check BIOS Version and Embedded Controller Version.
    Turn off the system.
    System BIOS versions:
    ThinkPad T61/T61p (14.1 inch widescreen with IEEE 1394 model) - BIOS version 1.22 (7LET52WW)
    Please
    remember that these updates do not solve every possible system blue
    screen, but they do resolve several problems related to the Intel Turbo
    Memory driver.
    Message Edited by Tim_Lenovo on 11-30-2007 07:03 PM
    Tim Supples
    Lenovo Social Media
    Got a question? Don't PM me, post it on the forum!
    Lenovo Blogs
    X60 Tablet SXGA+ primary, Z61p fully loaded workhorse

    Thanks Tim,
    I do have my T61p fully up-to-date to the latest drivers and updates (via System Update and the Drivers&Software web page when the former is not that up-to-date).
    At the moment the most recurrent problem is this:
    http://forum.lenovo.com/lnv/board/message?board.id=T_Series_Thinkpads&thread.id=55
    which has been longly speculated here:
    http://forum.thinkpads.com/viewtopic.php?t=47755
    My other angst is the boot-time chkdsk hang-up problem:
    http://forum.thinkpads.com/viewtopic.php?t=52765&highlight=chkdsk
    I just wonder if this purely a Vista issue when using NV cache, the disk spinning down at almost exactly 1 hour from the beginning of the chdsk operation seems too much of a coincidence.
    This is my T61p configuration:
    Intel Core 2 Duo T7700 2.4GHz
    BIOS version 1.26-1.06
    4GB RAM 2 SO-DIMMs
    nVidia Quadro FX 570m with 512MB VRAM
    WUXGA LCD
    Seagate 7200.2 160 GB
    4GB RAM 2 SO-DIMMs
    Windows Vista Ultimate 32bit (waiting to move to 64bit)
    thanks,
    andrea
    Message Edited by abarbieri on 12-05-2007 03:48 PM
    T61p - 15.4" - T7700 - FX 570M 256MB - 4GB RAM - ST916023AS - 4965AGN - BT - FPR - 9 cell - Vista Ult. x86
    T21p - 14" - PIII 850MHz - S3 Savage/IX 8MB - 512MB RAM - 100GB 7200rpm - WinXP x86

  • Tips for blue screen (BSOD) errors with Windows Vista and Intel Turbo Memory on X61/X61s

    Important note: The symptoms and solutions described below address only a small subset of the possible causes for blue screen errors, aka BSOD.
    This information can help address blue screen errors specifically
    related to Turbo Memory, but may not solve errors related to other
    issues. Please read through the instructions completely, make sure they
    apply to your system, and after attempting the solutions please post
    back with your feedback for the community.
    Some users may experience random blue screen errors with ThinkPad
    systems running Windows Vista with Intel Turbo Memory hardware. These
    blue screens may occur during normal usage on the system or they may
    occur when booting into Windows Vista. Blue screens related to the
    Intel Turbo Memory hardware may reference a stop code of 8086 with
    memory address locations of {0, 0, 0, 0}.
    There are two main steps that you can take to help resolve blue screen issues related to Intel Turbo Memory.
    Step 1: Update Intel Turbo Memory Driver
    If the driver version is before version 1.0.1.1004-7.0.3.1001, please
    update to this version.
    To determine what version of the Intel Turbo Memory driver is installed:
    1.    Click Start, then click Control Panel.
    2.    Click System and Maintenance.
    3.    Click System.
    4.    Click Device Manager.
    5.    Expand the Storage controllers category.
    6.    Double-click Intel Flash Cache Logic Chip.
    7.    Click the Driver tab. Then you will see the driver version (for example, 1.0.1.1004).
    The new driver and installation instructions can be found here.
    Note: The Intel Matrix Storage Driver is updated with this package.
    Step 2: BIOS version
    If your BIOS version is older than those listed below, please update to the version listed.
    How to check your BIOS version:
    Turn off the system.
    Turn on the system.
    While the To interrupt normal startup, press the blue ThinkVantage button message is displayed at the lower-left area of the screen, press the F1 key.
    The
    BIOS Setup Utility menu will be displayed. If you have set a supervisor
    password, the BIOS Setup Utility menu appears after you enter the
    password.
    Check BIOS Version and Embedded Controller Version.
    Turn off the system.
    System BIOS versions:
    ThinkPad X61 or X61s - BIOS version 1.06 (7NET25WW)
    Please
    remember that these updates do not solve every possible system blue
    screen, but they do resolve several problems related to the Intel Turbo
    Memory driver.
    Tim Supples
    Lenovo Social Media
    Got a question? Don't PM me, post it on the forum!
    Lenovo Blogs
    X60 Tablet SXGA+ primary, Z61p fully loaded workhorse

    Dear Tim,
    First off, many thanks for the tips for resolving BSOD with Vista + Turbo Memory on X61.  I've been suffering from this BSOD for countless times since I bought in my X61 7673-CW9 in April 2008.
    Even prior to having the pleasure to visit this wonderful forum, I followed both steps as indicated, and updated my Intel Turbo Memory driver to 1.5.0.1013 and my BIOS to 7NETB4WW (2.14).  However, the BSOD recurrs.
    For the past two months, I've recovered my system to factory default settings using Rescue and Recovery for over twenty times, each time with the latest Intel Turbo Memory driver and BIOS.  Notwithstanding that, BSOD recurrs.
    During these painful experiences, I tried two options: 1) making my X61 up-to-date by using System Update and Windows Update (including Vista SP1 or excluding Vista SP1); 2) keeping my X61 the status as factory default (i.e. without updating through either System Update or Windows Update (the automatic/scheduled update function of both is turned off)).  In either case, BSOD recurrs.
    I'm 100% positive that the BSOD does not arise from any hardware or software/firmware I install.  I never install any hardware (e.g. RAM).  And, it is not caused by any software/firmware I install: the clear and unequivocal evidence is that at one time,I encountered BSOD while having restored back to factory setting and booting for the first time.
    I live in Taiwan, and I seldom heard this BSOD here.  All of my friends (as most of Taiwan residents) using X61 operate in Traditional Chinese environment, whereas I operate in English environment.  In Taiwan, when booting for the first time after purchase/recovery, the Windows Vista Business system provides for lanuage choice (Traditional Chinese or English), and, once chosen, the language cannot be altered later on (unless, of course, the system is restored back to factory default settings).
    My system specs are the same as the day I purchased it and are listed below (as I'm not sure if my machine type X61 7673-CW9 is applicable outside Taiwan):
    Processor: Intel(R) Core(TM)2 Duo CPU T8300 @ 2.4GHz
    Memory: 1.00 G.B.
    System: Windows Vista Business (32-bit)
    Hard Drive: 160 G.B. @ 7,200 r.p.m.
    And, of course, with Intel Turbo Memory 1 G.B.
    I contacted the Lenovo support staff here in Taiwan for countless times, but they seem to be clueless.  I learned that some friends at this forum downgraded their OS back to Windows XP, but I chose not to.  The reason is simple: my purchase price for X61 7673-CW9 includes the Intel Turbo Memory, which cannot function under Windows XP (at least so far).
    Therefore, I just wish to share my experience here and perhaps I can get some advice from you and other friends here.  Any advice will be tremendously and enormously appreciated.
    Kevin Chen @ Taiwan

  • Problems with the examples in NWDS

    Hi All,
    Running the Welcome example project in NWDS i  have the included error.
    I have problems with other examples too.
    I did all the step by step tutorials.
    I have NWDS 2.0.3
             J2EE 6.40 SP15
             EP 2004
    I am new in NWDS and i have not still successed to run any application.
    What is wrong with my systems?
    I did all the configurations start J2EE /sdm etc.
    Do i have to install other versions? I read that maybe i have to install the same SP 15.
    Please if anybody can help me .
    Thanks,
    Ari 
    Error Summary
    While processing the current request, an exception occured which could not be handled by the application or the framework.
    If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
    Root Cause
    The initial exception that caused the request to fail, was:
    com.sap.tc.webdynpro.services.sal.deployment.api.WDClassLoaderException: Classloader of 'local/Welcome' is null, even though application is started.
    at com.sap.tc.webdynpro.serverimpl.wdc.deployment.DeployableObject.getClassLoader(DeployableObject.java:81)
    at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:588)
    at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
    at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:248)
    at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
    ... 18 more
    Ari

    Thank you for your help,
    I have NWDS 2.0.3 and Web AS 6.40 SP15 and EP 04.
    How can i be sure if  are compatible? Maybe i have to install NWDS SP15?
    I did "Rebuild" and then  "Deploy new archive and run" Deploying i was asking for the sdm password  , then the application opened in a new browser and we can see this message below.
    The Deploy Output View is empty. There is no eny successful deploy message.
    I appreciate your help.
    Thanks,
    Ari
    500   Internal Server Error
      Web Dynpro Container/SAP J2EE Engine/6.40 
    Failed to process request. Please contact your system administrator.
    [Details...]
    Error Summary
    While processing the current request, an exception occured which could not be handled by the application or the framework.
    If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
    Root Cause
    The initial exception that caused the request to fail, was:
       java.lang.InstantiationError: com.sap.tc.webdynpro.progmodel.context.NodeInfo
        at com.sap.examples.welcome.wdp.InternalWelcomeComponent.<init>(InternalWelcomeComponent.java:41)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
        ... 27 more
    See full exception chain for details.
    Correction Hints
    The currently executed application, or one of the components it depends on, has been compiled against class file versions that are different from the ones that are available at runtime.
    If the exception message indicates, that the modified class is part of the Web Dynpro Runtime (package com.sap.tc.webdynpro.*) then the running Web Dynpro Runtime is of a version that is not compatible with the Web Dynpro Designtime (Developer Studio or Component Build Server) which has been used to build + compile the application.
    Note: the above hints are only a guess. They are automatically derived from the exception that occurred and therefore can't be guaranteed to address the original problem in all cases.
    System Environment
    Client
    Web Dynpro Client Type HTML Client
    User agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322)
    Version 
    DOM version 
    Client Type msie6
    Client Type Profile ie6
    ActiveX enabled
    Cookies enabled
    Frames enabled
    Java Applets enabled
    JavaScript enabled
    Tables enabled
    VB Script enabled
    Server
    Web Dynpro Runtime Vendor: SAP, Build ID: 6.4015.00.0000.20051123162612.0000 (release=630_VAL_REL, buildtime=2005-12-14:21:51:22[UTC], changelist=377533, host=PWDFM026)
    J2EE Engine No information available
    Java VM Java HotSpot(TM) Server VM, version:1.4.2_07-b05, vendor: Sun Microsystems Inc.
    Operating system Windows 2003, version: 5.2, architecture: x86
    Other
    Session Locale en_US
    Time of Failure Fri Jan 26 14:29:31 EET 2007 (Java Time: 1169814571353)
    Web Dynpro Code Generation Infos
    local/Welcome
    No information available
    sap.com/tcwddispwda
    No information available
    sap.com/tcwdcorecomp
    No information available
    Detailed Error Information
    Detailed Exception Chain
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create delegate for component com.sap.examples.welcome.WelcomeComponent. (Hint: Is the corresponding DC deployed correctly? Does the DC contain the component?)
         at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:110)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.<init>(DelegatingComponent.java:38)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.doInit(ClientComponent.java:776)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:330)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:370)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:608)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:248)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         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:100)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
         at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:74)
         ... 26 more
    Caused by: java.lang.InstantiationError: com.sap.tc.webdynpro.progmodel.context.NodeInfo
         at com.sap.examples.welcome.wdp.InternalWelcomeComponent.<init>(InternalWelcomeComponent.java:41)
         ... 31 more

  • Namespace error with JAXB

    Hello everyone! This is my problem:
    I am using jaxb to unmarshall a xml file. When I unmarshall, the program doesn�t work at this point:
    JAXBContext jc = JAXBContext.newInstance("com.claynet.core.clom");
    Unmarshaller u = jc.createUnmarshaller();
    u.setValidating(true);
    Clom clom =
    (Clom)u.unmarshal(
    new FileInputStream( ".." + File.separatorChar +
    "webapps"+ File.separatorChar + "claybrary" + File.separatorChar
    + "objetosCLOM" + File.separatorChar + file_name.trim()) );
    The error I get is the following one:
    javax.xml.bind.UnmarshalException: Probably namespace URI of tag "clom" is wrong (correct one is "http://www.clayformacion.com/xsd/clomv1.0")
    - with linked exception:
    [com.sun.msv.verifier.ValidityViolation: Probably namespace URI of tag "clom" is wrong (correct one is "http://www.clayformacion.com/xsd/clomv1.0")]
    The problem seems to be a conflict with the namespace, but the schema has the namespace correctly set:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:clom="http://www.clayformacion.com/xsd/clomv1.0" xmlns="http://www.clayformacion.com/xsd/clomv1.0" targetNamespace="http://www.clayformacion.com/xsd/clomv1.0" elementFormDefault="qualified">
    The validation inside the unmarshalling crash.
    Is there any errors with the code? Can Anyone help me?
    Thanks

    Looks like error is clear namespace mismatch...try changing the following url in wsdl and regen the code
    http://example.ws found http://example.ws/xsd

  • Error with Function Module for Automatically Reversing FI Documents

    We are trying to use BAPIACREV to automatically reverse a document as part of workflow but get an error with 2 of the import parameters stating they were never transferred:
    1) OBJ_KEY_R
    2) OBJ_SYS
    Does anyone know how to resolve this?

    Hi,
    OBJ_KEY : Reference Key
    This key value must be created while posting the document and this key must be maintained in any of SAP tables
    for example : If the it is Accounting document then all detail found in BKPF and BSEG table, you can find OBJ_KEY in BKPF-AWKEY field.
    OBJ_SYS : Logical system of source document
    Logical system may be maintained in some table.
    for example : If the it is Accounting document then all detail found in BKPF and BSEG table, you can find OBJ_SYS in BKPF-AWSYS field.
    or you can use following FM to get logical system
    CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET'
    IMPORTING
    OWN_LOGICAL_SYSTEM = L_V_OWN_LOGICAL_SYSTEM
    EXCEPTIONS
    OWN_LOGICAL_SYSTEM_NOT_DEFINED = 1
    OTHERS = 2

  • BPM: Transformation Error with Interfaces/ MT's in different namespaces

    Hi all,
    Developing an integration process on XI 3.0 SP20 I'm facing following problem:
    I've created a transformation mapping interfaces/ message types from different software components/ namespaces.
    Softwarecomp. 1 is used for the mappings and integration processes
    Softwarecomp. 2 and 3 are used for the interfaces/ message types for incoming and outgoing messages.
    Softwarecomp. 2 and 3 are assigned to Softwarecomp. 1.
    The error message is that the container types do not fit the types of source- and target messages.
    When I copy all objects in Softwarecomp. 1 everything works fine but I don't want to mix it all up.
    I've tried playing with XML-Namespaces in the message types (same XML-NS, like "test" for both MT's, also removing the XML-NS's) but it still doesn't work.
    How can I realise a transformation with objects from different SC's and NS's?
    Thanks in advance!
    Karsten

    I've created another integration process with simple example messages and it really seems to be impossible to do a transformation with message types from different software components.
    I've seen a transformation where they have done it though.
    What did I overlook??

Maybe you are looking for

  • How to output money number by text in java?

    How to output money number by text in java? Example: input: 1234 $ output: one thousand two hundred thirty four dollar.

  • Logic 7.1.1 crashing under leopard

    Hello All, I loaded leopard this week and now when I try to save in Logic Pro 7.1.1 it crashes. I am running a G5 dual 1.6 with a gig of ram. Any thoughts? Any patches for leopard yet? Thanks for your help... phog

  • I can't connect to iTune store

    I need help i cant buy nothing  

  • ABAP to update the infocube

    Hi, We have a requireemnt to write an ABAP program that extracts the data from multiple ODSs and updates the data into an infocube based on various conditions. The logic for updating the infocube is quite complex and probably will be hard to write in

  • Ejb Client

    I'm getting the following error in EJB CLient plz telle me some solutions .. NamingException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial Tha