A bug in the New Array(); code?

Can anyone explain to me why this code:
var myArray:Array = new Array(0119);
doesn't work, but this code:
var myArray:Array = new Array(0120);
does?
I've reported it to Adobe as a bug, because I can't see why a
particular number causes an error.
BTW, this same error:
"**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 1: ')' or
',' expected
var myArray:Array = new Array(0119);"
also shows up using the number 0118.

Thanks for the answer. I just got this e-mail from the Adobe
bug report department which essentially says the same thing.
"The compiler is getting confused because when you start a
number with '0' it gets treated as a base-8 number. Since you can't
have digits greater than 7 when using base-8 numbers, the compiler
gets confused when you use a 9.
Please use 119 if you meant to use decimal numbers. If you
want to use
base-8 numbers, then please convert 0119 to a valid base-8
number."

Similar Messages

  • Copy array and sort the numbers in the new array

    Hi!
    I have an array containing some digits where some of the digits are zeros. I want to copy the digits to another array but the zeros (well, I actually want to copy the zeros as well but I want to have them in the end of the new array).
    I suppose I need an if-statement that checks if the old array contains any zeros and in that if-statement copy the content to the new array and put the zeros in the end.
    This is my code so far and I don�t know how to go on from here:
    int[] new_array = new int[array.length];
              for (int i = 0; i < array.length; i++)
                   if (array[i] > 0)
                        new_array[i] = array;
                        new_array = array;
                   System.out.print(new_array[i] + " ");

    Roxxor wrote:
    I think I know how to do it but only if I can catch the digits bigger than zero.
    My code below just checks if there are positive digits and if there are, the whole old array is copied to the new one.Yes. Don't do that, you can see it's wrong.
    So my problem is that I don�t know how to catch the digits bigger than zero and copy them. Is there any built in java keyword that catches signs, number etc?
    if (array>=0)
         new_array[i] = array[i];
         new_array = array;
    Yes, there is such a keyword. And you are already using it correctly in your code. You are already testing if the array entry is bigger than zero. Your only problem is, you don't know what to do when it is. But now you've been given two hints about what to do.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Not able to post depreciation in the new co code

    Hi
    I am trying to post the Depreciation using AFAB into a newly created Co Code for the first time. But the system throws the below error asking me to post to the last month of the previous year.
    You can only post in new year after closing the previous year.
    Message no. AA687
    Diagnosis
    You want to post in a new fiscal year. However, a posting must have been made in the last period in the previous fiscal year before you can do this.
    Procedure
    Post to the last period in the previous year first.
    But this is a new co code which goes life in the middle of the current year. Then why is it asking to post the depreciation for the last month of the previous year.
    Also, I have closed the last year in asset accounting without any issues using AJAB. But still why is it showing this error. Please help me how to overcome this error and post the depreciation for the first time in the new co code.
    Thanks
    Gemini

    Hello All,
    My Fiscal Year is from November to October. My transfer date is 31 Oct 2013. Oct is my last period (Period 12) for FY 2013.
    I have uploaded legacy Asset values in the month of Febraury (Period 4 of FY 2014) and now trying to run the depreciation run in the new co code for the first time. But I am facing the error and system is not allowing me to post the depreciation.
    When I opended the Asset year 2013 and the FI Period for 2013 also and tried to post the depreciation but it says no values exist for posting depreciation in that period. Then I closed the Asset Year for 2013 using AJAB and also did the asset value transfers to the new year 2014 using AJRW.
    Again tried to post depreciation using AFAB in period 1 of 2014 but no use. It gives the same error :
    You can only post in new year after closing the previous year.
    Message no. AA687
    Diagnosis
    You want to post in a new fiscal year. However, a posting must have been made in the last period in the previous fiscal year before you can do this.
    Procedure
    Post to the last period in the previous year first.
    But the previous FY 2013 is already closed. Looks peculiar.
    Please suggest since this is very crucial for us to go live.
    Thanks

  • A Bug with the new ms-6729 Bios (6729v5.30)

    Hi
    After updating my Bios to the new version, the motherboard detect my CPU(Athlon 2400+) as a 1800+.
    I tried to change settings manually without success.
    Anybody has encountred a similar problem?
    Best Regards

    Dir Sir,
    Thank you very much for your quick answer, but i believe you didn't try
    the mentioned Bios.
    I'm not a novice, i mounted more than 300 computers for my clients, and
    around 30 of last 50 computers are with MSI Motherboards.
    Cpu Fsb for Athlon 2400+ is 133 but the ddr/fsb is 4:5 because i'm using
    DDR 333 and the K7N2-V (MS-6729) is DDR 400 ready.
    With all MSI motherboards i mounted, it’s enough to put the correct CPU
    FSB and (Auto) to detect everything by the SPD.
    Certainly it's a BUG with the new version because the Bios and Windows
    detect CPU as Athlon 1800+ (1500) instead of 2400+ (20000.
    Best Regards,
    Lostan

  • How reporting a bug in the New Portal ?

    Hi,
    I found a bug in the new Azure Portal in preview, but I don't find how to report it to the team ?
    Thanks,
    Yan Grenier
    Merci de bien vouloir "Marquer comme réponse", les réponses qui ont répondues à votre question, et de noter les réponses que vous avez trouvé utiles.

    I just find how to open a request, when I tried I selected "Technical" in request type, but I don't have support plan. But if I choose "Subscription Management" there are a free support.
    Sorry
    to
    not
    have
    look
    further
    before
    posting my question.
    Regards,
    Yan Grenier
    Merci de bien vouloir "Marquer comme réponse", les réponses qui ont répondues à votre question, et de noter les réponses que vous avez trouvé utiles.

  • Downloaded 11.0.3 (42) 64 bit to my MacBook Pro and it crashes every time I select a song a use the 'add to' function to add to a play list. It's never done this before, is it a bug with the new version?

    downloaded 11.0.3 (42) 64 bit to my MacBook Pro and it crashes every time I select a song a use the 'add to' function to add to a play list. It's never done this before, is it a bug with the new version?

    You could just disable updates. Change these settings in about:config.
    * app.update.auto - set to false
    * app.update.enabled - set to false
    You can still check for updates with the "Check for Updates" button in the About Firefox window, but it will download the update file anyway if there is an update available. You can also check which is the current release from here:
    * http://sjc.mozilla.com/en-US/firefox/new/

  • HT201401 I changed my pass code and couldn't remember the new pass code. After several failed attempts, my iPhone has been disabled. What do I do?

    I changed my pass code and couldn't remember the new pass code. After several failed attempts, my iPhone has been disabled. What do I do?

    If you forgot (or don't know) your passcode, restore the device from backup on the last computer it was synced with when the passcode was turned on... this will remove the passcode. If you do not have access to the last computer it was synced with, you will have to force it into recovery mode & restore as a new device.

  • How to make the new Array start at the same position as the previous and randomise only the newObjec

    So i am currently trying to make 5 boxes/ships (3Blue and 2 Green)appear  in a random position(1st-Gree,2nd- Blue,3rd-blue,4th-Green,5th-Green or in some other random way) i the upper corner of the stage.Make them move down.Then make a new 5 boxes and position them in the same starting position as the previous 5 and make only them get randomised (not with the previous 5,what it is doing at the moment).And do this while they are moving down.  so the code so far i have is this :
    import flash.events.Event;
    var shipCount:Number;
    var shipCount2:Number;
    var shipArray:Array = new Array();
    var shipArrayPosition:Array = new Array();
    var counter:int = 0
    var positionsX:Array = ["50","100","150","200","250",]
    addEventListener(Event.ENTER_FRAME, everyFrame)
    function everyFrame(ev:Event):void{
              counter++
              if(counter % 70 == 0){
                             doShips()
              positionShips()
              trace(shipArray.length )
    function doShips() {
              shipCount = 3;
              shipCount2 = 2;
              var gap = 10;
              for (var i:int = 0; i < shipCount; i++) {
                        var s = new Ship;
                        shipArray.push(s);
                        //s.x = s.width/2 + (s.width* i) + gap*i
                        //addChild(s)
                        //shipArrayPosition.push(s);
              for (var j:int = 0; j < shipCount2; j++) {
                        s = new Ship2;
                        shipArray.push(s);
              var array:Array=new Array();
              while (shipArray.length>0) {
                        var index:uint = Math.floor(Math.random() * shipArray.length);
                        array.push(shipArray[index]);
                        shipArray.splice(index,1);
              shipArray = array;
              //shipsArray has been randomized
              for (var k:int = shipArray.length - 1; k >= 0; k--) {
                        shipArray[k].x = positionsX[k]
                        addChild(shipArray[k])
    function positionShips() {
              for (var i:int = shipArray.length - 1; i >= 0; i--) {
                        shipArray[i].moveDown() //what the code in the Ship and Ship2 class does -> only: this.y += 3
    and how to make them stay at one position.Not to move in any X position when the new 5 are added

    This one is more efficient yet because it removes ships that moved out of view:
    import flash.display.MovieClip;
    import flash.display.Sprite;
    import flash.events.Event;
    var numShips:int = 5;
    var shipCount:int = 3;
    var shipArray:Vector.<Sprite> = new Vector.<Sprite>();
    var counter:int = 0
    var positionsX:Array = [];
    init();
    function init():void
              // populate positions
              for (var i:int = numShips - 1; i >= 0; i--)
                        positionsX.push(50 * i);
              addEventListener(Event.ENTER_FRAME, everyFrame);
    function everyFrame(e:Event):void
              counter++
              if (counter % 70 == 0)
                        doShips();
              positionShips();
              trace(shipArray.length);
    function doShips():void
              var gap = 10;
              var s:MovieClip;
              var shipsLine:Sprite = new Sprite();
              shipsLine.cacheAsBitmap = true;
              addChild(shipsLine);
              shipArray.push(shipsLine);
              shuffle(positionsX);
              for (var i:int = numShips - 1; i >= 0; i--)
                        s = i < shipCount ? new Ship() : new Ship2();
                        s.x = positionsX[i] + gap;
                        shipsLine.addChild(s);
              shipsLine.y = -shipsLine.height;
    function shuffle(a:Array):void
              for (var i:int = a.length - 1; i >= 0; i--)
                        var r:int = Math.floor(Math.random() * (i + 1));
                        var t:Object = a[r];
                        a[r] = a[i];
                        a[i] = t;
    function positionShips():void
              for each (var shipLine:Sprite in shipArray)
                        shipLine.y += 3;
                        // remove line that moved out of stage
                        if (shipLine.y > stage.stageHeight + shipLine.height)
                                  removeChild(shipLine);
                                  shipArray.splice(shipArray.indexOf(shipLine), 1);

  • A potential bug on the new feature (12c) of Identity Column?

    Hi,
    I am testing a newly introduced feature of Identity Column in Oracle 12c. I used EclipseLink (JPA) to access the database.
    I may have found a potential bug with this feature. I am getting "ORA-30667: cannot drop NOT NULL constraint on a DEFAULT ON NULL column" when I try to insert a row. My code doesn't explicitly drop "NOT NULL" constraint.
    When I delete all the tables under the user and re-define the user and the tables, the error disappear.
    Here are the details:
    Error:
    DatabaseException Internal Exception: java.sql.SQLException: ORA-00604: error occurred at recursive SQL level 1 ORA-30667: cannot drop NOT NULL constraint on a DEFAULT ON NULL column Error Code: 604 Call: INSERT INTO MyTable (ID, SOMEID, SOMEDATE) VALUES (?, ?, ?) bind => [null, 100100147, 2013-11-29 Query: InsertObjectQuery(cus.entity.MyTable@1a9ea5b)
    Table definition:
    CREATE TABLE MyTable (id NUMBER GENERATED BY DEFAULT ON NULL AS IDENTITY PRIMARY KEY,
          someId INT NOT NULL,
          someDate DATE NOT NULL,
          PARTITION BY range(someDate)
          interval(numtodsinterval(1,'year'))
          SUBPARTITION BY HASH ( someId)
          SUBPARTITIONS 20
           PARTITION p0 VALUES LESS THAN (TO_DATE('01-12-2013', 'DD-MM-YYYY'))
    Could anyone tell me if there might be a bug associated with the new feature or if there was something wrong with my code?
    I would be appreciated if anyone can help.

    "here is a reproducible test case in the SCOTT schema - if it reproduces for you open an SR with Oracle"
    Yes. I have just followed the instruction you posted and managed to re-produce the same error I reported earlier. Here are the details of the script output following your posted instruction:
    table MYTABLE dropped.
    purge recyclebin
    table MYTABLE created.
    1 rows inserted.
    table MYTABLE dropped.
    OBJECT_NAME                                                                                                                      ORIGINAL_NAME                                                                                                                    OPERATION TYPE                      TS_NAME                        CREATETIME          DROPTIME               DROPSCN PARTITION_NAME                                                                                                                   CAN_UNDROP CAN_PURGE    RELATED BASE_OBJECT PURGE_OBJECT      SPACE
    BIN$6NCDTxmXTb2QBpUWF0kGqw==$0                                                                                                   SYS_C0010655                                                                                                                     DROP      INDEX                     USERS                          2013-12-01:10:30:56 2013-12-01:10:32:17    4030808                                                                                                                                  NO         YES            98789       98789        98812          8
    BIN$Ka0sgN7XRBeCsjyXTQ76cA==$0                                                                                                   MYTABLE                                                                                                                          DROP      Table Composite Partition USERS                          2013-12-01:10:30:56 2013-12-01:10:32:17    4030812                                                                                                                                  NO         NO             98790       98789        98789          0
    BIN$Ka0sgN7XRBeCsjyXTQ76cA==$0                                                                                                   MYTABLE                                                                                                                          DROP      Table Composite Partition USERS                          2013-12-01:10:30:56 2013-12-01:10:32:17    4030812                                                                                                                                  NO         NO             98790       98789        98789          0
    BIN$Ka0sgN7XRBeCsjyXTQ76cA==$0                                                                                                   MYTABLE                                                                                                                          DROP      Table Composite Partition USERS                          2013-12-01:10:30:56 2013-12-01:10:32:17    4030812                                                                                                                                  NO         NO             98790       98789        98789          0
    BIN$Ka0sgN7XRBeCsjyXTQ76cA==$0                                                                                                   MYTABLE                                                                                                                          DROP      Table Composite Partition USERS                          2013-12-01:10:30:56 2013-12-01:10:32:17    4030812                                                                                                                                  NO         NO             98790       98789        98789          0
    BIN$Ka0sgN7XRBeCsjyXTQ76cA==$0                                                                                                   MYTABLE                                                                                                                          DROP      Table Composite Partition USERS                          2013-12-01:10:30:56 2013-12-01:10:32:17    4030812                                                                                                                                  NO         NO             98790       98789        98789          0
    BIN$Ka0sgN7XRBeCsjyXTQ76cA==$0                                                                                                   MYTABLE                                                                                                                          DROP      Table Composite Partition USERS                          2013-12-01:10:30:56 2013-12-01:10:32:17    4030812                                                                                                                                  NO         NO             98790       98789        98789          0
    BIN$Ka0sgN7XRBeCsjyXTQ76cA==$0                                                                                                   MYTABLE                                                                                                                          DROP      Table Composite Partition USERS                          2013-12-01:10:30:56 2013-12-01:10:32:17    4030812                                                                                                                                  NO         NO             98790       98789        98789          0
    BIN$Ka0sgN7XRBeCsjyXTQ76cA==$0                                                                                                   MYTABLE                                                                                                                          DROP      Table Composite Partition USERS                          2013-12-01:10:30:56 2013-12-01:10:32:17    4030812                                                                                                                                  NO         NO             98790       98789        98789          0
    BIN$Ka0sgN7XRBeCsjyXTQ76cA==$0                                                                                                   MYTABLE                                                                                                                          DROP      Table Composite Partition USERS                          2013-12-01:10:30:56 2013-12-01:10:32:17    4030812                                                                                                                                  NO         NO             98790       98789        98789          0
    BIN$Ka0sgN7XRBeCsjyXTQ76cA==$0                                                                                                   MYTABLE                                                                                                                          DROP      Table Composite Partition USERS                          2013-12-01:10:30:56 2013-12-01:10:32:17    4030812                                                                                                                                  NO         NO             98790       98789        98789          0
    BIN$Ka0sgN7XRBeCsjyXTQ76cA==$0                                                                                                   MYTABLE                                                                                                                          DROP      Table Composite Partition USERS                          2013-12-01:10:30:56 2013-12-01:10:32:17    4030812                                                                                                                                  NO         NO             98790       98789        98789          0
    BIN$Ka0sgN7XRBeCsjyXTQ76cA==$0                                                                                                   MYTABLE                                                                                                                          DROP      Table Composite Partition USERS                          2013-12-01:10:30:56 2013-12-01:10:32:17    4030812                                                                                                                                  NO         NO             98790       98789        98789          0
    BIN$Ka0sgN7XRBeCsjyXTQ76cA==$0                                                                                                   MYTABLE                                                                                                                          DROP      Table Composite Partition USERS                          2013-12-01:10:30:56 2013-12-01:10:32:17    4030812                                                                                                                                  NO         NO             98790       98789        98789          0
    BIN$Ka0sgN7XRBeCsjyXTQ76cA==$0                                                                                                   MYTABLE                                                                                                                          DROP      Table Composite Partition USERS                          2013-12-01:10:30:56 2013-12-01:10:32:17    4030812                                                                                                                                  NO         NO             98790       98789        98789          0
    BIN$Ka0sgN7XRBeCsjyXTQ76cA==$0                                                                                                   MYTABLE                                                                                                                          DROP      Table Composite Partition USERS                          2013-12-01:10:30:56 2013-12-01:10:32:17    4030812                                                                                                                                  NO         NO             98790       98789        98789          0
    BIN$Ka0sgN7XRBeCsjyXTQ76cA==$0                                                                                                   MYTABLE                                                                                                                          DROP      Table Composite Partition USERS                          2013-12-01:10:30:56 2013-12-01:10:32:17    4030812                                                                                                                                  NO         NO             98790       98789        98789          0
    BIN$Ka0sgN7XRBeCsjyXTQ76cA==$0                                                                                                   MYTABLE                                                                                                                          DROP      Table Composite Partition USERS                          2013-12-01:10:30:56 2013-12-01:10:32:17    4030812                                                                                                                                  NO         NO             98790       98789        98789          0
    BIN$Ka0sgN7XRBeCsjyXTQ76cA==$0                                                                                                   MYTABLE                                                                                                                          DROP      Table Composite Partition USERS                          2013-12-01:10:30:56 2013-12-01:10:32:17    4030812                                                                                                                                  NO         NO             98790       98789        98789          0
    BIN$Ka0sgN7XRBeCsjyXTQ76cA==$0                                                                                                   MYTABLE                                                                                                                          DROP      Table Composite Partition USERS                          2013-12-01:10:30:56 2013-12-01:10:32:17    4030812                                                                                                                                  NO         NO             98790       98789        98789          0
    BIN$Ka0sgN7XRBeCsjyXTQ76cA==$0                                                                                                   MYTABLE                                                                                                                          DROP      Table Composite Partition USERS                          2013-12-01:10:30:56 2013-12-01:10:32:17    4030812                                                                                                                                  NO         NO             98790       98789        98789          0
    BIN$Ka0sgN7XRBeCsjyXTQ76cA==$0                                                                                                   MYTABLE                                                                                                                          DROP      Table Composite Partition USERS                          2013-12-01:10:31:37 2013-12-01:10:32:17    4030812                                                                                                                                  NO         NO             98833       98789        98789       1024
    BIN$Ka0sgN7XRBeCsjyXTQ76cA==$0                                                                                                   MYTABLE                                                                                                                          DROP      Table Composite Partition USERS                          2013-12-01:10:31:37 2013-12-01:10:32:17    4030812                                                                                                                                  NO         NO             98833       98789        98789       1024
    BIN$Ka0sgN7XRBeCsjyXTQ76cA==$0                                                                                                   MYTABLE                                                                                                                          DROP      Table Composite Partition USERS                          2013-12-01:10:31:37 2013-12-01:10:32:17    4030812                                                                                                                                  NO         NO             98833       98789        98789       1024
    BIN$Ka0sgN7XRBeCsjyXTQ76cA==$0                                                                                                   MYTABLE                                                                                                                          DROP      Table Composite Partition USERS                          2013-12-01:10:31:37 2013-12-01:10:32:17    4030812                                                                                                                                  NO         NO             98833       98789        98789       1024
    BIN$Ka0sgN7XRBeCsjyXTQ76cA==$0                                                                                                   MYTABLE                                                                                                                          DROP      Table Composite Partition USERS                          2013-12-01:10:31:37 2013-12-01:10:32:17    4030812                                                                                                                                  NO         NO             98833       98789        98789       1024
    BIN$Ka0sgN7XRBeCsjyXTQ76cA==$0                                                                                                   MYTABLE                                                                                                                          DROP      Table Composite Partition USERS                          2013-12-01:10:31:37 2013-12-01:10:32:17    4030812                                                                                                                                  NO         NO             98833       98789        98789       1024
    BIN$Ka0sgN7XRBeCsjyXTQ76cA==$0                                                                                                   MYTABLE                                                                                                                          DROP      Table Composite Partition USERS                          2013-12-01:10:31:37 2013-12-01:10:32:17    4030812                                                                                                                                  NO         NO             98833       98789        98789       1024
    BIN$Ka0sgN7XRBeCsjyXTQ76cA==$0                                                                                                   MYTABLE                                                                                                                          DROP      Table Composite Partition USERS                          2013-12-01:10:31:37 2013-12-01:10:32:17    4030812                                                                                                                                  NO         NO             98833       98789        98789       1024
    BIN$Ka0sgN7XRBeCsjyXTQ76cA==$0                                                                                                   MYTABLE                                                                                                                          DROP      Table Composite Partition USERS                          2013-12-01:10:31:37 2013-12-01:10:32:17    4030812                                                                                                                                  NO         NO             98833       98789        98789       1024
    BIN$Ka0sgN7XRBeCsjyXTQ76cA==$0                                                                                                   MYTABLE                                                                                                                          DROP      Table Composite Partition USERS                          2013-12-01:10:31:37 2013-12-01:10:32:17    4030812                                                                                                                          &

  • A bug with the new WebView??

    <font color="blue" size="2" >Hi I'm using javaFX 2.1 with Netbeans 7.2 and java 1.7.5. When trying to run this with WebView shows the error down below. The starnge thing it´s I have and old version of other code and runs without any trouble. Does anybody knows why this happens?. Thanks in advanced.</font>
    <font color="red" size="4" > Here's the code:</font>
    public class AEjemploArrays extends Application {
        private Button btn = new Button();
        private WebView web = new WebView(); //comment this and will work
        @Override
        public void start(Stage stage) {
            StackPane root = new StackPane();
            Scene scene = new Scene(root, 1200, 500);
            BorderPane bp0 = new BorderPane();
            ObservableList<String> titulos = FXCollections.observableArrayList("ArrayList", "Vector", "HashSet", "HashMap");
            ListView<String> lista = new ListView<>(titulos);
            lista.prefHeightProperty().bind(scene.heightProperty().add(-10f));
            lista.setMaxWidth(250);
            lista.getSelectionModel().selectedIndexProperty().addListener(new ChangeListener<Number>() {
                @Override
                public void changed(ObservableValue<? extends Number> ov, Number oldv, Number newv) {
                    System.out.println("" + newv.doubleValue());
            btn.setText("Ejecutar");
            btn.setOnAction(new EventHandler<ActionEvent>() {
                @Override
                public void handle(ActionEvent event) {
                    System.out.println("Hello World!");
            bp0.setLeft(lista);
            root.getChildren().add(bp0);
            stage.setTitle("Diversos arrays y como funcionan");
            stage.setScene(scene);
            stage.show();
        }<font color="red" size="4" > Error message:</font>
    <font color="darkblue" size="3" >ant -f C:\\Users\\ANDRES\\Documents\\NetBeansProjects\\aEjemploArrays jfxsa-run
    init:
    Deleting: C:\Users\ANDRES\Documents\NetBeansProjects\aEjemploArrays\build\built-jar.properties
    deps-jar:
    Updating property file: C:\Users\ANDRES\Documents\NetBeansProjects\aEjemploArrays\build\built-jar.properties
    Compiling 1 source file to C:\Users\ANDRES\Documents\NetBeansProjects\aEjemploArrays\build\classes
    compile:
    Detected JavaFX Ant API version 1.1
    Launching <fx:jar> task from C:\Program Files\Oracle\JavaFX 2.1 SDK\lib\ant-javafx.jar
    Launching <fx:deploy> task from C:\Program Files\Oracle\JavaFX 2.1 SDK\lib\ant-javafx.jar
    Skip jar copy to itself: aEjemploArrays.jar
    jfx-deployment:
    jar:
    run:
    Exception in Application constructor
    java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:601)
         at com.javafx.main.Main.launchApp(Main.java:486)
         at com.javafx.main.Main.main(Main.java:638)
    Caused by: java.lang.RuntimeException: Unable to construct Application instance: class aejemploarrays.AEjemploArrays
         at com.sun.javafx.application.LauncherImpl.launchApplication1(Unknown Source)
         at com.sun.javafx.application.LauncherImpl.access$000(Unknown Source)
         at com.sun.javafx.application.LauncherImpl$1.run(Unknown Source)
         at java.lang.Thread.run(Thread.java:722)
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:525)
         ... 4 more
    Caused by: java.lang.IllegalStateException: Not on FX application thread; currentThread = JavaFX-Launcher
         at com.sun.javafx.tk.Toolkit.checkFxUserThread(Unknown Source)
         at com.sun.javafx.tk.quantum.QuantumToolkit.checkFxUserThread(Unknown Source)
         at com.sun.webpane.sg.prism.InvokerImpl.checkEventThread(Unknown Source)
         at com.sun.webpane.platform.WebPage.<init>(Unknown Source)
         at com.sun.webpane.sg.ImplementationManager.createPage(Unknown Source)
         at com.sun.webpane.sg.ImplementationManager.createPage(Unknown Source)
         at javafx.scene.web.WebEngine.<init>(Unknown Source)
         at javafx.scene.web.WebEngine.<init>(Unknown Source)
         at javafx.scene.web.WebView.<init>(Unknown Source)
         at aejemploarrays.AEjemploArrays.<init>(AEjemploArrays.java:29)
         ... 8 more
    Java Result: 1
    jfxsa-run:
    BUILD SUCCESSFUL (total time: 24 seconds)</font>

    Move the new WebView statement into the Start method and all will work fine.
    As the error message says, a WebView needs to be created on the FX Application thread. By trying to create the WebView where you currently are doing it, the creation attempt will be performed on the main thread.
    There is an existing Jira issue to remove the thread restriction on WebView, but it is scheduled for a later release.

  • Bugs in the new 3D graph (LV 8.6)

    I already posted this report in the Breakpoint board, breaking the rules...
    Therefore this is not exactly a duplicate post, since it should allow some discussion.
    I just downloaded LV 8.6, as I could not wait to have a look at the new long time awaited 3D graphs primitives, said to run also on MacOS. This is a GREAT new feature. The 3D surface graph works great, but I also found some new bugs (probably known already by the development team since they are pretty obvious, but who knows...).
    Additionnaly, I enjoy the idea that this seems to be the first LV 8.6 bug report in this forum.
    OK, here we go : (all the bugs have been found on a WindowXP machine)
    1 - As shown in the attached picture, a transparent cursor plane hide the 3D surface graph (but shows the axis)
    2 - As shown on the same picture, the boundaries of a cursor plane are locked to the axis values defined by the axis autoscale mode. The cursor plane appears much wider than the axis.
    3 - While in "perspective" mode, when the 3D indicator size is changed the graph switches to "orthographic" mode. An access to the property window is required to return to "perspective" mode.
    4 - after an access to the property window, the graph (perspective mode) in the Render window is streched to fit the window area, but returns back to a normal aspect ratio as soon as the window size is slightly changed.
    5 - As shown in the second attached picture, after a slight modification of the window size, the 3D surface is chopped of during a zoom-in.
    6 - When the 3D indicator size is streched, the graph is also streched. That gives the graph a poor look during rotation. In the old 3D activeX the aspect ratio of the graph was preserved.
    7 - (Not a bug, but a major lack of functionnality) I could not find a way to draw a 3D surface and a line on the same graph. This is easy with the old ActiveX and is a very usefull function when you want to represent the trajectory of an object moving onto a surface.
    8 - (Not a bug, but a strong inconvenience) A predefined color spectrum is lacking
    9 - (Not a bug, but a minor inconvenience) No logarithmic mode for the axis scales
    I better stop now since my wife is desperately asking me to pack my luggage before we leave for NIweek ! See (some of) you soon in Austin !
    Message Edité par chilly charly le 08-03-2008 08:20 AM
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    3D graph (LV 8.6) bug1.png ‏83 KB
    3D graph (LV 8.6) bug 5.png ‏129 KB

    I wasn't studious enough : adding a line (problem #7 above) is easy : just drop another 3D graph on the front panel, this will brings in a new create_plot_line.vi on the diagram. Get rid of the additionnal 3D graph indicator, and wire the previous one to the new vi. See the attached graph, where two yellow lines have been drawn on each side the base of the peaks.
    Not yet possible to change the line thickness, but works nicely.
    I now have to customize my function palette to make the "native 3D graphs" directly accessible.
    One additionnal concern though : with the old ActiveX, it was possible (if not simple... ) to insert functionnal 3D graphs in Powerpoint presentations (see this thread). Is there any way to achieve a similar result with the native 3D graphs ?
    Message Edité par chilly charly le 08-03-2008 09:32 AM
    Chilly Charly    (aka CC)
             E-List Master - Kudos glutton - Press the yellow button on the left...        
    Attachments:
    mix 3D graphs.png ‏6 KB
    mix 3D graphs2.png ‏73 KB

  • There's a bug on the new iMovie 1.2

    Sorry for bad English. If you have problems with my writing, please let me know that part.
    I don't know these '' things in correct English. I translated in into Korean->English.
    Hello, It's about location things in editing the movie.
    1) Select the theme 'simple' thing.
    2) Double-tap a clip and select 'subject style'thing.
    3) Tap 'opening' and insert the subject.
    4) Tap twice and tap 'location'.
    5) Edit the location name. e.g., '2011.3.13'
    6) Then, split a clip into two clips.
    7) Tap twice on second, behind, or splited clip. (what the **** is the correct language in this thing? I don't know it in my mother language either. I just named it 'the second clip'.)
    8) Then, edit the location to another name. e.g., 'When she laughs,'
    9) Then, see the first clip. It's also changed with the second clip. It's same when I edit the first clip, it changes the second clip, too.
    10) You can prevent this bug through, when edit the location name on second clip, tap 'locate button'(a button which can tell where here is), and change the location name.
    11) Then, you can see the first clip and second clip have different location name.
    When I make my movie, I use the 'opening style subject' on two clips. Both of the big subject have a name of that video, or characters. Usually I take the character's name on big subject.
    And for the small subject, on the first one, I put the date when I took it. On the second clip, I put the location or tell the content of the movie, like 'sub-subject'.
    You can see my videos on this: http://www.youtube.com/results?search_query=franceskisrevolution&aq=f
    and find the 4 things start with '코코먼지샤넬, ~~~하다', see the very first part of that subjects.
    It can tell better than my bad English.
    And, the conclusion is, FIX THAT BUG ASAP. It really annoyed me and two movies are already made with that bug before I solve the problem.
    Or, can you tell me how I don't caught on that bug no more, please?
    To tell this bug report for you, I needed to write these in my rough second language!
    And, I want PRECISION EDITOR RIGHT ON MY iPHONE. I promise, to buy the new iPad and I can use that function on my iPad, as soon as it ships? shipped? in my country. I loved the iPad but it's too old when it shipped on my country. iPad 2 is new, as you very well know.
    But I'll not use the iPad on my way to get around. For 20~60 seconds of video, I don't need that 4x big iPhone without phone. Okay? It's too much and I love apple's things because they are absolutely not 'too much', it's easy to use. Why you just disabled that very best cool thing on really cool app of iMovie, on that very smart phone? I really disappointed on it. Don't do that stupid thing again.
    Thanks.
    This is Korean version. If you have some Korean engineers, use this script and tell that iMovie makers. It'll be better than that rough English.
    테마 '심플함'으로 선택해서, 제목 넣을 때 오프닝으로 선택하고, 위치에 바로 내 맘대로 이름을 넣습니다. 그러고 나서 클립을 자르고, 뒷쪽 또는 두번째 클립을 선택합니다. 그러고 다른 이름을 바로 적어 넣으면, 앞의 잘려서 따로 있어야 할 클립의 위치 이름 또한 바뀝니다. 첫번째 클립의 이름을 바꿔넣어도 마찬가집니다. 이러면 제가 '위치'를 넣는 위치에 다른 것을 넣고 싶어도 계속 엉뚱한 부분이 바뀌니 미치는거죠. 그런데 '여기찍는' 버튼을 누른 다음 위치 이름을 바꾸면 또 앞의 클립과 뒤의 클립의 위치 이름이 달라질 수 있습니다. 그렇다면 같이 바뀌던 건 분명히 버그입니다.
    여기서 동영상들 앞부분만 확인하면 충분히 알 수 있습니다.
    http://www.youtube.com/results?search_query=franceskisrevolution&aq=f
    '코코먼지샤넬, ~~~하다' 라는 제목의 4개 영상입니다.
    앞부분만 보면 됩니다. 그럼 제목의 위치를 바꾼 것이 있고, 제목을 바꾼 것이 있습니다. 위치를 쉽게 바꾼 것은 아마도 무슨 버튼인지 보려고 먼저 눌러봤기 때문에 그리 된 것 같네요. 이미 제목을 바꾼 영상은 프로젝트와 원본 영상을 아이폰에서 삭제했기 때문에 이 방법을 알아챈 지금은 이미 새로 편집하기는 어려운 상황입니다. 그래서 이게 제대로 버그임을 확인한 순간 대학교에서도 아직 안 써본 영.어. 리포트를 여기에 쓰고 있습니다.
    반드시 이 버그를 다음 업데이트에서 고쳐주시고, 또, '정밀편집'기능도 빼지 말고 아이폰에도 넣어주세요. 아이패드 살거라서 아이폰에 바로 있어야 할 필요까진 없을지도 모르지만, 한국 출시까지 1달은 더 걸릴것같고, 그 전에 편집해서 올릴 영상은 100개가 넘습니다. 타이밍 맞추는 게 보통 일이 아닙니다. 프레시젼 에디터만 넣어줬어도 타이밍에 고생할 일이 없고 그래서 아이무비 업데이트를 기대했는데 왜 아이폰용에선 뺐는지 정말 이해가 안 되네요. 그런 멍.청.한. 짓은 하지 말라고 담당자들에게 알려주시기 바랍니다. 애플의 성공은 '쉽게 쓸 수 있는 어려운 기능'에도 있습니다. 그런 걸 포기해버리다니 정말 애플답지 않은 멍청한 결정이라 봅니다. 다신 그런 실수를 해선 안될겁니다.

    In these forums you are only talking to other users like yourself, not Apple. Be sure to repost your info in the channel Apple has set up for it:
    http://www.apple.com/feedback/imovie_iOS.html

  • Bug with the new 2.2 update

    Not sure if anyone else is experiencing the same issue with the new 2.2 update, but when listening to applications like iSleep or any other type of music playing app, if you flick the silent switch on the music cuts out until you flick it back. Also when the screen times out the music cuts off too.
    If this is a bug then this is a pretty serious one! Can anyone share their thoughts on this if they have found a possible work around or experiencing the same.
    Regards

    Yup, same deal here trying to use Flycast after updating to 2.2. Press the sleep/wake button or let it time out and...Presto...no more music.
    Now, here's the weird part. Exactly 12 seconds after pressing the button, or letting the the phone auto-lock and go dark, the music starts playing again. I've tried this five times with the same results. What's up with that???
    I had no issues with this prior to the update today.

  • When closing 2 windows(with multiple tabs each), system restore does not properly restore the second window's tabs. Is this a bug in the new update/any ideas to fix?

    I regularly use 2 windows with multiple tabs each and session restore would work to get them all back, but after this latest update the second window does not restore properly, with the first tab not visible on top(only in drop down menu) and the add a tab button now on the left(instead of right). The add a tab button is not really concerning other than it indicates other problems with the tabs on tab of the 2nd window. Not having the 1st tab visible is frustrating, because I can not move it or as easily navigate. Also, the tabs on top of the 2nd window that are visible no longer have the "x" to close visible unless that tab is selected. I'm assuming this is a problem with the new release/update, since this is the first time I've ever encountered the problem, and I've shut down and restored Firefox a few times to make sure this was a recurring problem and not a one-time deal. Any ideas on how to fix would be welcome(other than perhaps cramming my tabs onto one window or sucking it up XD).

    Hi,
    You can try to '''Reset toolbars and controls:''' and '''Make Changes and Restart''' in the [https://support.mozilla.org/en-US/kb/Safe%20Mode Safe Mode] start screen.
    If the problem persists, please try a [https://support.mozilla.org/en-US/kb/Managing-profiles?s=profile&r=0&e=sph&as=s new profile]. You can later copy [https://support.mozilla.org/en-US/kb/Backing%20up%20your%20information?s=backup&r=1&e=sph&as=s needed data] from the old profile to this.
    [http://kb.mozillazine.org/Profile_folder_-_Firefox Firefox Profile Folder & Files]

  • Is there a bug in the new photoshop CS6 13.0.1.1 update? (Mac OS 10.7.5)

    Since installing the latest update of photoshop CS6 13.0.1.1, (Mac OS 10.7.5, iMac late 2009) I have noticed the following problems: when I double click on the panels bar, the panel does not collapse, I have to right click on the bar to get the panel to collapse.  Withe the curves adjustment layer, command clicking on the image does not register the point on the curve and command shift click will not set a point on the curves. this is all happening since the upgrade. Is it me or is there a bug in the update?
    Thanks in advance

    Thanks M, you're right, I do have 13.0.1, it's just for some reason ive noticed some strange behavior in photoshop, can't figure out why. I still can't get my panels to collapse when double clicking the bar and the curves adjustment layer doesn't allow me to place a point using the eyedropper tool when clicking on the image, this has just recently started after reinstalling photoshop on my imac using the creative cloud application manager

Maybe you are looking for

  • IMac starting up and shutting down.

    Some old software is starting up my computer and shutting it down every day. This is left over from some software which I thought  was gone. I don't know the name of the software. How can I find out what is doing this? I've looked in activity monitor

  • Performance problem with transaction log

    We are having some performance problem in SAP – BW 3.5 system running on MS – SQL server 2000.The box is sized 63,574 MB. The transaction logs gets filled up after loading data in to a transactional cube or after doing selective deletion. The size of

  • ATV and TC part 2

    Ok, here is my hopeful setup. I am really looking for someone who has attempted this setup and can confirm or deny that this works. I currently have a TC 1TB and an Apple TV. I would like to store all of my movies on the TC and stream directly from t

  • The server responded with "500" to operation CalDAVAccountRefreshQueueableOperation

    I get this message and it will not sync my iphone, ipad or computor... what is the deal? we try to run a business and all these compauters we purchased is really letting us down...  any comments...

  • How to make an Mp3 player, with some neat looks?

    Hey guys, I need to make an mp3 player, with some nice looks. Please help!