Problem in scene builder
Hi;
when i put a new control on the scene i get the warning:
No injectable field found in FXML Controller class for the id chb
what is the meaning of this warning and what is FXML controller and where to find it
regards
Hi,
For each FXML file, you can define a controller class, which will be instantiated by the FXML loader - and which is how you can connect the objects defined in FXML to your own application logic.
See here for a brief description on how this works: Re: Loading and Unloading of FXML components at runtime
What makes the connection between the variable in the controller class and the object in the FXML file is the value of the object's fx:id.
When you set an fx:id on an object - the SceneBuilder tries to parse the controller class in order to see whether the class has a variable of that name. If it doesn't find any - it displays a warning - which is a reminder for you that you may want to add such a variable to the controller class.
Usually however, these wranings only appear if you have defined a controller class, and if SceneBuilder has found it.
The controller class can be set by selecting the root node in the HierarchyPanel, then opening the Code section in the inspector. You should see a textfield at the top in which you can set the full name of the class.
Hope this helps,
-- daniel
Similar Messages
-
Problem scene builder xchart or areachart FXML
Hi.
Always when I use xchart or AreaChart FXML is not possible execute in Netbeans. But scene builder the preview is ok. The error is:
Abr 13, 2012 4:22:19 PM javafx.fxml.FXMLLoader logException
Grave: java.lang.UnsupportedOperationException
/C:/Landis/Landis%202011/TC65/1-Desenvolvimento/candidate/C750ConfigGW/build/classes/c750configgw/layouts/CenterDashBoard.fxml:208
at java.util.AbstractMap.put(AbstractMap.java:203)
at com.sun.javafx.fxml.builder.XYChartBuilder.put(Unknown Source)
at com.sun.javafx.fxml.builder.XYChartBuilder.put(Unknown Source)
at javafx.fxml.FXMLLoader$Element.applyProperty(Unknown Source)
at javafx.fxml.FXMLLoader$Element.processPropertyAttribute(Unknown Source)
at javafx.fxml.FXMLLoader$Element.processInstancePropertyAttributes(Unknown Source)
at javafx.fxml.FXMLLoader$ValueElement.processStartElement(Unknown Source)
at javafx.fxml.FXMLLoader.processStartElement(Unknown Source)
at javafx.fxml.FXMLLoader.load(Unknown Source)
at javafx.fxml.FXMLLoader.load(Unknown Source)
at javafx.fxml.FXMLLoader.load(Unknown Source)
at javafx.fxml.FXMLLoader.load(Unknown Source)
at javafx.fxml.FXMLLoader.load(Unknown Source)
at javafx.fxml.FXMLLoader.load(Unknown Source)
at javafx.fxml.FXMLLoader.load(Unknown Source)
at c750configgw.C750ConfigGW.carregaLayoutCenter(C750ConfigGW.java:123)
at c750configgw.controllers.TopController.actionBotDashboard(TopController.java:45)
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 javafx.fxml.FXMLLoader$ControllerMethodEventHandler.handle(Unknown Source)
at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
at com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
at javafx.event.Event.fireEvent(Unknown Source)
at javafx.scene.Node.fireEvent(Unknown Source)
at javafx.scene.control.Button.fire(Unknown Source)
at com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(Unknown Source)
at com.sun.javafx.scene.control.skin.SkinBase$4.handle(Unknown Source)
at com.sun.javafx.scene.control.skin.SkinBase$4.handle(Unknown Source)
at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
at com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
at javafx.event.Event.fireEvent(Unknown Source)
at javafx.scene.Scene$MouseHandler.process(Unknown Source)
at javafx.scene.Scene$MouseHandler.process(Unknown Source)
at javafx.scene.Scene$MouseHandler.access$1600(Unknown Source)
at javafx.scene.Scene.impl_processMouseEvent(Unknown Source)
at javafx.scene.Scene$ScenePeerListener.mouseEvent(Unknown Source)
at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(Unknown Source)
at com.sun.glass.ui.View.handleMouseEvent(Unknown Source)
at com.sun.glass.ui.View.notifyMouse(Unknown Source)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.access$100(Unknown Source)
at com.sun.glass.ui.win.WinApplication$2$1.run(Unknown Source)
at java.lang.Thread.run(Thread.java:722)
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at javafx.fxml.FXMLLoader$ControllerMethodEventHandler.handle(Unknown Source)
at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
at com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
at javafx.event.Event.fireEvent(Unknown Source)
at javafx.scene.Node.fireEvent(Unknown Source)
at javafx.scene.control.Button.fire(Unknown Source)
at com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(Unknown Source)
at com.sun.javafx.scene.control.skin.SkinBase$4.handle(Unknown Source)
at com.sun.javafx.scene.control.skin.SkinBase$4.handle(Unknown Source)
at com.sun.javafx.event.CompositeEventHandler.dispatchBubblingEvent(Unknown Source)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
at com.sun.javafx.event.EventHandlerManager.dispatchBubblingEvent(Unknown Source)
at com.sun.javafx.event.CompositeEventDispatcher.dispatchBubblingEvent(Unknown Source)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at com.sun.javafx.event.BasicEventDispatcher.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventDispatchChainImpl.dispatchEvent(Unknown Source)
at com.sun.javafx.event.EventUtil.fireEventImpl(Unknown Source)
at com.sun.javafx.event.EventUtil.fireEvent(Unknown Source)
at javafx.event.Event.fireEvent(Unknown Source)
at javafx.scene.Scene$MouseHandler.process(Unknown Source)
at javafx.scene.Scene$MouseHandler.process(Unknown Source)
at javafx.scene.Scene$MouseHandler.access$1600(Unknown Source)
at javafx.scene.Scene.impl_processMouseEvent(Unknown Source)
at javafx.scene.Scene$ScenePeerListener.mouseEvent(Unknown Source)
at com.sun.javafx.tk.quantum.GlassViewEventHandler.handleMouseEvent(Unknown Source)
at com.sun.glass.ui.View.handleMouseEvent(Unknown Source)
at com.sun.glass.ui.View.notifyMouse(Unknown Source)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.access$100(Unknown Source)
at com.sun.glass.ui.win.WinApplication$2$1.run(Unknown Source)
at java.lang.Thread.run(Thread.java:722)
Caused by: 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)
... 50 more
Caused by: java.lang.UnsupportedOperationException
at java.util.AbstractMap.put(AbstractMap.java:203)
at com.sun.javafx.fxml.builder.XYChartBuilder.put(Unknown Source)
at com.sun.javafx.fxml.builder.XYChartBuilder.put(Unknown Source)
at javafx.fxml.FXMLLoader$Element.applyProperty(Unknown Source)
at javafx.fxml.FXMLLoader$Element.processPropertyAttribute(Unknown Source)
at javafx.fxml.FXMLLoader$Element.processInstancePropertyAttributes(Unknown Source)
at javafx.fxml.FXMLLoader$ValueElement.processStartElement(Unknown Source)
at javafx.fxml.FXMLLoader.processStartElement(Unknown Source)
at javafx.fxml.FXMLLoader.load(Unknown Source)
at javafx.fxml.FXMLLoader.load(Unknown Source)
at javafx.fxml.FXMLLoader.load(Unknown Source)
at javafx.fxml.FXMLLoader.load(Unknown Source)
at javafx.fxml.FXMLLoader.load(Unknown Source)
at javafx.fxml.FXMLLoader.load(Unknown Source)
at javafx.fxml.FXMLLoader.load(Unknown Source)
at c750configgw.C750ConfigGW.carregaLayoutCenter(C750ConfigGW.java:123)
at c750configgw.controllers.TopController.actionBotDashboard(TopController.java:45)
... 54 more
Exception in thread "JavaFX Application Thread"
Someone have the same problem?Hi,
I suspect that the JavaFX version SceneBuilder is using and the JavaFX version your app runs on in NetBeans are different.
You may want to try using JavaFX 2.2 developer preview available from here: http://www.oracle.com/technetwork/java/javafx/downloads/devpreview-1429449.html.
- daniel -
Fxml ComboBox created in scene builder how to fetch data from database
Hi Sir, How r u? Hope to be fine. Sir, I have a problem that i want to fetch data in fxml comboBox created in Scene Builder?
I have used this code in JavaFx 2.0 for comboBox and textField the code is
ComboBox studentRegId = new ComboBox();
try{
stm = db.con.createStatement();
rs = stm.executeQuery("select * from students order by s_reg_id asc");
while(rs.next()){
for(int i=1; i<=1; i++)
studentRegId.getItems().add(rs.getString("s_reg_id"));
}catch(SQLException sqlException){
final TextField sRegId = new TextField();
final String regId[] = new String[1000];
try{
stm = db.con.createStatement();
rs = stm.executeQuery("select * from students order by s_reg_id asc");
int a = 0;
while(rs.next()) {
regId[a] = rs.getString("s_reg_id");
a++; }
}catch(SQLException sqlException){
studentRegId.getSelectionModel().selectedIndexProperty().addListener(new ChangeListener<Number>(){
public void changed(ObservableValue ov,Number value, Number new_value){
sRegId.setText(regId[new_value.intValue()]);
Now, the problem is that I want to use this code in Scene Builder fxml ComboBox .
Please Help Me!
I shall be very grate full to you for this kindness.
RegardsHi,
Ok, so you create your FXML :
Add a controller property to your root control. (See Code tab in SceneBuilder or direcly in FXML : fx:controller tag)
Add a fx:id to your controls (your combobox) (First property in SceneBuilder or directly in FXML : fx:id)
Example :
<?xml version="1.0" encoding="UTF-8"?>
<?import java.lang.*?>
<?import java.util.*?>
<?import javafx.collections.*?>
<?import javafx.scene.control.*?>
<?import javafx.scene.layout.*?>
<?import javafx.scene.paint.*?>
<HBox prefHeight="-1.0" prefWidth="-1.0" xmlns:fx="http://javafx.com/fxml" fx:controller="org.lgringo.comboexample.Controler">
<children>
<TextField fx:id="text" prefWidth="100.0" />
<ComboBox fx:id="combo" prefWidth="200.0">
<items>
<FXCollections fx:factory="observableArrayList">
<String fx:value="Item 1" />
<String fx:value="Item 2" />
<String fx:value="Item 3" />
</FXCollections>
</items>
</ComboBox>
</children>
</HBox>Then, you create your Controler class using @FXML annotation (name of control should be the name of fx:id properties)
You can do some initialisation in the inherit method "initialize"
Example :
package org.lgringo.comboexample;
import javafx.fxml.FXML;
import javafx.scene.control.ComboBox;
import javafx.scene.control.TextField;
public class Controler {
@FXML
// fx:id="combo"
private ComboBox<String> combo; // Value injected by FXMLLoader
@FXML
// fx:id="text"
private TextField text; // Value injected by FXMLLoader
@FXML // This method is called by the FXMLLoader when initialization is complete
void initialize() {
assert combo != null : "fx:id=\"combo\" was not injected: check your FXML file 'ComboboxExample.fxml'.";
assert text != null : "fx:id=\"text\" was not injected: check your FXML file 'ComboboxExample.fxml'.";
// Initialize your logic here: all @FXML variables will have been injected
combo.getItems().clear();
combo.getItems().addAll("John Lennon","Mick Jagger","David Bowie");
combo.getItems().add("Others...");
text.setText("List : ");
}Then you use the FXMLLoader class to load your FXML and Controler.
Example :
package org.lgringo.comboexample;
import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;
public class App extends Application {
* @param args
public static void main(String[] args) {
App.launch(args);
@Override
public void start(Stage primaryStage) throws Exception {
Parent root = FXMLLoader.load(getClass().getResource("ComboboxExample.fxml"));
primaryStage.setTitle("Combo Example");
primaryStage.setScene(new Scene(root, 300, 275));
primaryStage.show();
}More info : http://docs.oracle.com/javafx/2/get_started/fxml_tutorial.htm -
Scene Builder: cannot edit when I embed a custom control!
Hi guys, I'm having an issue with Scene Builder and embedded custom controls...
I have a LoginPanel .fxml/.java module, which contains two re-usable custom controls I've built:
* StatusZone .fxml/.java
* LanguageSelector .fxml/.java
The application runs.
However, I can't open LoginPanel.fxml to edit it with SceneBuilder v1.1 (developer preview).
To be specific, in LoginPanel.fxml, I have this data:
<StatusZone fx:id="statusZone" />
<LanguageSelector fx:id="languageSelector" />
SCENARIO 1
-- LoginPanel.fxml --
<?import kalungcasev2.view.StatusZone?>
<?import kalungcasev2.view.LanguageSelector?>
I get:
Warning: File 'LoginPanel.fxml' contains references to types that could not be loaded.
Missing types are [kalungcasev2.view.StatusZone]
I can click 'Set up classpath', but no matter which folder I choose, it doesn't seem to fix the problem.
SCENARIO 2:
-- LoginPanel.fxml --
<?import kalungcasev2.view.*?>
I get:
Warning: File 'LoginPanel.fxml' contains references to types that could not be loaded.
Missing types are: [StatusZone, LanguageSelector]
I can click 'Set up classpath', but no matter which folder I choose, it doesn't seem to fix the problem.
How do I fix this?Hi,
If no ClassLoader is configured in the FXMLLoader, then the FXMLLoader will try to load the
classes using the System/Context class loader.
This works well in the context of an application where everything is in the system class loader.
In SceneBuilder however - your classes will not be in the System class loader, but in a special
URL class loader that SceneBuilder created for your FXML file.
SceneBuilder sets this ClassLoader on the FXMLLoader that loads your top FXML file,
but it can't do anything for the instances of FXMLLoader that your own code creates.
Therefore - it's best to configure your FXMLLoader with the appropriate class loader,
which is usually the class loader that loaded your custom type.
See https://javafx-jira.kenai.com/browse/DTL-5177 for more details.
-- daniel
Edited by: daniel on Apr 25, 2013 7:33 AM
Sorry - to be more precise:
loader.setClassLoader(this.getClass().getClassLoader());
is the correct line. -
[SOLVED]Scene Builder 2.0 not opening
When i open the JavaFX Scene Builder 2.0,nothing happens.
I'm using Windows 7 with JDK 8(64Bit).Hi Cyberboy,
Have you verified the problem recurs if you take it out of the exclusion list again?
I don't have any problem with BitDefender, Scene Builder and Win7.
Have you seen this solution:
http://deltadata.wordpress.com/2013/12/25/javafx-scene-builder-failed-to-create-jvm-fix/ :
1.Search for regedit.exe and run it.
2.Go to HKEY_CURRENT_USER\Software\JavaSoft\Prefs\com\oracle\javafx\scenebuilder\/J/V/M/User/Options
3.Edit the value from 999m to 512m -
In Scene Builder 1.1 there is the following option File --> Customize Library --> Add Selected. These seems to allow you to select an object like a grid pane and add it an all it's children as a custom control in the library. The problem I am having is that it seems to be adding it with the description of base control (ie. GridPane) and not allowing me to use a more descriptive label for the new control. How do I change the label of the control that I add via this method?
Thank youThis "add to library" feature is somewhat experimental for now, and we are not yet sure what exact shape it will take in the final Scene Builder 1.1 release.
For the time being, it is not yet possible to choose or change the name of a custom Library element, but we are definitely taking good note of this requirement.
See https://javafx-jira.kenai.com/browse/DTL-5685.
Thanks. -
FX 1.0 Scene Builder beta samples won't run in Netbeans
Hi,
I downloaded samples that are added to JavaFX Scene Builder from: http://download.oracle.com/otn-pub/java/javafx_scenebuilder/1.0/javafx_scenebuilder_samples-1_0-beta-b32-26_mar_2012.zip
I imported it to netbeans ide and then I tried to run project, when I came across problem:
com.sun.javafx.fxml.PropertyNotFoundException: Property "styleClass" does not exist or is read-only.
Could you help me with this issue?Same problem for me...with Fx 2.0.3 (didn't try 2.1.0 beta)
Solved this way in fxml file:
(...some code...)
<Button id="buttonSearch" contentDisplay="GRAPHIC_ONLY" maxHeight="32.0" maxWidth="32.0" minHeight="32.0" minWidth="32.0" prefHeight="32.0" prefWidth="32.0" AnchorPane.bottomAnchor="6.0" AnchorPane.rightAnchor="114.0" >
<styleClass>
<String fx:value="buttonSearch"/>
</styleClass>
</Button>
(...some code...)
and in css file:
.buttonSearch {
-fx-graphic: url("images/question.png");
-fx-content-display: graphic-only;
I load the css file in my main():
stage.getScene().getStylesheets().add("MyApplication/test.css");
just before stage.show();
Edit:
With the 2.1.0 developper preview there's no exception using styleClass()... -
Unable to run JavaFX scene builder
I'm trying to run JavaFX Scene builder on Windows XP, 32-bit. Java version 1.7.0_07. I can't run it both with or without IDE (Netbeans 7.2, JavaFx Scene Builder home is stated). Nothing happens after a double-click. The problem might be in versions conflict, because previously I had 1.7.0_03, but now I uninstalled it and problem remains the same.
I have the same problem.
scenebuilder.properties:
Version = JavaFX Scene Builder 1.0
BuildInformation = Version: 1.0-b50, Changeset: 22db15834430
Date = 2012-08-07 16:33
Java version:
java version "1.7.0_07"
Java(TM) SE Runtime Environment (build 1.7.0_07-b11)
Java HotSpot(TM) 64-Bit Server VM (build 23.3-b01, mixed mode)
I can build and run the examples in Netbeans 7.2
When I run the scenebuilder.exe I get the following text in a "cmd" window:
No suitable 64 bits Java Runtime Environment (JRE) found : it must be
Java 6 Update 29 or above
OR
Java 7 Update 2 or above
Press <ENTER>...
I'm running Windows 7 Pro 64-bit SP1
Thanks in advance!
Jon -
Scene Builder not quitting on MAC OSX
JavaFX Scene Builder is becoming an essential tool.
Is anyone else having problems in getting the app to quit, it works great but has to be forced to quit.
This has been a problem on the last few builds.
I am running OSX 10.7.4
Java SE7 version 1.7.0_05
Scene Builder - build 44
javafx2.2.0 B15Hi,
Some SceneBuilder builds suffered from http://javafx-jira.kenai.com/browse/RT-22036.
It may be what you are experiencing.
However it should already have been fixed in:
Product Version
JavaFX Scene Builder 1.0 (Developer Preview)
Build Information
Version: 1.0-b44, Changeset: 85718f0238ce, Date: 2012-06-18 17:54 +0200
JavaFX
2.2.0-beta-b13
If you click on Help > About Scene Builder, you can compare the values displayed
with those above.
best regards,
-- daniel -
Scene Builder 1.0 will not start
Hi. For a number of months I've been using Scene Builder 1.0 (BuildInformation = Version: 1.0-b50, Changeset: 22db15834430 Date = 2012-08-07 16:33) on a Windows 7 system. However, it has been about a month since I last used Scene Builder. Today, I tried to use Scene Builder and it would not start. No error message was displayed. I uninstalled Scene Builder and reinstalled it... that did not help.
I noticed the logging.properties file in the "bin" directory. This file contained: java.util.logging.FileHandler.pattern = %t/scenebuilder.log. So, I looked in the system temp directory... no log file.
The JRE (used by my browsers, etc.) has been updated within the last month, but I am guessing Scene Builder is isolated from any JRE changes, right?
I downloaded and installed Scene Builder 1.1 (pre-release). Fortunately, Scene Builder 1.1 starts.
However, I would still like to know why Scene Builder 1.0 does not start. Any ideas on how to troubleshoot the problem?
Thanks!
ChrisGlad it's not just me...
I had the same problem. Either it downloaded a patch and fixed itself, or this worked:
Go to Control Panel / Add / remove programs (in Control Panel / all control panel items / Programs and Features / Add remove programs)
Right click on Adobe Reader and select Change.
Choose Repair
This appears to have reinstalled the Core DLL file, and it seems to be working normally now.
Good luck -
Problems running Flash Builder 4.6 profiler
Hello,
I have a problem running Flash Builder profiler. When I click "Profile" it starts my web application, but nothing else happens inside Flash Builder itself - no new data appears in Profiler perspective, Flash Builder itself doesn't show any sign of doing something.
My mm.cfg contains the next line: "PreloadSwf=C:/flash builder workspace/.metadata/.plugins/com.adobe.flash.profiler/11/ProfilerAgent.swf?host=localhost &port=9999"
Additional details:
OS: Windows 7
Flash Builder version: 4.6
Tested web browsers: Firefox, IE 8 - the same problem in both of them
Flash player versions: ActiveX/Plug-in Version:11.7.700.169
I made sure that ProfilerAgent.swf indeed exists in the location defined in mm.cfg. In addition, I tried to change port 9999 to other ports (both in mm.cfg and in Flash Builder). I also verified that the location of ProfilerAgent.swf appears in trusted locations of Flash Player.
I would be very grateful if someone could help me to solve this problem.
Thanks,
ValeriaR Grieve wrote:
This sounds like something has gone wrong during installation. CSAR and CSLIBS references should be set up automatically during installation.
There should also be no need to import the Flex SDKs as CS Extension Builder 2.0 ships with them included. It won't do any harm though having the CS Flex SDKs imported.
Can you detail how you installed CS Extension Builder 2.0, please and where you obtained it from?
Here are the installation instructions I would recommend starting from a clean FlashBuilder 4.6 instance:
To install Adobe Creative Suite Extension Builder, download the ZIP file and unzip it into a root location (SDKRoot).
Install Extension Builder in Eclipse with Flash Builder or Flash Builder Standalone:
In Eclipse, choose Help > Install New Software.
In the Install dialog, click Add.
In the Add Site dialog, click Local... to browse to the SDK root folder or enter the URL of the update site.
Name the site CS SDK and click OK to confirm the changes.
Select the new CS SDK site in the "Work with" field.
-- Select all the Adobe Creative Suite Extension Builder components.
-- Click Next to confirm the selection.
In the Install Details review dialog, click Next to confirm that you want to install all the components listed.
Accept the terms of license agreements and click Finish.
Re-start Eclipse as recommended.
I obtained it from Adobe and installed it using the Help > Install software option, but without unzipping it. Maybe that was it.
Now I've done a clean installation and it works perfect. I did it with administrator permissions, don't know if it has anything to do with it, but I read it somewhere and did so just in case!
Thanks a lot! -
Problem with Weblogic Builder SP1
I have a problem with Weblogic Builder SP1. I basically re-used my EJB deployment
descriptors from WL5.1 in WL8.1. Before SP1, i have no problem loading my EJB
in WB. But with SP1, WB throws weblogic.marathon.model.LoadFailureException.
I re-attempted by jarring my EJB with WL5.1 descriptors and used my friend's WB
(not SP1) to export new descriptors which I used to re-jar. This new EJB is again
not recognised by WB SP1?
What is wrong?The exception is as follows:
Opening module myproj.jar
java.lang.NullPointerException
at java.util.Arrays.sort(Arrays.java:1181)
at weblogic.marathon.model.EJBJarCMBean.initRelations(EJBJarCMBean.java:1212)
at weblogic.marathon.model.EJBJarCMBean.initBeans(EJBJarCMBean.java:1098)
at weblogic.marathon.model.EJBJarCMBean.setup(EJBJarCMBean.java:1144)
at weblogic.marathon.tasks.OpenModuleTask.getEJBModule(OpenModuleTask.java:156)
at weblogic.marathon.tasks.OpenModuleTask.figureOutModule(OpenModuleTask.java:191)
at weblogic.marathon.tasks.OpenModuleTask.figureOutModule(OpenModuleTask.java:230)
at weblogic.marathon.tasks.OpenModuleTask.runBackground(OpenModuleTask.java:89)
at weblogic.tools.jellybeans.core.task.TaskThread.execute(TaskThread.java:127)
at weblogic.tools.jellybeans.core.task.TaskThread.run(TaskThread.java:64)
Module myproj.jar descriptors failed to load
The EJB has no problem deploying.
Rob Woollen <[email protected]> wrote:
You'll have to at least show us the error you get from marathon.
Does your application deploy to the server?
-- Rob
Robin Tan wrote:
I have a problem with Weblogic Builder SP1. I basically re-used myEJB deployment
descriptors from WL5.1 in WL8.1. Before SP1, i have no problem loadingmy EJB
in WB. But with SP1, WB throws weblogic.marathon.model.LoadFailureException.
I re-attempted by jarring my EJB with WL5.1 descriptors and used myfriend's WB
(not SP1) to export new descriptors which I used to re-jar. This newEJB is again
not recognised by WB SP1?
What is wrong? -
Problem with Folio Builder - added articles are "spinning"
Hello,
today we are experiencing strange problems with Folio Builder. We are adding new artcles to folio created today and all added articles have same issue - spinning wheel in folio builder. Such articles we can't see in Content viewer until we delete existing folio.
Thanks for helpHi,
Could be that there was a network problem when uploading the InDesign documents.
Try to select the articles and delete them with the trashcan. And then reupload the documents from InDesign.
Good luck! -
RAXINV - Strange problem in Report Builder
I'm having a very wierd problem in Report builder 6.0.8.27.0. I'm simply trying to add two additional columns to the AR Invoice report (RAXINV) so that they get included in the XML output. This report has a main query called Q_INVOICE which is basically a dummy query to set the column aliases and at the end of the query it does a UNION with the user parameter &common_query.
So, what I have done is gone into the common_query parameter and added the two extra dummy columns before the FROM statement (I've tried adding at different places but always the same result). Once that is done I've then gone into the Q_INVOICE query and added the same two columns. When I hit the OK button to update the query is when my problems start.
There is a group in the report called G_ORDER_BY that has the field ORDER_BY in it. After clicking ok to update the query the G_ORDER_BY now has a field called BILL_CUST_NAME1, but the XML tag is still saying ORDER_BY. This happens to many fields in the report (the names are changed/corrupted) and as such the report is now useless as it won't compile.
I have no idea why this would happen and I've never seen anything like this before.
Can anyone provide any help on this ? I've logged an SR on this too but wanted to try here also incase someone had already crossed this problem.Dave,
Not sure if its relevant or not, but I just fixed this issue, you need to change your query in three places, common_query parameter, build_query program unit and the main query itself in report editor.
Cheers,
Zeeshan -
Problems with the build-IN SNTP-Client on cRIO9014&cRIO9012
Hi out there,
I have a problem using the build-IN SNTP-Client of a cRIO-9014 (and a cRIO-9012).
It seems that the cRIO sometimes gets another time (e.g. 28.01.1920 12:03:00) other than it should get (e.g. 31.08.2014 09:59:00).
I've found this problem in our measurement-files. They had some unusual timestamps (as showed in the following example).
To prevent the SNTP-Client from doing too many damages to our measurement-files, I built a time-validator (with a range of 5 min), which checks one of my servers (and let it write every time change to a log file).
The Log-File looks like (Where "$Message" is a custom-message. It is unrelated to the problem, but occurs every minute):
31.08.2014 09:58:00 $Message
31.08.2014 09:59:00 $Message
31.08.2014 10:20:00 Setting Time from 28.01.1920 12:14:09 to: 31.08.2014 10:20:00
31.08.2014 10:21:00 $Message
31.08.2014 10:22:00 $Message
31.08.2014 10:54:00 $Message
31.08.2014 10:55:00 $Message
31.08.2014 10:59:00 $Message
31.08.2014 11:00:00 $Message
As you can see, the cRIO loses its time somewhere between 09:59:00 and 10:00:00(UTC) and it has been set back at 10:58:XX (UTC). It is shown with the gap between the messages at 10:55:00 and 10:59:00.
The configuration for the timesync was:
[TIME SYNC]
source.rtc.enable=True
source_priority=sntp;rtc;
source.sntp.enable=true
source.sntp.address=192.53.103.108
source.sntp.interval=60
source.sntp.port=123
source.sntp.verbose=false
source.sntp.log=false
sntp.address is a public German time-server, hosted by our national institute.
I've set sntp.verbose and sntp.log to TRUE for more information, but have to wait some time for a logfile.
The network has the following scheme:
cRIO -> UMTS-Modem -> ISP-VPN -> Internet
Does anyone have had this problem and/or know, how to fix it?
Thanks for your help!
CaterosHi!
The problem happens sporadically, at first, we didn't even notice it, just that there are files missing and we got the strange logs. Now, with the workaround, we can finally trace the problem (and in some cases restore our measurement).
What do you mean with "connectthe cRIO directly to a router?"? Could you please explain it?
In the enclosure are more networkdevices, but only the cRIO uses the connection to the internet.
The "UMTS Modem" has also routing capacities, which we use to remote control both of the RIOs.
Thanks for your reply
Cateros
Maybe you are looking for
-
create view sharing_sga as select name,round(sum(bytes)/1024/1024,2) "size(mb)" from v$sgastat where name in('fixed_sga','buffer_cache','log_buffer') group by name union select pool, round(sum(bytes)/1024/1024,2) from v$sgastat where pool in ('shared
-
How can we change the input field on a view stop showing zeros
Hello, To make screen look consistent with other character input field. How can we change the input field on the view stop displaying zeros even though the data type is NUMC and data type should not be change? Edited by: sap_learner on Mar 25,
-
Passing Job ID, Job instance from Agent to EJB-based action in OBIEE 11g?
We would like to ZIP compress Agent-scheduled report output, according to documentation using "Java Jobs" is an option but not recommended in 11g (only upgraded from 10g). Instead EJB-based java actions should be used. Documentation has explanation o
-
Problem with command line arguments and multiple targets in ant
Based on the argument value,I have to create properties file .I am using the key value pairs present in the properties file in my build.xml file. Here the problem is , I am able to create the properties file,using the argument vaue.i.e., ant -Denv=bu
-
Has anyone managed to resolve the problems encountered with Apple TV and the loss of ability to mirror iphones, ipads or computers? One day it was working perfectly, from all the above devices, the next the option to switch between playing on the de