ClassNotFoundException: com.sun.javafx.runtime.location.ChangeListener
Hi guys,
I'm sorry for my question, I need your help.
I started working with javafx and now I added to my project JFXTras to add power to my javafx components.
I created a javafx project with netbeans, I added JFXTras lib and I put a button in the stage, with just this code:
*function buttonOnMouseClicked(event: javafx.scene.input.MouseEvent): Void {*
insert XPane
*contentNode: Circle{ centerX: 10, centerY: 10, radius: 40 }*
*} into this.scene.content;*
Running application when I click on button this exception appear
Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: com/sun/javafx/runtime/location/ChangeListener
at testjavafx.Main.buttonOnMouseClicked(Main.fx:45)
+...+
Caused by: java.lang.ClassNotFoundException: com.sun.javafx.runtime.location.ChangeListener
at java.net.URLClassLoader$1.run(Unknown Source)
What I can do? I use netbeans 6.9.1 with javafx 1.3...
Thanks,
Regards
Hi. The XPane component from Jfxtras library is not working in javafx1.3.1.
Probably jfxtras is not updated for javafx1.3.1
Similar Messages
-
Cannot reach com.sun.javafx.runtime.sequence package from Java
Hello!
I'm trying to create JavaFX sequence from Java code, because creating sequences with large amount of data (more than 10000 elements) seems to be quite inefficient in JavaFX (leastwise takes almost a minute(!) when using insert ... into ...).
The problem is that I get the following error message when trying to use SequenceBuilder from Java:
{color:#ff0000}+Compiling 1 source file to C:\Users\Ákos\Documents\NetBeansProjects2\PolylineProba\build\classes+
C:\Users\Ákos\Documents\NetBeansProjects2\PolylineProba\src\polylineproba\ArrayBuilder.java:11: package com.sun.javafx.runtime.sequence does not exist
import com.sun.javafx.runtime.sequence.*;
+1 error+{color}
The sample code is very simple:
{color:#333399}+package test;+
import com.sun.javafx.runtime.sequence.*;
+public class ArrayBuilder {+
+}+{color}
This is strange as the code completion sees all classes inside the mentioned package, but the compiler doesn't.
Does anyone have an idea, why? (I'm using Netbeans 6.1 with JavaFX SDK preview 1.0.)
Thanks,
AkosHello!
Normally you don't need to know the exact location of these files as you can add them to the project by adding a library. To do this in Netbeans: right click on the Libraries in the project tree and choose Add library. Then you should see JavaFXUserLib.
If not then find and add them manually to the classpath:
javafx-sdk1.0pre1/lib/Decora-D3D.jar
javafx-sdk1.0pre1/lib/Decora-HW.jar
javafx-sdk1.0pre1/lib/Decora-OGL.jar
javafx-sdk1.0pre1/lib/Scenario.jar
javafx-sdk1.0pre1/lib/gluegen-rt.jar
javafx-sdk1.0pre1/lib/javafx-swing.jar
javafx-sdk1.0pre1/lib/javafxc.jar
javafx-sdk1.0pre1/lib/javafxdoc.jar
javafx-sdk1.0pre1/lib/javafxgui.jar
javafx-sdk1.0pre1/lib/javafxrt.jar
javafx-sdk1.0pre1/lib/jmc.jar
javafx-sdk1.0pre1/lib/jogl.jar
Good luck -
Import com.sun.javafx.mediabox.*; package does not exist
hi,
i am using netbeans 6.7.1 with javafx inside
i saw alot of example from sun using import com.sun.javafx.mediabox.;* and import com.sun.fxmediacomponent.*;
however in netbeans when i try to import either this 2 import
it say that package does not exist
can someone help me ?
thanks alotIt is possible to create New Project ->Samples-> JavaFX -> Media Box sample in NetBeans, built it and use it as library for a media project.
-
Hi Forum:
i want to explain you my problem i created a webservice with JDeveloper 10.1.3, and run perfectly but when i want to run it in another IDE i copied the codes to a another IDE and run perfectly in a simple java project in my different IDE but when i putted the code in a web application in another web server differente to the oracle i got this error message
vax.xml.rpc.ServiceException: java.lang.ClassNotFoundException: com.sun.xml.rpc.client.ServiceFactoryImpl ------------------------- Loader Info ------------------------- ClassLoader name:
i don�t know what�s happening and is so strange because i make one simple java project in eclipse and i copied the codes and works fine, but in a web application i can�t run it.
I also founded it the jar to this class com.sun.xml.rpc.client.ServiceFactoryImpl
but doesn�t work
Can somebody help me, please?.. i really need it..
thnks
joshuaIt usually means that a JAR in which the class file resides is not included in the web-app or is not on the classpath. Had the same problem with the last Eclipse/WebLogic project where JAR files, in which class files resided on which other class files were dependent, were missing.
Ronald -
After I clicked my application several times, the css is missing in the page, and the warning in the console:
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-text-base-color' while resolving lookups for '-fx-text-fill' from rule '*.button' in stylesheet jar:file:/D:/software/IDE/JavaFX2.2/rt/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-shadow-highlight-color' while resolving lookups for '-fx-background-color' from rule '*.button' in stylesheet jar:file:/D:/software/IDE/JavaFX2.2/rt/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-text-base-color' while resolving lookups for '-fx-text-fill' from rule '*.button' in stylesheet jar:file:/D:/software/IDE/JavaFX2.2/rt/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-focus-color' while resolving lookups for '-fx-background-color' from rule '*.button:focused' in stylesheet jar:file:/D:/software/IDE/JavaFX2.2/rt/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-text-inner-color' while resolving lookups for '-fx-text-fill' from rule '*.table-cell' in stylesheet jar:file:/D:/software/IDE/JavaFX2.2/rt/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-text-inner-color' while resolving lookups for '-fx-text-fill' from rule '*.table-cell' in stylesheet jar:file:/D:/software/IDE/JavaFX2.2/rt/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-shadow-highlight-color' while resolving lookups for '-fx-background-color' from rule '*.text-field' in stylesheet jar:file:/D:/software/IDE/JavaFX2.2/rt/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-text-inner-color' while resolving lookups for '-fx-text-fill' from rule '*.text-field' in stylesheet jar:file:/D:/software/IDE/JavaFX2.2/rt/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-control-inner-background' while resolving lookups for '-fx-prompt-text-fill' from rule '*.text-field' in stylesheet jar:file:/D:/software/IDE/JavaFX2.2/rt/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-accent' while resolving lookups for '-fx-highlight-fill' from rule '*.text-input' in stylesheet jar:file:/D:/software/IDE/JavaFX2.2/rt/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-shadow-highlight-color' while resolving lookups for '-fx-background-color' from rule '*.text-field' in stylesheet jar:file:/D:/software/IDE/JavaFX2.2/rt/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-text-inner-color' while resolving lookups for '-fx-text-fill' from rule '*.text-field' in stylesheet jar:file:/D:/software/IDE/JavaFX2.2/rt/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-control-inner-background' while resolving lookups for '-fx-prompt-text-fill' from rule '*.text-field' in stylesheet jar:file:/D:/software/IDE/JavaFX2.2/rt/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-accent' while resolving lookups for '-fx-highlight-fill' from rule '*.text-input' in stylesheet jar:file:/D:/software/IDE/JavaFX2.2/rt/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-shadow-highlight-color' while resolving lookups for '-fx-background-color' from rule '*.text-field' in stylesheet jar:file:/D:/software/IDE/JavaFX2.2/rt/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-text-inner-color' while resolving lookups for '-fx-text-fill' from rule '*.text-field' in stylesheet jar:file:/D:/software/IDE/JavaFX2.2/rt/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-control-inner-background' while resolving lookups for '-fx-prompt-text-fill' from rule '*.text-field' in stylesheet jar:file:/D:/software/IDE/JavaFX2.2/rt/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-accent' while resolving lookups for '-fx-highlight-fill' from rule '*.text-input' in stylesheet jar:file:/D:/software/IDE/JavaFX2.2/rt/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-shadow-highlight-color' while resolving lookups for '-fx-background-color' from rule '*.text-field' in stylesheet jar:file:/D:/software/IDE/JavaFX2.2/rt/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-text-inner-color' while resolving lookups for '-fx-text-fill' from rule '*.text-field' in stylesheet jar:file:/D:/software/IDE/JavaFX2.2/rt/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-control-inner-background' while resolving lookups for '-fx-prompt-text-fill' from rule '*.text-field' in stylesheet jar:file:/D:/software/IDE/JavaFX2.2/rt/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-accent' while resolving lookups for '-fx-highlight-fill' from rule '*.text-input' in stylesheet jar:file:/D:/software/IDE/JavaFX2.2/rt/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-shadow-highlight-color' while resolving lookups for '-fx-background-color' from rule '*.text-field' in stylesheet jar:file:/D:/software/IDE/JavaFX2.2/rt/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-text-inner-color' while resolving lookups for '-fx-text-fill' from rule '*.text-field' in stylesheet jar:file:/D:/software/IDE/JavaFX2.2/rt/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-control-inner-background' while resolving lookups for '-fx-prompt-text-fill' from rule '*.text-field' in stylesheet jar:file:/D:/software/IDE/JavaFX2.2/rt/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-accent' while resolving lookups for '-fx-highlight-fill' from rule '*.text-input' in stylesheet jar:file:/D:/software/IDE/JavaFX2.2/rt/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-text-background-color' while resolving lookups for '-fx-text-fill' from rule '*.label' in stylesheet jar:file:/D:/software/IDE/JavaFX2.2/rt/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-text-background-color' while resolving lookups for '-fx-text-fill' from rule '*.label' in stylesheet jar:file:/D:/software/IDE/JavaFX2.2/rt/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-text-background-color' while resolving lookups for '-fx-text-fill' from rule '*.label' in stylesheet jar:file:/D:/software/IDE/JavaFX2.2/rt/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-text-background-color' while resolving lookups for '-fx-text-fill' from rule '*.label' in stylesheet jar:file:/D:/software/IDE/JavaFX2.2/rt/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-text-background-color' while resolving lookups for '-fx-text-fill' from rule '*.label' in stylesheet jar:file:/D:/software/IDE/JavaFX2.2/rt/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-text-background-color' while resolving lookups for '-fx-text-fill' from rule '*.radio-button' in stylesheet jar:file:/D:/software/IDE/JavaFX2.2/rt/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-shadow-highlight-color' while resolving lookups for '-fx-background-color' from rule '*.radio-button *.radio' in stylesheet jar:file:/D:/software/IDE/JavaFX2.2/rt/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-text-background-color' while resolving lookups for '-fx-text-fill' from rule '*.radio-button' in stylesheet jar:file:/D:/software/IDE/JavaFX2.2/rt/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-shadow-highlight-color' while resolving lookups for '-fx-background-color' from rule '*.radio-button *.radio' in stylesheet jar:file:/D:/software/IDE/JavaFX2.2/rt/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-mark-highlight-color' while resolving lookups for '-fx-background-color' from rule '*.radio-button:selected *.dot' in stylesheet jar:file:/D:/software/IDE/JavaFX2.2/rt/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-text-background-color' while resolving lookups for '-fx-text-fill' from rule '*.label' in stylesheet jar:file:/D:/software/IDE/JavaFX2.2/rt/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-text-base-color' while resolving lookups for '-fx-text-fill' from rule '*.button' in stylesheet jar:file:/D:/software/IDE/JavaFX2.2/rt/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-shadow-highlight-color' while resolving lookups for '-fx-background-color' from rule '*.button' in stylesheet jar:file:/D:/software/IDE/JavaFX2.2/rt/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-text-base-color' while resolving lookups for '-fx-text-fill' from rule '*.button' in stylesheet jar:file:/D:/software/IDE/JavaFX2.2/rt/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss
WARNING: com.sun.javafx.css.StyleHelper calculateValue Could not resolve '-fx-shadow-highlight-color' while resolving lookups for '-fx-background-color' from rule '*.button' in stylesheet jar:file:/D:/software/IDE/JavaFX2.2/rt/lib/jfxrt.jar!/com/sun/javafx/scene/control/skin/caspian/caspian.bss"
I checked the jfxrt.jar, and "/com/sun/javafx/scene/control/skin/caspian/caspian.bss" is exists, i don't know what happened, who can help me?Did you use Jfxtras, I got same message
but after I remove all components of Jfxtras
the message never show up -
Com.sun.media.jmc.OperationUnsupportedException
After sdk updating to the 1.1 version, my program caught exceptions sometimes although it still run normally.
It seems it caused by the play() operation, I don't know why. Here is the code and the console information:
public class MusicPlayer {
var soundPlayer: MediaPlayer=MediaPlayer{
volume: 1
autoPlay: false
onError: function(e:MediaError) {
println("got a MediaPlayer error : {e.cause} {e}");
soundPlayer.media = null;
onEndOfMedia: function() {
soundPlayer.stop();
var bgMusicPlayer: MediaPlayer=MediaPlayer{
volume: 1
autoPlay: false
repeatCount: MediaPlayer.REPEAT_FOREVER
onError: function(e:MediaError) {
println("got a MediaPlayer error : {e.cause} {e}");
bgMusicPlayer.media = null;
var start = Media {
source: "{__DIR__}media/start.wav"
var woosh1 = Media {
source: "{__DIR__}media/woosh1ex.wav"
var win = Media {
source: "{__DIR__}media/win.wav"
var lose = Media {
source: "{__DIR__}media/lose.wav"
var bling = Media {
source: "{__DIR__}media/bling2ex.wav"
var water = Media {
source: "{__DIR__}media/waterEx.wav"
var map = new HashMap();
init{
map.put("start", start);
map.put("woosh1", woosh1);
map.put("win", win);
map.put("lose", lose);
map.put("bling", bling);
map.put("water", water);
public function play(soundName){
var media = map.get(soundName) as Media;
if(media != null){
if(not soundPlayer.paused) soundPlayer.stop();
println("------playing {soundName}-----");
soundPlayer.media=media;
soundPlayer.play();
* stop playing background music
public function stop(){
bgMusicPlayer.stop();
* play the music as background music
public function playAsBgMusic(musicName){
var media = map.get(musicName) as Media;
if(media != null){
if(not bgMusicPlayer.paused) bgMusicPlayer.pause();;
bgMusicPlayer.media=media;
bgMusicPlayer.play();
}Part of the console information:
------playing bling-----
Exception in trigger:
com.sun.media.jmc.OperationUnsupportedException: Invalid stop time specified
at com.sun.media.jmcimpl.plugins.javapeer.MediaPlayer.setStopTime(MediaPlayer.java:834)
at com.sun.media.jmc.MediaProvider.setStopTime(MediaProvider.java:718)
at javafx.scene.media.MediaPlayer$8.onChange(MediaPlayer.fx:322)
at javafx.scene.media.MediaPlayer$8.onChange(MediaPlayer.fx:317)
at com.sun.javafx.runtime.location.ObjectVariable$2.onAction(ObjectVariable.java:162)
at com.sun.javafx.runtime.location.ObjectVariable$2.onAction(ObjectVariable.java:159)
at com.sun.javafx.runtime.location.DependencyIterator.action(AbstractLocation.java:503)
at com.sun.javafx.runtime.location.DependencyIterator.action(AbstractLocation.java:491)
at com.sun.javafx.runtime.util.Linkables.iterate(Linkables.java:82)
at com.sun.javafx.runtime.location.AbstractLocation.iterateChildren(AbstractLocation.java:282)
at com.sun.javafx.runtime.location.ObjectVariable.notifyListeners(ObjectVariable.java:159)
at com.sun.javafx.runtime.location.ObjectVariable.replaceValue(ObjectVariable.java:114)
at com.sun.javafx.runtime.location.ObjectVariable.set(ObjectVariable.java:125)
at javafx.scene.media.MediaPlayer$1.onChange(MediaPlayer.fx:186)
at javafx.scene.media.MediaPlayer$1.onChange(MediaPlayer.fx:140)
at com.sun.javafx.runtime.location.ObjectVariable$2.onAction(ObjectVariable.java:162)
at com.sun.javafx.runtime.location.ObjectVariable$2.onAction(ObjectVariable.java:159)
at com.sun.javafx.runtime.location.DependencyIterator.action(AbstractLocation.java:503)
at com.sun.javafx.runtime.location.DependencyIterator.action(AbstractLocation.java:491)
at com.sun.javafx.runtime.util.Linkables.iterate(Linkables.java:82)
at com.sun.javafx.runtime.location.AbstractLocation.iterateChildren(AbstractLocation.java:282 -
When I create an EJB Transport Business Service, after selecting the jar that has the EJB 2.1 artefacts (Remote, Home, etc) the oepe plugin fails and can't continue.
As I understand it seems that there is a problem with the classpath of ant build.xml that oepe creates inside folder /tmp/alsbejbtransport/ to compile the bs and generate the wsdl. I checked if tools.jar is in the classpath (in eclipse) and is included, so I can't figure out wich is the problem.
I found this in Oracle, but not helps solve the problem:
BEA-398120
Error: The WSDL for the typed transport endpoint could not be accessed.
Description
There was a problem retrieving the WSDL from the typed transport service endpoint at the time of service registration
Action
Contact technical support
This is the the full stacktrace that shows eclipse.
Generate : Error during generation of the WSDL:
BUILD FAILED
java.lang.NoClassDefFoundError: com/sun/javadoc/Type
at com.bea.util.jam.provider.JamServiceFactoryImpl.createSourceBuilder(JamServiceFactoryImpl.java:205)
at com.bea.util.jam.provider.JamServiceFactoryImpl.createBuilder(JamServiceFactoryImpl.java:158)
at com.bea.util.jam.provider.JamServiceFactoryImpl.createClassLoader(JamServiceFactoryImpl.java:137)
at com.bea.util.jam.provider.JamServiceFactoryImpl.createService(JamServiceFactoryImpl.java:78)
at weblogic.wsee.util.JamUtil.parseSource(JamUtil.java:152)
at weblogic.wsee.tools.anttasks.JwsLoader.loadJClasses(JwsLoader.java:186)
at weblogic.wsee.tools.anttasks.JwsLoader.load(JwsLoader.java:75)
at weblogic.wsee.tools.anttasks.JwsModule.loadWebServices(JwsModule.java:569)
at weblogic.wsee.tools.anttasks.JwsModule.generate(JwsModule.java:369)
at weblogic.wsee.tools.anttasks.JwsModule.build(JwsModule.java:256)
at weblogic.wsee.tools.anttasks.JwscTask.execute(JwscTask.java:184)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
at org.apache.tools.ant.Task.perform(Task.java:348)
at org.apache.tools.ant.Target.execute(Target.java:357)
at org.apache.tools.ant.Target.performTasks(Target.java:385)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
at org.apache.tools.ant.Main.runBuild(Main.java:758)
at org.apache.tools.ant.Main.startAnt(Main.java:217)
at org.apache.tools.ant.launch.Launcher.run(Launcher.java:257)
at org.apache.tools.ant.launch.Launcher.main(Launcher.java:104)
Caused by: java.lang.ClassNotFoundException: com.sun.javadoc.Type
at org.apache.tools.ant.AntClassLoader.findClassInComponents(AntClassLoader.java:1400)
at org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.java:1341)
at org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.java:1088)
at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
... 27 more
Total time: 0 seconds
Eclipse Installation details:
*** System properties:
eclipse.application=org.eclipse.ui.ide.workbench
eclipse.buildId=M20110909-1335
eclipse.commands=-os
linux
-ws
gtk
-arch
x86_64
-showsplash
-launcher
{home}/Development/oepe-indigo/eclipse
-name
Eclipse
--launcher.library
{home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505/eclipse_1407.so
-startup
{home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.overrideVmargs
-exitdata
1e418010
-vm
/usr/bin/java
eclipse.home.location=file:{home}/Development/oepe-indigo/
eclipse.launcher={home}/Development/oepe-indigo/eclipse
eclipse.launcher.name=Eclipse
[email protected]/../p2/
eclipse.p2.profile=PlatformProfile
eclipse.product=org.eclipse.platform.ide
eclipse.startTime=1374623921455
eclipse.vm=/usr/bin/java
eclipse.vmargs=-Xms256m
-Xmx768m
-XX:MaxPermSize=512m
-Dsun.lang.ClassLoader.allowArraySyntax=true
-Dweblogic.home={home}/Oracle/Middleware/wlserver_10.3
-Dharvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester
-Dosb.home={home}/Oracle/Middleware/Oracle_OSB1
-Dosgi.bundlefile.limit=750
-Dosgi.nl=en_US
-Dmiddleware.home={home}/Oracle/Middleware
-jar
{home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
equinox.use.ds=true
file.encoding=UTF-8
file.encoding.pkg=sun.io
file.separator=/
guice.disable.misplaced.annotation.check=true
harvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester
http.nonProxyHosts=localhost
java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment
java.awt.printerjob=sun.print.PSPrinterJob
java.class.path={home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
java.class.version=50.0
java.endorsed.dirs=/usr/lib/jvm/jdk1.6.0_45/jre/lib/endorsed
java.ext.dirs=/usr/lib/jvm/jdk1.6.0_45/jre/lib/ext:/usr/java/packages/lib/ext
java.home=/usr/lib/jvm/jdk1.6.0_45/jre
java.io.tmpdir=/tmp
java.library.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64/server:/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64:/usr/lib/jvm/jdk1.6.0_45/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
java.protocol.handler.pkgs=null|com.bea.wli.sb.resources.url|com.bea.wli.sb.resources.jca.upgrade.url|weblogic.utils|weblogic.utils|weblogic.utils|weblogic.net|weblogic.net
java.runtime.name=Java(TM) SE Runtime Environment
java.runtime.version=1.6.0_45-b06
java.specification.name=Java Platform API Specification
java.specification.vendor=Sun Microsystems Inc.
java.specification.version=1.6
java.vendor=Sun Microsystems Inc.
java.vendor.url=http://java.sun.com/
java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
java.version=1.6.0_45
java.vm.info=mixed mode
java.vm.name=Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Sun Microsystems Inc.
java.vm.specification.version=1.0
java.vm.vendor=Sun Microsystems Inc.
java.vm.version=20.45-b01
javax.rmi.CORBA.PortableRemoteObjectClass=weblogic.iiop.PortableRemoteObjectDelegateImpl
javax.rmi.CORBA.UtilClass=weblogic.iiop.UtilDelegateImpl
jna.platform.library.path=/usr/lib/x86_64-linux-gnu:/lib/x86_64-linux-gnu:/lib64:/usr/lib:/lib
line.separator=
middleware.home={home}/Oracle/Middleware
oracle.eclipse.tools.weblogic.ui.isWebLogicServer=true
org.apache.commons.logging.Log=org.apache.commons.logging.impl.NoOpLog
org.eclipse.equinox.launcher.splash.location={home}/Development/oepe-indigo/plugins/org.eclipse.platform_3.7.1.v201109091335/splash.bmp
org.eclipse.equinox.simpleconfigurator.configUrl=file:org.eclipse.equinox.simpleconfigurator/bundles.info
org.eclipse.m2e.log.dir={home}/workspace/pragma/.metadata/.plugins/org.eclipse.m2e.logback.configuration
org.eclipse.update.reconcile=false
org.omg.CORBA.ORBClass=weblogic.corba.orb.ORB
org.omg.CORBA.ORBSingletonClass=weblogic.corba.orb.ORB
org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1,OSGi/Minimum-1.2,JRE-1.1,J2SE-1.2,J2SE-1.3,J2SE-1.4,J2SE-1.5,JavaSE-1.6
org.osgi.framework.language=en
org.osgi.framework.os.name=Linux
org.osgi.framework.os.version=3.8.0
org.osgi.framework.processor=x86-64
org.osgi.framework.system.capabilities=osgi.ee; osgi.ee="OSGi/Minimum"; version:List<Version>="1.0, 1.1, 1.2",osgi.ee; osgi.ee="JavaSE"; version:List<Version>="1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6"
org.osgi.framework.system.packages=javax.accessibility,javax.activation,javax.activity,javax.annotation,javax.annotation.processing,javax.crypto,javax.crypto.interfaces,javax.crypto.spec,javax.imageio,javax.imageio.event,javax.imageio.metadata,javax.imageio.plugins.bmp,javax.imageio.plugins.jpeg,javax.imageio.spi,javax.imageio.stream,javax.jws,javax.jws.soap,javax.lang.model,javax.lang.model.element,javax.lang.model.type,javax.lang.model.util,javax.management,javax.management.loading,javax.management.modelmbean,javax.management.monitor,javax.management.openmbean,javax.management.relation,javax.management.remote,javax.management.remote.rmi,javax.management.timer,javax.naming,javax.naming.directory,javax.naming.event,javax.naming.ldap,javax.naming.spi,javax.net,javax.net.ssl,javax.print,javax.print.attribute,javax.print.attribute.standard,javax.print.event,javax.rmi,javax.rmi.CORBA,javax.rmi.ssl,javax.script,javax.security.auth,javax.security.auth.callback,javax.security.auth.kerberos,javax.security.auth.login,javax.security.auth.spi,javax.security.auth.x500,javax.security.cert,javax.security.sasl,javax.sound.midi,javax.sound.midi.spi,javax.sound.sampled,javax.sound.sampled.spi,javax.sql,javax.sql.rowset,javax.sql.rowset.serial,javax.sql.rowset.spi,javax.swing,javax.swing.border,javax.swing.colorchooser,javax.swing.event,javax.swing.filechooser,javax.swing.plaf,javax.swing.plaf.basic,javax.swing.plaf.metal,javax.swing.plaf.multi,javax.swing.plaf.synth,javax.swing.table,javax.swing.text,javax.swing.text.html,javax.swing.text.html.parser,javax.swing.text.rtf,javax.swing.tree,javax.swing.undo,javax.tools,javax.transaction,javax.transaction.xa,javax.xml,javax.xml.bind,javax.xml.bind.annotation,javax.xml.bind.annotation.adapters,javax.xml.bind.attachment,javax.xml.bind.helpers,javax.xml.bind.util,javax.xml.crypto,javax.xml.crypto.dom,javax.xml.crypto.dsig,javax.xml.crypto.dsig.dom,javax.xml.crypto.dsig.keyinfo,javax.xml.crypto.dsig.spec,javax.xml.datatype,javax.xml.namespace,javax.xml.parsers,javax.xml.soap,javax.xml.stream,javax.xml.stream.events,javax.xml.stream.util,javax.xml.transform,javax.xml.transform.dom,javax.xml.transform.sax,javax.xml.transform.stax,javax.xml.transform.stream,javax.xml.validation,javax.xml.ws,javax.xml.ws.handler,javax.xml.ws.handler.soap,javax.xml.ws.http,javax.xml.ws.soap,javax.xml.ws.spi,javax.xml.ws.wsaddressing,javax.xml.xpath,org.ietf.jgss,org.omg.CORBA,org.omg.CORBA_2_3,org.omg.CORBA_2_3.portable,org.omg.CORBA.DynAnyPackage,org.omg.CORBA.ORBPackage,org.omg.CORBA.portable,org.omg.CORBA.TypeCodePackage,org.omg.CosNaming,org.omg.CosNaming.NamingContextExtPackage,org.omg.CosNaming.NamingContextPackage,org.omg.Dynamic,org.omg.DynamicAny,org.omg.DynamicAny.DynAnyFactoryPackage,org.omg.DynamicAny.DynAnyPackage,org.omg.IOP,org.omg.IOP.CodecFactoryPackage,org.omg.IOP.CodecPackage,org.omg.Messaging,org.omg.PortableInterceptor,org.omg.PortableInterceptor.ORBInitInfoPackage,org.omg.PortableServer,org.omg.PortableServer.CurrentPackage,org.omg.PortableServer.POAManagerPackage,org.omg.PortableServer.POAPackage,org.omg.PortableServer.portable,org.omg.PortableServer.ServantLocatorPackage,org.omg.SendingContext,org.omg.stub.java.rmi,org.w3c.dom,org.w3c.dom.bootstrap,org.w3c.dom.css,org.w3c.dom.events,org.w3c.dom.html,org.w3c.dom.ls,org.w3c.dom.ranges,org.w3c.dom.stylesheets,org.w3c.dom.traversal,org.w3c.dom.views,org.w3c.dom.xpath,org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers
org.osgi.framework.uuid=901615cd-f3f3-0012-11b6-a3bca4d97ac1
org.osgi.framework.vendor=Eclipse
org.osgi.framework.version=1.6.0
org.osgi.supports.framework.extension=true
org.osgi.supports.framework.fragment=true
org.osgi.supports.framework.requirebundle=true
os.arch=amd64
os.name=Linux
os.version=3.8.0-26-generic
osb.home={home}/Oracle/Middleware/Oracle_OSB1
osgi.arch=x86_64
osgi.bundlefile.limit=750
osgi.bundles=reference:file:javax.transaction_1.1.1.v201105210645.jar,reference:file:org.eclipse.equinox.simpleconfigurator_1.0.200.v20110502-1955.jar@1:start
osgi.bundles.defaultStartLevel=4
osgi.bundlestore={home}/Development/oepe-indigo/configuration/org.eclipse.osgi/bundles
osgi.configuration.area=file:{home}/Development/oepe-indigo/configuration/
osgi.framework=file:{home}/Development/oepe-indigo/plugins/org.eclipse.osgi_3.7.1.R37x_v20110808-1106.jar
osgi.framework.extensions=reference:file:javax.transaction_1.1.1.v201105210645.jar
osgi.framework.shape=jar
osgi.framework.version=3.7.1.R37x_v20110808-1106
osgi.frameworkClassPath=., file:{home}/Development/oepe-indigo/plugins/javax.transaction_1.1.1.v201105210645.jar
osgi.install.area=file:{home}/Development/oepe-indigo/
osgi.instance.area=file:{home}/workspace/pragma/
osgi.instance.area.default=file:{home}/workspace/
osgi.logfile={home}/workspace/pragma/.metadata/.log
osgi.manifest.cache={home}/Development/oepe-indigo/configuration/org.eclipse.osgi/manifests
osgi.nl=en_US
osgi.nl.user=en_US
osgi.os=linux
osgi.splashLocation={home}/Development/oepe-indigo/plugins/org.eclipse.platform_3.7.1.v201109091335/splash.bmp
osgi.splashPath=platform:/base/plugins/org.eclipse.platform
osgi.syspath={home}/Development/oepe-indigo/plugins
osgi.tracefile={home}/workspace/pragma/.metadata/trace.log
osgi.ws=gtk
path.separator=:
securerandom.source=file:/dev/./urandom
socksNonProxyHost=localhost
sun.arch.data.model=64
sun.boot.class.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/resources.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/rt.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/sunrsasign.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/jsse.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/jce.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/charsets.jar:/usr/lib/jvm/jdk1.6.0_45/jre/lib/modules/jdk.boot.jar:/usr/lib/jvm/jdk1.6.0_45/jre/classes
sun.boot.library.path=/usr/lib/jvm/jdk1.6.0_45/jre/lib/amd64
sun.cpu.endian=little
sun.cpu.isalist=
sun.desktop=gnome
sun.io.unicode.encoding=UnicodeLittle
sun.java.command={home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar -os linux -ws gtk -arch x86_64 -showsplash -launcher {home}/Development/oepe-indigo/eclipse -name Eclipse --launcher.library {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.100.v20110505/eclipse_1407.so -startup {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar --launcher.overrideVmargs -exitdata 1e418010 -vm /usr/bin/java -vmargs -Xms256m -Xmx768m -XX:MaxPermSize=512m -Dsun.lang.ClassLoader.allowArraySyntax=true -Dweblogic.home={home}/Oracle/Middleware/wlserver_10.3 -Dharvester.home={home}/Oracle/Middleware/Oracle_OSB1/harvester -Dosb.home={home}/Oracle/Middleware/Oracle_OSB1 -Dosgi.bundlefile.limit=750 -Dosgi.nl=en_US -Dmiddleware.home={home}/Oracle/Middleware -jar {home}/Development/oepe-indigo//plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
sun.java.launcher=SUN_STANDARD
sun.jnu.encoding=UTF-8
sun.lang.ClassLoader.allowArraySyntax=true
sun.management.compiler=HotSpot 64-Bit Tiered Compilers
sun.os.patch.level=unknown
svnkit.http.methods=Basic
svnkit.library.gnome-keyring.enabled=false
user.country=AR
user.dir={home}/Development/oepe-indigo
user.home={home}
user.language=es
user.name={username}
user.timezone=America/Argentina/Buenos_Aires
weblogic.home={home}/Oracle/Middleware/wlserver_10.3
Thanks!!run this one in command prompt and then convert the applet using converter tool
JC_HOME = C:\java_card_kit-2_2_2\bin\
set CLASSES=%JCHOME%\lib\apduio.jar;%JC_HOME%\lib\apdutool.jar;%JC_HOME%\lib\jcwde.jar;%JC_HOME%\lib\converter.jar;%JC_HOME%\lib\scriptgen.jar;%JC_HOME%\lib\offcardverifier.jar;%JC_HOME%\lib\api.jar;%JC_HOME%\lib\installer.jar;%JC_HOME%\lib\capdump.jar;
D:\NareshPalle\jcardRE\Smart\src>java -classpath %_CLASSES% com.sun.javacard.con
verter.Converter -out EXP JCA CAP -exportpath .\exp -applet 0x0a:0x00:0x00:0x00:0x0e:0x01:0x02:
0x03:0x04:0x05:0x06 PackageName appletName 0x01:0x02:0x03:0x04:0x05:0x0
6:0x07:0x08 1.0
or
go to following directory and run the converter tool in command prompt
step 1: cd C:\java_card_kit-2_2_2\bin\
then run this command under the above directory
step 2:converter -classdir E:\Pathof Your applet class file -out EXP JCA CAP -exportpath E:\path of exp files folder -applet AID PackageName AppletName PackAID major.minor no
For more doubts mail me....
*[removed by moderator]*
Thanks and Regards
NareshPalle
Edited by: EJP on 31/03/2012 20:09: removed your email address. Unless you like spam and unless you think these forums are provided for your personal benefit only, posting an email address here serves no useful purpose whatsoever. -
NullPointerException at com.sun.t2k.T2KFontFactory.resolveFontFil
Hellow everyone
I face an exception when I start FXML-LoginDemo.jar
the following
My OS is Microsoft Windows XP [Version 5.1.2600] SP3 Japanese edition
C:\D\JavaFX\JavaFX 2.1.0 SDK\javafx-samples-2.1.0-beta>java -version
java version "1.7.0_04-ea"
Java(TM) SE Runtime Environment (build 1.7.0_04-ea-b06)
Java HotSpot(TM) Client VM (build 23.0-b06, mixed mode)
C:\D\JavaFX\JavaFX 2.1.0 SDK\javafx-samples-2.1.0-beta>java -jar FXML-LoginDemo.jar
java.lang.NullPointerException
at com.sun.t2k.T2KFontFactory.resolveFontFiles(T2KFontFactory.java:828)
at com.sun.t2k.T2KFontFactory.resolveWindowsFonts(T2KFontFactory.java:786)
at com.sun.t2k.T2KFontFactory.getFullNameToFileMap(T2KFontFactory.java:1351)
at com.sun.t2k.T2KFontFactory.getFontResource(T2KFontFactory.java:212)
at com.sun.t2k.LogicalFont.getSlot0Resource(LogicalFont.java:174)
at com.sun.t2k.LogicalFont.getDefaultAAMode(LogicalFont.java:300)
at com.sun.t2k.LogicalFont.getStrike(LogicalFont.java:304)
at com.sun.t2k.T2KFont.getStrike(T2KFont.java:70)
at com.sun.javafx.font.PrismFontUtils.getFontMetrics(PrismFontUtils.java:14)
at com.sun.javafx.font.PrismFontLoader.getFontMetrics(PrismFontLoader.java:434)
at javafx.scene.text.Text.<init>(Text.java:105)
at com.sun.javafx.scene.control.skin.TextFieldSkin.<init>(TextFieldSkin.java:92)
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)
at javafx.scene.control.Control.loadSkinClass(Control.java:921)
at javafx.scene.control.Control.impl_cssSet(Control.java:999)
at javafx.scene.Node.impl_cssSet(Node.java:6493)
at com.sun.javafx.css.StyleHelper.transitionToState(StyleHelper.java:755)
at javafx.scene.Node.impl_processCSS(Node.java:6345)
at javafx.scene.Parent.impl_processCSS(Parent.java:975)
at javafx.scene.control.Control.impl_processCSS(Control.java:1026)
at javafx.scene.Parent.impl_processCSS(Parent.java:982)
at javafx.scene.Parent.impl_processCSS(Parent.java:982)
at javafx.scene.Node.processCSS(Node.java:6313)
at javafx.scene.Scene.doCSSPass(Scene.java:404)
at javafx.scene.Scene.preferredSize(Scene.java:1208)
at javafx.scene.Scene.impl_preferredSize(Scene.java:1258)
at javafx.stage.Window.adjustSize(Window.java:139)
at javafx.stage.Window.access$800(Window.java:50)
at javafx.stage.Window$13.invalidated(Window.java:692)
at javafx.beans.property.BooleanPropertyBase.markInvalid(BooleanPropertyBase.java:88)
at javafx.beans.property.BooleanPropertyBase.set(BooleanPropertyBase.java:122)
at javafx.stage.Window.setShowing(Window.java:744)
at javafx.stage.Window.show(Window.java:759)
at javafx.stage.Stage.show(Stage.java:129)
at demo.App.start(App.java:73)
at com.sun.javafx.application.LauncherImpl$5.run(LauncherImpl.java:299)
at com.sun.javafx.application.PlatformImpl$4.run(PlatformImpl.java:153)
at com.sun.javafx.application.PlatformImpl$3.run(PlatformImpl.java:120)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:29)
at com.sun.glass.ui.win.WinApplication$2$1.run(WinApplication.java:62)
at java.lang.Thread.run(Thread.java:722)Hi guys,
I'm pretty sure I found the problem.
If there is a wrong url for a link in your JSF page it will throw this error in the log.
in my case i was referring a javascript file in the page which doesn't exist at the path.
So check all of your links on the page to make sure they are right. that should fix the problem.
atleast it did in my case.
Thanks
Praveen
Message was edited by:
bpraveen -
NullPointerException at com.sun.scenario.effect
Hi to all
I meet this exception in my app. At the screen it seems like lost links to my graphics(no rendering some nodes)
Are there some one to meet that exception too?
java.lang.NullPointerException
at com.sun.scenario.effect.impl.prism.ps.PPSDrawable.create(Unknown Sour
ce)
at com.sun.scenario.effect.impl.prism.ps.PPSRenderer.createCompatibleIma
ge(Unknown Source)
at com.sun.scenario.effect.impl.prism.ps.PPSRenderer.createCompatibleIma
ge(Unknown Source)
at com.sun.scenario.effect.impl.ImagePool.checkOut(Unknown Source)
at com.sun.scenario.effect.impl.Renderer.getCompatibleImage(Unknown Sour
ce)
at com.sun.scenario.effect.impl.prism.ps.PPSRenderer.getCompatibleImage(
Unknown Source)
at com.sun.scenario.effect.impl.prism.ps.PPSRenderer.getCompatibleImage(
Unknown Source)
at com.sun.scenario.effect.Effect.getCompatibleImage(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.renderOpacity(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.BaseNode.render(Unknown Source)
at com.sun.javafx.sg.prism.NGGroup.renderContent(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.BaseNode.render(Unknown Source)
at com.sun.javafx.sg.prism.NGGroup.renderContent(Unknown Source)
at com.sun.javafx.sg.prism.NGRegion.renderContent(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.BaseNode.render(Unknown Source)
at com.sun.javafx.sg.prism.NGGroup.renderContent(Unknown Source)
at com.sun.javafx.sg.prism.NGRegion.renderContent(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.prism.NGNode.doRender(Unknown Source)
at com.sun.javafx.sg.BaseNode.render(Unknown Source)
at com.sun.javafx.tk.quantum.ViewPainter.doPaint(Unknown Source)
at com.sun.javafx.tk.quantum.AbstractPainter.paintImpl(Unknown Source)
at com.sun.javafx.tk.quantum.PresentingPainter.run(Unknown Source)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRunAndReset(Unknown Source)
at java.util.concurrent.FutureTask.runAndReset(Unknown Source)
at com.sun.prism.render.RenderJob.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at com.sun.javafx.tk.quantum.QuantumRenderer$PipelineRunnable.run(Unknow
n Source)
at java.lang.Thread.run(Unknown Source)I think there are bugs in the underlying texture handling that are scheduled to be fixed for JavaFX 3.0 which might cause this issue. If that is in fact your issue, I'm not sure what the correct workaround is (perhaps forcing a software pipeline - which I don't know how to do - or simplifying your graphics processing).
I think the jira issue to track this is:
http://javafx-jira.kenai.com/browse/RT-15516
"image data associated with cached nodes that are removed from a scene are not aggressively released"
Essentially I think the issue is that texture memory on the video card is used up because the unused cached nodes are not aggressively garbage collected.
I'd advise trying to create a simple test case to reproduce it (I know that might be difficult...) and post your test case (or your app if you can't create one) with reproduction instructions to http://javafx-jira.kenai.com. Although maybe even just posting the stack trace to jira will be enough for the developers to verify that the issue is a duplicate of RT-15516.
I created a couple of seemingly unrelated jiras which ended up being classed as duplicates of the above jira.
In both cases I was animating large graphics at high speeds. -
I just download and try WTK2.5 today, I changed the file ktoos.properties to use Retroguard as the document said, the toolkit shown the following error message while building the app!
The obfuscation class file can not be loaded.
com.sun.kvem.ktools.RunRetro
Warning: java.lang.ClassNotFoundException: com.sun.kvem.ktools.RunRetro
Obfuscation failed.
then, I checked that ..\wtklib\ktools.zip does not contain the class com.sun.kvem.ktools.RunRetro, it just contains the class com.sun.kvem.ktools.RunPro for Proguard!
is that a bug? or anything i am missing?I just download and try WTK2.5 today, I changed the file ktoos.properties to use Retroguard as the document said, the toolkit shown the following error message while building the app!
The obfuscation class file can not be loaded.
com.sun.kvem.ktools.RunRetro
Warning: java.lang.ClassNotFoundException: com.sun.kvem.ktools.RunRetro
Obfuscation failed.
then, I checked that ..\wtklib\ktools.zip does not contain the class com.sun.kvem.ktools.RunRetro, it just contains the class com.sun.kvem.ktools.RunPro for Proguard!
is that a bug? or anything i am missing? -
Supplemental/vda-migrate fails: missing com/sun/vda/service/TextCipher
Hi,
just tried vda-migrate to upgrade my test installation (single host) from vda_3.0 to the new 3.1 version.
This fails as seen below (added -verbose:class to the line calling java in vda-migrate:doExport).
Any idea where class 'com/sun/vda/service/TextCipher' could be found (at least it's not defined in
any .jar-file in vda_3.{0,1}/Solaris_10+/i386/Packages/SUNWvda*...)
Kurt
[Loaded java.security.cert.Certificate from /usr/jdk/instances/jdk1.6.0/jre/lib/rt.jar]
[Loaded com.sun.vda.migrate.VdaMigrateExport from file:/var/home/ks/vda_3.1_image/.install/vdamigrate.jar]
[Loaded java.io.FileNotFoundException from /usr/jdk/instances/jdk1.6.0/jre/lib/rt.jar]
[Loaded java.util.Queue from /usr/jdk/instances/jdk1.6.0/jre/lib/rt.jar]
[Loaded java.util.Deque from /usr/jdk/instances/jdk1.6.0/jre/lib/rt.jar]
[Loaded java.util.AbstractSequentialList from /usr/jdk/instances/jdk1.6.0/jre/lib/rt.jar]
[Loaded java.util.LinkedList from /usr/jdk/instances/jdk1.6.0/jre/lib/rt.jar]
[Loaded java.util.LinkedList$Entry from /usr/jdk/instances/jdk1.6.0/jre/lib/rt.jar]
Exception in thread "main" java.lang.NoClassDefFoundError: com/sun/vda/service/TextCipher
Caused by: java.lang.ClassNotFoundException: com.sun.vda.service.TextCipher
at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
[Loaded java.lang.Shutdown from /usr/jdk/instances/jdk1.6.0/jre/lib/rt.jar]
[Loaded java.lang.Shutdown$Lock from /usr/jdk/instances/jdk1.6.0/jre/lib/rt.jar]
Could not find the main class: com.sun.vda.migrate.VdaMigrateExport. Program will exit.
Data exported to directory '/tmp/asdf'
After installing and configuring Sun VDI 3.1 execute '/opt/SUNWvda/sbin/vda-migrate -i /tmp/asdf'
A log file is available at '/var/adm/log/vda-migrate.2009_09_15_21:47:25.log'.Hi,
The VDI upgrade from 3.0 to 3.1 is not supported in 3.1 Early Access version.
vda-migrate 3.0-->3.1 will be available only in the 3.1 final release.
Thanks,
--Chirag -
Deployment problem on WLS8.1sp3: com.sun.javac.Main not found
Hi,
I have a curious problem, after adding some simple (logging) code to an Session Bean, the EAR file will not deploy. I get the message below concerning compilation problems. If however I restore the Session Bean to the previous state, and having build a new EAR file, the erro persists. What is this strange behaviour, has this to do with weblogic settings for the EAR file of whatever ?
NB I also have tried to include the tool.lib jar in the projekt but that doesn't solve the problem.
Any help would be appreciated,
Harry van Rijn
Exception:weblogic.management.ApplicationException: prepare failed for UasEJB.jar Module: UasEJB.jar Error: Exception preparing module: EJBModule(UasEJB.jar,status=NEW) Unable to deploy EJB: UasEJB.jar from UasEJB.jar: Compiler class: 'com.sun.tools.javac.Main', not found at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:274) at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476) at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:407) at weblogic.ejb20.deployer.EJBDeployer.runEJBC(EJBDeployer.java:493) at weblogic.ejb20.deployer.EJBDeployer.compileJar(EJBDeployer.java:762) at weblogic.ejb20.deployer.EJBDeployer.compileIfNecessary(EJBDeployer.java:700) at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1317) at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:498) at weblogic.j2ee.J2EEApplicationContainer.prepareModulehi,
i am migrating my application from wls7.0sp2 to wls8.1 sp3. i am using weblogic.ejbc to make my ear in my ant build script.
My Classpath settings are > C:\bea8.1\weblogic81\server\lib\weblogic.jar;C:\j2sdk1.4.2_08\lib\tools.jar;
My Path Settings are > C:\j2sdk1.4.2_08\bin;C:\j2sdk1.4.2_08\jre\bin;
i am getting the error message>>
[java] Compiler class: 'com.sun.tools.javac.Main', not found
[java] java.lang.ClassNotFoundException: com.sun.tools.javac.Main
[java] at java.net.URLClassLoader$1.run(URLClassLoader.java:199)
[java] at java.security.AccessController.doPrivileged(Native Method)
[java] at java.net.URLClassLoader.findClass(URLClassLoader.java:187)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
[java] at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:274)
[java] at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
[java] at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:302)
[java] at java.lang.Class.forName0(Native Method)
[java] at java.lang.Class.forName(Class.java:141)
[java] at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:406)
[java] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:328)
[java] at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:336)
[java] at weblogic.ejb20.ejbc.EJBCompiler.doCompile(EJBCompiler.java:270)
[java] at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:476)
[java] at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:397)
[java] at weblogic.ejbc20.runBody(ejbc20.java:517)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:146)
[java] at weblogic.utils.compiler.Tool.run(Tool.java:103)
[java] at weblogic.ejbc.main(ejbc.java:29)
[java] ERROR: Error from ejbc: Compiler class: 'com.sun.tools.javac.Main', not found
[java] ERROR: ejbc couldn't invoke compiler -
Hi,
My Tomcat (5.5.17) in NetBeans5.5 says
WARNING: Could not load ViewHandler com.sun.facelets.FaceletViewHandler
java.lang.ClassNotFoundException: com.sun.facelets.FaceletViewHandler
at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1352)
How can I fix this warning?
please help.
thnx in advance.It sounds like your application isn't including the jsf-facelets.jar.
-
JNDI: Can't find Class com.sun.jndi.nis.NISCtxFactory
Hi
I searched this forum for similar problems .. and I also found some, but this questions were either not be answered or not detailed enough.
Now to my question. I've got a Java File that I imported to Oracle (I use it from PL/SQL). This Java File contains following code.
static Properties = System.getProperties();
env.put(Context.INITIAL_CONTEXT_FACTORY,"com.sun.jndi.nis.NISCtxFactory");
env.put(Context.PROVIDER_URL, "nis://disney/geo.unizh.ch");
Context ctx = new InitialContext(env);
And if I run it from oracle(PL/SQL) I get the error below.
javax.naming.NoInitialContextException: Cannot instantiate class: com.sun.jndi.nis.NISCtxFactory. Root exception is java.lang.ClassNotFoundException: com/sun/jndi/nis/NISCtxFactory
at java.lang.Class.forName0(Class.java)
at java.lang.Class.forName(Class.java)
at com.sun.naming.internal.VersionHelper12.loadClass(VersionHelper12.java)
at javax.naming.spi.NamingManager.getInitialContext(NamingManager.java)
at javax.naming.InitialContext.getDefaultInitCtx(InitialContext.java)
at javax.naming.InitialContext.init(InitialContext.java)
at javax.naming.InitialContext.<init>(InitialContext.java)
at GIUZContext.getCtx(GIUZContext:42)
at CheckPwd.check(CheckPwd:18)
The nis.jar I imported with the loadjava, so actuallay should it be in the database. But why it cant find this class (NISCtxFactory)!
I get no error if I use this code ->
NISCtxFactory test = new NISCtxFactory();
System.out.println(test);
It would be very nice if you could give me some clues. TNX!!
Oracle Version 8.1.7.
CyrillHi Cyrill,
I don't know what other postings you have read, and I also don't
know why they were insufficient for you, so excuse me if I repeat
things you already know.
As far as I know, the error message you are getting is most probably
due to one of the following three causes:
1. The class is not loaded into the database.
2. The class is loaded but is not "valid".
3. You don't have permission to access the class.
To the best of my memory, there have been several posts to either
this forum or the "Products > Database > JVM" forum
http://forums.oracle.com/forums/forum.jsp?id=424322
that (in my opinion) sufficiently explain how to resolve the problem
for each of the three causes listed above.
Personally, I believe that the Oracle documentation sufficiently
explains how to resolve the above three issues, and I have posted
the URLs for the relevant Oracle documentation several times already.
I am guessing that you are trying to "talk" to an EJB (probably deployed
in SUN's application server) from a java stored procedure in the Oracle
database. If that is the case, then that question has been discussed
many times in this forum. Perhaps you can say why those discussions
were not sufficiently helpful for you.
Hope this helps.
Good Luck,
Avi. -
How to deploy the com.sun.ejb.containers.TimerBean
i have change the datasource of timebean to oracle ,and create the table in the oracle ,but in my log have such error ,how to solve it ?
[#|2005-09-29T23:05:39.328+0800|SEVERE|sun-appserver-pe8.1_02|javax.enterprise.system.core.classloading|_ThreadID=10;|LDR5004������ EJB ������������������
java.lang.ClassNotFoundException: com.sun.ejb.containers.TimerBean_2100919770_ConcreteImpl
at com.sun.enterprise.loader.EJBClassLoader.findClass(EJBClassLoader.java:505)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at com.sun.ejb.containers.BaseContainer.<init>(BaseContainer.java:267)
at com.sun.ejb.containers.EntityContainer.<init>(EntityContainer.java:219)
at com.sun.ejb.containers.TimerBeanContainer.<init>(TimerBeanContainer.java:39)
at com.sun.ejb.containers.ContainerFactoryImpl.createContainer(ContainerFactoryImpl.java:234)
at com.sun.enterprise.server.AbstractLoader.loadEjbs(AbstractLoader.java:477)
at com.sun.enterprise.server.ApplicationLoader.load(ApplicationLoader.java:125)
at com.sun.enterprise.server.TomcatApplicationLoader.load(TomcatApplicationLoader.java:95)
at com.sun.enterprise.server.AbstractManager.loadSystem(AbstractManager.java:277)
at com.sun.enterprise.server.SystemAppLifecycle.loadSystemApps(SystemAppLifecycle.java:134)
at com.sun.enterprise.server.SystemAppLifecycle.onStartup(SystemAppLifecycle.java:75)
at com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:300)
at com.sun.enterprise.server.PEMain.run(PEMain.java:294)
at com.sun.enterprise.server.PEMain.main(PEMain.java:220)Hi robote,
The very first time the appserver is started after installation , there are some internal classes that are generated for the timer bean during server startup. It looks like for some reason that did not happen and when the ejb container's timer bean tried to load it couldn't. Can you check the server.log to see if there are any codegen/timer-related errors during the first startup of the appserver?
--ken
Maybe you are looking for
-
Printing to a printer connected to a Windows computer on a wireless network
In my home I have a DSL internet connection, a Linksys router, one wired Windows computer to the router, and one wireless Mac and one wireless PC. In this configuration, the printer is connected to the wired Windows PC. How can I print directly from
-
Error when Creating a delivery for an STO DEL
I have a client that at first was getting an error about shipping point can not be determined. I extended the sales view, and also created the Sales Org and division. When I created the delivery it worked. Then when the client tested this, it did n
-
HP Envy 5530-won't print in color in iPhoto
I'm not sure if anybody is having this same problem but iPhoto 9.5.1 won't let me print in color on my new HP Envy 5530. It's brand new and I have color ink in it, but I'm only shown and option to print in black and white. Has anybody run into this p
-
Problem installing Oracle9i Database
When i installed the software, it got through to almost 50%, but then the installer screen suddenly disappeared off the screen and my pc shut-down and restart automatically. I don't know what was the problem because there wasn't even an error message
-
ID required for credit card purchase in store
I visited Best Buy store number 1421 on Saturday, March 1, 2014 at approximately 3:30 PM. I selected my desired item and went to the checkout area. I gave him my phone number to look up my rewards information and verified the info. I then presented a