This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 170984 - Wrong FX SDK 1.2.1 was used to create appropriate NBMs
Summary: Wrong FX SDK 1.2.1 was used to create appropriate NBMs
Status: VERIFIED FIXED
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Petr Suchomel
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-27 11:56 UTC by Alexandr Scherbatiy
Modified: 2010-02-10 21:26 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Error report (17.26 KB, text/plain)
2009-08-31 15:42 UTC, Alexandr Scherbatiy
Details
FX SDK 1.2.1 difference between standalone and installed from NBMs (82.69 KB, patch)
2009-09-01 11:23 UTC, dlipin
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2009-08-27 11:56:06 UTC
See issue RT-5462 ColorAdjust effect throws EXCEPTION_ACCESS_VIOLATION with JavaFX SDK patch 1.2.1 

http://javafx-jira.kenai.com/browse/RT-5462

Steps to reproduce:

- Install NetBeans with JavaFX 1.2 plugin from http://javafx.com
- Update the JavaFX SDK 1.2.1 nbm from the staging Auto Update Center:

http://updates.netbeans.org/netbeans/updates/6.7.1/uc/final/stable/catalog_stage.xml.gz

- Run a JavaFX application that uses the ColorAdjust effect
 The EXCEPTION_ACCESS_VIOLATION appears.
Comment 1 Jiri Kovalsky 2009-08-31 13:22:15 UTC
Alexandr, which NBMs are not installed correctly? And can you attach full stacktrace of the exception? Thanks!
Comment 2 Alexandr Scherbatiy 2009-08-31 15:40:30 UTC
The JavaFX SDK for Windows nbm version:1.7.2 (Provides access to JavaFX 1.2.1 SDK for Windows.)
which is available from the NetBeans staging AUC now:
http://updates.netbeans.org/netbeans/updates/6.7.1/uc/final/stable/catalog_stage.xml.gz 
Comment 3 Alexandr Scherbatiy 2009-08-31 15:41:02 UTC
Exception message:

#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d902428, pid=1248, tid=3428
#
# JRE version: 6.0_15-b03
# Java VM: Java HotSpot(TM) Client VM (14.1-b02 mixed mode, sharing windows-x86 )
# Problematic frame:
# V [jvm.dll+0x102428]
#
# An error report file with more information is saved as:
# C:\Documents and Settings\andromeda\My Documents\NetBeansProjects\temp\10\99\JavaFXApplication4\hs_err_pid1248.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
BUILD FAILED (total time: 5 seconds)

Comment 4 Alexandr Scherbatiy 2009-08-31 15:42:50 UTC
Created attachment 86864 [details]
Error report
Comment 5 Jiri Kovalsky 2009-08-31 15:58:45 UTC
Jirko, could you please investigate this issue? Thanks a lot!
Comment 6 Jiri Rechtacek 2009-08-31 16:02:52 UTC
I've reassigned to Dima who is current owner of AU functionality.
Comment 7 dlipin 2009-08-31 16:51:43 UTC
Please attach that "JavaFX application that uses the ColorAdjust effect", I don`t have access to Jira.
Please provide more info on how to reproduce the issue:
While particular files are not updated correctly? 
Was FX functionality used between installing 1.2 and updating to 1.2.1?
If so was the FX emulator turned off before proceeding with the update?
Was the FX application created using plugin 1.2 or 1.2.1 ?
Is the issue reproducible if you install this new Java FX plugin on top of "Java SE" distribution?
http://www.netbeans.org/downloads/
Is the issue reproducible with jdk 1.6.0_16?
Comment 8 Alexandr Scherbatiy 2009-08-31 17:03:31 UTC
Code for the JavaFX Script Application.

- Create a JavaFX Script project
- Copy the code to the Main file:
-------------------------------------------------------------------------------------------------
import javafx.stage.Stage;
import javafx.scene.Scene;
import javafx.scene.text.Text;
import javafx.scene.effect.ColorAdjust;


Stage {
    title: "Application title"
    width: 250
    height: 80
    scene: Scene {
        content: [
            Text {
                x: 10 y: 30
                content: "Application content"
                effect: ColorAdjust {
                                brightness: 0.0
                                contrast: 1.0
                                hue: 0.0
                                saturation: 0.0
                        }


            }
        ]
    }
}
------------------------------------------------------------------------------------------------- 
Comment 9 Alexandr Scherbatiy 2009-08-31 17:11:53 UTC
Steps to reproduce:

- Install NetBeans 6.7.1 with JavaFX 1.2
- Install JavaFX SDK 1.2.1 nbm from stagin AUC
http://updates.netbeans.org/netbeans/updates/6.7.1/uc/final/stable/catalog_stage.xml.gz

- Create a JavaFX Script project
- Copy the code to the Main file:
-------------------------------------------------------------------------------------------------
import javafx.stage.Stage;
import javafx.scene.Scene;
import javafx.scene.text.Text;
import javafx.scene.effect.ColorAdjust;


Stage {
    title: "Application title"
    width: 250
    height: 80
    scene: Scene {
        content: [
            Text {
                x: 10 y: 30
                content: "Application content"
                effect: ColorAdjust {
                                brightness: 0.0
                                contrast: 1.0
                                hue: 0.0
                                saturation: 0.0
                        }


            }
        ]
    }
}
-------------------------------------------------------------------------------------------------

#
# A fatal error has been detected by the Java Runtime Environment:
#
# EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d902428, pid=1248, tid=3428
#
# JRE version: 6.0_15-b03
# Java VM: Java HotSpot(TM) Client VM (14.1-b02 mixed mode, sharing windows-x86 )
# Problematic frame:
# V [jvm.dll+0x102428]
#
# An error report file with more information is saved as:
# C:\Documents and Settings\andromeda\My Documents\NetBeansProjects\temp\10\99\JavaFXApplication4\hs_err_pid1248.log
#
# If you would like to submit a bug report, please visit:
# http://java.sun.com/webapps/bugreport/crash.jsp
#
BUILD FAILED (total time: 5 seconds)


Error repost is attached
Comment 10 dlipin 2009-09-01 11:22:08 UTC
Looks like wrong SDK was used to create the NBMS.

The SDK installed from NBMs is different from the SDK installed using its own installer or just extracted from zip, 
full diff is attached. I guess, there should be no difference between them.

Notice, the part of invoice.properties difference (windows-i586 VS linux-i586):
2c2
< #Mon Aug 24 16:40:19 PDT 2009
---
> #Mon Aug 24 17:00:16 PDT 2009
8,9c8,9
< jfx.build.date=2009/08/24 16\:40
< jfx.job.name=1.2.1/label\=linux-i586
---
> jfx.build.date=2009/08/24 17\:00
> jfx.job.name=1.2.1/label\=windows-i586
.....
Comment 11 dlipin 2009-09-01 11:23:15 UTC
Created attachment 86902 [details]
FX SDK 1.2.1 difference between standalone and installed from NBMs
Comment 12 Adam Sotona 2009-09-01 11:56:59 UTC
Please assign to the person responsible of building the release bits - NBMs and installers.
Comment 13 Alexandr Scherbatiy 2009-09-01 15:20:57 UTC
The JavaFX SDK 1.2.1 from the nbm on all paltforms has the same timestamp:
Product: javafx-1.2.1dev
Platform: linux-i586
Build-Number: 28
Build-ID: 2009-08-24_16-23-24

So the Platform is set to linux-i586 even on Windows, Solaris and Mac OSes
Comment 14 Petr Suchomel 2009-09-03 10:50:07 UTC
It is fixed now.
Comment 15 Alexandr Scherbatiy 2009-09-15 09:19:09 UTC
verified in NB 6.7.1  JavaFX plugin with JavaFX SDK 1.2.1
Comment 16 Quality Engineering 2010-02-10 21:26:50 UTC
Integrated into 'main-golden', will be available in build *201002110200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/1eb3341b018c
User: Dmitry Lipin <dlipin@netbeans.org>
Log: If releasing files are older than the ones already present in release dir then they are not properly updated which cause Issue #170984. Actually porting javafx#e7b6206a490a