Beginner's error

Hi all,
Well tonight was my first foray in to applescript and it has not gone well. I clicked on the "mimic PC Monitor" script under colorsync and my my monitor changed color. I expected this, but now I can't figure out for the life of me how to return to normal colors. Any help would be great.

Open the Displays pane of System Preferences, click on Color, and select the correct ColorSync profile from the list. The Mimic PC monitor script sets it to the sRGB profile.
(10927)

Similar Messages

  • Beginner: type error #1009 Please Help!

    I'm creating my first flash site in CS4 and I'm getting this message in the output window when I test my movie:
    TypeError: Error #1009: Cannot access a property or method of a null object reference.
    at Portfolio_fla::MainTimeline/frame273()
    Portfolio.fla is the name of my flash file. Anyone know what this means?
    I have only very simple code at frame 273:
    stop();
    bHome.addEventListener(MouseEvent.CLICK, goHome);
    function goHome(evt:Event) {
    this.gotoAndPlay("home");
    bPortfolio.addEventListener(MouseEvent.CLICK, goPortfolio);
    function goPortfolio(evt:Event) {
    this.gotoAndStop("confluence");
    That's it. The bHome button works if I just have that code by itself, but when i add the bPortfolio code, I get the #1009 error when I test the movie.
    Thanks in advance for any help! I'm so frustrated and lost.

    Just so you have an idea of what the 1009 error represents... the 1009 error indicates that one of the objects being targeted by your code is out of scope.
    This could mean that the object....
    - is not in the display list
    - doesn't have an instance name (or the instance name is mispelled)
    - does not exist in the frame where that code is trying to talk to it
    - is animated into place but is not assigned instance names in every keyframe for it
    - is one of two or more consecutive keyframes of the same objects with different names assigned.
    If you go into your Publish Settings Flash section and select the option to Permit debugging, your error message should have a line number following the frame number which will help you isolate which object is involved.

  • [Semi-Beginner] Strange error if i instantiate JAXB on a webservice...

    Hello,
    After french forums, I try this one, I encounter this error since 1 week, and i can't find the solution...
    I've got a web service called by a client. The problem is that when i marshall a message with JAXB, I send it with SOAP, I receive it a the web service and I answer with the same message without JAXB : no problem. But if I want to use JAXB in the web service to treat the message by unmarshalling it, I've got an error just on this line :
    JAXBContext jc = JAXBContext.newInstance("eu.promise.pmi.pmiSchema");Before, the stack, some information about the versions I'm using :
    OS : Ubuntu
    Tomcat : 6.013
    JDK : 1.6.0_01-b06
    Axis : 1.4
    JAXB : 2.0
    Something strange in the stack is that it seems related to SOAP, but what is also strange it is the fact that without jaxb in the ws, everything's going very well ! and jaxb / soap is working very well on the client....
    Stack trace :
    4 juin 2007 10:26:34 org.apache.axis.utils.JavaUtils isAttachmentSupported
    ATTENTION: Unable to find required classes (javax.activation.DataHandler and javax.mail.internet.MimeMultipart). Attachment support is disabled.
    PMISender:
    Axis fault, exception:
    java.lang.reflect.InvocationTargetException
    AxisFault
    faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
    faultSubcode:
    faultString: java.lang.reflect.InvocationTargetException
    faultActor:
    faultNode:
    faultDetail:
    {http://xml.apache.org/axis/}hostname:localhost
    java.lang.reflect.InvocationTargetException
    at org.apache.axis.message.SOAPFaultBuilder.createFault(SOAPFaultBuilder.java:222)
    at org.apache.axis.message.SOAPFaultBuilder.endElement(SOAPFaultBuilder.java:129)
    at org.apache.axis.encoding.DeserializationContext.endElement(DeserializationContext.java:1087)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(AbstractSAXParser.java:601)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndElement(XMLDocumentFragmentScannerImpl.java:1772)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2923)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:645)
    at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
    at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:508)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:807)
    at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
    at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
    at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
    at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:395)
    at org.apache.axis.encoding.DeserializationContext.parse(DeserializationContext.java:227)
    at org.apache.axis.SOAPPart.getAsSOAPEnvelope(SOAPPart.java:696)
    at org.apache.axis.Message.getSOAPEnvelope(Message.java:435)
    at org.apache.axis.handlers.soap.MustUnderstandChecker.invoke(MustUnderstandChecker.java:62)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:206)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    at org.apache.axis.client.Call.invoke(Call.java:2767)
    at org.apache.axis.client.Call.invoke(Call.java:2443)
    at org.apache.axis.client.Call.invoke(Call.java:2366)
    at org.apache.axis.client.Call.invoke(Call.java:1812)
    at eu.promise.pmi.dialog.PmiSoapBindingStub.read(PmiSoapBindingStub.java:353)
    at eu.promise.pmi.dialog.PMISender.send(PMISender.java:52)
    at fi.hut.dialog.communication.SendImpl.send(SendImpl.java:202)
    at fi.hut.dialog.agents.DialogAgent.send(DialogAgent.java:168)
    at eu.promise.pmi.dialog.PMIClient.actionPerformed(PMIClient.java:213)
    at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
    at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
    at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
    at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
    at java.awt.Component.processMouseEvent(Component.java:6038)
    at javax.swing.JComponent.processMouseEvent(JComponent.java:3260)
    at java.awt.Component.processEvent(Component.java:5803)
    at java.awt.Container.processEvent(Container.java:2058)
    at java.awt.Component.dispatchEventImpl(Component.java:4410)
    at java.awt.Container.dispatchEventImpl(Container.java:2116)
    at java.awt.Component.dispatchEvent(Component.java:4240)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
    at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
    at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
    at java.awt.Container.dispatchEventImpl(Container.java:2102)
    at java.awt.Window.dispatchEventImpl(Window.java:2429)
    at java.awt.Component.dispatchEvent(Component.java:4240)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    InfoMessage:
    To: null@null
    From: PROMISE_PMI@
    Type: error
    Date: Mon Jun 04 10:26:35 CEST 2007
    In-reply to: null
    Time-to-live: 0
    Message: PMISender:
    Axis fault, exception:
    java.lang.reflect.InvocationTargetException

    Nobody see ?

  • Newbie request.getParameter(String) issue

    I'm having an issue setting a boolean value in a bean based off a string from request.getParameter(). I've created a small example to illustrate what I want to happen:
    testForm.jsp:
    <html>
      <head>
        <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>
        <title>testForm</title>
      </head>
      <body><form method="POST" action="testWork.jsp">
          <input type="hidden" name="hiddenTest" value="1"/>
          <input type="submit" name="submitTest" value="Submit"/>
        </form></body>
    </html>testWork.jsp:
    <jsp:useBean id="test" scope="session"
                 class="thistestapp.testClass"/>
    <html>
      <head>
        <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"/>
        <title>testWork</title>
      </head>
      <body>
      <%
      out.print("<p>" + request.getParameter("hiddenTest") + "</p>" );
      // Great it's sending "1"
      test.setTestB(request.getParameter("hiddenTest"));
      //So when I set this in the bean I should get true
      out.print("<p>" + test.getTestB() + "</p>" ); 
      //False? Not nice!!
      test.setTestB("1");
      //Alright there must be an issue with my code in the bean, so hardcode a
      //"1" in.  I should still get false.
      out.print("<p>" + test.getTestB() + "</p>" );
      //True?? I hate you.
      %>
      </body>
    </html>testClass.java:
    package thistestapp;
    public class testClass {
        private Boolean testB;
        public void setTestB(String testB) {
            if ( testB == "1"){
               this.testB = true;
            else{
               this.testB = false;
        public Boolean getTestB() {
            return testB;
    }So, I want when the bean is sent a "1" from the form to set the bean value to true. I however can't get that to happen. I'm sure there's something I'm missing.
    TIA.
    Joe

    ? if ( testB == "1"){
    Standard beginner's error. If you want to test if two strings contain the same text, use the equals() method. Like this:if ( testB.equals("1")){Your code tests whether the two sides of the == operator refer to the same object. It's possible and likely for two different strings to contain the same value, which is what you are really interested in.

  • To save it in javascript...

    please give me an idea of how to solve this beginnes's error.
    i created a .mxml and a class type .as (\ChartTest\src\generated\webservices\MyArray.as)
    but when i try to debug it i am not able to save it in javascript (AC_OETags.js).
    thanks for your help (soory for my inglés, i am chilean )
    [email protected]

    las .as estan en C:\inetpub\wwwroot\Grafico_Pr01\src\generated\webservices
    este mxml esta en C:\inetpub\wwwroot\Grafico_Pr01\src, descrito a continuación
    importe el web services de impotar wsdl.
    gracias
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute" backgroundColor="white" viewSourceURL="srcview/index.html">
    <mx:Script>
    <![CDATA[  
    import mx.rpc.events.ResultEvent;  
    import generated.webservices.Accesos;
    import generated.webservices.WSUsuarios;  
    import mx.collections.ArrayCollection; 
    private function Reload():void  
    var urlRequest:URLRequest = new URLRequest(Application.application.url);
    navigateToURL(urlRequest,"_self"); 
    [Bindable]
    private var misUsuarios:ArrayCollection;     
    private function ResultadosUsuarios(event:ResultEvent):void  
    misUsuarios = event.result as ArrayCollection;         
    for (var i:int=0; i<misUsuarios.length; i++)         
      var current:WSUsuarios = new WSUsuarios();             
      current = new WSUsuarios(misUsuarios.getItemAt(i));             
      misUsuarios.setItemAt(current, i);         
    ]]>
    </mx:Script> 
    <mx:WebService id="miWSUsuario" 
    wsdl="http://www.capacitacionlaboral.com/SU2/gerencia/WebServiceEstadistica.asmx?wsdl" 
    load="miWSUsuario.ObtenerUsuarios()" showBusyCursor="true" result="ResultadosUsuarios(event)" />
    <mx:DataGrid id="dataGridAccesos" dataProvider="{misUsuarios}" width="210" height="92" x="10" y="383"
      visible="false"/> 
    </mx:Application>

  • Effects displaying differently in new document

    I just followed an online tutorial on creating a gel effect for type. The effects have been saved as a new style and the style can be applied with no problem to objects within the same document.
    I discovered however that when I create a new file (same size, resolution and RGB color mode) the style displays differently when applied.
    Even if I copy the original layer into a new document, the appearance is different. I have a workaround which is to duplicate the original image, apply the affects to new layers within the duplicated image and delete the unwanted layers. But I'm curious to know why this is happening - I assume it is a beginner's error.

    Thank you, using your tip I found the "culprit".  There were two settings in the Bevel and Emboss effect that didn't carry over to the new document, and those were the Shading Angle and the Shading Altitude settings.  Adjusting those fixed the problem.  All the other settings carried over perfectly, so the behavior was not consistent.
    Thanks again!

  • Application Update Freezing & Multiple Data Mails

    Hi, I'm new to forums so please excuse any beginner's errors.
    I have a Blackberry 8310 and the other day when synchronising using the Desktop Manager the following message came up
    "Checking for device application updates.  Please wait...."
    But the desktop just froze.  After repeated re-tries I uninstalled Desktop Manager, downloaded version 4.6 and installed that.  Unfortunately when going through the set-up I checked the wrong server box (I should have checked the one at the bottom re Internet server) and ever since then I have been flooded by hundreds of Data mails, plus the Application Update is still freezing.  I have uninstalled and reinstalled a couple of times more (making sure to check the right server box) but still no luck.  So, I have two problems
    1)  Why does the Application Update freeze the Desktop Manager and
    2)  How do I stop the myriad mails?  I've seen an answer to this about uninstalling and using the BIS option but I didn't understand what that means.
    Thanks!
    Message Edited by Ranpan on 09-12-2008 01:42 PM
    Solved!
    Go to Solution.

    hello,
    about 2) :
    when you own a Blackberry, it has two ways of connection to Blackberry technologies : BES and BIS. BES is for corporate Blackberry : your company has Blackberry servers in the company. BIS is for regular users.
    When you install of configure the Desktop Manager, at some point it asks you whether you are under Enterprise Solutions or Internet Service. You should select Internet Service (aka BIS).
    To do so, you don't have to uninstall the Desktop manager. In windows, go to paramers >> configuration panel >> add/remove application.
    Select the Blackberry Desktop Manager and modify it. There should be the option to choose beween BES and BIS again.
    The search box on top-right of this page is your true friend, and the public Knowledge Base too:

  • Challenge of the day - "beginner" errors in SAP-delivered transactions

    1.  Read this post here:
    Question on SWUI_SINGLE and SWUI_START
    2.  Name another SAP-delivered transaction that exhibits the same incorrect behavior as SWUI_SINGLE and SWUI_START.
    Note: Assume that the behavior of these transactions at this customer site is not due to an error in system config, but rather to insufficient internal SAP QA/QC.
    If the behavior of SWUI_SINGLE and SWUI_START is not due to a config error at this customer site, these are really remarkable transactions.  I've never seen SAP transactions delivered with such gross "beginner" errors.
    Have you?
    djh

    Hi Stephen -
    How could I teach them "/nex" when I had deliberately forgotten it myself ... I'm the guy you love to hate  when you're standing behind him watching him try to get something done "fast" ... I still go up to the menu bar for copy/paste/cut in Office sometimes ...
    It's my way of being old-fashioned - like the engineers who wouldn't give up their rules for calculators ...
    As far as EEWB goes, well I can see why nobody cares about it ... remember the old saying:
    "Real programmers don't program in wussy languages like LISP ... they program right down to the bare metal" ...
    ... same goes for any tool that has "easy" and "workbench" in it ...
    Just kidding, of course ...
    djh

  • The remote server returned an error: (401) Unauthorized. IIS problem? (Beginner)

    (Beginner) Creating a Provider-hosted calendar list programmatically.
    I have done this:
    Uri hostWeb = new Uri(Request.QueryString["SPHostUrl"]);
    using (var clientContext = TokenHelper.GetS2SClientContextWithWindowsIdentity(hostWeb, Request.LogonUserIdentity))
    Web web = clientContext.Web;
    ListCreationInformation listCreator = new ListCreationInformation();
    listCreator.Title = "CompanyCalendar";
    listCreator.Description = "Workcalendar";
    listCreator.TemplateType = (int)ListTemplateType.GanttTasks; //106 = events 120=CustomGrid 140=WorkflowHistory 150=GanttTasks
    web.Lists.Add(listCreator);
    clientContext.ExecuteQuery();
    If I remove the code above there are no problems, as the title says there is something wrong with my permission to modify but I have set the wevb permission to "Full control" so it should be something else.
    Some people thinks that it has to do with IIS so I tried to set the servers authorization rules to allow all users but that didnt do it (maybe I didn't do it right).
    Im a beginner so please explain as you would for a absolute beginner that dont know IIS.How can I solv this problem, why doesent I get permission to create a list on my sharepointsite?
    thanks

    Hi,
    Check if the below article helps you
    http://sharepoint.stackexchange.com/questions/76624/the-remote-server-returned-an-error-401-unauthorized-provider-hosted-app
    http://jamestsai.net/Blog/post/SharePoint-Provider-Hosted-App-401-Unauthorized-error-on-clientContextExecuteQuery().aspx
    http://blog.dbandbi.com/tag/sharepoint-provider-hosted-app-the-remote-server-returned-an-error-401-unauthorized/
    Please remember to click 'Mark as Answer' on the answer if it helps you

  • [SOLVED] Error with Nvidia Drivers (following the Beginner's Guide)

    I followed the beginner's installation guide and everything worked fine all the way up untill updating the kernel module dependencies using the "depmod -a" command..
    First I created the "xorg.conf" file with the "nvidia-xconfig" command and it said:
    Make sure all instances of DRI are commented out:
    #    Load        "dri"
    However, there are no instances of "dri" in my xorg.conf file, so i skipped this step and moved on.
    Next it said:
    Double check your /etc/X11/xorg.conf to make sure your default depth, horizontal sync, vertical refresh, and resolutions are acceptable.
    But I don't know what they should be set to, so I skipped this and moved on again.
    This is where everything fails:
    The next step is to use the following command to update the kernel module dependencies for the nVidia drivers.
    depmod -a
    But when i do that, it fails.
    Anyone know possibly why or has had this issue?
    Last edited by trusktr (2010-02-19 07:22:32)

    PirateJonno wrote:um, I don't think you can just 'do' a kernel update, you have to wait for a new one to come out first
    You can run any kernel version you wish on Arch, if you compile yourself, of course.
    trustktr wrote:Hmmmm, yeah, that is a good question: When to run depmod -a?
    When you first install the proprietary drivers. That's it, unless you will be maintaining a custom kernel system or something. In fact, the proprietary drivers might even run the depmod script themselves, I don't know, since it is a black box binary. Makes sense, but someone else would need to answer that.
    EDIT: Also wanted to add that many shell commands throw no output whatsoever upon successful completion. Therefore, the absence of error output can be interpreted as no error. Just FYI.
    Last edited by Misfit138 (2010-02-21 02:58:04)

  • Beginner "Hello Camera" App Sample Errors

    Hello,
    Can anyone help me out. I was trying to recreate the "Hello Camera" app sample but I keep getting these errors. I'm assuming that the instructions follow those necessary for an earlier version, especially because of all the deprecation errors. I thought I fixed the codes to the new ones being used in Xcode 5.0 though. I've tried looking up how to fix these errors and I can't find anything that helps. If anyone can help I'd really appreciate it.
    Thank you!

    Your errors do not match the lines indicated. Try to clean project and rebuilt. Aside from that, your errors look pretty straightforward. Follow the suggestions to fix them.

  • Beginner - Flat file upload error Help Please

    Hi Everyone,
    I am trying to upload a flat file [.csv] for the first time.
    I created Info objects  Material Id, Material Name , Price as keyfigure.
    Material Id holds Material Name and Price as attributes and is With Text and With Master Data.
    For the Keyfigure, Price, I have selected Amount and defined as USD.
    In the flat file, i have Material id, Material Name, Price, Description for Text, its something like this
    Mid         M-Name   Price      DESCRIPTION
    10001     A              99.99     AA
    When I create an Application Component and thereafter create a data source for master data attributes for Material
    and select the flat file and upload it, then the data types for Keyfigure PRICE changes to FLTP Length 16, its no longer as DEC and i get some werid data for Price field, something like
    "99.990000000001E+02" instead of 99.99.   Why am I having this problem and how could this be resolved ?
    I thought i would start off with my best foot forward but it didnt work. Any kind of help would be highly appreciated. Thanks guys..Byee

    hi,
    these are the BI.7 steps
    BW 7.0
    Uploading of master data
    Log on to your SAP
    Transaction code RSA1u2014LEAD YOU TO MODELLING
    1. Creation of Info Objects
    u2022 In left panel select info object
    u2022 Create info area
    u2022 Create info object catalog ( characteristics & Key figures ) by right clicking the created info area
    u2022 Create new characteristics and key figures under respective catalogs according to the project requirement
    u2022 Create required info objects and Activate.
    2. Creation of Data Source
    u2022 In the left panel select data sources
    u2022 Create application component(AC)
    u2022 Right click AC and create datasource
    u2022 Specify data source name, source system, and data type ( master data attributes, text, hierarchies)
    u2022 In general tab give short, medium, and long description.
    u2022 In extraction tab specify file path, header rows to be ignored, data format(csv) and data separator( , )
    u2022 In proposal tab load example data and verify it.
    u2022 In field tab you can you can give the technical name of info objects in the template and you not have to map during the transformation the server will automatically map accordingly. If you are not mapping in this field tab you have to manually map during the transformation in Info providers.
    u2022 Activate data source and read preview data under preview tab.
    u2022 Create info package by right clicking data source and in schedule tab click star to load data to PSA.( make sure to close the flat file during loading )
    3. Creation of data targets
    u2022 In left panel select info provider
    u2022 Select created info area and right click to select Insert Characteristics as info provider
    u2022 Select required info object ( Ex : Employee ID)
    u2022 Under that info object select attributes
    u2022 Right click on attributes and select create transformation.
    u2022 In source of transformation , select object type( data source) and specify its name and source system Note: Source system will be a temporary folder or package into which data is getting stored
    u2022 Activate created transformation
    u2022 Create Data transfer process (DTP) by right clicking the master data attributes
    u2022 In extraction tab specify extraction mode ( full)
    u2022 In update tab specify error handling ( request green)
    u2022 Activate DTP and in execute tab click execute button to load data in data targets.
    4. Monitor
    Right Click data targets and select manage and in contents tab select contents to view the loaded data. Alternatively monitor icon can be used.
    BW 7.0
    Uploading of Transaction data
    Log on to your SAP
    Transaction code RSA1u2014LEAD YOU TO MODELLING
    5. Creation of Info Objects
    u2022 In left panel select info object
    u2022 Create info area
    u2022 Create info object catalog ( characteristics & Key figures ) by right clicking the created info area
    u2022 Create new characteristics and key figures under respective catalogs according to the project requirement
    u2022 Create required info objects and Activate.
    6. Creation of Data Source
    u2022 In the left panel select data sources
    u2022 Create application component(AC)
    u2022 Right click AC and create datasource
    u2022 Specify data source name, source system, and data type ( Transaction data )
    u2022 In general tab give short, medium, and long description.
    u2022 In extraction tab specify file path, header rows to be ignored, data format(csv) and data separator( , )
    u2022 In proposal tab load example data and verify it.
    u2022 In field tab you can you can give the technical name of info objects in the template and you not have to map during the transformation the server will automatically map accordingly. If you are not mapping in this field tab you have to manually map during the transformation in Info providers.
    u2022 Activate data source and read preview data under preview tab.
    u2022 Create info package by right clicking data source and in schedule tab click star to load data to PSA.( make sure to close the flat file during loading )
    7. Creation of data targets
    u2022 In left panel select info provider
    u2022 Select created info area and right click to create ODS( Data store object ) or Cube.
    u2022 Specify name fro the ODS or cube and click create
    u2022 From the template window select the required characteristics and key figures and drag and drop it into the DATA FIELD and KEY FIELDS
    u2022 Click Activate.
    u2022 Right click on ODS or Cube and select create transformation.
    u2022 In source of transformation , select object type( data source) and specify its name and source system Note: Source system will be a temporary folder or package into which data is getting stored
    u2022 Activate created transformation
    u2022 Create Data transfer process (DTP) by right clicking the master data attributes
    u2022 In extraction tab specify extraction mode ( full)
    u2022 In update tab specify error handling ( request green)
    u2022 Activate DTP and in execute tab click execute button to load data in data targets.
    8. Monitor
    Right Click data targets and select manage and in contents tab select contents to view the loaded data. There are two tables in ODS new table and active table to load data from new table to active table you have to activate after selecting the loaded data . Alternatively monitor icon can be used
    if it is helpful assign points
    cheers
    sivaRaju

  • Beginner: Getting syntax error on WHERE clause in SELECT

    I'm very new to php and mySQL.  Am using DW master/detail to generate to basic code I need.  One thing I need to do is modify a select statement in the master to include a WHERE clause to limit the selection to a particular value in one field.
    I'm getting a syntax error with the WHERE clause I'm adding to the map select statement.
    This is the portion of the error message showing the error location:
    'WHERE Group='Community' LIMIT 0, 10'
    The php that generated the select is:
    $query_maps = "SELECT * FROM tblmaps ORDER BY tblmaps.DispSeq";
    $query_limit_maps = sprintf("%s WHERE Group='%s' LIMIT %d, %d", $query_maps, $selectGroup, $startRow_maps, $maxRows_maps);
    This approach to creating the select statement is from the code generated for the master page.  It adds the LIMIT clause.  All I did was add the "WHERE Group='%s' and the $selectGroup variable which comes from earlier code.  You can see that the $selectGroup variable is equal to the "Community: group.
    I've scanned the web to see what syntax error I might be making but haven't found anything that explains it.
    The full resolved select statement is:
    SELECT * FROM tblmaps ORDER BY tblmaps.DispSeq WHERE Group='Community' LIMIT 0,10
    What am I not seeing?
    Tom

    Thanks.  Make sense but changing that didn't help.
    Here's the error message I'm getting:
    You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Group='Community' ORDER BY tblmaps.DispSeq LIMIT 0, 10' at line 1
    The full select (from a debugging ECHO I inserted) is:
    SELECT * FROM tblmaps WHERE Group='Community' ORDER BY tblmaps.DispSeq LIMIT 0, 10
    Note that when I take the WHERE clause out, there is no syntax error.

  • JFrames + Returning a Variable... Beginner's Logical Error

    Hi,
    I'm new to Java and programming in general. I'm trying to do something that seems pretty simple, but I'm making a logical error that is preventing my little program from working.
    All I'm trying to do is this... I've created a little JFrame that asks a user for a university's name, address, and the number of students in the university. All of this is within a class called InputWindowSmall. I just want to be able to return those Strings, univName, univAdress, univStudents, to my main program so I can put them into a different class.
    I've tried get methods, but that's silly, it doesn't work, it returns null because the program doesn't wait for the user's input.
    Does anyone have any suggestions?
    Also... I'm a terribly poor Object-Oriented-Thinker... If I'm doing anything that doesn't make sense in an Object-Oriented-Mindset, please point it out! I'd like to try and get better! Thanks!
    CODE
    InputWindowSmall
    package FinalProject;
    import javax.swing.JFrame;
    import javax.swing.JLabel;
    import java.awt.GridLayout;
    import javax.swing.JTextField;
    import java.awt.event.ActionListener;
    import java.awt.event.ActionEvent;
    import javax.swing.JButton;
    /** Class Definition: Input Window - small input window that asks for University name and address*/
    public class InputWindowSmall extends JFrame
         private JLabel nameLabel;
         private JLabel addressLabel;
         private JLabel numberStudentsLabel;
         private JLabel whiteSpace;
         private JTextField nameField;
         private JTextField addressField;
         private JTextField numberStudentsField;
         private JButton okButton;
         private String univName;
         private String univAddress;
         private String univStudents;
         /** Constructor with extra parameters     */
         public InputWindowSmall(University univ)
              //Names title bar of window
              super("Welcome!");
              //Sets layout of window
              setLayout(new GridLayout(4,2));
              //Sets text for nameLabel and adds to window
              JLabel nameLabel = new JLabel("    University Name: ");
              add(nameLabel);
              //Sets and adds nameField to window
              nameField = new JTextField(10);
              add(nameField);
              //Sets text for addressLabel and adds to window
              JLabel addressLabel = new JLabel("    University Address: ");
              add(addressLabel);
              //Sets and adds addressField to window
              addressField = new JTextField(10);
              add(addressField);
              //Sets text for numberStudentsLabel and adds to window
              JLabel numberStudentsLabel = new JLabel("    Number of Students: ");
              add(numberStudentsLabel);
              //Sets and adds numberStudentsField to window
              numberStudentsField = new JTextField(10);
              add(numberStudentsField);
              //Sets and adds white space
              JLabel whiteSpace = new JLabel("         ");
              add(whiteSpace);
              //Sets and adds button
              okButton = new JButton("OK");
              add(okButton);
              //create new ButtonHandler for button event handling
              ButtonHandlerSmall handler = new ButtonHandlerSmall();
              okButton.addActionListener(handler);
         }//end InputWindowSmall
         private class ButtonHandlerSmall implements ActionListener
              public void actionPerformed(ActionEvent event)
                   String univName = nameField.getText();
                   String univAddress = addressField.getText();
                   String univStudents = numberStudentsField.getText();
              }//end actionPerformed
         }//end ButtonHandlerSmall
         public String getUniversityName()
              return univName;
         }//end getUniversityName
         public String getUniversityAddress()
              return univAddress;
         public String getUniversityNumberStudents()
              return univStudents;
    }//ProjectTest (contains main)
    /** Class Definition: ProjectTest - contains main*/
    package FinalProject;
    import javax.swing.JFrame;
    public class ProjectTest {
         public static void main(String args[])
              //Creates a new university
              University univ = new University();
              //Instantiates and sets up the initial small window which asks for university name, address, and # students
              InputWindowSmall inputWindowSmall = new InputWindowSmall(univ);
              inputWindowSmall.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              inputWindowSmall.setSize(350, 120);
              inputWindowSmall.setVisible(true);
              inputWindowSmall.setLocationRelativeTo(null);
              String univN = inputWindowSmall.getUniversityName();
              String univA = inputWindowSmall.getUniversityAddress();
              String univS = inputWindowSmall.getUniversityNumberStudents();
              System.out.println(univN);
              System.out.println(univA);
              System.out.println(univS);
         }//end main
    }Edited by: heathercmiller on Apr 28, 2008 5:57 AM
    Edited by: heathercmiller on Apr 28, 2008 5:58 AM

    Oh! ...Here is a somewhat important detail I forgot to mention...
    There's another class called University (I've included it below). The main part of the program instantiates an object of type University, and that object is passed to the InputWindowSmall class. In the end, I want those variables I mentioned above to be placed within the University object I created. ...And I've already passed a University object to InputWindowSmall... I'm just not entirely sure how to assign values to the variables within the University object while in a different class. ...Does that make any sense?
    University
    package FinalProject;
    import java.util.Arrays;
    /** Class Definition: University*/
    public class University extends ProjectTest implements TuitionGenerate 
         private String universityName;     /** refers to the name of the University     */
         private String address;               /** refers to the address of the University     */
         private Student studentList[];     /** an array of Student objects                    */
         /** Default Constructor */
         University()
              setuniversityName("University_of_Miami");
              setaddress("555_Coral_Gables_St.");               
         /** Constructor with parameters */
         University(String name,String add)
              setuniversityName(name);
              setaddress(add);
         /** Constructor with extra parameters */
         University(String name,String add, Student array[])
              setuniversityName(name);
              setaddress(add);
              setstudentList(array);
         /** method: gets universityName*/
         public String getuniversityName()
              return universityName;
         /** method: gets address*/
         public String getaddress()
              return address;
         /** method: gets studentList*/
         public Student[] getstudentList()
              return studentList;
         /** method: sets universityName*/
         public void setuniversityName(String name)
              universityName=name;
         /** method: sets address*/
         public void setaddress(String add)
              address=add;
         /** method: sets studentList*/
         public void setstudentList(Student array[])
              studentList=new Student[array.length];
              studentList=array;
         /** method: returns a string representation of universityName and address*/
         public String toString()
              String output="University Name: " + universityName + "\nAddress: " + address + "\n\n";
              return output;
         /** method: sorts the array of students alphbetically by last name*/
         public void studentSort()
              String temp[]=new String[studentList.length];
              for(int i=0;i<studentList.length;i++)
                   temp=studentList[i].getlastName();
              Arrays.sort(temp);
              Student temp2[]=new Student[studentList.length];
              for(int i=0;i<temp.length;i++)
                   for(int j=0;j<studentList.length;j++)
                        if(temp[i].equals(studentList[j].getlastName()))
                             temp2[i]=studentList[j];
                             break;
              studentList=temp2;               
         /** method: prints the list of students*/
         public void printStudentList()
              System.out.println("Students:\n");
              for(int i=0;i<studentList.length;i++)
                   System.out.println(studentList[i].toString());
         /** method: prints tuition from interface GenerateTuition*/
         public void printTuition()
              for(int i=0;i<studentList.length;i++)
                   System.out.println(studentList[i].toString());
                   System.out.println(" Tuition: $" + studentList[i].calTuition() + "0");
         /** method: gets tuition from calTuition method*/
         public double getTuition(Student x)
                   return x.calTuition();
    Edited by: heathercmiller on Apr 28, 2008 6:07 AM                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Time series AGO error - beginner ..

    Im very new to this so if i ask abit stupid question you know why. Ive tried to read abit around in reagards to this error but im confused.
    I must ask for help for this specific task i think and maybe if you got the time, youll give me a helping arm.
    Ive created a timedimension which is Year ( "Calender Year Name" is key ) and defined as Grand total level , Quarter ("Calender Quarter Name" is key, Month ("Calender Month Name" is key, Day ("day" is Chronokey) format for DAY is : "2006/02/17 00:00:00" ...
    I have my transaction fact table which is aggregated (sum)
    So the code looks like this when i try to run AGO function month ago :
    AGO("Dev Nordea BI"."Transactions Fact"."Org Trans Amount Sum", "Dev Nordea BI"."Time Dim"."Month", 1)
    This gives me the error when i run the request in Answers :
    "To use AGO function, the storage level of the query ('[Time.Dimension Key]') must be a static level. (HY000)"
    If i try to use the keys in the dimensions, and not the year, quarter, month, day dimensions like this :
    Ago("Dev Nordea BI"."Transactions Fact"."Org Trans Amount Sum" , "Dev Nordea BI"."Time"."Calendar Month Name" , 1)
    I get error in the reposiotory saying :
    [nQSError: 27009] Unresolved identifier: "Dev Nordea BI"."Time"."Calendar Month Name".
    The different format for the columns are :
    Calender year name : "2008"
    Calender quarter name : "Q1 2008"
    Calender month name : "OCT 2008"
    Day : "2006/02/17 00:00:00"
    if anyone could help ..

    Thanks for replying John !
    - ive now changed it to numeric month and put that as chronokey.
    I get the following error : A general error has occurred. [nQSError: 27005] Unresolved column: "Transactions Fact"."Month Ago#1". (HY000)
    //leif

Maybe you are looking for

  • I have a new laptop and want to transfer my itunes music across from the old one. What's the easiest /quickest method?

    I have a new laptop and want to transfer my itunes music across from the old one. What's the easiest /quickest method?

  • Widget Fonts Improperly Display as Outlines

    I've recently upgraded the OS on my 24" Intel iMac from 10.4.11 to 10.5.6. One of the side effects has been that the font faces on all of my Dashboard widgets display as fuzzy outlines. The body of the characters are empty/transparent. This makes rea

  • Dvd-r frustration

    I am a newbie to macs. I have always worked with pc's but in only a few weeks, I love the switch however.... the dvd-r burning issue is driving me nuts. I wanted to copy or burn one of my albums in i-photo to a dvd-r- I thought that this would also e

  • Itunes SPOD after latest OS-X Update

    I recently installed the latest OS-X updates, and now when I launch iTunes, I get nothing but SPOD and have to kill the iTunes process. I have directly downloaded the latest iTunes application and reinstalled it, still SPOD on launch. I launched iTun

  • Yet another 10.4.7 Problem

    Hello eveyone, please help... I've read through all the post about problems with the update and I fall into the category of "corrupted download" . -I re-downloaded the update and it was successful, -Ran the update, and it never came back. (spinning c