• RELEVANCY SCORE 4.21

    DB:4.21:Exception From "Unknown Source" Using Swing Component, Any Debug Tip ? p7




    Hello,

    My application is based on swing, it contains a simple edit field, a javax.swing.JTextField.
    Sometimes, I get an exception while selecting the text in it:

    Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 9
    at sun.font.FontDesignMetrics.charsWidth(Unknown Source)
    at javax.swing.text.Utilities.getTabbedTextOffset(Unknown Source)
    at javax.swing.text.Utilities.getTabbedTextOffset(Unknown Source)
    at javax.swing.text.Utilities.getTabbedTextOffset(Unknown Source)
    at javax.swing.text.PlainView.viewToModel(Unknown Source)
    at javax.swing.text.FieldView.viewToModel(Unknown Source)
    at javax.swing.plaf.basic.BasicTextUI$RootView.viewToModel(Unknown Source)
    at javax.swing.plaf.basic.BasicTextUI.viewToModel(Unknown Source)
    at javax.swing.text.DefaultCaret.moveCaret(Unknown Source)
    at javax.swing.text.DefaultCaret.mouseDragged(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseDragged(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseDragged(Unknown Source)
    at java.awt.Component.processMouseMotionEvent(Unknown Source)
    at javax.swing.JComponent.processMouseMotionEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

    I noticed it happens only when there is a space in the text, for example "123456"-- no problem, "123 456"-- exception.

    As you can see, the exception is not directly a result of my code, so I am wandering how to debug this (I am not saying this is a bug of swing, it is likely to be a bug in my code, but how to find out ?)

    my code has very few interaction with this control. in init stage I use getDocument().addDocumentListener, and in the document listener, I just use getText()
    Is there any precaution to take with getText() ??
    In the init stage, I also set a custom FocusTraversalPolicy (first time I play with that), could it be related to the exception ?

    A detail on my app: it use the Swing Application Framework library and is built using NetBeans

    DB:4.21:Exception From "Unknown Source" Using Swing Component, Any Debug Tip ? p7

    It happens at startup, but only if I performed some action during the previous session: a click on a tab

    In my app when such click happen I move some components from the current tab to the one to display.
    If when I exit the tab displayed is not the original one, then I get the message at next startup.

    I made a quick fix: add an exit listener which restore the original tab. Is that ok or something is seriously wrong here ?

  • RELEVANCY SCORE 4.21

    DB:4.21:"Awt-Eventqueue-0" Java.Lang.Arrayindexoutofboundsexception 8j




    Hello There,
    I am developing my own application usinf swing(using components like JTable,JTree,...)
    I am getting following exception but i cant find from where i am getting this exception.
    If u can please help me to find the place from where exception is coming...

    java.lang.ArrayIndexOutOfBoundsException: -1
    at jclass.table3.Chain.getPosition(Chain.java:164)
    at jclass.table3.Table.frozenColumnWidth(Table.java:4820)
    at jclass.table3.Layout.doLayout(Layout.java:151)
    at jclass.table3.Table.layout(Table.java:1618)
    at java.awt.Container.doLayout(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validate(Unknown Source)
    at javax.swing.RepaintManager.validateInvalidComponents(Unknown Source)
    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)Thanks in Advance!!!!

    DB:4.21:"Awt-Eventqueue-0" Java.Lang.Arrayindexoutofboundsexception 8j

    but can u give me some idea,what r the possibilities it will come in the codeAh, but you see, you didn't share any code :-\

    db

  • RELEVANCY SCORE 4.06

    DB:4.06:Problem In Running Applet And Swing ks




    I have problem when i run applet or swing in win98 using jdk 1.3 or jdk1.4.
    The error is:
    Exception in thread "main" java.lang.UnsatisfiedLinkError: C:\Program Files\Java
    Soft\JRE\1.4\bin\awt.dll: An attempt was made to load a program with an
    incorrect format
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(Unknown Source)
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at sun.security.action.LoadLibraryAction.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
    at sun.awt.DebugHelper.clinit(Unknown Source)
    at java.awt.Component.clinit(Unknown Source)
    at SwingGUI.go(swingGUI.java:34)
    at SwingGUI.main(swingGUI.java:63)

    I find somebody said that if replace the version of Imm32.dll from 950 to 980, it would be fixed.
    Is that real and why? May somebody tell me please.

    DB:4.06:Problem In Running Applet And Swing ks

    can you tell how you run an applet?? Do you embed the applet class in a html.page and use an appletviewer to call it? if you can post your codes we might be able to look at it clearly.

  • RELEVANCY SCORE 4.03

    DB:4.03:Java.Lang.Outofmemoryerror: Java Heap Space 8z


    Hello,

    I am developing a Swing app that uses lots of images (500 + ) which are around 10kb each

    There are 10 plus frames. When I navigate from frame to frame the images are reloaded from disk.

    After a few hours I get the following errors:

    Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space

    at java.awt.image.DataBufferInt.init(Unknown Source)

    at java.awt.image.Raster.createPackedRaster(Unknown Source)

    at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown Source)

    at sun.awt.image.SunVolatileImage.getBackupImage(Unknown Source)

    at sun.awt.image.VolatileSurfaceManager.getBackupSurface(Unknown Source)

    at sun.awt.image.VolatileSurfaceManager.initialize(Unknown Source)

    at sun.awt.image.SunVolatileImage.init(Unknown Source)

    at sun.awt.image.SunVolatileImage.init(Unknown Source)

    at sun.awt.image.SunVolatileImage.init(Unknown Source)

    at sun.awt.image.SunVolatileImage.init(Unknown Source)

    at sun.awt.windows.WComponentPeer.createVolatileImage(Unknown Source)

    at java.awt.Component.createVolatileImage(Unknown Source)

    at java.awt.Component$BltBufferStrategy.createBackBuffers(Unknown Source)

    at java.awt.Component$BltBufferStrategy.init(Unknown Source)

    at java.awt.Component$BltSubRegionBufferStrategy.init(Unknown Source)

    at java.awt.Component.createBufferStrategy(Unknown Source)

    at java.awt.Window.createBufferStrategy(Unknown Source)

    at javax.swing.BufferStrategyPaintManager$BufferInfo.createBufferStrategy(Unknown Source)

    at javax.swing.BufferStrategyPaintManager$BufferInfo.createBufferStrategy(Unknown Source)

    at javax.swing.BufferStrategyPaintManager$BufferInfo.getBufferStrategy(Unknown Source)

    at javax.swing.BufferStrategyPaintManager.prepare(Unknown Source)

    at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)

    at javax.swing.RepaintManager.paint(Unknown Source)

    at javax.swing.JComponent._paintImmediately(Unknown Source)

    at javax.swing.JComponent.paintImmediately(Unknown Source)

    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)

    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)

    at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)

    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)

    at java.awt.event.InvocationEvent.dispatch(Unknown Source)

    at java.awt.EventQueue.dispatchEvent(Unknown Source)

    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

    Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap spaceAny ideas?

    DB:4.03:Java.Lang.Outofmemoryerror: Java Heap Space 8z

    I used the Netbeans profiler on a simple JFrame test. I loaded the images about 4.5mb on disk into a jpanel.
    Around 20mb of the heap was consumed.
    I then looped around loading all the images again 3 times. The heap memory went to around 55-60mb!
    So that backups what was previously said.That proves that this operation requests memory, not that it holds it forever (though the original post suggests it does).
    See below for a method I use to track memory leaks.

    One thing I did notice is that when the frame was minimized and maximized the heap memory usage increased by a few mb, any ideas why this is the case?If the heap usage goes back to its original level asome times later, it's harmless: this is probably the memory used by the repainting system (lots of Graphics, buffers, Rectangles, Points,...), although I wouldn't expect that to require several Mb.
    If the memory usage remains does not go down:
    Do you have in your JFrame class (or merely in one of the custom component classes it contains) a custom paint method? Then check whether it does something that could cause memory to be allocated and retained (duplicate Images, some buffer that grows but never shrinks,...).

  • RELEVANCY SCORE 3.92

    DB:3.92:Ie Applet: Load: Class Jrecheck.Class Not Found. j7


    Applets are not working in IE. The console gives the following trace

    Java Plug-in 1.6.0_05
    Using JRE version 1.6.0_05 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\adf

    load: class jreCheck.class not found.
    java.lang.ClassNotFoundException: jreCheck.class
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Exception in thread "Thread-13" java.lang.NullPointerException
    at sun.plugin.util.AnimationPanel.createTranslucentImage(Unknown Source)
    at sun.plugin.util.AnimationPanel.createGradientShapeImage(Unknown Source)
    at sun.plugin.util.AnimationPanel.initBackground(Unknown Source)
    at sun.plugin.util.AnimationPanel.preloadResources(Unknown Source)
    at sun.plugin.util.AnimationPanel.doPaint(Unknown Source)
    at sun.plugin.util.AnimationPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    load: class jreCheck.class not found.
    java.lang.ClassNotFoundException: jreCheck.class
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

    I have tried uninstalling, reinstalling, restarting IE etc, tried removed the sun folder from application data, none of which has not helped.

    IE version 7.0.5730.11

    How can I fix this?

    Thanks

    DB:3.92:Ie Applet: Load: Class Jrecheck.Class Not Found. j7

    Applets are not working in IE. The console gives the following trace

    Java Plug-in 1.6.0_05
    Using JRE version 1.6.0_05 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\adf

    load: class jreCheck.class not found.
    java.lang.ClassNotFoundException: jreCheck.class
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Exception in thread "Thread-13" java.lang.NullPointerException
    at sun.plugin.util.AnimationPanel.createTranslucentImage(Unknown Source)
    at sun.plugin.util.AnimationPanel.createGradientShapeImage(Unknown Source)
    at sun.plugin.util.AnimationPanel.initBackground(Unknown Source)
    at sun.plugin.util.AnimationPanel.preloadResources(Unknown Source)
    at sun.plugin.util.AnimationPanel.doPaint(Unknown Source)
    at sun.plugin.util.AnimationPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    load: class jreCheck.class not found.
    java.lang.ClassNotFoundException: jreCheck.class
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

    I have tried uninstalling, reinstalling, restarting IE etc, tried removed the sun folder from application data, none of which has not helped.

    IE version 7.0.5730.11

    How can I fix this?

    Thanks

  • RELEVANCY SCORE 3.82

    DB:3.82:Helloswingapplet.Class Numerous Errors - No Jar Page Or Main Thread s1


    I compiled the HelloSwingApplet.java to HelloSwingApplet.class just fine.

    When I run the following test from java.sun.com, it works great,

    http://java.sun.com/docs/books/tutorial/uiswing/start/Hel
    loSwingApplet.html

    But when I try it on my page, it gives me all the
    errors here plus

    http://home.earthlink.net/~treasurevault/hellos.htm

    One error message mentioned that I did not have a jar on my page. I looked at the page on jars and it's a bit confusing.

    The message below appears to be saying that there is no mail class

    C:\_JA\uiswing\start\example-swing java swingapplication
    Exception in thread "main" java. lang.NoClassDefFoundError: swingapplication (wrong name: SwingApplication)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)

    Applet(s) in this HTML page requires a version of java different from
    the one the browser is currently using in order to run the applet(s) in
    this HTML page, a new browser session is required. press "Yes" to
    start a new browser session. [Yes] or [No]

    Java Plug-in Detected a JRE collision

    Exception: java.lang.ClassNotFoundException: HelloSwingApplet.class

    DB:3.82:Helloswingapplet.Class Numerous Errors - No Jar Page Or Main Thread s1

    Java is case-sensitive, you are trying to run "swingapplication" instead of "SwingApplication".

    Because you have declared that your applet on the web page is in a jar, you must package your class into a jar (with the appropriate directory structure to reflect the packages) and have this jar file in the correct place as specified by the "codebase" attribute in your web page's "applet" tag.

  • RELEVANCY SCORE 3.80

    DB:3.80:Unsatisfiedlink Error For Rxtxserial.Dll In Java.Library.Path dx


    Hi All,

    I am using third party dll's i.e. rxtx package and i see the mentioned message.

    java.lang.UnsatisfiedLinkError: no rxtxSerial in java.library.path thrown while
    loading gnu.io.RXTXCommDriver
    Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: no rxtxSe
    rial in java.library.path
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at gnu.io.CommPortIdentifier.clinit(CommPortIdentifier.java:83)
    at APISettings$OnDefaultApplySettings.actionPerformed(APISettings.java:4
    67)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
    ce)
    at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)I copied rxtxSerial.dll inside C:\Program Files\Java\jdk1.6.0_13\jre\bin and enabled the same inside the classpath.But i endup seeing this exception..

    What might be the problem...I know its from my improper placing of files or something but not able to track it..??

    Any help appreciated.

    Thanks in advance.

    regards,
    Viswanadh

    DB:3.80:Unsatisfiedlink Error For Rxtxserial.Dll In Java.Library.Path dx

    class path has nothing to do with it.

    Windows uses the env PATH variable to search for libraries. The dlls is not in that path so it doesn't find it.

  • RELEVANCY SCORE 3.79

    DB:3.79:Certificateexception During Webserver Ssl Certificate Verification xj


    When I try to launch a signed applet from a SSL site, before the jar files are downloaded, I get this exception. I am using JRE 1.5 update 03. What is going wrong? The certificate used on the webserver for ssl is generated using keytool with RSA 1024 bit legth.

    java.security.cert.CertificateException: sun.security.pkcs.ParsingException: X509.ObjectIdentifier() -- data isn't an object ID (tag = 48)
    at sun.security.provider.X509Factory.engineGenerateCertificates(Unknown Source)
    at java.security.cert.CertificateFactory.generateCertificates(Unknown Source)
    at com.sun.deploy.security.WIExplorerCertStore.generateCertificate(Unknown Source)
    at com.sun.deploy.security.WIExplorerCertStore.loadCertificates(Native Method)
    at com.sun.deploy.security.WIExplorerCertStore.load(Unknown Source)
    at com.sun.deploy.security.X509DeployTrustManager.checkServerTrusted(Unknown Source)
    at com.sun.net.ssl.internal.ssl.JsseX509TrustManager.checkServerTrusted(Unknown Source)
    at com.sun.net.ssl.internal.ssl.ClientHandshaker.serverCertificate(Unknown Source)
    at com.sun.net.ssl.internal.ssl.ClientHandshaker.processMessage(Unknown Source)
    at com.sun.net.ssl.internal.ssl.Handshaker.processLoop(Unknown Source)
    at com.sun.net.ssl.internal.ssl.Handshaker.process_record(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.performInitialHandshake(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.startHandshake(Unknown Source)
    at sun.net.www.protocol.https.HttpsClient.afterConnect(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
    at sun.plugin.PluginURLJarFileCallBack.retrieve(Unknown Source)
    at sun.net.www.protocol.jar.URLJarFile.retrieve(Unknown Source)
    at sun.net.www.protocol.jar.URLJarFile.getJarFile(Unknown Source)
    at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source)
    at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source)
    at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
    at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)
    at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
    at sun.misc.URLClassPath$JarLoader.init(Unknown Source)
    at sun.misc.URLClassPath$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.misc.URLClassPath.getLoader(Unknown Source)
    at sun.misc.URLClassPath.getLoader(Unknown Source)
    at sun.misc.URLClassPath.getResource(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: sun.security.pkcs.ParsingException: X509.ObjectIdentifier() -- data isn't an object ID (tag = 48)
    at sun.security.pkcs.PKCS7.parse(Unknown Source)
    at sun.security.pkcs.PKCS7.init(Unknown Source)
    at sun.security.provider.X509Factory.parseX509orPKCS7Cert(Unknown Source)
    ... 45 more
    Caused by: java.io.IOException: X509.ObjectIdentifier() -- data isn't an object ID (tag = 48)
    at sun.security.util.ObjectIdentifier.init(Unknown Source)
    at sun.security.util.DerInputStream.getOID(Unknown Source)
    at sun.security.pkcs.ContentInfo.init(Unknown Source)
    at sun.security.pkcs.PKCS7.parse(Unknown Source)
    ... 48 more

    DB:3.79:Certificateexception During Webserver Ssl Certificate Verification xj

    The thread is nine months old and that's not the same exception.

    Start your own thread. Locking this one.

  • RELEVANCY SCORE 3.79

    DB:3.79:Problem With Main And Javabeans, Using Visual Class In Eclipse ad


    Hello

    I use Visual Class to develop my aplication in eclipse. When I run as javabeans and in the configuration I choose Swing look and feel other than none everythings works fine, I leave it as none, gives me this mistakes:

    {color:#ff0000}Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 0
    at javax.swing.plaf.basic.BasicTabbedPaneUI.paintTabArea(Unknown Source)
    at javax.swing.plaf.basic.BasicTabbedPaneUI.paint(Unknown Source)
    at javax.swing.plaf.metal.MetalTabbedPaneUI.paint(Unknown Source)
    at javax.swing.plaf.metal.MetalTabbedPaneUI.update(Unknown Source)
    at javax.swing.JComponent.paintComponent(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JComponent.paintChildren(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JComponent.paintChildren(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JComponent.paintChildren(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JLayeredPane.paint(Unknown Source)
    at javax.swing.JComponent.paintChildren(Unknown Source)
    at javax.swing.JComponent.paintToOffscreen(Unknown Source)
    at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
    at javax.swing.RepaintManager.paint(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
    at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
    at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
    at java.awt.Container.paint(Unknown Source)
    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
    at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 0
    at javax.swing.plaf.basic.BasicTabbedPaneUI.paintTabArea(Unknown Source)
    at javax.swing.plaf.basic.BasicTabbedPaneUI.paint(Unknown Source)
    at javax.swing.plaf.metal.MetalTabbedPaneUI.paint(Unknown Source)
    at javax.swing.plaf.metal.MetalTabbedPaneUI.update(Unknown Source)
    at javax.swing.JComponent.paintComponent(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JComponent.paintChildren(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JComponent.paintChildren(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JComponent.paintChildren(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JLayeredPane.paint(Unknown Source)
    at javax.swing.JComponent.paintChildren(Unknown Source)
    at javax.swing.JComponent.paintToOffscreen(Unknown Source)
    at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
    at javax.swing.RepaintManager.paint(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
    at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
    at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
    at java.awt.Container.paint(Unknown Source)
    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
    at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

    {color:#000000}-------

    Well the point it's a need to create a main to create then a jar file, and when I run not javabeans, but through the main, I have the same mistake. The main is simple.

    {color}{color}public static void main(String[] args) {
    MyFrame application = new MyFrame(); // MyFrame extends JFrame
    application.setVisible(true);
    application.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }{color:#ff0000}{color:#000000}

    I resume : If I Run the class as Javabeans and in Run configuration in Javabeans tab, I choose other than nome (p.e. Metal), it works fine, I choose none, makes mistakes, and If I run with the main, errors too. I need Run with the main to create a jar.

    Thanks in advance

    David

    {color}{color}

    DB:3.79:Problem With Main And Javabeans, Using Visual Class In Eclipse ad

    Hello

    I use Visual Class to develop my aplication in eclipse. When I run as javabeans and in the configuration I choose Swing look and feel other than none everythings works fine, I leave it as none, gives me this mistakes:

    {color:#ff0000}Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 0
    at javax.swing.plaf.basic.BasicTabbedPaneUI.paintTabArea(Unknown Source)
    at javax.swing.plaf.basic.BasicTabbedPaneUI.paint(Unknown Source)
    at javax.swing.plaf.metal.MetalTabbedPaneUI.paint(Unknown Source)
    at javax.swing.plaf.metal.MetalTabbedPaneUI.update(Unknown Source)
    at javax.swing.JComponent.paintComponent(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JComponent.paintChildren(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JComponent.paintChildren(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JComponent.paintChildren(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JLayeredPane.paint(Unknown Source)
    at javax.swing.JComponent.paintChildren(Unknown Source)
    at javax.swing.JComponent.paintToOffscreen(Unknown Source)
    at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
    at javax.swing.RepaintManager.paint(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
    at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
    at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
    at java.awt.Container.paint(Unknown Source)
    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
    at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 0
    at javax.swing.plaf.basic.BasicTabbedPaneUI.paintTabArea(Unknown Source)
    at javax.swing.plaf.basic.BasicTabbedPaneUI.paint(Unknown Source)
    at javax.swing.plaf.metal.MetalTabbedPaneUI.paint(Unknown Source)
    at javax.swing.plaf.metal.MetalTabbedPaneUI.update(Unknown Source)
    at javax.swing.JComponent.paintComponent(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JComponent.paintChildren(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JComponent.paintChildren(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JComponent.paintChildren(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JLayeredPane.paint(Unknown Source)
    at javax.swing.JComponent.paintChildren(Unknown Source)
    at javax.swing.JComponent.paintToOffscreen(Unknown Source)
    at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
    at javax.swing.RepaintManager.paint(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
    at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
    at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
    at java.awt.Container.paint(Unknown Source)
    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
    at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

    {color:#000000}-------

    Well the point it's a need to create a main to create then a jar file, and when I run not javabeans, but through the main, I have the same mistake. The main is simple.

    {color}{color}public static void main(String[] args) {
    MyFrame application = new MyFrame(); // MyFrame extends JFrame
    application.setVisible(true);
    application.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    }{color:#ff0000}{color:#000000}

    I resume : If I Run the class as Javabeans and in Run configuration in Javabeans tab, I choose other than nome (p.e. Metal), it works fine, I choose none, makes mistakes, and If I run with the main, errors too. I need Run with the main to create a jar.

    Thanks in advance

    David

    {color}{color}

  • RELEVANCY SCORE 3.77

    DB:3.77:Data Is Truncating In The Swing Table m1


    Hi,
    I am getting data from data base. the length of the string are may vary from one another. after loading the data one or two strings are getting truncated.
    ex:
    Lookup_table_oracle
    derived...
    Data_segment_tree

    in the above example 1st and 3rd string lengths are more than the second string. but the 2nd string is getting truncated. after some time 2nd string will show correctly. and some other string will get truncated.

    Note: this screen gets refreshed for every 3 minutes.

    Also i am getting one exception message in the java console window.. i.e.

    Exception in thread "AWT-EventQueue-2" java.lang.ArrayIndexOutOfBoundsException: 1 = 0
    at java.util.Vector.elementAt(Unknown Source)
    at javax.swing.table.DefaultTableColumnModel.getColumn(Unknown Source)
    at javax.swing.plaf.basic.BasicTableUI.paintCells(Unknown Source)
    at javax.swing.plaf.basic.BasicTableUI.paint(Unknown Source)
    at javax.swing.plaf.ComponentUI.update(Unknown Source)
    at javax.swing.JComponent.paintComponent(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JComponent.paintChildren(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JViewport.paint(Unknown Source)
    at javax.swing.JComponent.paintChildren(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JComponent.paintWithOffscreenBuffer(Unknown Source)
    at javax.swing.JComponent.paintDoubleBuffered(Unknown Source)
    at javax.swing.JComponent._paintImmediately(Unknown Source)
    at javax.swing.JComponent.paintImmediately(Unknown Source)
    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

    Can any body help me out to solve this issue.

    thanks in advance
    KK

    DB:3.77:Data Is Truncating In The Swing Table m1

    I think now the question is clear.No it is not because you have written custom code that doesn't work and we have no idea what your code looks like. I have never seen this problem on any demo code posted in the forum and cannot guess what you are doing differently.

    i can not give the code because it is part of my application it is link with many java files. Well, then isolate the problem and create a simple demo program. Start with a simple table that works. Then start adding custom changes you have made one at a time until it stops working. Then you know what change caused the problem. If you don't understand why then you have a simple program to post.

  • RELEVANCY SCORE 3.74

    DB:3.74:Weird Swing Error! 11


    With J2SE 1.4.2 (PREVIOUS VERSIONS DID NOT DO THIS) JDK i RANDOMLY get :

    java.lang.NullPointerException
    at javax.swing.ImageIcon.init(Unknown Source)
    at javax.swing.ImageIcon.init(Unknown Source)
    at com.sun.java.swing.plaf.windows.WindowsFileChooserUI$ShortCutPanel.init(Unknown Source)
    at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installComponents(Unknown Source)
    at javax.swing.plaf.basic.BasicFileChooserUI.installUI(Unknown Source)
    at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installUI(Unknown Source)
    at javax.swing.JComponent.setUI(Unknown Source)
    at javax.swing.JFileChooser.updateUI(Unknown Source)
    at javax.swing.JFileChooser.setup(Unknown Source)
    at javax.swing.JFileChooser.init(Unknown Source)
    at javax.swing.JFileChooser.init(Unknown Source)
    at MMCDCatalog.openDB(MMCDCatalog.java:570)
    at MMCDCatalog.access$200(MMCDCatalog.java:77)
    at MMCDCatalog$OpenFileAction.actionPerformed(MMCDCatalog.java:1023)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

    with code

    JFileChooser fc;
    MMCDFileFilter ff;
    int dialogReturnVal;
    String nameChosen;//Create a file chooserfc = new JFileChooser();
    fc.setMultiSelectionEnabled(false);
    fc.setDragEnabled(false);
    //Create a new FileFilter
    ff = new MMCDFileFilter();
    //Add this filter to our File chooser.
    fc.addChoosableFileFilter(ff);
    fc.setFileFilter(ff);dialogReturnVal = fc.showOpenDialog(mainFrame);
    if (dialogReturnVal == JFileChooser.APPROVE_OPTION) {
    nameChosen = fc.getSelectedFile().getAbsolutePath();
    }which is in my openDB() method, which is called from an actionPerformed() somewhere else that does nothing except calling openDB()

    IS THIS A BUG IN SWING 1.4.2??????????????

    AH! thought this would be relevant. I also execute the code (when building my GUI) :

    try {
    UIManager.setLookAndFeel(UIManager.getSystemLookAndFeelClassName());
    } catch (Exception ex) {
    JOptionPane.showMessageDialog(mainFrame, "Could not load the look and feel", "Error", JOptionPane.ERROR_MESSAGE);
    } and i'm running Windows XP Pro SP1... since 1.4.2 added the new "Windows XP" look, is it a new introduced bug???? that's why i'm asking :P

    DB:3.74:Weird Swing Error! 11

    THANX! :D i didn't know of the existance of bugparade.

  • RELEVANCY SCORE 3.73

    DB:3.73:Security Exception In Oracle Forms When Using With Jre. xx


    Hi,
    I am am getting an exception whenl I try to dispose a message box(FWindow) received as a popup from an Oracle form page(configured using JRE).

    When I hit over the OK/Cancel button to dispose off the messagebox,it is not I get the following error.

    Exception in thread "AWT-EventQueue-2" java.lang.SecurityException: this KeyboardFocusManager is not installed in the current thread's context
    at java.awt.KeyboardFocusManager.getGlobalFocusOwner(Unknown Source)
    at java.awt.KeyboardFocusManager.processSynchronousLightweightTransfer(Unknown Source)
    at sun.awt.windows.WComponentPeer.processSynchronousLightweightTransfer(Native Method)
    at sun.awt.windows.WComponentPeer.requestFocus(Unknown Source)
    at java.awt.Component.requestFocusHelper(Unknown Source)
    at java.awt.Component.requestFocusHelper(Unknown Source)
    at java.awt.Component.requestFocus(Unknown Source)
    at oracle.ewt.lwAWT.AbstractButton.requestFocus(Unknown Source)
    at oracle.ewt.lwAWT.AbstractButton.processMousePressed(Unknown Source)
    at oracle.ewt.lwAWT.AbstractButton.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at oracle.ewt.lwAWT.LWComponent.processEventImpl(Unknown Source)
    at oracle.ewt.button.PushButton.processEventImpl(Unknown Source)
    at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
    at oracle.ewt.event.tracking.GlassMouseGrabProvider$Disp._redispatchEvent(Unknown Source)
    at oracle.ewt.event.tracking.GlassMouseGrabProvider$Disp.mousePressed(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at oracle.ewt.lwAWT.LWComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at oracle.ewt.lwAWT.LWComponent.processEventImpl(Unknown Source)
    at oracle.ewt.event.tracking.GlassMouseGrabProvider$Proxy.processEventImpl(Unknown Source)
    at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)
    at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

    I am able to dispose the messagebox, when I configure the oracle form with Jinitiator, the issue happens only with JRE.

    These are the configurations I use.

    10g Release2

    Windows XP Professional Version 2002, Service Pack 3

    IE version 6.0.2900.5512.xpsp_sp3_gdr.090804-1435

    JInit-JInitiator 1.3.1.22, Sun JRE- 1.6.0_17

    I am working on Developer suite.

    Privilege: Windows Administrator

    Kindly guide.

    Thanks Regards
    Sunil

    DB:3.73:Security Exception In Oracle Forms When Using With Jre. xx

    Verify that you are running Forms 10.1.2.3 or newer. Trying to run older versions of Forms with JRE 6 will cause java exceptions. Also, if you are running with java beans (or pjc), be sure that you have signed the jar files.

  • RELEVANCY SCORE 3.71

    DB:3.71:Java.Security.Accesscontrolexception: Access Denied ss


    I keep getting the following exception when I try to open a JFrame from an applet. I am only having a problem with this one particular class, everything else works fine. I have the appropriate plug-in. Other swing components (JFrames) that are similar work fine, however this one doesn't work at all. Any ideas:

    java.security.AccessControlException: access denied (java.lang.RuntimePermission accessClassInPackage.sun.awt)

    at java.security.AccessControlContext.checkPermission(Unknown Source)

    at java.security.AccessController.checkPermission(Unknown Source)

    at java.lang.SecurityManager.checkPermission(Unknown Source)

    at java.lang.SecurityManager.checkPackageAccess(Unknown Source)

    at sun.applet.AppletSecurity.checkPackageAccess(Unknown Source)

    at sun.applet.AppletClassLoader.loadClass(Unknown Source)

    at java.lang.ClassLoader.loadClass(Unknown Source)

    at java.lang.ClassLoader.loadClassInternal(Unknown Source)

    at Starter.init(Starter.java:17)

    at sun.applet.AppletPanel.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

    DB:3.71:Java.Security.Accesscontrolexception: Access Denied ss

    I was usingh orientableflowlayout. This was giving the plug-in some problems.....

  • RELEVANCY SCORE 3.71

    DB:3.71:Getting Exception When Closing The Applet Viewer fa


    hi,

    I have developed a application using applets and swing components.everything is fine with the application...but when i am running out the application with appletviewer it isrunning fine...After completion when i am closing the appletviewer window it is throwing the following exception :

    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: component argument pData
    at sun.awt.windows.Win32SurfaceData.initOps(Native Method)
    at sun.awt.windows.Win32SurfaceData.init(Unknown Source)
    at sun.awt.windows.Win32SurfaceData.createData(Unknown Source)
    at sun.awt.Win32GraphicsConfig.createSurfaceData(Unknown Source)
    at sun.awt.windows.WComponentPeer.replaceSurfaceData(Unknown Source)
    at sun.awt.windows.WComponentPeer.replaceSurfaceData(Unknown Source)
    at sun.awt.windows.WComponentPeer$2.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

    so how to disable or avoid this exception.............

    bye

    DB:3.71:Getting Exception When Closing The Applet Viewer fa

    hi,

    I have developed a application using applets and swing components.everything is fine with the application...but when i am running out the application with appletviewer it isrunning fine...After completion when i am closing the appletviewer window it is throwing the following exception :

    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException: component argument pData
    at sun.awt.windows.Win32SurfaceData.initOps(Native Method)
    at sun.awt.windows.Win32SurfaceData.init(Unknown Source)
    at sun.awt.windows.Win32SurfaceData.createData(Unknown Source)
    at sun.awt.Win32GraphicsConfig.createSurfaceData(Unknown Source)
    at sun.awt.windows.WComponentPeer.replaceSurfaceData(Unknown Source)
    at sun.awt.windows.WComponentPeer.replaceSurfaceData(Unknown Source)
    at sun.awt.windows.WComponentPeer$2.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

    so how to disable or avoid this exception.............

    bye

  • RELEVANCY SCORE 3.69

    DB:3.69:Extra Jar Fetched But Not Loaded ? 17


    Hi there !

    I have a very strange issue. I have planned to use JNLP to "deploy" a Java application via HTTP, but I ran into some issues I was able to reproduce even using very simple projects (e.g. a Blank desktop app).

    The problem I have is that even though the JNLP file and all the resources are fetched correctly via HTTP (see Apache logs extracts below), the Java Console tells me it couldn't load a class although the jar file containing it is loaded correctly.

    Here is the JNLP file (even with such a basic JNLP it fails) :

    jnlp codebase="http://lt087/dev/TestValidation/" href="launch.jnlp" spec="1.0+"
    information
    titleValidationApp for example purposes/title
    /information
    update check="background"/
    resources
    j2se version="1.5+"/
    jar href="TestValidation.jar" main="true"/
    jar href="lib/appframework-1.0.3.jar"/
    jar href="lib/swing-worker-1.1.jar"/
    /resources
    application-desc main-class="validationapp.TestValidationMainApp" /
    security
    all-permissions/
    /security
    /jnlp

    Here are the apache logs to confirm the files are fetched correctly :
    172.29.55.147 - - [23/Nov/2010:09:55:25 +0100] "GET /dev/TestValidation/launch.jnlp HTTP/1.1" 200 677 "-" "JNLP/6.0 javaws/1.6.0_22 (b04) Java/1.6.0_22"
    172.29.55.147 - - [23/Nov/2010:09:55:25 +0100] "GET /dev/TestValidation/TestValidation.jar HTTP/1.1" 200 119374 "-" "JNLP/6.0 javaws/1.6.0_22 (b04) Java/1.6.0_22"
    172.29.55.147 - - [23/Nov/2010:09:55:25 +0100] "GET /dev/TestValidation/lib/swing-worker-1.1.jar HTTP/1.1" 200 13258 "-" "JNLP/6.0 javaws/1.6.0_22 (b04) Java/1.6.0_22"
    172.29.55.147 - - [23/Nov/2010:09:55:25 +0100] "GET /dev/TestValidation/lib/appframework-1.0.3.jar HTTP/1.1" 200 272709 "-" "JNLP/6.0 javaws/1.6.0_22 (b04) Java/1.6.0_22"

    And here is the exception I'm getting (after the dialog asking me to trust the editor) :
    java.lang.NoClassDefFoundError: org/jdesktop/application/SingleFrameApplication
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClassCond(Unknown Source)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$000(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)
    at com.sun.javaws.Launcher.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.ClassNotFoundException: org.jdesktop.application.SingleFrameApplication
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at com.sun.jnlp.JNLPClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    ... 16 more

    I have tried running it from a stock VM running a standard 1.6.22 JRE but I had the same issue, does anyone have an idea why it fails ?

    DB:3.69:Extra Jar Fetched But Not Loaded ? 17

    MunsterNet wrote:
    Well, I meant on another machine.. OK..

    ..with a fresh JRE install :)If the machine did not have Java, it would not be throwing exceptions or errors. ;)

    I tried again and :

    java.lang.NoClassDefFoundError: org/jdesktop/application/SingleFrameApplicationI have to admit I'm stumped. :(

    You might check the bug database.

  • RELEVANCY SCORE 3.69

    DB:3.69:Getting Fnd_Form_Post_Security_Failed While Try To Go To Detail Page. sd


    I am getting FND_FORM_POST_SECURITY_FAILED error, In my case I have a search page, on the search result table I have a UPDATE column which goes to update page for the corresponding row. In the Update (link) column I am triggering a fireAction event. When I click on the update link I am getting this error.

    oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_FORM_POST_SECURITY_FAILED. Tokens: HOME = FND_GLOBAL_PRMPT_HOME;
    at oracle.apps.fnd.framework.webui.OAPageContextImpl.throwSecurityException(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageContextImpl.checkMACFormParameterSecurity(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageContextImpl.checkSecurity(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageContextImpl.checkSecurity(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageContextImpl.getParameter(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageContextImpl.getParameter(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanFormElementHelper.getParameterValue(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanFormElementHelper.processFormAttribute(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanFormElementHelper.processFormDataAfterController(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.message.OAMessageTextInputBean.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataIndexedChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.layout.OAMessageComponentLayoutBean.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataIndexedChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataIndexedChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataIndexedChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataIndexedChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAQueryHelper.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataIndexedChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataIndexedChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataIndexedChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataIndexedChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataIndexedChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
    at OA.jspService(_OA.java:71)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    10/10/23 16:31:53 [897] DialogPage_Diagnostics - ICX Cookie = 43LSxGif1bf1c7F30tZgDxTE:S:
    Call Stack =
    java.lang.Throwable
    at oracle.apps.fnd.framework.OACommonUtils.getCallStack(Unknown Source)
    at oracle.apps.fnd.framework.webui.OADialogManager.redirectToDialogPage(Unknown Source)
    at oracle.apps.fnd.framework.webui.OADialogManager.displaySystemError(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageContextImpl.throwSecurityException(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageContextImpl.checkMACFormParameterSecurity(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageContextImpl.checkSecurity(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageContextImpl.checkSecurity(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageContextImpl.getParameter(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageContextImpl.getParameter(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanFormElementHelper.getParameterValue(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanFormElementHelper.processFormAttribute(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanFormElementHelper.processFormDataAfterController(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.message.OAMessageTextInputBean.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataIndexedChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.layout.OAMessageComponentLayoutBean.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataIndexedChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataIndexedChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataIndexedChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataIndexedChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAQueryHelper.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataIndexedChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.layout.OAHeaderBean.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataIndexedChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.layout.OAStackLayoutBean.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataIndexedChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataIndexedChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataIndexedChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormDataChildren(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.processFormData(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(Unknown Source)
    at OA.jspService(_OA.java:71)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:713)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:370)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:871)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:453)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:221)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:122)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:111)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)

    My Oracle APPS instance has OA Framework 12.1.1

    I got a possible sollution here - http://mukx.blogspot.com/2007/07/javascript-in-oa-framework.html

    1)From Apps R12.1, the framework is also validating parameter security, so getting js parameter values by pageContext.getParameter("XXX"), can throw security exception error
    FND_FORM_POST_SECURITY_FAILED. To bypass this parameter security validation , you need to take js parameter values directly from http request using following code:
    pageContext.getRenderingContext().getServletRequest().getParameter("XXX");

    I tried using pageContext.getRenderingContext().getServletRequest().getParameter("XXX"); instead of pageContext.getParameter("XXX") but still I am getting the same FND_FORM_POST_SECURITY_FAILED error, Is there any other sollution/workaround available ?

    Edited by: Kanchan Ghosh on Oct 23, 2010 6:31 AM

    DB:3.69:Getting Fnd_Form_Post_Security_Failed While Try To Go To Detail Page. sd

    Here is the code for the Search Page, When I click on the Update Link for any row in the search result, I am getting that error.
    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    ?xml version = '1.0' encoding = 'UTF-8'?
    page xmlns:jrad="http://xmlns.oracle.com/jrad" xmlns:oa="http://xmlns.oracle.com/oa" xmlns:ui="http://xmlns.oracle.com/uix/ui" version="10.1.3_1268" xml:lang="en-US" xmlns:user="http://xmlns.oracle.com/jrad/user" xmlns="http://xmlns.oracle.com/jrad" file-version="$Header$"
    content
    oa:pageLayout id="PageLayoutRN" amDefName="xxedb.oracle.apps.ak.lc.server.am.LetterOfCreditAM" windowTitle="Search Letter of Credit" title="Search Letter of Credit" controllerClass="xxedb.oracle.apps.ak.lc.webui.LCSearchCO"
    ui:corporateBranding
    oa:image id="corporateBrandingImage" source="/OA_MEDIA/FNDSSCORP.gif"/
    /ui:corporateBranding
    ui:contents
    oa:header id="region1"
    ui:contents
    oa:query id="region2" mode="resultsBasedSearch"
    ui:contents
    oa:table id="ResultsTable" width="100%" userCustomizable="true"
    ui:contents
    oa:messageStyledText id="LcId" viewName="XxedbLetterOfCreditVO1" viewAttr="LcId" userCustomizable="true" prompt="Letter of Credit ID" dataType="NUMBER" queryable="true" sortState="ascending" selectiveSearchCriteria="true" destination="OA.jsp?page=/xxedb/oracle/apps/ak/lc/webui/LCDetailamp;LcId={@LcId}amp;retainAM=Yamp;addBreadCrumb=Y"/
    oa:messageStyledText id="OperatingUnit" dataType="VARCHAR2" prompt="Operating Unit" viewName="XxedbLetterOfCreditVO1" viewAttr="OperatingUnit" maximumLength="400" queryable="true" selectiveSearchCriteria="true" userCustomizable="true"/
    oa:messageStyledText id="LcNo" dataType="NUMBER" prompt="Letter of Credit No" viewName="XxedbLetterOfCreditVO1" viewAttr="LcNo" maximumLength="30" queryable="true" selectiveSearchCriteria="true" destination="OA.jsp?page=/xxedb/oracle/apps/ak/lc/webui/LCDetailamp;LcId={@LcId}amp;retainAM=Yamp;addBreadCrumb=Y"/
    oa:messageStyledText id="VendorName" dataType="VARCHAR2" prompt="Vendor Name" viewName="XxedbLetterOfCreditVO1" viewAttr="VendorName" maximumLength="400"/
    oa:messageStyledText id="IssuingDate" dataType="DATE" prompt="Issuing Date" viewName="XxedbLetterOfCreditVO1" viewAttr="IssuingDate"/
    oa:messageStyledText id="TransactionCurrency" dataType="VARCHAR2" prompt="Transaction Currency" viewName="XxedbLetterOfCreditVO1" viewAttr="TransactionCurrency" maximumLength="50"/
    oa:messageStyledText id="FunctionalCurrency" dataType="VARCHAR2" prompt="Functional Currency" viewName="XxedbLetterOfCreditVO1" viewAttr="FunctionalCurrency" maximumLength="50"/
    oa:messageStyledText id="ExpDate" dataType="DATE" prompt="Expiry Date" viewName="XxedbLetterOfCreditVO1" viewAttr="ExpDate"/
    oa:messageStyledText id="Remarks" dataType="VARCHAR2" prompt="Remarks" viewName="XxedbLetterOfCreditVO1" viewAttr="Remarks" maximumLength="400"/
    oa:messageStyledText id="LedgerName" dataType="VARCHAR2" prompt="Ledger Name" viewName="XxedbLetterOfCreditVO1" viewAttr="LedgerName" maximumLength="400" queryable="true" selectiveSearchCriteria="true" userCustomizable="true"/
    oa:messageStyledText id="Type" dataType="VARCHAR2" prompt="Type" viewName="XxedbLetterOfCreditVO1" viewAttr="Type" maximumLength="100"/
    oa:messageStyledText id="Active" dataType="VARCHAR2" prompt="Active" viewName="XxedbLetterOfCreditVO1" viewAttr="Active" maximumLength="1"/
    oa:messageStyledText id="VendorNumber" dataType="NUMBER" prompt="Vendor Number" viewName="XxedbLetterOfCreditVO1" viewAttr="VendorNumber" maximumLength="30"/
    oa:messageStyledText id="IssuingBank" dataType="VARCHAR2" prompt="Issuing Bank" viewName="XxedbLetterOfCreditVO1" viewAttr="IssuingBank" maximumLength="400"/
    oa:messageStyledText id="TransactionAmount" dataType="NUMBER" prompt="Transaction Amount" viewName="XxedbLetterOfCreditVO1" viewAttr="TransactionAmount" maximumLength="30"/
    oa:messageStyledText id="FunctionalAmount" dataType="NUMBER" prompt="Functional Amount" viewName="XxedbLetterOfCreditVO1" viewAttr="FunctionalAmount" maximumLength="30"/
    oa:messageStyledText id="LastShipment" dataType="DATE" prompt="Last Shipment Date" viewName="XxedbLetterOfCreditVO1" viewAttr="LastShipment"/
    oa:link id="Update"
    ui:contents
    oa:image id="item1" source="updateicon_enabled.gif" prompt="Update"/
    /ui:contents
    ui:primaryClientAction
    ui:fireAction event="updateLC"
    ui:parameters
    ui:parameter key="LcId" value="${oa.XxedbLetterOfCreditVO1.LcId}"/
    /ui:parameters
    /ui:fireAction
    /ui:primaryClientAction
    /oa:link
    oa:link id="Delete"
    ui:contents
    oa:image id="item2" source="deleteicon_enabled.gif" prompt="Delete"/
    /ui:contents
    ui:primaryClientAction
    ui:fireAction event="deleteLC"
    ui:parameters
    ui:parameter key="LcId" value="${oa.XxedbLetterOfCreditVO1.LcId}"/
    /ui:parameters
    /ui:fireAction
    /ui:primaryClientAction
    /oa:link
    /ui:contents
    ui:tableActions
    oa:flowLayout id="region3"
    ui:contents
    oa:button id="CreateLC" text="Create Letter of Credit" prompt="Create Letter of Credit" destination="OA.jsp?page=/xxedb/oracle/apps/ak/lc/webui/LCCreate"/
    /ui:contents
    /oa:flowLayout
    /ui:tableActions
    /oa:table
    /ui:contents
    /oa:query
    /ui:contents
    /oa:header
    /ui:contents
    /oa:pageLayout
    /content
    /page

    Edited by: Kanchan Ghosh on Oct 24, 2010 11:34 PM

  • RELEVANCY SCORE 3.68

    DB:3.68:Problem Execute Jar 8s


    I use NetBean to build my app (Swing app).I test it with Netbin, it's ok, but when i run my jar fle from command line jar "java -jar SynchSwing .jar"
    , this error displays:

    Exception in thread "main" java.lang.UnsupportedClassVersionError:
    SynchSwing (Unsupported major.minor version 48.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)

    Please help me to run it. Thanks for reading.

    DB:3.68:Problem Execute Jar 8s

    This might happen if you compiled the code with a newer version of java and tried to run it with an older version. For example, your compiler is J2SDK 1.4.2 and you run with Java 1.3

  • RELEVANCY SCORE 3.65

    DB:3.65:Which Jar File Is Missing f8


    Hi

    I have a ADF appmodule deployed on my OAS 10.1.3 as a EJB session bean. I then have a ADF Swing application using this middle tier (MT) service. It generally works fine (from JDeveloper). But when the Swing application is deployed as a Java Web Start application it fails when it has to contact the MT service due to a class not found exception (see below). Can anyone of you help me pin-point what jar file I have to include in my web start ear file to make thing work?

    Best Regards
    Johnny

    JBO-30003: Applikationspuljen (com.inv.invision.adf.appmodule.SqlEditorAppModuleAS) kunne ikke tjekke et applikationsmodul ud p grund af flgende undtagelse:
    oracle.jbo.JboException: JBO-29000: JBO-29000: null
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2002)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
    at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:271)
    at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:76)
    at oracle.adf.model.BindingContext.get(BindingContext.java:457)
    at com.inv.invision.ui.base.INVisionJPanel.getApplicationModule(INVisionJPanel.java:160)
    at com.inv.invision.ui.sqleditor.SqlEditor.getAppModule(SqlEditor.java:252)
    at com.inv.invision.ui.sqleditor.SqlEditor.doSql(SqlEditor.java:262)
    at com.inv.invision.ui.sqleditor.SqlEditor.access$200(SqlEditor.java:61)
    at com.inv.invision.ui.sqleditor.SqlEditor$2.actionPerformed(SqlEditor.java:209)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    ## Detail 0 ##
    oracle.jbo.JboException: JBO-29000: null
    at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:545)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2094)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
    at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:271)
    at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:76)
    at oracle.adf.model.BindingContext.get(BindingContext.java:457)
    at com.inv.invision.ui.base.INVisionJPanel.getApplicationModule(INVisionJPanel.java:160)
    at com.inv.invision.ui.sqleditor.SqlEditor.getAppModule(SqlEditor.java:252)
    at com.inv.invision.ui.sqleditor.SqlEditor.doSql(SqlEditor.java:262)
    at com.inv.invision.ui.sqleditor.SqlEditor.access$200(SqlEditor.java:61)
    at com.inv.invision.ui.sqleditor.SqlEditor$2.actionPerformed(SqlEditor.java:209)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    ## Detail 0 ##
    java.lang.NoClassDefFoundError
    at com.evermind.server.rmi.RmiServerLookupStrategy$StandardOpmnServerAccess.getOc4jServers(RmiServerLookupStrategy.java:160)
    at com.evermind.server.rmi.RmiServerLookupStrategy$OpmnLookupStrategy.getAvailableServers(RmiServerLookupStrategy.java:120)
    at com.evermind.server.rmi.RMIClientContext.establishLookupConnections(RMIClientContext.java:105)
    at com.evermind.server.rmi.RMIClientContext.establishRemoteConnections(RMIClientContext.java:131)
    at com.evermind.server.rmi.RMIInitialContext.get(RMIInitialContext.java:62)
    at oracle.j2ee.rmi.RMIInitialContextFactory.getInitialContext(RMIInitialContextFactory.java:45)
    at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
    at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
    at javax.naming.InitialContext.init(Unknown Source)
    at javax.naming.InitialContext.init(Unknown Source)
    at oracle.jbo.client.remote.ejb.ias.AmHomeImpl.remoteLookup(AmHomeImpl.java:112)
    at oracle.jbo.client.remote.ejb.ias.AmHomeImpl.getRemoteApplicationModuleHome(AmHomeImpl.java:42)
    at oracle.jbo.client.remote.ejb.AbstractApplicationModuleHomeImpl.lookupUsingPlatformContext(AbstractApplicationModuleHomeImpl.java:82)
    at oracle.jbo.client.ejb.ApplicationModuleHomeImpl.init(ApplicationModuleHomeImpl.java:52)
    at oracle.jbo.client.remote.ejb.AbstractApplicationModuleHomeImpl.init(AbstractApplicationModuleHomeImpl.java:35)
    at oracle.jbo.client.remote.ejb.ias.AmHomeImpl.init(AmHomeImpl.java:35)
    at oracle.jbo.client.remote.ejb.ias.InitialContextImpl.createJboHome(InitialContextImpl.java:28)
    at oracle.jbo.common.JboInitialContext.lookup(JboInitialContext.java:77)
    at javax.naming.InitialContext.lookup(Unknown Source)
    at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:136)
    at oracle.jbo.common.ampool.DefaultConnectionStrategy.createApplicationModule(DefaultConnectionStrategy.java:80)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.instantiateResource(ApplicationPoolImpl.java:2468)
    at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:536)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2094)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
    at oracle.adf.model.bc4j.DataControlFactoryImpl.createSession(DataControlFactoryImpl.java:271)
    at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:76)
    at oracle.adf.model.BindingContext.get(BindingContext.java:457)
    at com.inv.invision.ui.base.INVisionJPanel.getApplicationModule(INVisionJPanel.java:160)
    at com.inv.invision.ui.sqleditor.SqlEditor.getAppModule(SqlEditor.java:252)
    at com.inv.invision.ui.sqleditor.SqlEditor.doSql(SqlEditor.java:262)
    at com.inv.invision.ui.sqleditor.SqlEditor.access$200(SqlEditor.java:61)
    at com.inv.invision.ui.sqleditor.SqlEditor$2.actionPerformed(SqlEditor.java:209)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

    DB:3.65:Which Jar File Is Missing f8

    This tool does not really help. If I understand the stacktrace correct it is the com.evermind.server.rmi.RmiServerLookupStrategy class that is missing. This class is in the oc4jclient.jar which IS is my webstart classpath. So something else must be missing, but because I do not have the source code for RmiServerLookupStrategy is a bit har to tell which classes it refers at runtime.

    Any suggestion?

  • RELEVANCY SCORE 3.63

    DB:3.63:Exception While A Session Been Lookup On Weblogic 10.3.3 Using Wlclient.Jar sc


    Hi,

    I am upgrading to weblogic 10.3.3.

    I have a client that downloads the required to the client machines using Java web start 6.

    I am using wlclient.jar at the client side.

    When I am trying to lookup for a session bean it is throwing the below exception at the client side.

    java.rmi.MarshalException: CORBA MARSHAL 0 No; nested exception is:
    org.omg.CORBA.MARSHAL: vmcid: 0x0 minor code: 0 completed: No
    at com.sun.corba.se.impl.javax.rmi.CORBA.Util.mapSystemException(Unknown Source)
    at javax.rmi.CORBA.Util.mapSystemException(Unknown Source)
    at com.mbt.expert.server.util._ServerDBQueryObjectRemote_Stub.getExchangeList(Unknown Source)
    at com.mbt.expert.util.DBQueryObject.getExchangeList(DBQueryObject.java:419)
    at com.mbt.expert.view.dialogs.OpenExchangeDialog.actionPerformed(OpenExchangeDialog.java:425)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$000(Unknown Source)
    at java.awt.EventQueue$1.run(Unknown Source)
    at java.awt.EventQueue$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue$2.run(Unknown Source)
    at java.awt.EventQueue$2.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.Dialog$1.run(Unknown Source)
    at java.awt.Dialog$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Dialog.show(Unknown Source)
    at com.mbt.expert.view.dialogs.OpenExchangeDialog.displayDialog(OpenExchangeDialog.java:606)
    at com.mbt.expert.mdi.actions.OpenExchangeAction.execute(OpenExchangeAction.java:204)
    at com.mbt.mdi.MDICommand.actionPerformed(MDICommand.java:47)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$000(Unknown Source)
    at java.awt.EventQueue$1.run(Unknown Source)
    at java.awt.EventQueue$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue$2.run(Unknown Source)
    at java.awt.EventQueue$2.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: org.omg.CORBA.MARSHAL: vmcid: 0x0 minor code: 0 completed: No
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at com.sun.corba.se.impl.protocol.gio pmsgheaders.MessageBase.getSystemException(Unknown Source)
    at com.sun.corba.se.impl.protocol.giopmsgheaders.ReplyMessage_1_2.getSystemException(Unknown Source)
    at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.getSystemExceptionReply(Unknown Source)
    at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.processResponse(Unknown Source)
    at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(Unknown Source)
    at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.invoke(Unknown Source)
    at org.omg.CORBA.portable.ObjectImpl._invoke(Unknown Source)
    ... 80 more

    I have checked the server logs and the server is able to receive the request from the client and fetching the required details.

    I am sending these details to the client by adding to a Vector.

    I have observed one more thing, the same is working in other machine which is in another network.

    I have also tried with the other wl*.jar s but giving different exceptions.

    My server classpath consists of weblogic.jar.

    Do I have to include the client jars in my server classpath?

    Please suggest me how to resolve this.

    Please help me here :)

    DB:3.63:Exception While A Session Been Lookup On Weblogic 10.3.3 Using Wlclient.Jar sc

    Thanks for your time, :)

    I have tried all the three wl*client jars, but no use. :(

    Got the same error for wlclient.jar and wlfullclient.jar.

    And for wlt3client.jar I got some different error which is very strange...

    java.lang.AssertionError: Failed to generate class for com.mbt.expert.server.session.LoginSessionBean_tqw6yu_HomeImpl_1033_WLStub
    at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:797)
    at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:786)
    at weblogic.rmi.extensions.StubFactory.getStub(StubFactory.java:74)
    at weblogic.rmi.internal.StubInfo.resolveObject(StubInfo.java:213)
    at weblogic.rmi.internal.StubInfo.readResolve(StubInfo.java:207)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at java.io.ObjectStreamClass.invokeReadResolve(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:197)
    at weblogic.rjvm.MsgAbbrevInputStream.readObject(MsgAbbrevInputStream.java:598)
    at weblogic.utils.io.ChunkedObjectInputStream.readObject(ChunkedObjectInputStream.java:193)
    at weblogic.rmi.internal.ObjectIO.readObject(ObjectIO.java:62)
    at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:240)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:348)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
    at weblogic.jndi.internal.ServerNamingNode_1033_WLStub.lookup(Unknown Source)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:405)
    at weblogic.jndi.internal.WLContextImpl.lookup(WLContextImpl.java:393)
    at javax.naming.InitialContext.lookup(Unknown Source)
    at com.mbt.expert.mdi.ExpertVariable.getLoginSession(ExpertVariable.java:455)
    at com.mbt.expert.view.dialogs.Login.okPressed(Login.java:187)
    at com.mbt.expert.view.dialogs.Login.keyPressed(Login.java:141)
    at java.awt.Component.processKeyEvent(Unknown Source)
    at javax.swing.JComponent.processKeyEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
    at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
    at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
    at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
    at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.Dialog$1.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at weblogic.rmi.internal.StubGenerator.generateStub(StubGenerator.java:795)
    ... 55 more
    Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission getClassLoader)
    at java.security.AccessControlContext.checkPermission(Unknown Source)
    at java.security.AccessController.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at java.lang.ClassLoader.getSystemClassLoader(Unknown Source)
    at weblogic.utils.classloaders.AugmentableClassLoaderManager.getAugmentableClassLoader(AugmentableClassLoaderManager.java:48)
    at weblogic.rmi.internal.ClientRuntimeDescriptor.findLoader(ClientRuntimeDescriptor.java:254)
    at weblogic.rmi.internal.ClientRuntimeDescriptor.getInterfaces(ClientRuntimeDescriptor.java:132)
    at weblogic.rmi.internal.StubInfo.getInterfaces(StubInfo.java:77)
    at com.mbt.expert.server.session.LoginSessionBean_tqw6yu_HomeImpl_1033_WLStub.ensureInitialized(Unknown Source)
    at com.mbt.expert.server.session.LoginSessionBean_tqw6yu_HomeImpl_1033_WLStub.init(Unknown Source)
    ... 60 more

    Please tell me how can I get rid of this??

  • RELEVANCY SCORE 3.62

    DB:3.62:Java.Security.Accesscontrolexception mm


    i have called an applet from a jsp file.applet reqiures three jar files to run. i have put the applet,jsp file and jar files in one folder.
    when i am running the applet in internet explorer using tomcat server i an getting the following error in java console.

    in help i read that if applet is not signed sometimes problem will occur. so i signed the applet. even then the same error message is coming.

    Exception in thread "AWT-EventQueue-2" java.security.AccessControlException: access denied (java.util.PropertyPermission JINTEGRA_NATIVE_MODE write)
    at java.security.AccessControlContext.checkPermission(Unknown Source)
    at java.security.AccessController.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at java.lang.System.setProperty(Unknown Source)
    at com.esri.arcgis.system.EngineInitializer.initializeVisualBeans(Unknown Source)
    at SampwebApp.actionPerformed(SampwebApp.java:54)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

    i have posted the same topic twice.but no reply is there. any ideas please reply. as solving this problem is very importent to me.

  • RELEVANCY SCORE 3.62

    DB:3.62:Java.Lang.Noclassdeffounderror: Javax/Xml/Rpc/Service mm


    Hi,

    I have created client stubs for a webservice using axis wsdl2java tool. When I try calling these stubbed methods from JUnit tests, they are working fine but when I try to execute the jar (it is a swing) I get the following exception:

    Exception in thread "main" java.lang.NoClassDefFoundError: javax/xml/rpc/Service
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at com.Gudds.SeCURE.MainUI.init(MainUI.java:76)
    at com.Gudds.SeCURE.Main.Start(Main.java:62)
    at org.owasp.webscarab.WebScarab.main(WebScarab.java:34)I have put the jaxrpc.jar in the classpath and I suppose this jar has the java.xml.rpc.service class but I donot understand why it fails while executing the jar but works fine from the eclipse IDe. Plase help me.

    Regrdas,
    Kundan

    DB:3.62:Java.Lang.Noclassdeffounderror: Javax/Xml/Rpc/Service mm

    1. Build jar file with MAINFEST.MF and Export of Eclipse , which has content:
    suppose in folder:
    c:\client.jar ( client of web service )
    c:\contrib/lib/ axis apis

    Main-Class: com.MainClassName
    Class-Path: contrib\axis\jaxrpc.jar contrib\axis\activation.jar con
    trib\axis\axis.jar contrib\axis\axis.jar contrib\axis\commons-disco
    very.jar contrib\axis\wsdl4j.jar contrib\axis\saaj.jar contrib\axi
    s\soap.jar contrib\axis\commons-logging.jar contrib\axis\log4j.jar
    contrib\axis\mail.jar

    2. build jar with ant: make sure the their are at least one blank between
    values of Class-Path.

    jar destfile="../Client/client.jar"
    fileset dir="${build.dir}"/

    manifest
    attribute name="Built-By" value="${user.name}"/
    attribute name="Main-Class" value="com.MainClass"/
    attribute name="Class-Path" value=" contrib\axis\jaxrpc.jar contrib\axis\activation.jar .. "/
    /manifest
    /jar

    3. If you haven't pack you class file in jar, create a bat to set CLASSPATH
    exactly to all jars.

    Hope this helps

  • RELEVANCY SCORE 3.61

    DB:3.61:Java.Rmi.Connectexception Using Webstart Swing Client With Wl 8.1 Sp2 In A 9p


    Hi all,

    I'm receiving the following exception when invoking a remote method on
    a cached remote stub. This only happens if there are at least two
    nodes running in a cluster. It happens more often the more nodes are
    running.
    It seems that the exception occurs if for a call to a remote method a
    cached stub is used, and if that call is referred to a different node
    in the cluster by the load balancer than the one that the stub
    originally came from. But I'm not completely sure about that...

    Client side config:
    Webstart
    JDK 1.4.2_05
    weblogic.jar (we're experiencing other problems already discussed in
    this group when using wlclient.jar)

    Server side config:
    Weblogic 8.1 SP2
    cluster on Sun Solaris machines (two nodes, one manager)

    Here is the exception stacktrace:
    java.rmi.ConnectException: Could not establish a connection with
    2198062098923170717S:shebea219:[7001,7001,-1,-1,7001,-1,-1,0,0]:SHEBEA219,SHEBEA334:DaGama:DaGamaNode1,
    java.security.AccessControlException: access denied
    (java.net.SocketPermission shebea219 resolve)
    at weblogic.rjvm.RJVMImpl.getOutputStream(RJVMImpl.java:316)
    at weblogic.rjvm.RJVMImpl.getRequestStream(RJVMImpl.java:488)
    at weblogic.rjvm.RJVMImpl.getOutboundRequest(RJVMImpl.java:584)
    at
    weblogic.rmi.internal.BasicRemoteRef.getOutboundRequest(BasicRemoteRef.java:91)
    at
    weblogic.rmi.internal.activation.ActivatableRemoteRef.invoke(ActivatableRemoteRef.java:69)
    at
    de.conet.dagama.interesengine.nativesession.SBNativeSession_8da95c_EOImpl_812_WLStub.isConnected(Unknown
    Source)
    at
    de.conet.dagama.agent.flight.nativ.FlightNativeListener.doExitNativeSession(FlightNativeListener.java:244)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at
    de.objektpark.framework.command.CommandInvoker.invoke(CommandInvoker.java:132)
    at
    de.objektpark.framework.command.CommandProcessor.doService(CommandProcessor.java:169)
    at
    de.objektpark.framework.command.CommandProcessor.service(CommandProcessor.java:131)
    at
    de.objektpark.framework.command.CommandProcessor.execute(CommandProcessor.java:71)
    at
    de.conet.webactiv.swing.command.GUICommandProcessor.execute(GUICommandProcessor.java:87)
    at
    de.conet.webactiv.swing.controller.GUICommandController.execute(GUICommandController.java:98)
    at
    de.conet.webactiv.swing.controller.GUICommandController.execute(GUICommandController.java:124)
    at
    de.conet.dagama.agent.flight.nativ.FlightFreeNativeView.this_windowClosing(FlightFreeNativeView.java:84)
    at
    de.conet.dagama.agent.flight.nativ.FlightFreeNativeView$1.windowClosing(FlightFreeNativeView.java:73)
    at java.awt.AWTEventMulticaster.windowClosing(Unknown Source)
    at java.awt.Window.processWindowEvent(Unknown Source)
    at javax.swing.JFrame.processWindowEvent(Unknown Source)
    at java.awt.Window.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
    Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    Has anyone ever come across the same problem and possibly found a
    solution?
    Any help would be greatly appreciated.

    Thanks in advance
    Rolf

    DB:3.61:Java.Rmi.Connectexception Using Webstart Swing Client With Wl 8.1 Sp2 In A 9p

    Hi all,

    I'm receiving the following exception when invoking a remote method on
    a cached remote stub. This only happens if there are at least two
    nodes running in a cluster. It happens more often the more nodes are
    running.
    It seems that the exception occurs if for a call to a remote method a
    cached stub is used, and if that call is referred to a different node
    in the cluster by the load balancer than the one that the stub
    originally came from. But I'm not completely sure about that...

    Client side config:
    Webstart
    JDK 1.4.2_05
    weblogic.jar (we're experiencing other problems already discussed in
    this group when using wlclient.jar)

    Server side config:
    Weblogic 8.1 SP2
    cluster on Sun Solaris machines (two nodes, one manager)

    Here is the exception stacktrace:
    java.rmi.ConnectException: Could not establish a connection with
    2198062098923170717S:shebea219:[7001,7001,-1,-1,7001,-1,-1,0,0]:SHEBEA219,SHEBEA334:DaGama:DaGamaNode1,
    java.security.AccessControlException: access denied
    (java.net.SocketPermission shebea219 resolve)
    at weblogic.rjvm.RJVMImpl.getOutputStream(RJVMImpl.java:316)
    at weblogic.rjvm.RJVMImpl.getRequestStream(RJVMImpl.java:488)
    at weblogic.rjvm.RJVMImpl.getOutboundRequest(RJVMImpl.java:584)
    at
    weblogic.rmi.internal.BasicRemoteRef.getOutboundRequest(BasicRemoteRef.java:91)
    at
    weblogic.rmi.internal.activation.ActivatableRemoteRef.invoke(ActivatableRemoteRef.java:69)
    at
    de.conet.dagama.interesengine.nativesession.SBNativeSession_8da95c_EOImpl_812_WLStub.isConnected(Unknown
    Source)
    at
    de.conet.dagama.agent.flight.nativ.FlightNativeListener.doExitNativeSession(FlightNativeListener.java:244)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at
    de.objektpark.framework.command.CommandInvoker.invoke(CommandInvoker.java:132)
    at
    de.objektpark.framework.command.CommandProcessor.doService(CommandProcessor.java:169)
    at
    de.objektpark.framework.command.CommandProcessor.service(CommandProcessor.java:131)
    at
    de.objektpark.framework.command.CommandProcessor.execute(CommandProcessor.java:71)
    at
    de.conet.webactiv.swing.command.GUICommandProcessor.execute(GUICommandProcessor.java:87)
    at
    de.conet.webactiv.swing.controller.GUICommandController.execute(GUICommandController.java:98)
    at
    de.conet.webactiv.swing.controller.GUICommandController.execute(GUICommandController.java:124)
    at
    de.conet.dagama.agent.flight.nativ.FlightFreeNativeView.this_windowClosing(FlightFreeNativeView.java:84)
    at
    de.conet.dagama.agent.flight.nativ.FlightFreeNativeView$1.windowClosing(FlightFreeNativeView.java:73)
    at java.awt.AWTEventMulticaster.windowClosing(Unknown Source)
    at java.awt.Window.processWindowEvent(Unknown Source)
    at javax.swing.JFrame.processWindowEvent(Unknown Source)
    at java.awt.Window.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown
    Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    Has anyone ever come across the same problem and possibly found a
    solution?
    Any help would be greatly appreciated.

    Thanks in advance
    Rolf

  • RELEVANCY SCORE 3.61

    DB:3.61:Javassist Throws Securityexception On 4.0.4ga 1x



    i just switched to from 4.0.3SP1 with EJB3 RC5 to 4.0.4GA with EJB3 RC8.i develop a Swing application in Eclipse and deploy it using Java Webstart.The server-side ear is still deploying fine on 4.0.4GA.Running the client from inside my development environment (Eclipse) works great too!Problems arise when i deploy the application with java webstart. Javassist seems to have problems with classes having the wrong signature. I sign my client jar and all the necessary libraries with the same certificate, i tripled checked this (i get no classnotfound errors in Eclipse, so i guess i have all the client libs).The problem arises when i try to load a entity with some atributes lazy initialised. I get the following exception (i left out the MarshallException/RuntimeException part) :

    Caused by: org.hibernate.HibernateException: Javassist Enhancement failed: com.acme.entities.contact
    .Dummy
    at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.getProxy(JavassistLazyInitializer.ja
    va:88)
    at org.hibernate.proxy.pojo.javassist.SerializableProxy.readResolve(SerializableProxy.java:54)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at java.io.ObjectStreamClass.invokeReadResolve(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
    at java.io.ObjectInputStream.readSerialData(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
    at java.io.ObjectInputStream.readSerialData(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at java.util.ArrayList.readObject(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at java.io.ObjectStreamClass.invokeReadObject(Unknown Source)
    at java.io.ObjectInputStream.readSerialData(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at org.jboss.aop.joinpoint.InvocationResponse.readExternal(InvocationResponse.java:122)
    at java.io.ObjectInputStream.readExternalData(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
    at java.io.ObjectInputStream.readSerialData(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.receiveObject(JavaSerializat
    ionManager.java:128)
    at org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.read(SerializableUnMarshaller.j
    ava:66)
    at org.jboss.remoting.transport.socket.SocketClientInvoker.transport(SocketClientInvoker.java:279)
    ... 18 more
    Caused by: java.lang.RuntimeException: by java.lang.SecurityException: class "com.acme.entities.contact.Dummy_$$_javassist_0"'s signer information does not match signer information of other classes in the same package
    at javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:173)
    at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.getProxy(JavassistLazyInitializer.ja
    va:79)
    ... 56 more
    Caused by: javassist.CannotCompileException: by java.lang.SecurityException: class "com.acme.entities.contact.Dummy_$$_javassist_0"'s signer information does not match signer information of other classes in the same package
    at javassist.util.proxy.FactoryHelper.toClass(FactoryHelper.java:125)
    at javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:169)
    ... 57 more
    Caused by: java.lang.SecurityException: class "com.acme.entities.contact.Dummy_$$_javassist_0"'s signer information does not match signer information of other classes in the same package
    at java.lang.ClassLoader.checkCerts(Unknown Source)
    at java.lang.ClassLoader.preDefineClass(Unknown Source)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at javassist.util.proxy.FactoryHelper.toClass(FactoryHelper.java:117)
    ... 58 more

    DB:3.61:Javassist Throws Securityexception On 4.0.4ga 1x


    See http://www.jboss.org/index.html?module=bbop=viewtopict=86117You can override Hibernate.java and HibernateMBean.java and change the createService() method to your likings.

  • RELEVANCY SCORE 3.60

    DB:3.60:Java.Net.Connectexception: Connection Refused: Connect 8z


    Hi,

    We're starting to deploy Forms 10g. We've set up an Application Server with a test-form. I can access this from my home and so can a colleague. However, if I try to access it from my current site it won't work.

    When opening the page, Internet Explorer first warns about the certificate being from an untrusted company (that's expected) and then warns about a page with both secure and nonsecure items.

    If I acknowledge all of these, the Java applet loads but fails after a while (Applet main notinited).

    If I look at the Java console, I see:

    Trace level set to 5: basic, net, security, ext, liveconnect ... completed.

    Connecting https://***.euro***.nl/forms90/java/f90all.jar with proxy=148.87.19.20

    Connecting https://***.euro***.nl/forms90/java/f90all.jar with cookie "oracle.uix=0^^GMT+1:00"

    Connecting https://***.euro***.nl/forms90/java/oracle/forms/engine/Main.class with proxy=148.87.19.20

    Connecting https://***.euro***.nl/forms90/java/oracle/forms/engine/Main.class with cookie "oracle.uix=0^^GMT+1:00"

    java.net.ConnectException: Connection refused: connect

    at java.net.PlainSocketImpl.socketConnect(Native Method)

    at java.net.PlainSocketImpl.doConnect(Unknown Source)

    at java.net.PlainSocketImpl.connectToAddress(Unknown Source)

    at java.net.PlainSocketImpl.connect(Unknown Source)

    at java.net.Socket.connect(Unknown Source)

    at java.net.Socket.connect(Unknown Source)

    at java.net.Socket.init(Unknown Source)

    at java.net.Socket.init(Unknown Source)

    at sun.net.www.protocol.https.HttpsClient$2.run(Unknown Source)

    at java.security.AccessController.doPrivileged(Native Method)

    at sun.net.www.protocol.https.HttpsClient.doConnect(Unknown Source)

    at sun.net.www.http.HttpClient.openServer(Unknown Source)

    at sun.net.www.http.HttpClient.openServer(Unknown Source)

    at sun.net.www.protocol.https.HttpsClient.init(Unknown Source)

    at sun.net.www.protocol.https.HttpsClient.a(Unknown Source)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

    at java.lang.reflect.Method.invoke(Unknown Source)

    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.proxiedConnect(Unknown Source)

    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.setProxiedClient(Unknown Source)

    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.superConnect(Unknown Source)

    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connect(Unknown Source)

    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown Source)

    at java.net.HttpURLConnection.getResponseCode(Unknown Source)

    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)

    at sun.plugin.cache.CachedFileLoader.load(Unknown Source)

    at sun.plugin.cache.FileCache.get(Unknown Source)

    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connectWithCache(Unknown Source)

    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connect(Unknown Source)

    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown Source)

    at java.net.HttpURLConnection.getResponseCode(Unknown Source)

    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)

    at sun.applet.AppletClassLoader.getBytes(Unknown Source)

    at sun.applet.AppletClassLoader.access$100(Unknown Source)

    at sun.applet.AppletClassLoader$1.run(Unknown Source)

    at java.security.AccessController.doPrivileged(Native Method)

    at sun.applet.AppletClassLoader.findClass(Unknown Source)

    at java.lang.ClassLoader.loadClass(Unknown Source)

    at sun.applet.AppletClassLoader.loadClass(Unknown Source)

    at java.lang.ClassLoader.loadClass(Unknown Source)

    at sun.applet.AppletClassLoader.loadCode(Unknown Source)

    at sun.applet.AppletPanel.createApplet(Unknown Source)

    at sun.plugin.AppletViewer.createApplet(Unknown Source)

    at sun.applet.AppletPanel.runLoader(Unknown Source)

    at sun.applet.AppletPanel.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

    Connecting https://***.euro***.nl/forms90/java/oracle/forms/engine/Main.class with proxy=148.87.19.20

    Connecting https://***.euro***.nl/forms90/java/oracle/forms/engine/Main.class with cookie "oracle.uix=0^^GMT+1:00"

    Connecting https://***.euro***.nl/forms90/java/oracle/forms/engine/Main.class with proxy=148.87.19.20

    Connecting https://***.euro***.nl/forms90/java/oracle/forms/engine/Main.class with cookie "oracle.uix=0^^GMT+1:00"

    java.net.ConnectException: Connection refused: connect

    at java.net.PlainSocketImpl.socketConnect(Native Method)

    at java.net.PlainSocketImpl.doConnect(Unknown Source)

    at java.net.PlainSocketImpl.connectToAddress(Unknown Source)

    at java.net.PlainSocketImpl.connect(Unknown Source)

    at java.net.Socket.connect(Unknown Source)

    at java.net.Socket.connect(Unknown Source)

    at java.net.Socket.init(Unknown Source)

    at java.net.Socket.init(Unknown Source)

    at sun.net.www.protocol.https.HttpsClient$2.run(Unknown Source)

    at java.security.AccessController.doPrivileged(Native Method)

    at sun.net.www.protocol.https.HttpsClient.doConnect(Unknown Source)

    at sun.net.www.http.HttpClient.openServer(Unknown Source)

    at sun.net.www.http.HttpClient.openServer(Unknown Source)

    at sun.net.www.protocol.https.HttpsClient.init(Unknown Source)

    at sun.net.www.protocol.https.HttpsClient.a(Unknown Source)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

    at java.lang.reflect.Method.invoke(Unknown Source)

    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.proxiedConnect(Unknown Source)

    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.setProxiedClient(Unknown Source)

    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.superConnect(Unknown Source)

    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connect(Unknown Source)

    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown Source)

    at java.net.HttpURLConnection.getResponseCode(Unknown Source)

    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)

    at sun.plugin.cache.CachedFileLoader.load(Unknown Source)

    at sun.plugin.cache.FileCache.get(Unknown Source)

    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connectWithCache(Unknown Source)

    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connect(Unknown Source)

    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown Source)

    at java.net.HttpURLConnection.getResponseCode(Unknown Source)

    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)

    at sun.applet.AppletClassLoader.getBytes(Unknown Source)

    at sun.applet.AppletClassLoader.access$100(Unknown Source)

    at sun.applet.AppletClassLoader$1.run(Unknown Source)

    at java.security.AccessController.doPrivileged(Native Method)

    at sun.applet.AppletClassLoader.findClass(Unknown Source)

    at java.lang.ClassLoader.loadClass(Unknown Source)

    at sun.applet.AppletClassLoader.loadClass(Unknown Source)

    at java.lang.ClassLoader.loadClass(Unknown Source)

    at sun.applet.AppletClassLoader.loadCode(Unknown Source)

    at sun.applet.AppletPanel.createApplet(Unknown Source)

    at sun.plugin.AppletViewer.createApplet(Unknown Source)

    at sun.applet.AppletPanel.runLoader(Unknown Source)

    at sun.applet.AppletPanel.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

    Connecting https://***.euro***.nl/forms90/java/oracle/forms/engine/Main.class with proxy=148.87.19.20

    Connecting https://***.euro***.nl/forms90/java/oracle/forms/engine/Main.class with cookie "oracle.uix=0^^GMT+1:00"

    load: class oracle.forms.engine.Main not found.

    java.lang.ClassNotFoundException: oracle.forms.engine.Main

    at sun.applet.AppletClassLoader.findClass(Unknown Source)

    at java.lang.ClassLoader.loadClass(Unknown Source)

    at sun.applet.AppletClassLoader.loadClass(Unknown Source)

    at java.lang.ClassLoader.loadClass(Unknown Source)

    at sun.applet.AppletClassLoader.loadCode(Unknown Source)

    at sun.applet.AppletPanel.createApplet(Unknown Source)

    at sun.plugin.AppletViewer.createApplet(Unknown Source)

    at sun.applet.AppletPanel.runLoader(Unknown Source)

    at sun.applet.AppletPanel.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

    Caused by: java.net.ConnectException: Connection refused: connect

    at java.net.PlainSocketImpl.socketConnect(Native Method)

    at java.net.PlainSocketImpl.doConnect(Unknown Source)

    at java.net.PlainSocketImpl.connectToAddress(Unknown Source)

    at java.net.PlainSocketImpl.connect(Unknown Source)

    at java.net.Socket.connect(Unknown Source)

    at java.net.Socket.connect(Unknown Source)

    at java.net.Socket.init(Unknown Source)

    at java.net.Socket.init(Unknown Source)

    at sun.net.www.protocol.https.HttpsClient$2.run(Unknown Source)

    at java.security.AccessController.doPrivileged(Native Method)

    at sun.net.www.protocol.https.HttpsClient.doConnect(Unknown Source)

    at sun.net.www.http.HttpClient.openServer(Unknown Source)

    at sun.net.www.http.HttpClient.openServer(Unknown Source)

    at sun.net.www.protocol.https.HttpsClient.init(Unknown Source)

    at sun.net.www.protocol.https.HttpsClient.a(Unknown Source)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

    at java.lang.reflect.Method.invoke(Unknown Source)

    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.proxiedConnect(Unknown Source)

    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.setProxiedClient(Unknown Source)

    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.superConnect(Unknown Source)

    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connect(Unknown Source)

    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown Source)

    at java.net.HttpURLConnection.getResponseCode(Unknown Source)

    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)

    at sun.applet.AppletClassLoader.getBytes(Unknown Source)

    at sun.applet.AppletClassLoader.access$100(Unknown Source)

    at sun.applet.AppletClassLoader$1.run(Unknown Source)

    at java.security.AccessController.doPrivileged(Native Method)

    ... 10 more

    Exception: java.lang.ClassNotFoundException: oracle.forms.engine.Main

    I'm using IESp1 with Sun's JRE 1.4.2. I can download the JAR file fine, so proxy setup doesn't seem te be the problem. I can visit any other website, but the Forms communication seems to fail.

    Any help???

    DB:3.60:Java.Net.Connectexception: Connection Refused: Connect 8z

    Hi,

    We're starting to deploy Forms 10g. We've set up an Application Server with a test-form. I can access this from my home and so can a colleague. However, if I try to access it from my current site it won't work.

    When opening the page, Internet Explorer first warns about the certificate being from an untrusted company (that's expected) and then warns about a page with both secure and nonsecure items.

    If I acknowledge all of these, the Java applet loads but fails after a while (Applet main notinited).

    If I look at the Java console, I see:

    Trace level set to 5: basic, net, security, ext, liveconnect ... completed.

    Connecting https://***.euro***.nl/forms90/java/f90all.jar with proxy=148.87.19.20

    Connecting https://***.euro***.nl/forms90/java/f90all.jar with cookie "oracle.uix=0^^GMT+1:00"

    Connecting https://***.euro***.nl/forms90/java/oracle/forms/engine/Main.class with proxy=148.87.19.20

    Connecting https://***.euro***.nl/forms90/java/oracle/forms/engine/Main.class with cookie "oracle.uix=0^^GMT+1:00"

    java.net.ConnectException: Connection refused: connect

    at java.net.PlainSocketImpl.socketConnect(Native Method)

    at java.net.PlainSocketImpl.doConnect(Unknown Source)

    at java.net.PlainSocketImpl.connectToAddress(Unknown Source)

    at java.net.PlainSocketImpl.connect(Unknown Source)

    at java.net.Socket.connect(Unknown Source)

    at java.net.Socket.connect(Unknown Source)

    at java.net.Socket.init(Unknown Source)

    at java.net.Socket.init(Unknown Source)

    at sun.net.www.protocol.https.HttpsClient$2.run(Unknown Source)

    at java.security.AccessController.doPrivileged(Native Method)

    at sun.net.www.protocol.https.HttpsClient.doConnect(Unknown Source)

    at sun.net.www.http.HttpClient.openServer(Unknown Source)

    at sun.net.www.http.HttpClient.openServer(Unknown Source)

    at sun.net.www.protocol.https.HttpsClient.init(Unknown Source)

    at sun.net.www.protocol.https.HttpsClient.a(Unknown Source)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

    at java.lang.reflect.Method.invoke(Unknown Source)

    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.proxiedConnect(Unknown Source)

    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.setProxiedClient(Unknown Source)

    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.superConnect(Unknown Source)

    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connect(Unknown Source)

    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown Source)

    at java.net.HttpURLConnection.getResponseCode(Unknown Source)

    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)

    at sun.plugin.cache.CachedFileLoader.load(Unknown Source)

    at sun.plugin.cache.FileCache.get(Unknown Source)

    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connectWithCache(Unknown Source)

    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connect(Unknown Source)

    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown Source)

    at java.net.HttpURLConnection.getResponseCode(Unknown Source)

    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)

    at sun.applet.AppletClassLoader.getBytes(Unknown Source)

    at sun.applet.AppletClassLoader.access$100(Unknown Source)

    at sun.applet.AppletClassLoader$1.run(Unknown Source)

    at java.security.AccessController.doPrivileged(Native Method)

    at sun.applet.AppletClassLoader.findClass(Unknown Source)

    at java.lang.ClassLoader.loadClass(Unknown Source)

    at sun.applet.AppletClassLoader.loadClass(Unknown Source)

    at java.lang.ClassLoader.loadClass(Unknown Source)

    at sun.applet.AppletClassLoader.loadCode(Unknown Source)

    at sun.applet.AppletPanel.createApplet(Unknown Source)

    at sun.plugin.AppletViewer.createApplet(Unknown Source)

    at sun.applet.AppletPanel.runLoader(Unknown Source)

    at sun.applet.AppletPanel.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

    Connecting https://***.euro***.nl/forms90/java/oracle/forms/engine/Main.class with proxy=148.87.19.20

    Connecting https://***.euro***.nl/forms90/java/oracle/forms/engine/Main.class with cookie "oracle.uix=0^^GMT+1:00"

    Connecting https://***.euro***.nl/forms90/java/oracle/forms/engine/Main.class with proxy=148.87.19.20

    Connecting https://***.euro***.nl/forms90/java/oracle/forms/engine/Main.class with cookie "oracle.uix=0^^GMT+1:00"

    java.net.ConnectException: Connection refused: connect

    at java.net.PlainSocketImpl.socketConnect(Native Method)

    at java.net.PlainSocketImpl.doConnect(Unknown Source)

    at java.net.PlainSocketImpl.connectToAddress(Unknown Source)

    at java.net.PlainSocketImpl.connect(Unknown Source)

    at java.net.Socket.connect(Unknown Source)

    at java.net.Socket.connect(Unknown Source)

    at java.net.Socket.init(Unknown Source)

    at java.net.Socket.init(Unknown Source)

    at sun.net.www.protocol.https.HttpsClient$2.run(Unknown Source)

    at java.security.AccessController.doPrivileged(Native Method)

    at sun.net.www.protocol.https.HttpsClient.doConnect(Unknown Source)

    at sun.net.www.http.HttpClient.openServer(Unknown Source)

    at sun.net.www.http.HttpClient.openServer(Unknown Source)

    at sun.net.www.protocol.https.HttpsClient.init(Unknown Source)

    at sun.net.www.protocol.https.HttpsClient.a(Unknown Source)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

    at java.lang.reflect.Method.invoke(Unknown Source)

    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.proxiedConnect(Unknown Source)

    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.setProxiedClient(Unknown Source)

    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.superConnect(Unknown Source)

    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connect(Unknown Source)

    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown Source)

    at java.net.HttpURLConnection.getResponseCode(Unknown Source)

    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)

    at sun.plugin.cache.CachedFileLoader.load(Unknown Source)

    at sun.plugin.cache.FileCache.get(Unknown Source)

    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connectWithCache(Unknown Source)

    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connect(Unknown Source)

    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown Source)

    at java.net.HttpURLConnection.getResponseCode(Unknown Source)

    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)

    at sun.applet.AppletClassLoader.getBytes(Unknown Source)

    at sun.applet.AppletClassLoader.access$100(Unknown Source)

    at sun.applet.AppletClassLoader$1.run(Unknown Source)

    at java.security.AccessController.doPrivileged(Native Method)

    at sun.applet.AppletClassLoader.findClass(Unknown Source)

    at java.lang.ClassLoader.loadClass(Unknown Source)

    at sun.applet.AppletClassLoader.loadClass(Unknown Source)

    at java.lang.ClassLoader.loadClass(Unknown Source)

    at sun.applet.AppletClassLoader.loadCode(Unknown Source)

    at sun.applet.AppletPanel.createApplet(Unknown Source)

    at sun.plugin.AppletViewer.createApplet(Unknown Source)

    at sun.applet.AppletPanel.runLoader(Unknown Source)

    at sun.applet.AppletPanel.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

    Connecting https://***.euro***.nl/forms90/java/oracle/forms/engine/Main.class with proxy=148.87.19.20

    Connecting https://***.euro***.nl/forms90/java/oracle/forms/engine/Main.class with cookie "oracle.uix=0^^GMT+1:00"

    load: class oracle.forms.engine.Main not found.

    java.lang.ClassNotFoundException: oracle.forms.engine.Main

    at sun.applet.AppletClassLoader.findClass(Unknown Source)

    at java.lang.ClassLoader.loadClass(Unknown Source)

    at sun.applet.AppletClassLoader.loadClass(Unknown Source)

    at java.lang.ClassLoader.loadClass(Unknown Source)

    at sun.applet.AppletClassLoader.loadCode(Unknown Source)

    at sun.applet.AppletPanel.createApplet(Unknown Source)

    at sun.plugin.AppletViewer.createApplet(Unknown Source)

    at sun.applet.AppletPanel.runLoader(Unknown Source)

    at sun.applet.AppletPanel.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

    Caused by: java.net.ConnectException: Connection refused: connect

    at java.net.PlainSocketImpl.socketConnect(Native Method)

    at java.net.PlainSocketImpl.doConnect(Unknown Source)

    at java.net.PlainSocketImpl.connectToAddress(Unknown Source)

    at java.net.PlainSocketImpl.connect(Unknown Source)

    at java.net.Socket.connect(Unknown Source)

    at java.net.Socket.connect(Unknown Source)

    at java.net.Socket.init(Unknown Source)

    at java.net.Socket.init(Unknown Source)

    at sun.net.www.protocol.https.HttpsClient$2.run(Unknown Source)

    at java.security.AccessController.doPrivileged(Native Method)

    at sun.net.www.protocol.https.HttpsClient.doConnect(Unknown Source)

    at sun.net.www.http.HttpClient.openServer(Unknown Source)

    at sun.net.www.http.HttpClient.openServer(Unknown Source)

    at sun.net.www.protocol.https.HttpsClient.init(Unknown Source)

    at sun.net.www.protocol.https.HttpsClient.a(Unknown Source)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)

    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)

    at java.lang.reflect.Method.invoke(Unknown Source)

    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.proxiedConnect(Unknown Source)

    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.setProxiedClient(Unknown Source)

    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.superConnect(Unknown Source)

    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.connect(Unknown Source)

    at sun.net.www.protocol.https.PluginDelegateHttpsURLConnection.getInputStream(Unknown Source)

    at java.net.HttpURLConnection.getResponseCode(Unknown Source)

    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)

    at sun.applet.AppletClassLoader.getBytes(Unknown Source)

    at sun.applet.AppletClassLoader.access$100(Unknown Source)

    at sun.applet.AppletClassLoader$1.run(Unknown Source)

    at java.security.AccessController.doPrivileged(Native Method)

    ... 10 more

    Exception: java.lang.ClassNotFoundException: oracle.forms.engine.Main

    I'm using IESp1 with Sun's JRE 1.4.2. I can download the JAR file fine, so proxy setup doesn't seem te be the problem. I can visit any other website, but the Forms communication seems to fail.

    Any help???

  • RELEVANCY SCORE 3.60

    DB:3.60:No Line Number In Nullpointerexception pd


    Hello everybody,
    I have a problem with an application i'm coding using java swing. The application works well but once in a while i've got this exception with no indication of where does it come from (but the software still works). Does anyone have an idea about how to get a hint to settle this ? I point out that i put try/catch almost everywhere and looked for this "AWT-EventQueue-0" thread with System.out.println(Thread.currentThread().getName()); and i can't find where this thread is in my code.

    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    at javax.swing.plaf.basic.BasicTableUI.paintCell(Unknown Source)
    at javax.swing.plaf.basic.BasicTableUI.paintCells(Unknown Source)
    at javax.swing.plaf.basic.BasicTableUI.paint(Unknown Source)
    at javax.swing.plaf.ComponentUI.update(Unknown Source)
    at javax.swing.JComponent.paintComponent(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JComponent.paintToOffscreen(Unknown Source)
    at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
    at javax.swing.RepaintManager.paint(Unknown Source)
    at javax.swing.JComponent._paintImmediately(Unknown Source)
    at javax.swing.JComponent.paintImmediately(Unknown Source)
    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
    at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)Thanks

    DB:3.60:No Line Number In Nullpointerexception pd

    public void actualiserListes() {
    // TODO Auto-generated method stub
    table.updateUI();
    }This also is not the correct way to update a table.

    public void actualiserListes() {
    assert EventQueue.isDispatchThread();
    modP.setValueAt(row, column, value);
    }Where DefaultTableModel will fire the correct event which the table will receive and repaint itself. I put in the assert because you say you still get the exception sometimes which very likely means you aren't updating on the Event Dispatch Thread.

    Search on "Java Swing concurrency tutorial" and "Swing JTable tutorial" for more infomartion.

  • RELEVANCY SCORE 3.59

    DB:3.59:Java Webstart -- Access Denied Exception 89


    I have developed a swing desktop application. I am launching the same using Java ws. It starts fine it does create a desktop Icon and also puts a entry in the start programs menu.

    But when i try to browse files from the application using the JFileChooser the following error is being thrown.

    log4j:WARN No appenders could be found for logger (root).
    log4j:WARN Please initialize the log4j system properly.
    Exception in thread "AWT-EventQueue-0" java.security.AccessControlException: access denied (java.io.FilePermission D:\Documents and Settings\703052286\My Documents read)
    at java.security.AccessControlContext.checkPermission(Unknown Source)
    at java.security.AccessController.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkRead(Unknown Source)
    at java.io.File.exists(Unknown Source)
    at java.io.Win32FileSystem.canonicalize(Unknown Source)
    at java.io.File.getCanonicalPath(Unknown Source)
    at sun.awt.shell.Win32ShellFolderManager2.createShellFolder(Unknown Source)
    at sun.awt.shell.Win32ShellFolderManager2.getPersonal(Unknown Source)
    at sun.awt.shell.Win32ShellFolder2.listFiles(Unknown Source)
    at sun.awt.shell.ShellFolder.listFiles(Unknown Source)
    at sun.awt.shell.Win32ShellFolderManager2.get(Unknown Source)
    at sun.awt.shell.ShellFolder.get(Unknown Source)
    at javax.swing.plaf.metal.MetalFileChooserUI.updateUseShellFolder(Unknown Source)
    at javax.swing.plaf.metal.MetalFileChooserUI.installComponents(Unknown Source)
    at javax.swing.plaf.basic.BasicFileChooserUI.installUI(Unknown Source)
    at javax.swing.plaf.metal.MetalFileChooserUI.installUI(Unknown Source)
    at javax.swing.JComponent.setUI(Unknown Source)
    at javax.swing.JFileChooser.updateUI(Unknown Source)
    at javax.swing.JFileChooser.setup(Unknown Source)
    at javax.swing.JFileChooser.init(Unknown Source)
    at javax.swing.JFileChooser.init(Unknown Source)
    at TestDir.getReadDir(TestDir.java:84)
    at SplitPane2.actionPerformed(SplitPane2.java:236)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

    I have tried the keygen and jarsigner utility aswell. Pls let me know what is that i need to change.Below is the JNLP file i am using.

    ?xml version="1.0" encoding="utf-8"?
    !-- JNLP File for SwingSet2 Demo Application --
    jnlp
    spec="1.0+"
    codebase="file:///D:/Documents and Settings/Desktop/SAB Tool"
    href="APPLICNOVA.jnlp"
    information
    title Application/title
    vendorME/vendor
    descriptionThis is a Demo Application/description
    description kind="short"A demo/description
    icon href="images/demologo.gif"/
    offline-allowed/
    shortcut online="false"
    desktop/
    menu submenu=" Formatting Tool"/
    /shortcut
    /information
    security
    /security
    resources
    j2se version="1.5+"/
    jar href="APPLICNOVA.jar"/
    /resources
    application-desc main-class="SplitPane2"/
    /jnlp

    Pls help me..... Thanks in advance.

    DB:3.59:Java Webstart -- Access Denied Exception 89

    Thanks Claude i have included the same and now it works fine.

  • RELEVANCY SCORE 3.58

    DB:3.58:Dispose With "Reflection" Throws "Invocationtargetexception" xk


    I am developing a Swing renderer class in which I receive instructions to build interfaces dynamically using "reflection". The problem is that when I try to do a "dispose" in a "JInternalFrame" I receive an exception "InvocationTargetException". The objects are created dynamically and stored in hash maps and the dispose is being invoked in a event handler for the event "internalFrameClosing". I also set the default close operation to "DO_NOTHING_ON_CLOSE". If I do the same operation in a normal application, not using "reflection", it works fine. But the same sequence of code using "reflection" fails. Any ideas? The complete exception trace is below. It seems to be caused by a "null" reference somewhere and this is where I am stuck right now. I already tried many things, removing the listener before disposing, separated thread, etc.

    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at jgr.SwingRenderer.call(SwingRenderer.java:483)
    at jgr.SwingRenderer.event(SwingRenderer.java:274)
    at jgr.SwingRenderer.access$200(SwingRenderer.java:9)
    at jgr.SwingRenderer$1.invoke(SwingRenderer.java:203)
    at $Proxy5.internalFrameClosing(Unknown Source)
    at javax.swing.JInternalFrame.fireInternalFrameEvent(Unknown Source)
    at javax.swing.JInternalFrame.doDefaultCloseAction(Unknown Source)
    at javax.swing.plaf.basic.BasicInternalFrameTitlePane$CloseAction.actionPerformed(Unknown Source)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.lang.NullPointerException
    at $Proxy5.equals(Unknown Source)
    at javax.swing.event.EventListenerList.remove(Unknown Source)
    at javax.swing.JInternalFrame.removeInternalFrameListener(Unknown Source)
    at javax.swing.plaf.basic.BasicInternalFrameUI$BasicInternalFrameListener.internalFrameClosed(Unknown Source)
    at javax.swing.JInternalFrame.fireInternalFrameEvent(Unknown Source)
    at javax.swing.JInternalFrame.dispose(Unknown Source)
    ... 35 more

    DB:3.58:Dispose With "Reflection" Throws "Invocationtargetexception" xk

    I am developing a Swing renderer class in which I receive instructions to build interfaces dynamically using "reflection". The problem is that when I try to do a "dispose" in a "JInternalFrame" I receive an exception "InvocationTargetException". The objects are created dynamically and stored in hash maps and the dispose is being invoked in a event handler for the event "internalFrameClosing". I also set the default close operation to "DO_NOTHING_ON_CLOSE". If I do the same operation in a normal application, not using "reflection", it works fine. But the same sequence of code using "reflection" fails. Any ideas? The complete exception trace is below. It seems to be caused by a "null" reference somewhere and this is where I am stuck right now. I already tried many things, removing the listener before disposing, separated thread, etc.

    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at jgr.SwingRenderer.call(SwingRenderer.java:483)
    at jgr.SwingRenderer.event(SwingRenderer.java:274)
    at jgr.SwingRenderer.access$200(SwingRenderer.java:9)
    at jgr.SwingRenderer$1.invoke(SwingRenderer.java:203)
    at $Proxy5.internalFrameClosing(Unknown Source)
    at javax.swing.JInternalFrame.fireInternalFrameEvent(Unknown Source)
    at javax.swing.JInternalFrame.doDefaultCloseAction(Unknown Source)
    at javax.swing.plaf.basic.BasicInternalFrameTitlePane$CloseAction.actionPerformed(Unknown Source)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.lang.NullPointerException
    at $Proxy5.equals(Unknown Source)
    at javax.swing.event.EventListenerList.remove(Unknown Source)
    at javax.swing.JInternalFrame.removeInternalFrameListener(Unknown Source)
    at javax.swing.plaf.basic.BasicInternalFrameUI$BasicInternalFrameListener.internalFrameClosed(Unknown Source)
    at javax.swing.JInternalFrame.fireInternalFrameEvent(Unknown Source)
    at javax.swing.JInternalFrame.dispose(Unknown Source)
    ... 35 more

  • RELEVANCY SCORE 3.58

    DB:3.58:Unexpected Database Connector Error 3a



    Hi,

    From my jsp I am calling a rpt which is using a stored proc. When I try to pass the parameter values which is same as the default values in the report it works fine but for all other values I am getting the error as shown below.

    Pls help.

    brbr

    detected an exception: Unexpected database connector error

    at com.crystaldecisions.reports.datafoundation.DFQuery.for(Unknown Source)

    at com.crystaldecisions.reports.datalayer.a.do(Unknown Source)

    at com.crystaldecisions.reports.datalayer.a.a(Unknown Source)

    at com.crystaldecisions.reports.dataengine.m.b(Unknown Source)

    at com.crystaldecisions.reports.dataengine.j.b(Unknown Source)

    at com.crystaldecisions.reports.dataengine.m.o(Unknown Source)

    at com.crystaldecisions.reports.dataengine.m.a(Unknown Source)

    at com.crystaldecisions.reports.dataengine.ContextNode.a(Unknown Source)

    at com.crystaldecisions.reports.dataengine.ContextNode.a(Unknown Source)

    at com.crystaldecisions.reports.dataengine.j.case(Unknown Source)

    at com.crystaldecisions.reports.dataengine.h.init(Unknown Source)

    at com.crystaldecisions.reports.dataengine.DataContext.a(Unknown Source)

    at com.crystaldecisions.reports.dataengine.DataProcessor2.a(Unknown Source)

    at com.crystaldecisions.reports.dataengine.DataProcessor2.a(Unknown Source)

    at com.crystaldecisions.reports.dataengine.DataProcessor2.new(Unknown Source)

    at com.crystaldecisions.reports.dataengine.DataProcessor2.try(Unknown Source)

    at com.crystaldecisions.reports.dataengine.DataProcessor2.int(Unknown Source)

    at com.crystaldecisions.reports.dataengine.DataProcessor2.I(Unknown Source)

    at com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.fl(Unknown Source)

    at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.if(Unknown Source)

    at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.a(Unknown Source)

    at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.X(Unknown Source)

    at com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.moveToPageN(Unknown Source)

    at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.a(Unknown Source)

    at com.businessobjects.reports.sdk.requesthandler.ReportViewingRequestHandler.byte(Unknown Source)

    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.do(Unknown Source)

    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.if(Unknown Source)

    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.a(Unknown Source)

    at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.a(Unknown Source)

    at com.businessobjects.reports.sdk.JRCCommunicationAdapter$2.call(Unknown Source)

    at com.crystaldecisions.reports.common.ThreadGuard.syncExecute(Unknown Source)

    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.for(Unknown Source)

    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.int(Unknown Source)

    at com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)

    at com.businessobjects.sdk.erom.jrc.a.a(Unknown Source)

    at com.businessobjects.sdk.erom.jrc.a.execute(Unknown Source)

    at com.crystaldecisions.proxy.remoteagent.RemoteAgent$a.execute(Unknown Source)

    at com.crystaldecisions.proxy.remoteagent.CommunicationChannel.a(Unknown Source)

    at com.crystaldecisions.proxy.remoteagent.RemoteAgent.a(Unknown Source)

    at com.crystaldecisions.sdk.occa.report.application.ds.a(Unknown Source)

    at com.crystaldecisions.sdk.occa.report.application.ReportSource.a(Unknown Source)

    at com.crystaldecisions.sdk.occa.report.application.ReportSource.getPage(Unknown Source)

    at com.crystaldecisions.sdk.occa.report.application.AdvancedReportSource.getPage(Unknown Source)

    at com.businessobjects.report.web.event.s.a(Unknown Source)

    at com.businessobjects.report.web.event.s.a(Unknown Source)

    at com.businessobjects.report.web.event.bt.a(Unknown Source)

    at com.businessobjects.report.web.event.bw.broadcast(Unknown Source)

    at com.businessobjects.report.web.event.am.a(Unknown Source)

    at com.businessobjects.report.web.a.t.if(Unknown Source)

    at com.businessobjects.report.web.e.a(Unknown Source)

    at com.businessobjects.report.web.e.a(Unknown Source)

    at com.businessobjects.report.web.e.a(Unknown Source)

    at com.crystaldecisions.report.web.ServerControl.a(Unknown Source)

    at com.crystaldecisions.report.web.ServerControl.processHttpRequest(Unknown Source)

    at org.apache.jsp.pages.CrystalReportViewer_jsp._jspService(CrystalReportViewer_jsp.java:90)

    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)

    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)

    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

    at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)

    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)

    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)

    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)

    at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)

    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:525)

    at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)

    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)

    at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)

    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)

    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)

    at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)

    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)

    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)

    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)

    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:601)

    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)

    at java.lang.Thread.run(Unknown Source)

    Edited by: sb-onward on Jul 31, 2009 8:10 PM

    DB:3.58:Unexpected Database Connector Error 3a


    Hi there,

    I currently have the same stacktrace when I open a report. I tried to remove the java code which adds the parameters to the ReportClientDocument. when I open the report I get a parameter popup without inputfields.

    Other reports with parameters are opening correct. Can anyone tell me what my problem is?

  • RELEVANCY SCORE 3.56

    DB:3.56:Cannot Import, Exception Occured While Importing Csv File : Error (90): Cannot Establish A Network Connection To The Ar System Server; -D fd



    Been getting this error when importing from a newly created CSV file. I'm using the new version DataImport.bat through command line.

    Cannot import, exception occured while importing csv file : ERROR (90): Cannot establish a network connection to the AR System server; -D

    ERROR (90): Cannot establish a network connection to the AR System server; -D

    at com.bmc.arsys.api.ProxyJRpc.getRpcClient(Unknown Source)

    at com.bmc.arsys.api.ProxyJRpc.init(Unknown Source)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)

    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)

    at java.lang.reflect.Constructor.newInstance(Unknown Source)

    at com.bmc.arsys.apitransport.connection.b.a(Unknown Source)

    at com.bmc.arsys.apitransport.connection.b.createProxy(Unknown Source)

    at com.bmc.arsys.api.ProxyManager.createProxy(Unknown Source)

    at com.bmc.arsys.api.ProxyPool.createProxy(Unknown Source)

    at com.bmc.arsys.apitransport.connection.a.get(Unknown Source)

    at com.bmc.arsys.apitransport.connection.c.getProxy(Unknown Source)

    at com.bmc.arsys.api.PoolingProxyManager.getProxy(Unknown Source)

    at com.bmc.arsys.apitransport.connection.c.getProxy(Unknown Source)

    at com.bmc.arsys.api.ARServerUser.getListFieldObjects(Unknown Source)

    at com.bmc.arsys.api.ARServerUser.getListFieldObjects(Unknown Source)

    at com.bmc.arsys.api.ARServerUser.getListFieldObjects(Unknown Source)

    at com.bmc.arsys.apiext.data.Util.getServerForm(Unknown Source)

    at com.bmc.arsys.apiext.data.csv.CSVImporter.getTargetForm(Unknown Source)

    at com.bmc.arsys.apiext.data.csv.CSVImporter.handleTitlesEvent(Unknown Source)

    at com.bmc.arsys.apiext.data.BaseImporter$1.handleEvent(Unknown Source)

    at com.bmc.arsys.apiext.data.Parser.fireEvent(Unknown Source)

    at com.bmc.arsys.apiext.data.csv.CSVParser.parseFile(Unknown Source)

    at com.bmc.arsys.apiext.data.csv.CSVImporter.a(Unknown Source)

    at com.bmc.arsys.apiext.data.csv.CSVImporter.startImport(Unknown Source)

    at com.bmc.arsys.apiext.data.BaseImporter.call(Unknown Source)

    at com.bmc.arsys.apiext.data.BaseImporter.call(Unknown Source)

    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)

    at java.util.concurrent.FutureTask.run(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

    DB:3.56:Cannot Import, Exception Occured While Importing Csv File : Error (90): Cannot Establish A Network Connection To The Ar System Server; -D fd


    Hi Srini,

    We actually have a map file (arx) that already contains the data file (csv), it's kind a weird that it is not working in one of our script. What you suggested was, I think, that I need to specify the map file name and data file name.

  • RELEVANCY SCORE 3.56

    DB:3.56:Help! Exception Happend In Changing Swing To Awt (Timer) kj


    I want to change part of my code from swing to AWT(just the timer part), but some exceptions are displayed. could you tell me why?

    This is swing part

    GUILogger guiLogger = new GUILogger(logLength);
    // update log information
    Timer timer = new Timer(logTime, new ActionListener() {
    public void actionPerformed(ActionEvent evt) {
    guiLogger.updateLog();
    }
    });
    timer.start();This is awt part

    /* final Runnable doUpdateLog = new Runnable() {
    public void run() {
    guiLogger.updateLog();
    }
    };

    TimerTask updateLogTask = new TimerTask() {
    public void run() {
    //if (!EventQueue.isDispatchThread())
    EventQueue.invokeLater(doUpdateLog);
    }
    };
    timer = new Timer();
    timer.schedule(updateLogTask,0,logTime);
    */ exception:

    Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: position less than zero.
    at java.awt.TextComponent.setCaretPosition(Unknown Source)
    at teema.GUILogger.updateLog(GUILogger.java:97)
    at WtCDC$1.run(WtCDC.java:87)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

    DB:3.56:Help! Exception Happend In Changing Swing To Awt (Timer) kj

    I want to change part of my code from swing to AWT(just the timer part), but some exceptions are displayed. could you tell me why?

    This is swing part

    GUILogger guiLogger = new GUILogger(logLength);
    // update log information
    Timer timer = new Timer(logTime, new ActionListener() {
    public void actionPerformed(ActionEvent evt) {
    guiLogger.updateLog();
    }
    });
    timer.start();This is awt part

    /* final Runnable doUpdateLog = new Runnable() {
    public void run() {
    guiLogger.updateLog();
    }
    };

    TimerTask updateLogTask = new TimerTask() {
    public void run() {
    //if (!EventQueue.isDispatchThread())
    EventQueue.invokeLater(doUpdateLog);
    }
    };
    timer = new Timer();
    timer.schedule(updateLogTask,0,logTime);
    */ exception:

    Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: position less than zero.
    at java.awt.TextComponent.setCaretPosition(Unknown Source)
    at teema.GUILogger.updateLog(GUILogger.java:97)
    at WtCDC$1.run(WtCDC.java:87)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

  • RELEVANCY SCORE 3.55

    DB:3.55:Exception In Swing Drag And Drop jj


    hi all,

    i am designing a GUI. i need to drag the Jtree in my left split pane to right split pane.
    when i try to drop the node in the right split pane am getting the following exception in my drop class.

    Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: java.lang.String
    at ListDropTarget.drop(ListDropTaget.java:53)
    at sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(Unknown Source)
    at sun.awt.dnd.SunDropTargetContextPeer.access$800(Unknown Source)
    at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(Unknown Source)
    at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(Unknown Source)
    at sun.awt.dnd.SunDropTargetEvent.dispatch(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processDropTargetEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

    please help me regarding this issue.
    thanks in advance
    karthik.

    DB:3.55:Exception In Swing Drag And Drop jj

    hi all,

    i am designing a GUI. i need to drag the Jtree in my left split pane to right split pane.
    when i try to drop the node in the right split pane am getting the following exception in my drop class.

    Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: java.lang.String
    at ListDropTarget.drop(ListDropTaget.java:53)
    at sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(Unknown Source)
    at sun.awt.dnd.SunDropTargetContextPeer.access$800(Unknown Source)
    at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(Unknown Source)
    at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(Unknown Source)
    at sun.awt.dnd.SunDropTargetEvent.dispatch(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processDropTargetEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

    please help me regarding this issue.
    thanks in advance
    karthik.

  • RELEVANCY SCORE 3.55

    DB:3.55:Ftpclient 7f


    I've built a swing application that uses Jakarta Commons Net FTP classes to upload files to ftp website.(I am using NetBEANS 4.1)

    I extracted the commons-net-1.4.0.zip file to my src directory, and then added the commons-net-1.4.0.jar file to library path under project properties in NetBEANS...so far so good, I can run the program and it works fine from the NetBEANS studio..however when I try running the jar file that NetBEANS produces in "dist" directory,(eg. java - jar myGUIapp.jar) I get this error(look below) when I hit button to start ftp-ing. It seems like it cann't find the library, but it is added in the project, so how come it doesn't work?

    any ideas?

    Exception in thread "AWT-EventQueue-0" java.lang.NoClassDefFoundError: org/apache/commons/net/f
    tp/FTPClient
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at changerates.HTMLRatesPageGenerator.GenerateHTML(HTMLRatesPageGenerator.java:111)
    at changerates.ChangeRates.jButton1ActionPerformed(ChangeRates.java:1295)
    at changerates.ChangeRates.access$000(ChangeRates.java:27)
    at changerates.ChangeRates$1.actionPerformed(ChangeRates.java:206)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

    DB:3.55:Ftpclient 7f

    Just a note: you can also use FTP URLs to upload your files and don't need any 3rd party libraries like Jakarta Commons Net FTP. Here's an example:

    /**
    * Upload a file to a FTP server. A FTP URL is generated with the following syntax:
    * codeftp://user:password@host:port/filePath;type=i/code.
    *
    * @param ftpServer FTP server address (incl. optional port ':portNumber').
    * @param user Optional user name to login.
    * @param pwd Optional password for iuser/i.
    * @param fileName Destination file name on FTP server (with optional preceeding relative path, e.g. "one/two/three.txt").
    * @param source Source file to upload.
    * @throws MalformedURLException, IOException on error.
    */
    public void upload(String ftpServer, String user, String pwd, String fileName, File source) throws MalformedURLException, IOException {
    if (ftpServer != null fileName != null source != null) {
    StringBuffer sb = new StringBuffer("ftp://");
    if (user != null pwd != null) { //need authentication?
    sb.append(user);
    sb.append(':');
    sb.append(pwd);
    sb.append('@');
    }//else: anonymous access
    sb.append(ftpServer);
    sb.append('/');
    sb.append(fileName);
    sb.append(";type=i"); //a=ASCII mode, i=image (binary) mode, d= file directory listing

    BufferedInputStream bis = null;
    BufferedOutputStream bos = null;
    try {
    URL url = new URL(sb.toString());
    URLConnection urlc = url.openConnection();

    bos = new BufferedOutputStream(urlc.getOutputStream());
    bis = new BufferedInputStream(new FileInputStream(source.getName()));

    int i;
    while ((i = bis.read()) != -1) { //read next byte until end of stream
    bos.write(i);
    }//next byte
    } finally {
    if (bis != null) try { bis.close(); } catch (IOException ioe) { /* ignore*/ }
    if (bos != null) try { bos.close(); } catch (IOException ioe) { /* ignore*/ }
    }
    }//else: input unavailable
    }//upload()

  • RELEVANCY SCORE 3.55

    DB:3.55:Java.Io.Invalidclassexception Using Jrockit Bundled With Weblogic 8.1 Sp3 jk


    Hello,

    I'm actually migrating from weblogic 6.1 to weblogic 8.1.
    I've got a swing application that uses EJBs which runs under weblogic 8.1 sp3.
    If weblogic runs with Sun JVM (the one bundled with weblogic 8.1) 1.4.2_04-b05, my application works well, that is the EJB call works.
    If weblogic runs with JRockit (the one bundled with weblogic 8.1) ari-31788-20040616-1132-win-ia32, my swing application throws the following exception, saying that class are incompatible.

    Is there something I have to parameter, or is this a bug ?
    Regards,
    Dom

    12 oct. 2004 18 h 04 CEST Error RJVM BEA-000503 Incoming message header or abbreviation processing failed
    java.io.InvalidClassException: com.dexia.sofaxis.prestations.business.TypeElementMateriel; local class incompatible: stream classdesc serialVersionUID = 6712256138740385772, local class serialVersionUID = -3643865367307780016
    java.io.InvalidClassException: com.dexia.sofaxis.prestations.business.TypeElementMateriel; local class incompatible: stream classdesc serialVersionUID = 6712256138740385772, local class serialVersionUID = -3643865367307780016
    at java.io.ObjectStreamClass.initNonProxy(Unknown Source)
    at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source)
    at java.io.ObjectInputStream.readClassDesc(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at weblogic.rjvm.ClassTableEntry.readExternal(ClassTableEntry.java:33)
    at java.io.ObjectInputStream.readExternalData(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at weblogic.rjvm.InboundMsgAbbrev.readObject(InboundMsgAbbrev.java:65)
    at weblogic.rjvm.InboundMsgAbbrev.read(InboundMsgAbbrev.java:37)
    at weblogic.rjvm.MsgAbbrevJVMConnection.readMsgAbbrevs(MsgAbbrevJVMConnection.java:209)
    at weblogic.rjvm.MsgAbbrevInputStream.readMessageContext(MsgAbbrevInputStream.java:232)
    at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:733)
    at weblogic.rjvm.t3.T3JVMConnection.dispatch(T3JVMConnection.java:742)
    at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:682)
    at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:618)
    at weblogic.socket.JavaSocketMuxer.processSockets(JavaSocketMuxer.java:282)
    at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:32)
    at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:219)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:178)

    DB:3.55:Java.Io.Invalidclassexception Using Jrockit Bundled With Weblogic 8.1 Sp3 jk

    Thanks for the source code. This was indeed a bug in JRockit.

    The problem was with fields that had "international" (for lack of a better name) characters in them. In your case you had a field a name that contained the character (capital A with an accent grave). JRockit sorted these fields incorrectly when calculating the serialVersionUID for the class.

    You can work around this bug by changing the name of that field. If you need a fix for JRockit before the next service pack you can contact BEA support (quote CR200303).

    Thanks a lot for your help!
    /Staffan

  • RELEVANCY SCORE 3.54

    DB:3.54:Configuration Jboss 5.0.0.Beta4: Java.Rmi.Marshalexception: 17



    I'm migrating an application from ejb to ejb3.I'm using Swing, Hibernate, EJB3, JNDI and JBOSS-5.0.0.Beta4.When I load a client done with Swing launghing JavaWebStart, the application loads by jndi the ejb's correctly.contextService = (ContextService) context.lookup("gn_j2ee_application/ContextServiceBean/remote");But when I call any method on the swing client from de ejb, it fails.The method that is calling is getEnvironment, and the motive of the error feels something like Caused by: java.io.NotSerializableException: org.jboss.security.auth.callback.SecurityAssociationHandler. But I don't know why and what I have to modify.Does anyone could help me?The error that return is:java.lang.reflect.UndeclaredThrowableExceptionat $Proxy1.getEnvironment(Unknown Source)at com.quavantis.gui.secenet.ApplicationMain.showLogin(ApplicationMain.java:448)at com.quavantis.gui.secenet.ApplicationMain.main(ApplicationMain.java:419)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)at java.lang.reflect.Method.invoke(Unknown Source)at com.sun.javaws.Launcher.executeApplication(Unknown Source)at com.sun.javaws.Launcher.executeMainClass(Unknown Source)at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)at com.sun.javaws.Launcher.run(Unknown Source)at java.lang.Thread.run(Unknown Source)Caused by: java.rmi.MarshalException: Failed to communicate. Problem during marshalling/unmarshalling; nested exception is:java.io.NotSerializableException: org.jboss.security.auth.callback.SecurityAssociationHandlerat org.jboss.remoting.transport.socket.SocketClientInvoker.handleException(SocketClientInvoker.java:122)at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:669)at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)at org.jboss.remoting.Client.invoke(Client.java:1634)at org.jboss.remoting.Client.invoke(Client.java:548)at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:62)at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61)at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65)at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:74)at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:108)... 12 moreCaused by: java.io.NotSerializableException: org.jboss.security.auth.callback.SecurityAssociationHandlerat java.io.ObjectOutputStream.writeObject0(Unknown Source)at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)at java.io.ObjectOutputStream.writeSerialData(Unknown Source)at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)at java.io.ObjectOutputStream.writeObject0(Unknown Source)at java.io.ObjectOutputStream.writeObject(Unknown Source)at org.jboss.aop.util.MarshalledValue.(MarshalledValue.java:73)at org.jboss.aop.metadata.SimpleMetaData.writeExternal(SimpleMetaData.java:322)at java.io.ObjectOutputStream.writeExternalData(Unknown Source)at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)at java.io.ObjectOutputStream.writeObject0(Unknown Source)at java.io.ObjectOutputStream.writeObject(Unknown Source)at org.jboss.aop.joinpoint.MethodInvocation.writeExternal(MethodInvocation.java:356)at java.io.ObjectOutputStream.writeExternalData(Unknown Source)at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)at java.io.ObjectOutputStream.writeObject0(Unknown Source)at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)at java.io.ObjectOutputStream.writeSerialData(Unknown Source)at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)at java.io.ObjectOutputStream.writeObject0(Unknown Source)at java.io.ObjectOutputStream.writeObject(Unknown Source)at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.sendObjectVersion2_2(JavaSerializationManager.java:120)at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.sendObject(JavaSerializationManager.java:95)at org.jboss.remoting.marshal.serializable.SerializableMarshaller.write(SerializableMarshaller.java:120)at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.versionedWrite(MicroSocketClientInvoker.java:943)at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:586)at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)at org.jboss.remoting.Client.invoke(Client.java:1634)at org.jboss.remoting.Client.invoke(Client.java:548)at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:62)at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61)at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65)at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:74)at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:108)at $Proxy1.getEnvironment(Unknown Source)

    DB:3.54:Configuration Jboss 5.0.0.Beta4: Java.Rmi.Marshalexception: 17


    I'm migrating an application from ejb to ejb3.I'm using Swing, Hibernate, EJB3, JNDI and JBOSS-5.0.0.Beta4.When I load a client done with Swing launghing JavaWebStart, the application loads by jndi the ejb's correctly.contextService = (ContextService) context.lookup("gn_j2ee_application/ContextServiceBean/remote");But when I call any method on the swing client from de ejb, it fails.The method that is calling is getEnvironment, and the motive of the error feels something like Caused by: java.io.NotSerializableException: org.jboss.security.auth.callback.SecurityAssociationHandler. But I don't know why and what I have to modify.Does anyone could help me?The error that return is:java.lang.reflect.UndeclaredThrowableExceptionat $Proxy1.getEnvironment(Unknown Source)at com.quavantis.gui.secenet.ApplicationMain.showLogin(ApplicationMain.java:448)at com.quavantis.gui.secenet.ApplicationMain.main(ApplicationMain.java:419)at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)at java.lang.reflect.Method.invoke(Unknown Source)at com.sun.javaws.Launcher.executeApplication(Unknown Source)at com.sun.javaws.Launcher.executeMainClass(Unknown Source)at com.sun.javaws.Launcher.doLaunchApp(Unknown Source)at com.sun.javaws.Launcher.run(Unknown Source)at java.lang.Thread.run(Unknown Source)Caused by: java.rmi.MarshalException: Failed to communicate. Problem during marshalling/unmarshalling; nested exception is:java.io.NotSerializableException: org.jboss.security.auth.callback.SecurityAssociationHandlerat org.jboss.remoting.transport.socket.SocketClientInvoker.handleException(SocketClientInvoker.java:122)at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:669)at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)at org.jboss.remoting.Client.invoke(Client.java:1634)at org.jboss.remoting.Client.invoke(Client.java:548)at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:62)at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61)at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65)at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:74)at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:108)... 12 moreCaused by: java.io.NotSerializableException: org.jboss.security.auth.callback.SecurityAssociationHandlerat java.io.ObjectOutputStream.writeObject0(Unknown Source)at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)at java.io.ObjectOutputStream.writeSerialData(Unknown Source)at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)at java.io.ObjectOutputStream.writeObject0(Unknown Source)at java.io.ObjectOutputStream.writeObject(Unknown Source)at org.jboss.aop.util.MarshalledValue.(MarshalledValue.java:73)at org.jboss.aop.metadata.SimpleMetaData.writeExternal(SimpleMetaData.java:322)at java.io.ObjectOutputStream.writeExternalData(Unknown Source)at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)at java.io.ObjectOutputStream.writeObject0(Unknown Source)at java.io.ObjectOutputStream.writeObject(Unknown Source)at org.jboss.aop.joinpoint.MethodInvocation.writeExternal(MethodInvocation.java:356)at java.io.ObjectOutputStream.writeExternalData(Unknown Source)at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)at java.io.ObjectOutputStream.writeObject0(Unknown Source)at java.io.ObjectOutputStream.defaultWriteFields(Unknown Source)at java.io.ObjectOutputStream.writeSerialData(Unknown Source)at java.io.ObjectOutputStream.writeOrdinaryObject(Unknown Source)at java.io.ObjectOutputStream.writeObject0(Unknown Source)at java.io.ObjectOutputStream.writeObject(Unknown Source)at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.sendObjectVersion2_2(JavaSerializationManager.java:120)at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.sendObject(JavaSerializationManager.java:95)at org.jboss.remoting.marshal.serializable.SerializableMarshaller.write(SerializableMarshaller.java:120)at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.versionedWrite(MicroSocketClientInvoker.java:943)at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:586)at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)at org.jboss.remoting.Client.invoke(Client.java:1634)at org.jboss.remoting.Client.invoke(Client.java:548)at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:62)at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61)at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65)at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:74)at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:108)at $Proxy1.getEnvironment(Unknown Source)

  • RELEVANCY SCORE 3.53

    DB:3.53:Unable To Create New Rows xs


    I recently switched from iPlanet webserver to Oracle 9iAS 9.0.2. With the migration I changed my code to use sessions.xml to read the datasource value. Now I can read and update existing data but cannot insert new rows. Below is the snippet of code I am using.

    public void init() {
    Session session = SessionManager.getManager().getSession("MODEL");
    Project project = session.getProject();
    AuditListener.addListeners(project);
    DatabaseLogin login = project.getLogin();
    login.setUsesStreamsForBinding(true);
    project.setLogin(login);
    SessionListener.addListener(session);
    ((DatabaseSession)session).login(); //using this to fire preLogin event
    }

    public static Session getSession() {
    Session session = SessionManager.getManager().getSession("MODEL");
    ((DatabaseSession)session).login(); //doesn't work with or without this.
    return session;
    }

    The error I get is
    EXCEPTION [TOPLINK-4005] (TopLink - 9.0.3 (Build 423)): oracle.toplink.exceptions.DatabaseException
    EXCEPTION DESCRIPTION: DatabaseAccessor not connected.
    at oracle.toplink.exceptions.DatabaseException.databaseAccessorNotConnected(Unknown Source)
    at oracle.toplink.internal.databaseaccess.DatabaseAccessor.incrementCallCount(Unknown Source)
    at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(Unknown Source)
    at oracle.toplink.publicinterface.UnitOfWork.executeCall(Unknown Source)
    at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(Unknown Source)
    at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(Unknown Source)
    at oracle.toplink.internal.queryframework.CallQueryMechanism.executeSelectCall(Unknown Source)
    at oracle.toplink.internal.queryframework.CallQueryMechanism.executeSelect(Unknown Source)
    at oracle.toplink.queryframework.DataReadQuery.executeNonCursor(Unknown Source)
    at oracle.toplink.queryframework.DataReadQuery.execute(Unknown Source)
    at oracle.toplink.queryframework.DatabaseQuery.execute(Unknown Source)
    at oracle.toplink.queryframework.ReadQuery.execute(Unknown Source)
    at oracle.toplink.publicinterface.Session.internalExecuteQuery(Unknown Source)
    at oracle.toplink.publicinterface.UnitOfWork.internalExecuteQuery(Unknown Source)
    at oracle.toplink.publicinterface.Session.executeQuery(Unknown Source)
    at oracle.toplink.publicinterface.Session.executeQuery(Unknown Source)
    at oracle.toplink.internal.databaseaccess.OraclePlatform.nativeGetNextBatchOfSequenceNumbersNamed(Unknown Source)
    at oracle.toplink.internal.databaseaccess.OraclePlatform.nativeGetSequenceNumberNamed(Unknown Source)
    at oracle.toplink.internal.databaseaccess.DatabasePlatform.getSequenceNumberNamed(Unknown Source)
    at oracle.toplink.publicinterface.Session.getNextSequenceNumberValue(Unknown Source)
    at oracle.toplink.publicinterface.UnitOfWork.getNextSequenceNumberValue(Unknown Source)
    at oracle.toplink.internal.descriptors.ObjectBuilder.assignSequenceNumber(Unknown Source)
    at oracle.toplink.publicinterface.UnitOfWork.assignSequenceNumbers(Unknown Source)
    at oracle.toplink.publicinterface.UnitOfWork.collectAndPrepareObjectsForCommit(Unknown Source)
    at oracle.toplink.publicinterface.UnitOfWork.commitToDatabase(Unknown Source)
    at oracle.toplink.publicinterface.UnitOfWork.commitRootUnitOfWork(Unknown Source)
    at oracle.toplink.publicinterface.UnitOfWork.commit(Unknown Source)

    Any help would be highly appreciated.

    Thanks,

    Rajiv

    DB:3.53:Unable To Create New Rows xs

    I recently switched from iPlanet webserver to Oracle 9iAS 9.0.2. With the migration I changed my code to use sessions.xml to read the datasource value. Now I can read and update existing data but cannot insert new rows. Below is the snippet of code I am using.
    public void init() {
    Session session = SessionManager.getManager().getSession("MODEL");
    Project project = session.getProject();
    AuditListener.addListeners(project);
    DatabaseLogin login = project.getLogin();
    login.setUsesStreamsForBinding(true);
    project.setLogin(login);
    SessionListener.addListener(session);
    ((DatabaseSession)session).login(); //using this to fire preLogin event
    }
    public static Session getSession() {
    Session session = SessionManager.getManager().getSession("MODEL");
    ((DatabaseSession)session).login(); //doesn't work with or without this.
    return session;
    }The SessionManager.getSession(java.lang.String) method returns a Session which is already logged in. If you want it to return a Session that you will log in yourself, then you should use an alternate version of getSession(XMLLoader,String,ClassLoader,boolean,boolean). The first boolean argument should be set to false to indicate that the Session should be return without having been logged in.

    The login alterations you're making above are being done to a Session which is already logged in.

    The Exception below is not sufficient to diagnose the problem. After commiting your UnitOfWork, TopLink has determined that some Objects need to be inserted and that these Objects need to be sequenced. The query which is fetching the next sequence number is throwing this Exception (because TopLink Database Connections seem not to be initialized correctly)

    However, the reason the DatabaseAccessor is not connected should be contained in an earlier Exception. You may still be able to read because the ReadPool initialized okay. But when it comes time to fetch a new sequence number, the Connection responsible for that must have not initialized properly.

    JIM

    The error I get is
    EXCEPTION [TOPLINK-4005] (TopLink - 9.0.3 (Build 423)): oracle.toplink.exceptions.DatabaseException
    EXCEPTION DESCRIPTION: DatabaseAccessor not connected.
    at oracle.toplink.exceptions.DatabaseException.databaseAccessorNotConnected(Unknown Source)
    at oracle.toplink.internal.databaseaccess.DatabaseAccessor.incrementCallCount(Unknown Source)
    at oracle.toplink.internal.databaseaccess.DatabaseAccessor.executeCall(Unknown Source)
    at oracle.toplink.publicinterface.UnitOfWork.executeCall(Unknown Source)
    at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(Unknown Source)
    at oracle.toplink.internal.queryframework.CallQueryMechanism.executeCall(Unknown Source)
    at oracle.toplink.internal.queryframework.CallQueryMechanism.executeSelectCall(Unknown Source)
    at oracle.toplink.internal.queryframework.CallQueryMechanism.executeSelect(Unknown Source)
    at oracle.toplink.queryframework.DataReadQuery.executeNonCursor(Unknown Source)
    at oracle.toplink.queryframework.DataReadQuery.execute(Unknown Source)
    at oracle.toplink.queryframework.DatabaseQuery.execute(Unknown Source)
    at oracle.toplink.queryframework.ReadQuery.execute(Unknown Source)
    at oracle.toplink.publicinterface.Session.internalExecuteQuery(Unknown Source)
    at oracle.toplink.publicinterface.UnitOfWork.internalExecuteQuery(Unknown Source)
    at oracle.toplink.publicinterface.Session.executeQuery(Unknown Source)
    at oracle.toplink.publicinterface.Session.executeQuery(Unknown Source)
    at oracle.toplink.internal.databaseaccess.OraclePlatform.nativeGetNextBatchOfSequenceNumbersNamed(Unknown Source)
    at oracle.toplink.internal.databaseaccess.OraclePlatform.nativeGetSequenceNumberNamed(Unknown Source)
    at oracle.toplink.internal.databaseaccess.DatabasePlatform.getSequenceNumberNamed(Unknown Source)
    at oracle.toplink.publicinterface.Session.getNextSequenceNumberValue(Unknown Source)
    at oracle.toplink.publicinterface.UnitOfWork.getNextSequenceNumberValue(Unknown Source)
    at oracle.toplink.internal.descriptors.ObjectBuilder.assignSequenceNumber(Unknown Source)
    at oracle.toplink.publicinterface.UnitOfWork.assignSequenceNumbers(Unknown Source)
    at oracle.toplink.publicinterface.UnitOfWork.collectAndPrepareObjectsForCommit(Unknown Source)
    at oracle.toplink.publicinterface.UnitOfWork.commitToDatabase(Unknown Source)
    at oracle.toplink.publicinterface.UnitOfWork.commitRootUnitOfWork(Unknown Source)
    at oracle.toplink.publicinterface.UnitOfWork.commit(Unknown Source)
    Any help would be highly appreciated.
    Thanks,
    Rajiv

  • RELEVANCY SCORE 3.52

    DB:3.52:How Start Jre With Swing/Awt Disabled? 8j


    Hello,
    I find this exception in tomcat log:
    Exception in thread "TimerQueue" java.lang.UnsatisfiedLinkError: /usr/java/jre1.6.0_21/lib/amd64/xawt/libmawt.so: libXtst.so.6: cannot open shared object file: No such file or directory
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(Unknown Source)
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.load0(Unknown Source)
    at java.lang.System.load(Unknown Source)
    at java.lang.ClassLoader$NativeLibrary.load(Native Method)
    at java.lang.ClassLoader.loadLibrary0(Unknown Source)
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at sun.security.action.LoadLibraryAction.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.awt.NativeLibLoader.loadLibraries(Unknown Source)
    at sun.awt.DebugHelper.clinit(Unknown Source)
    at java.awt.EventQueue.clinit(Unknown Source)
    at javax.swing.SwingUtilities.invokeLater(Unknown Source)
    at javax.swing.Timer.post(Unknown Source)
    at javax.swing.TimerQueue.postExpiredTimers(Unknown Source)
    at javax.swing.TimerQueue.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

    This occurs on a Linux server on which I removed all X11 packages.
    I wonder if there is a way I could disable awt/swing from JRE since no GUI is used ?

    thanks for inputs.

    DB:3.52:How Start Jre With Swing/Awt Disabled? 8j

    thanks for suggestion. I did add the option in tomcat startup command-line, and will check the log for such exception in coming days,
    thanks much.

  • RELEVANCY SCORE 3.51

    DB:3.51:Desktop Api Not Working For Jws Application 7f


    I'm new to Java. The application I have been developing is being beta tested currently via web start. We thought this was the best way to keep users up to date with the latest bug fixes. In the application, I'm using the OPEN and MAIL actions of the Desktop API. The OPEN action is being used to open the system folder browser. This is the action I need to get working. The MAIL action is more for user convenience. Both work fine when running the application from the executable jar, but I get a NPE for both when the app is launched through web start. I created a small demo app to make sure there wasn't something elsewhere in the code causing the problem, but I get the exact same error. I guess I should mention both applications are Maven JavaFX projects. The code I'm posting is from the demo app.FXMLController.java
    import java.awt.Desktop;
    import java.io.File;
    import java.io.IOException;
    import java.net.URI;
    import java.net.URISyntaxException;
    import java.net.URL;
    import java.util.ResourceBundle;
    import java.util.logging.Level;
    import java.util.logging.Logger;
    import javafx.event.ActionEvent;
    import javafx.fxml.FXML;
    import javafx.fxml.Initializable;
    import javafx.scene.control.Button;
    import javafx.scene.control.Hyperlink;

    public class FXMLController implements Initializable {
    @FXML
    private Button button;
    @FXML
    private Hyperlink hyperlink;

    @FXML
    private void handleButtonAction(ActionEvent event) {
    if (Desktop.isDesktopSupported()) {
    if (Desktop.getDesktop().isSupported(Desktop.Action.OPEN)) {
    try {
    Desktop.getDesktop().open(new File(System.getProperty("user.home")));
    } catch (IOException ex) {
    Logger.getLogger(FXMLController.class.getName()).log(Level.SEVERE, null, ex);
    }
    } else {
    MessageBox error = new MessageBox("Not Supported", "The OPEN action is not "
    + "supported on your current platform. ");
    error.showAndWait();
    }
    } else {
    MessageBox error = new MessageBox("Not Supported", "The Desktop class is not "
    + "supported on your current platform.");
    error.showAndWait();
    }
    }

    @FXML
    private void handleLinkAction(ActionEvent event) {
    if (Desktop.isDesktopSupported()) {
    if (Desktop.getDesktop().isSupported(Desktop.Action.MAIL)) {
    try {
    Desktop.getDesktop().mail(new URI("mailto:email@testing.yes"));
    } catch (IOException | URISyntaxException ex) {
    Logger.getLogger(FXMLController.class.getName()).log(Level.SEVERE, null, ex);
    }
    } else {
    MessageBox error = new MessageBox("Not Supported", "The MAIL action is not "
    + "supported on your current platform. ");
    error.showAndWait();
    }
    } else {
    MessageBox error = new MessageBox("Not Supported", "The Desktop class is not "
    + "supported on your current platform.");
    error.showAndWait();
    }
    }

    @Override
    public void initialize(URL url, ResourceBundle rb) {
    }
    }
    JNLP file
    ?xml version="1.0" encoding="UTF-8"?
    jnlp spec="1.0+" xmlns:jfx="http://javafx.com" href="DesktopClassTesting.jnlp"
    information
    titleDesktopClassTesting/title
    vendorUSGS/vendor
    /information
    security
    all-permissions/
    /security
    update check="always" policy="always" /
    resources
    j2se version="1.7.0_60+" href="http://java.sun.com/products/autodl/j2se" /
    jar href="DesktopClassTesting.jar" main="true" version="0.1-SNAPSHOT"/
    property name="jnlp.versionEnabled" value="true"/
    /resources
    application-desc name="Desktop Class Testing"/
    jfx:javafx-desc main-class="gov.usgs.tnm.desktopclasstesting.MainApp" name="MainApp"/
    /jnlp
    OPEN action stacktrace
    Exception in thread "JavaFX Application Thread" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
    at javafx.fxml.FXMLLoader$MethodHandler.invoke(Unknown Source)
    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.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.BehaviorSkinBase$1.handle(Unknown Source)
    at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(Unknown Source)
    at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(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.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.access$1800(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$MouseEventNotification.run(Unknown Source)
    at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    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$300(Unknown Source)
    at com.sun.glass.ui.win.WinApplication$4$1.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at sun.reflect.misc.Trampoline.invoke(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at sun.reflect.misc.MethodUtil.invoke(Unknown Source)
    ... 48 more
    Caused by: java.lang.NullPointerException
    at java.awt.Desktop.getDesktop(Unknown Source)
    at gov.usgs.tnm.desktopclasstesting.FXMLController.handleButtonAction(FXMLController.java:30)
    ... 57 more
    MAIL action stacktrace
    Exception in thread "JavaFX Application Thread" java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
    at javafx.fxml.FXMLLoader$MethodHandler.invoke(Unknown Source)
    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.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.Hyperlink.fire(Unknown Source)
    at com.sun.javafx.scene.control.behavior.ButtonBehavior.mouseReleased(Unknown Source)
    at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(Unknown Source)
    at com.sun.javafx.scene.control.skin.BehaviorSkinBase$1.handle(Unknown Source)
    at com.sun.javafx.event.CompositeEventHandler$NormalEventHandlerRecord.handleBubblingEvent(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.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.access$1800(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$MouseEventNotification.run(Unknown Source)
    at com.sun.javafx.tk.quantum.GlassViewEventHandler$MouseEventNotification.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    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$300(Unknown Source)
    at com.sun.glass.ui.win.WinApplication$4$1.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at sun.reflect.misc.Trampoline.invoke(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at sun.reflect.misc.MethodUtil.invoke(Unknown Source)
    ... 48 more
    Caused by: java.lang.NullPointerException
    at java.awt.Desktop.getDesktop(Unknown Source)
    at gov.usgs.tnm.desktopclasstesting.FXMLController.handleLinkAction(FXMLController.java:51)
    ... 57 more
    The MessageBox is my FX version of a JOptionPane from Swing. I can post it, the fxml file, and MainApp.java if need be. I've been working on this for a day and a half with no success, so any insight would be great. Thanks.Justin

    DB:3.51:Desktop Api Not Working For Jws Application 7f

    As it turns out this was a known bug that was corrected in the recent release of Java 7_65 and Java 8_11. Here is a link to the bug description in the database.Bug ID: JDK-8019274 RMI thread can no longer call out to AWT thread for webstart app

  • RELEVANCY SCORE 3.51

    DB:3.51:Java Swing/Rmi Hanging During Update Statement md


    I execute a function via RMI that should update a record in a table based on the inputs. The code works fine for select statements and just to be sure I added a select statement right before the update statement to verify that it wouldnt hang there. Heres the code:

    Id = ItemIn.getId();
    Instock = ItemIn.getCount();
    Title = ItemIn.getTitle();
    Description = ItemIn.getDescription();
    Type = ItemIn.getType();
    System.out.println("Setting up Driver");
    Class.forName("org.apache.derby.jdbc.EmbeddedDriver").newInstance();
    System.out.println("new properties");
    Properties props = new Properties();
    props.put("user","Aaron");
    props.put("password","");
    System.out.println("Trying to Connect to Database");
    conn=DriverManager.getConnection("jdbc:derby:c:\\Pair1Databse",props);
    System.out.println("Connected to Database");
    conn.setAutoCommit(false);
    s = conn.createStatement();
    String query = "SELECT * from APP.INVENTORY";
    ResultSet someResult = s.executeQuery(query);
    String queryString = "UPDATE APP.INVENTORY set TYPE = '"+Type.trim()+"',TITLE = '"+Title.trim()+"',DESCRIPTION = '"+Description.trim()+ "',INSTOCKAMOUNT = "+Integer.toString(Instock)+" where INVENTORYID="+Integer.toString(Id)+"";
    System.out.println(queryString);
    System.out.println("Done");
    int result = s.executeUpdate(queryString);
    System.out.println("Done");

    }
    catch(Exception e)
    {
    errorMessage = "General database error, record not updated";
    System.err.println("Get Item exception: " + e.getMessage());
    e.printStackTrace();
    }As you can tell by the output below it hangs at int result = s.executeUpdate(queryString); and the output is as follows:

    Setting up Driver
    new properties
    Trying to Connect to Database
    Connected to Database
    UPDATE APP.INVENTORY set TYPE = 'Couch',TITLE = 'Green Couch',DESCRIPTION = 'Green couch with minimal damage',INSTOCKAMOUNT = 6 where INVENTORYID=1
    Done
    Get Item exception: A lock could not be obtained within the time requested
    ERROR 40XL1: A lock could not be obtained within the time requested
    at org.apache.derby.iapi.error.StandardException.newException(Unknown Source)
    at org.apache.derby.impl.services.locks.LockSet.lockObject(Unknown Source)
    at org.apache.derby.impl.services.locks.SinglePool.lockAnObject(Unknown Source)
    at org.apache.derby.impl.services.locks.SinglePool.lockObject(Unknown Source)
    at org.apache.derby.impl.store.raw.xact.RowLocking3.lockRecordForWrite(Unknown Source)
    at org.apache.derby.impl.store.access.heap.HeapController.lockRow(Unknown Source)
    at org.apache.derby.impl.store.access.heap.HeapController.lockRow(Unknown Source)
    at org.apache.derby.impl.store.access.btree.index.B2IRowLocking3.lockRowOnPage(Unknown Source)
    at org.apache.derby.impl.store.access.btree.index.B2IRowLocking3._lockScanRow(Unknown Source)
    at org.apache.derby.impl.store.access.btree.index.B2IRowLockingRR.lockScanRow(Unknown Source)
    at org.apache.derby.impl.store.access.btree.BTreeForwardScan.fetchRows(Unknown Source)
    at org.apache.derby.impl.store.access.btree.BTreeScan.fetchNext(Unknown Source)
    at org.apache.derby.impl.sql.execute.TableScanResultSet.getNextRowCore(Unknown Source)
    at org.apache.derby.impl.sql.execute.IndexRowToBaseRowResultSet.getNextRowCore(Unknown Source)
    at org.apache.derby.impl.sql.execute.ProjectRestrictResultSet.getNextRowCore(Unknown Source)
    at org.apache.derby.impl.sql.execute.NormalizeResultSet.getNextRowCore(Unknown Source)
    at org.apache.derby.impl.sql.execute.DMLWriteResultSet.getNextRowCore(Unknown Source)
    at org.apache.derby.impl.sql.execute.UpdateResultSet.collectAffectedRows(Unknown Source)
    at org.apache.derby.impl.sql.execute.UpdateResultSet.open(Unknown Source)
    at org.apache.derby.impl.sql.GenericPreparedStatement.execute(Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedStatement.execute(Unknown Source)
    at org.apache.derby.impl.jdbc.EmbedStatement.executeUpdate(Unknown Source)
    at myServant.MyServant.updateItem(MyServant.java:250)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:85)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:58)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
    at java.lang.reflect.Method.invoke(Method.java:391)
    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:279)
    at sun.rmi.transport.Transport$1.run(Transport.java:164)
    at java.security.AccessController.doPrivileged1(Native Method)
    at java.security.AccessController.doPrivileged(AccessController.java:389)
    at sun.rmi.transport.Transport.serviceCall(Transport.java:160)
    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:505)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.handleRequest(TCPTransport.java:837)
    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:911)
    at java.lang.Thread.run(Thread.java:568)

    I can execute the update string given by the output directly using the cloudscape workbench program and it works just fine and updates the record.

    Any ideas?

    DB:3.51:Java Swing/Rmi Hanging During Update Statement md

    To be honest I don't know; IMHO transactions are a dangerous ground to play with, I prefer to keep it as simple as possible.
    But we'll never know whether mine was the solution because the OP seems vanished with his dukes! :-)
    Unless we try ourselves... when and if we'll have time :-)

  • RELEVANCY SCORE 3.50

    DB:3.50:Jboss Migration From 4.0.1 To 4.2.3 - Problem With Ejb Look Up 1x



    Hi,

    I have got some problem with Jboss migration from 4.0.1 to 4.2.3.

    EJB (2.0) look up is failing in 4.2.3 though the same is working fine in 4.0.1. I am using JDK 1.5 and swing client (JNLP). I have attached the error log.

    Any help will be much appreciated.

    Regards

    Antar

    java.lang.IllegalStateException: unread block data at java.io.ObjectInputStream$BlockDataInputStream.setBlockDataMode(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.defaultReadFields(Unknown Source) at java.io.ObjectInputStream.readSerialData(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source) at java.rmi.MarshalledObject.get(Unknown Source) at org.jnp.interfaces.MarshalledValuePair.get(MarshalledValuePair.java:51) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:566) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:520) at javax.naming.InitialContext.lookup(Unknown Source) at com.aaa.oce.util.ServiceLocator.getEJBHome(ServiceLocator.java:73) at com.aaa.oce.delegate.LookupDelegate.init(LookupDelegate.java:42) at com.aaa.oce.delegate.LookupDelegate.getInstance(LookupDelegate.java:59) at com.aaa..oce.ui.main.Banking.populateCountryComboBox(Banking.java:418) at com.aaa.oce.ui.main.Banking.init(Banking.java:84) at com.aaa.oce.ui.main.Main.newFrame(Main.java:291) at com.aaa.oce.ui.main.Main$3.actionPerformed(Main.java:127) at javax.swing.AbstractButton.fireActionPerformed(Unknown Source) at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source) at javax.swing.DefaultButtonModel.setPressed(Unknown Source) at javax.swing.AbstractButton.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source) at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source) at java.awt.Component.processMouseEvent(Unknown Source) at javax.swing.JComponent.processMouseEvent(Unknown Source) at java.awt.Component.processEvent(Unknown Source) at java.awt.Container.processEvent(Unknown Source) at java.awt.Component.dispatchEventImpl(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source) at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source) at java.awt.Container.dispatchEventImpl(Unknown Source) at java.awt.Window.dispatchEventImpl(Unknown Source) at java.awt.Component.dispatchEvent(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at com.ebrd.oce.ui.util.WaitCursorEventQueue.dispatchEvent(WaitCursorEventQueue.java:23) at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)

    DB:3.50:Jboss Migration From 4.0.1 To 4.2.3 - Problem With Ejb Look Up 1x


    Do you see any log entry on server side?

    Could you activeate log4j TRACE for category 'org.jboss' for your Swing client to see more details?

  • RELEVANCY SCORE 3.48

    DB:3.48:Nullpointerexception Originating From Java.Awt.Eventdispatchthread.Pumpeve k3


    Hi,

    I am using jdk1.4 for my application development. I am getting following exception at runtime. Any idea how to fix this problem?
    Thanks,
    Usha

    java.lang.NullPointerException

    at javax.swing.plaf.basic.BasicTreeUI.paintRow(Unknown Source)

    at javax.swing.plaf.basic.BasicTreeUI.paint(Unknown Source)

    at javax.swing.plaf.ComponentUI.update(Unknown Source)

    at javax.swing.JComponent.paintComponent(Unknown Source)

    at javax.swing.JComponent.paint(Unknown Source)

    at javax.swing.JComponent.paintChildren(Unknown Source)

    at javax.swing.JComponent.paint(Unknown Source)

    at javax.swing.JViewport.paint(Unknown Source)

    at javax.swing.JComponent.paintChildren(Unknown Source)

    at javax.swing.JComponent.paint(Unknown Source)

    at javax.swing.JComponent.paintChildren(Unknown Source)

    at javax.swing.JComponent.paint(Unknown Source)

    at javax.swing.JComponent.paintChildren(Unknown Source)

    at javax.swing.JComponent.paint(Unknown Source)

    at javax.swing.JComponent.paintChildren(Unknown Source)

    at javax.swing.JComponent.paint(Unknown Source)

    at javax.swing.JComponent.paintChildren(Unknown Source)

    at javax.swing.JComponent.paint(Unknown Source)

    at javax.swing.JLayeredPane.paint(Unknown Source)

    at javax.swing.JComponent.paintChildren(Unknown Source)

    at javax.swing.JComponent.paint(Unknown Source)

    at javax.swing.JComponent.paintChildren(Unknown Source)

    at javax.swing.JComponent.paint(Unknown Source)

    at javax.swing.JComponent.paintChildren(Unknown Source)

    at javax.swing.JComponent.paint(Unknown Source)

    at javax.swing.JLayeredPane.paint(Unknown Source)

    at javax.swing.JComponent.paintChildren(Unknown Source)

    at javax.swing.JSplitPane.paintChildren(Unknown Source)

    at javax.swing.JComponent.paint(Unknown Source)

    at javax.swing.JComponent.paintChildren(Unknown Source)

    at javax.swing.JComponent.paint(Unknown Source)

    at javax.swing.JComponent.paintChildren(Unknown Source)

    at javax.swing.JComponent.paint(Unknown Source)

    at javax.swing.JLayeredPane.paint(Unknown Source)

    at javax.swing.JComponent.paintChildren(Unknown Source)

    at javax.swing.JComponent.paint(Unknown Source)

    at javax.swing.JComponent.paintWithOffscreenBuffer(Unknown Source)

    at javax.swing.JComponent.paintDoubleBuffered(Unknown Source)

    at javax.swing.JComponent._paintImmediately(Unknown Source)

    at javax.swing.JComponent.paintImmediately(Unknown Source)

    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)

    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)

    at java.awt.event.InvocationEvent.dispatch(Unknown Source)

    at java.awt.EventQueue.dispatchEvent(Unknown Source)

    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    at java.awt.EventDispatchThread.run(Unknown Source)

    DB:3.48:Nullpointerexception Originating From Java.Awt.Eventdispatchthread.Pumpeve k3

    pls send more details like when you get this exception and your code. then only we can find out

    bye

  • RELEVANCY SCORE 3.47

    DB:3.47:File Browse Problem: Exception In Thread p7


    Our developers have created a java applet to upload files. We want them to use the standard windows look and feel for the browse window (i believe using the swing or AWT class). When I run this applet in a web browser on my computer, the applet loads fine, but when I press the browse button, I get errors in the Java Console. Every other computer we have tested this on has worked fine. I have tried uninstalling and reinstalling java, and tried it also with the latest Mozilla Firefox.

    The developers disabled the "Windows look and feel" and now it works fine on my computer, however we would like to use the windows look and feel, so I do not think it is a problem with our code. The errors I am getting:

    Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException
    at javax.swing.ImageIcon.init(Unknown Source)
    at javax.swing.ImageIcon.init(Unknown Source)
    at sun.swing.WindowsPlacesBar.init(Unknown Source)
    at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.updateUseShellFolder(Unknown Source)
    at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installComponents(Unknown Source)
    at javax.swing.plaf.basic.BasicFileChooserUI.installUI(Unknown Source)
    at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installUI(Unknown Source)
    at javax.swing.JComponent.setUI(Unknown Source)
    at javax.swing.JFileChooser.updateUI(Unknown Source)
    at javax.swing.JFileChooser.setup(Unknown Source)
    at javax.swing.JFileChooser.init(Unknown Source)
    at javax.swing.JFileChooser.init(Unknown Source)
    at FileUpload.btnBrowseActionPerformed(FileUpload.java:505)
    at FileUpload.access$3(FileUpload.java:492)
    at FileUpload$4.run(FileUpload.java:345)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

    DB:3.47:File Browse Problem: Exception In Thread p7

    Our developers have created a java applet to upload files. We want them to use the standard windows look and feel for the browse window (i believe using the swing or AWT class). When I run this applet in a web browser on my computer, the applet loads fine, but when I press the browse button, I get errors in the Java Console. Every other computer we have tested this on has worked fine. I have tried uninstalling and reinstalling java, and tried it also with the latest Mozilla Firefox.

    The developers disabled the "Windows look and feel" and now it works fine on my computer, however we would like to use the windows look and feel, so I do not think it is a problem with our code. The errors I am getting:

    Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException
    at javax.swing.ImageIcon.init(Unknown Source)
    at javax.swing.ImageIcon.init(Unknown Source)
    at sun.swing.WindowsPlacesBar.init(Unknown Source)
    at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.updateUseShellFolder(Unknown Source)
    at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installComponents(Unknown Source)
    at javax.swing.plaf.basic.BasicFileChooserUI.installUI(Unknown Source)
    at com.sun.java.swing.plaf.windows.WindowsFileChooserUI.installUI(Unknown Source)
    at javax.swing.JComponent.setUI(Unknown Source)
    at javax.swing.JFileChooser.updateUI(Unknown Source)
    at javax.swing.JFileChooser.setup(Unknown Source)
    at javax.swing.JFileChooser.init(Unknown Source)
    at javax.swing.JFileChooser.init(Unknown Source)
    at FileUpload.btnBrowseActionPerformed(FileUpload.java:505)
    at FileUpload.access$3(FileUpload.java:492)
    at FileUpload$4.run(FileUpload.java:345)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

  • RELEVANCY SCORE 3.47

    DB:3.47:Please Help! .Jar File Don't Work. 8k


    Hi, I've written a swing program that works fine when run from command prompt but it doesn't work when I create a self executable jar file and run it.
    Here's the generated classes after compiling the source file:

    TheGMailClient.class (main class)
    TheGMailClient$1.class
    MailSender.class
    MyAuthenticator.class

    I also have a GIF image file.

    Here's what written in the manifest file:

    Manifest-Version: 1.0
    Created-By: 1.4.2_05 (Sun Microsystems Inc.)
    Main-Class: TheGMailClient

    I've created the jar file with the following command:

    jar cvfm TheGMailClient.jar MANIFEST.MF -C classfiles .And here's the exceptions shown after running the jar file (I've run the jar file from command prompt using the java -jar command to view the exceptions):

    java.lang.NoClassDefFoundError: javax/mail/MessagingException
    at TheGMailClient.actionPerformed(TheGMailClient.java:238)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknow
    n Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
    ce)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)It seems to me that some classes are not found. How can I overcome this problem? Please help me guys! I'm really stuck in here.

    DB:3.47:Please Help! .Jar File Don't Work. 8k

    Thanx a lot! That link helps. My fault was I didn't put a newline at the end of the manifest file which is mandatory. Otherwise it don't parse the last line which in my case was the one starts with "Class-Path: ...".

  • RELEVANCY SCORE 3.47

    DB:3.47:Ftp Using Java 3a


    i am developing a java swing application thro' which files can be transferred. i am using the iNetFactory package from jscape.com. My application gets connected to the server but while trying to retrive any directory or file from the server i get the following exception

    com.jscape.inet.ftp.FtpConnectionLostException: Connection reset
    at com.jscape.inet.ftp.FtpBaseImplementation.d(Unknown Source)
    at com.jscape.inet.ftp.FtpBaseImplementation.c(Unknown Source)
    at com.jscape.inet.ftp.FtpBaseImplementation.connect(Unknown Source)
    at com.jscape.inet.ftp.FtpBaseImplementation.connect(Unknown Source)
    at com.jscape.inet.ftp.Ftp.connect(Unknown Source)
    at FtpExample.getListing(FtpExample.java:35)
    at FtpExample.main(FtpExample.java:67)

    can anyone offer me a solution??

    DB:3.47:Ftp Using Java 3a

    i am using the iNetFactory package from jscape.comAnd does that package come with technical support? An FAQ page? An online forum? Let's check their web page... yes. There's a Support box right there. Don't waste your time here.

  • RELEVANCY SCORE 3.46

    DB:3.46:Problem In Accessing Web Services Developed Using Jdeveloper 10.1.3 39


    We have developed J2EE 1.4 JAX RPC Web Services using Jdeveloper 10.1.3.

    I take the WSDL document generated by JDev and created Web Proxy for that WSDL.

    I have developed the Swing Client for accessing the Web Service and when i tried to run from JDev it is working fine.
    My requirement is to access the swing client from Java Web start.
    When i tried to run from Web start, I am getting the following exception.

    standard type mapping initialization error: javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable to create SOAP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
    at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService.java:282)
    at oracle.j2ee.ws.client.BasicService.createStandardTypeMappingRegistry(BasicService.java:244)
    at com.foursoft.tplex.webservices.runtime.MasterDocumentWS_SerializerRegistry.getRegistry(MasterDocumentWS_SerializerRegistry.java:26)
    at com.foursoft.tplex.webservices.runtime.MasterDocumentWS_Impl.init(MasterDocumentWS_Impl.java:26)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:92)
    at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryImpl.java:121)
    at com.foursoft.tplex.webservices.MasterDocumentWSSoapHttpPortClient.init(MasterDocumentWSSoapHttpPortClient.java:18)
    at com.foursoft.tplex.webservices.client.MasterDocumentClient.invokeButton_actionPerformed(MasterDocumentClient.java:119)
    at com.foursoft.tplex.webservices.client.MasterDocumentClient.mav$invokeButton_actionPerformed(MasterDocumentClient.java)
    at com.foursoft.tplex.webservices.client.MasterDocumentClient$2.actionPerformed(MasterDocumentClient.java:99)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

    CAUSE:

    javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable to create SOAP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
    at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService.java:282)
    at oracle.j2ee.ws.client.BasicService.createStandardTypeMappingRegistry(BasicService.java:244)
    at com.foursoft.tplex.webservices.runtime.MasterDocumentWS_SerializerRegistry.getRegistry(MasterDocumentWS_SerializerRegistry.java:26)
    at com.foursoft.tplex.webservices.runtime.MasterDocumentWS_Impl.init(MasterDocumentWS_Impl.java:26)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:92)
    at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryImpl.java:121)
    at com.foursoft.tplex.webservices.MasterDocumentWSSoapHttpPortClient.init(MasterDocumentWSSoapHttpPortClient.java:18)
    at com.foursoft.tplex.webservices.client.MasterDocumentClient.invokeButton_actionPerformed(MasterDocumentClient.java:119)
    at com.foursoft.tplex.webservices.client.MasterDocumentClient.mav$invokeButton_actionPerformed(MasterDocumentClient.java)
    at com.foursoft.tplex.webservices.client.MasterDocumentClient$2.actionPerformed(MasterDocumentClient.java:99)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable to create SOAP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
    at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.init(LiteralFragmentSerializer.java:90)
    at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.init(LiteralFragmentSerializer.java:57)
    at oracle.j2ee.ws.common.encoding.literal.LiteralAnyElementSerializer.init(LiteralAnyElementSerializer.java:16)
    at oracle.j2ee.ws.common.encoding.literal.StandardLiteralTypeMappings.init(StandardLiteralTypeMappings.java:198)
    at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService.java:280)
    ... 39 more
    Caused by: javax.xml.soap.SOAPException: Unable to create SOAP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
    at javax.xml.soap.SOAPFactory.newInstance(SOAPFactory.java:33)
    at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.init(LiteralFragmentSerializer.java:88)
    ... 43 more

    CAUSE:

    javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable to create SOAP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
    at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService.java:282)
    at oracle.j2ee.ws.client.BasicService.createStandardTypeMappingRegistry(BasicService.java:244)
    at com.foursoft.tplex.webservices.runtime.MasterDocumentWS_SerializerRegistry.getRegistry(MasterDocumentWS_SerializerRegistry.java:26)
    at com.foursoft.tplex.webservices.runtime.MasterDocumentWS_Impl.init(MasterDocumentWS_Impl.java:26)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:92)
    at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryImpl.java:121)
    at com.foursoft.tplex.webservices.MasterDocumentWSSoapHttpPortClient.init(MasterDocumentWSSoapHttpPortClient.java:18)
    at com.foursoft.tplex.webservices.client.MasterDocumentClient.invokeButton_actionPerformed(MasterDocumentClient.java:119)
    at com.foursoft.tplex.webservices.client.MasterDocumentClient.mav$invokeButton_actionPerformed(MasterDocumentClient.java)
    at com.foursoft.tplex.webservices.client.MasterDocumentClient$2.actionPerformed(MasterDocumentClient.java:99)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: javax.xml.rpc.JAXRPCException: javax.xml.soap.SOAPException: Unable to create SOAP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
    at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.init(LiteralFragmentSerializer.java:90)
    at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.init(LiteralFragmentSerializer.java:57)
    at oracle.j2ee.ws.common.encoding.literal.LiteralAnyElementSerializer.init(LiteralAnyElementSerializer.java:16)
    at oracle.j2ee.ws.common.encoding.literal.StandardLiteralTypeMappings.init(StandardLiteralTypeMappings.java:198)
    at oracle.j2ee.ws.client.BasicService.createLiteralMappings(BasicService.java:280)
    ... 39 more
    Caused by: javax.xml.soap.SOAPException: Unable to create SOAP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found
    at javax.xml.soap.SOAPFactory.newInstance(SOAPFactory.java:33)
    at oracle.j2ee.ws.common.encoding.literal.LiteralFragmentSerializer.init(LiteralFragmentSerializer.java:88)
    ... 43 more
    java.lang.NullPointerException
    at com.foursoft.tplex.webservices.runtime.MasterDocumentWS_SerializerRegistry.registerSerializer(MasterDocumentWS_SerializerRegistry.java:95)
    at com.foursoft.tplex.webservices.runtime.MasterDocumentWS_SerializerRegistry.getRegistry(MasterDocumentWS_SerializerRegistry.java:32)
    at com.foursoft.tplex.webservices.runtime.MasterDocumentWS_Impl.init(MasterDocumentWS_Impl.java:26)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at oracle.j2ee.ws.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:92)
    at oracle.j2ee.ws.client.ServiceFactoryImpl.loadService(ServiceFactoryImpl.java:121)
    at com.foursoft.tplex.webservices.MasterDocumentWSSoapHttpPortClient.init(MasterDocumentWSSoapHttpPortClient.java:18)
    at com.foursoft.tplex.webservices.client.MasterDocumentClient.invokeButton_actionPerformed(MasterDocumentClient.java:119)
    at com.foursoft.tplex.webservices.client.MasterDocumentClient.mav$invokeButton_actionPerformed(MasterDocumentClient.java)
    at com.foursoft.tplex.webservices.client.MasterDocumentClient$2.actionPerformed(MasterDocumentClient.java:99)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

    Now we struck with this error and I am not able to proceed further. Pl. help me in resolving the issue.
    I shall be thankful to your help.

    Regards...
    Ravi Kumar

    DB:3.46:Problem In Accessing Web Services Developed Using Jdeveloper 10.1.3 39

    I am also having the same problem. Calling a web service inside JDeveloper 10.1.3.3 works fine. When I deploy to a jar file and include all Jars that the dependency analyzer identifies, the following error occurs:
    standard type mapping initialization error: javax.xml.rpc.JAXRPCException: javax
    .xml.soap.SOAPException: Unable to create SOAP Factory: Provider com.sun.xml.messaging.saaj.soap.ver1_1.SOAPFactory1_1Impl not found

    Your work around defining Java system properties does work, but why do we need to do this using the Oracle SOAP stack?
    If there are alternatives to this problem please share. Thank you.

  • RELEVANCY SCORE 3.46

    DB:3.46:Connection Reset Exception From Socketinputstream.Read During A Rmi Call sk


    Issue is on a Client/Server application using Swing and RMI

    Environment:

    Client:
    Windows7
    Windows Client JRE: Java Web Start 1.6.0_24

    Server:
    Solaris 10
    JRE 1.6.0.19

    We are seeing an issue which is happening once in a day.

    Here is the Issue.

    ~ Java Swing Client is making a simple RMI call to Server to invoke a method.
    ~ This call was never finished and it finally fails with connect reset error at client side.
    ~ Server is up and running. From our initial analysis Network Connectivity seems to be ok. But we are still working to use wireshark kind of tool to trace down any packet loss.
    ~ Here is the exception

    ava.rmi.UnmarshalException: Error unmarshaling return header; nested exception is:
    java.net.SocketException: Connection reset
    at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
    at sun.rmi.server.UnicastRef.invoke(Unknown Source)
    at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(Unknown Source)
    at java.rmi.server.RemoteObjectInvocationHandler.invoke(Unknown Source)
    at $Proxy1.getNextTask(Unknown Source)
    at com.trueposition.scout.common.util.ClientTaskRunner$ServerThread.run(ClientTaskRunner.java:121)
    Caused by: java.net.SocketException: Connection reset
    at java.net.SocketInputStream.read(Unknown Source)
    at java.io.BufferedInputStream.fill(Unknown Source)
    at java.io.BufferedInputStream.read(Unknown Source)
    at java.io.DataInputStream.readByte(Unknown Source)
    ... 6 more

    ~ So after tracking from JDK source Connection reset exception is coming from SocketInputStream.read() . In this method there are two places we are throwing Connect Reset exception

    // connection reset
    if (impl.isConnectionReset()) {
    throw new SocketException("Connection reset");
    }

    ~ Impl seems to be PlainSocketImpl and we have set method in that

    public void setConnectionReset() {
    synchronized (resetLock) {
    resetState = CONNECTION_RESET;
    }
    }

    ~ Not sure who is the calling this setConnectionReset . Does native code call this?
    ~ Can some one explain what is the scenario we will get Connect Reset Exception from Socket inputstream. We are still suspecting network. But no evidence as of now.
    ~ Any thoughts on this will be helpful

    DB:3.46:Connection Reset Exception From Socketinputstream.Read During A Rmi Call sk

    Issue is on a Client/Server application using Swing and RMI

    Environment:

    Client:
    Windows7
    Windows Client JRE: Java Web Start 1.6.0_24

    Server:
    Solaris 10
    JRE 1.6.0.19

    We are seeing an issue which is happening once in a day.

    Here is the Issue.

    ~ Java Swing Client is making a simple RMI call to Server to invoke a method.
    ~ This call was never finished and it finally fails with connect reset error at client side.
    ~ Server is up and running. From our initial analysis Network Connectivity seems to be ok. But we are still working to use wireshark kind of tool to trace down any packet loss.
    ~ Here is the exception

    ava.rmi.UnmarshalException: Error unmarshaling return header; nested exception is:
    java.net.SocketException: Connection reset
    at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
    at sun.rmi.server.UnicastRef.invoke(Unknown Source)
    at java.rmi.server.RemoteObjectInvocationHandler.invokeRemoteMethod(Unknown Source)
    at java.rmi.server.RemoteObjectInvocationHandler.invoke(Unknown Source)
    at $Proxy1.getNextTask(Unknown Source)
    at com.trueposition.scout.common.util.ClientTaskRunner$ServerThread.run(ClientTaskRunner.java:121)
    Caused by: java.net.SocketException: Connection reset
    at java.net.SocketInputStream.read(Unknown Source)
    at java.io.BufferedInputStream.fill(Unknown Source)
    at java.io.BufferedInputStream.read(Unknown Source)
    at java.io.DataInputStream.readByte(Unknown Source)
    ... 6 more

    ~ So after tracking from JDK source Connection reset exception is coming from SocketInputStream.read() . In this method there are two places we are throwing Connect Reset exception

    // connection reset
    if (impl.isConnectionReset()) {
    throw new SocketException("Connection reset");
    }

    ~ Impl seems to be PlainSocketImpl and we have set method in that

    public void setConnectionReset() {
    synchronized (resetLock) {
    resetState = CONNECTION_RESET;
    }
    }

    ~ Not sure who is the calling this setConnectionReset . Does native code call this?
    ~ Can some one explain what is the scenario we will get Connect Reset Exception from Socket inputstream. We are still suspecting network. But no evidence as of now.
    ~ Any thoughts on this will be helpful

  • RELEVANCY SCORE 3.45

    DB:3.45:Servlet Exception df


    Does anyone know what this error message means. It is displayed when i try to load a JSP in IE6. I'm using tomcat standalone webserver.

    A Servlet Exception Has Occurred
    Exception Report:
    org.apache.jasper.JasperException: Unable to compile class for JSP
    at org.apache.jasper.servlet.JspServlet.loadJSP(Unknown Source)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(Unknown Source)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Unknown Source)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(Unknown Source)
    at org.apache.jasper.servlet.JspServlet.service(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)
    at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
    at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
    at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
    at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
    at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)
    at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Unknown Source)
    at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
    at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
    at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
    at org.apache.catalina.core.StandardContext.invoke(Unknown Source)
    at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
    at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
    at org.apache.catalina.valves.AccessLogValve.invoke(Unknown Source)
    at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
    at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
    at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
    at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source)
    at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
    at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
    at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
    at org.apache.catalina.connector.http.HttpProcessor.process(Unknown Source)
    at org.apache.catalina.connector.http.HttpProcessor.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:484)

    Root Cause:
    java.lang.NumberFormatException: odbc
    at java.lang.Integer.parseInt(Integer.java:414)
    at java.lang.Integer.parseInt(Integer.java:463)
    at org.apache.jasper.compiler.Compiler.getJspLineErrors(Unknown Source)
    at org.apache.jasper.compiler.Compiler.compile(Unknown Source)
    at org.apache.jasper.servlet.JspServlet.loadJSP(Unknown Source)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(Unknown Source)
    at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Unknown Source)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(Unknown Source)
    at org.apache.jasper.servlet.JspServlet.service(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Unknown Source)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(Unknown Source)
    at org.apache.catalina.core.StandardWrapperValve.invoke(Unknown Source)
    at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
    at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
    at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
    at org.apache.catalina.core.StandardContextValve.invoke(Unknown Source)
    at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Unknown Source)
    at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
    at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
    at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
    at org.apache.catalina.core.StandardContext.invoke(Unknown Source)
    at org.apache.catalina.core.StandardHostValve.invoke(Unknown Source)
    at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
    at org.apache.catalina.valves.AccessLogValve.invoke(Unknown Source)
    at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
    at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
    at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
    at org.apache.catalina.core.StandardEngineValve.invoke(Unknown Source)
    at org.apache.catalina.core.StandardPipeline.invokeNext(Unknown Source)
    at org.apache.catalina.core.StandardPipeline.invoke(Unknown Source)
    at org.apache.catalina.core.ContainerBase.invoke(Unknown Source)
    at org.apache.catalina.connector.http.HttpProcessor.process(Unknown Source)
    at org.apache.catalina.connector.http.HttpProcessor.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:484)

    DB:3.45:Servlet Exception df

    I believe we can forget about this thread, it's more than two month old.

  • RELEVANCY SCORE 3.45

    DB:3.45:Error While Running Application Using Webstart In Oc4j xd


    Hi,
    I have oc4j server, and trying to run application through webstart, i received following error. Same thing works fine when I', running application from Eclipse.

    I'm able to open login window of application.
    In button click I make a call to ejb, that time it throws following error.

    Is it because .jars are not signed?

    Can anyone tell me, what is problem?
    com.mastek.elixir.system.esb.client.ServiceClientException: Unknown error encountered while invoking gateway due to exception: null.
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at com.mastek.elixir.system.common.exception.BaseExceptionFactory.instantiateException(BaseExceptionFactory.java:215)
    at com.mastek.elixir.system.common.exception.BaseExceptionFactory.instantiateException(BaseExceptionFactory.java:238)
    at com.mastek.elixir.system.common.exception.BaseExceptionFactory._createException(BaseExceptionFactory.java:194)
    at com.mastek.elixir.system.esb.client.ServiceClientExceptionFactory.createException(ServiceClientExceptionFactory.java:69)
    at com.mastek.elixir.system.esb.client.ServiceClientExceptionFactory.createException(ServiceClientExceptionFactory.java:39)
    at com.mastek.elixir.system.esb.client.ServiceClient.sendRequest(ServiceClient.java:186)
    at com.mastek.elixir.system.esb.client.ServiceInvoker.invokeOperation(ServiceInvoker.java:98)
    at com.mastek.elixir.system.esb.client.ServiceInvoker.invokeSyncOperation(ServiceInvoker.java:83)
    at com.mastek.elixir.backoffice.client.BackOfficeServiceInvoker.loginUser(BackOfficeServiceInvoker.java:69)
    at com.mastek.elixir.backoffice.ui.forms.Loginfrm.login(Loginfrm.java:93)
    at com.mastek.elixir.backoffice.ui.forms.Loginfrm.loginbtnActionPerformed(Loginfrm.java:141)
    at com.mastek.elixir.backoffice.ui.forms.Loginfrm.access$100(Loginfrm.java:39)
    at com.mastek.elixir.backoffice.ui.forms.Loginfrm$3.actionPerformed(Loginfrm.java:262)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.AbstractButton.doClick(Unknown Source)
    at javax.swing.plaf.basic.BasicRootPaneUI$DefaultAction.actionPerformed(Unknown Source)
    at javax.swing.SwingUtilities.notifyAction(Unknown Source)
    at javax.swing.JComponent.processKeyBinding(Unknown Source)
    at javax.swing.KeyboardManager.fireBinding(Unknown Source)
    at javax.swing.KeyboardManager.fireKeyboardAction(Unknown Source)
    at javax.swing.JComponent.processKeyBindingsForAllComponents(Unknown Source)
    at javax.swing.JComponent.processKeyBindings(Unknown Source)
    at javax.swing.JComponent.processKeyEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
    at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
    at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
    at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
    at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at com.mastek.elixir.system.richui.Application$ApplicationEventQueue.dispatchEvent(Application.java:591)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.Dialog$1.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at com.mastek.elixir.system.richui.Application$ApplicationEventQueue.dispatchEvent(Application.java:591)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.lang.ExceptionInInitializerError
    at oracle.j2ee.rmi.RMIInitialContextFactory.clinit(RMIInitialContextFactory.java:34)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at com.sun.naming.internal.VersionHelper12.loadClass(Unknown Source)
    at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
    at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
    at javax.naming.InitialContext.init(Unknown Source)
    at javax.naming.InitialContext.init(Unknown Source)
    at com.mastek.elixir.system.common.util.EJBServiceLocator.lookupRemoteHome(EJBServiceLocator.java:97)
    at com.mastek.elixir.system.common.util.EJBServiceLocator.getRemoteHome(EJBServiceLocator.java:53)
    at com.mastek.elixir.system.common.util.EJBServiceLocator.createBean(EJBServiceLocator.java:144)
    at com.mastek.elixir.system.common.util.EJBServiceLocator.createRemoteBean(EJBServiceLocator.java:176)
    at com.mastek.elixir.system.esb.common.util.GatewayServiceLocator.createInboundHandlerRemote(GatewayServiceLocator.java:93)
    at com.mastek.elixir.system.esb.common.Connection.sendMessageEjb(Connection.java:283)
    at com.mastek.elixir.system.esb.common.Connection.sendMessage(Connection.java:246)
    at com.mastek.elixir.system.esb.client.ServiceClient.sendRequest(ServiceClient.java:157)
    ... 48 more
    Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission java.net.preferIPv6Addresses read)
    at java.security.AccessControlContext.checkPermission(Unknown Source)
    at java.security.AccessController.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
    at java.lang.System.getProperty(Unknown Source)
    at com.evermind.server.rmi.RMIClientProperties.clinit(RMIClientProperties.java:12)
    ... 64 more

    DB:3.45:Error While Running Application Using Webstart In Oc4j xd

    ..
    I have oc4j server, and trying to run application through webstart,
    i received following error. Web-start imposes a securty manager
    code it launches, whereas..

    ...Same thing works fine when I', running application from Eclipse.Eclipse does not. So your exception of..
    ...
    Caused by: java.security.AccessControlException: access denied../code]
    Indicates to me that this code needs to be
    signed, and the JNLP launch file needs to
    request either j2ee-application-client or
    all-permissions privileges (probably the
    lesser one will do).

  • RELEVANCY SCORE 3.45

    DB:3.45:Arrayindexoutofboundsexception When Ctrl+C Is Invoked On Jtable Cells jx


    We have some reports developed in Swing, this has JTable cells.

    I am getting the following exception when I try to copy the cell contents using CTRL+C ..

    java.lang.ArrayIndexOutOfBoundsException: 1 = 1

    at java.util.Vector.elementAt(Unknown Source)

    at javax.swing.table.DefaultTableColumnModel.getColumn(Unknown Source)

    at javax.swing.JTable.convertColumnIndexToModel(Unknown Source)

    at javax.swing.JTable.getValueAt(Unknown Source)

    at javax.swing.plaf.basic.BasicTableUI$TableTransferHandler.createTransferable(Unknown Source)

    at javax.swing.TransferHandler.exportToClipboard(Unknown Source)

    at javax.swing.TransferHandler$TransferAction.actionPerformed(Unknown Source)

    at javax.swing.SwingUtilities.notifyAction(Unknown Source)

    at javax.swing.JComponent.processKeyBinding(Unknown Source)

    at javax.swing.JTable.processKeyBinding(Unknown Source)

    at javax.swing.JComponent.processKeyBindings(Unknown Source)

    at javax.swing.JComponent.processKeyEvent(Unknown Source)

    at java.awt.Component.processEvent(Unknown Source)

    at java.awt.Container.processEvent(Unknown Source)

    at java.awt.Component.dispatchEventImpl(Unknown Source)

    at java.awt.Container.dispatchEventImpl(Unknown Source)

    at java.awt.Component.dispatchEvent(Unknown Source)

    at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)

    at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)

    at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)

    at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)

    at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)

    at java.awt.Component.dispatchEventImpl(Unknown Source)

    at java.awt.Container.dispatchEventImpl(Unknown Source)

    at java.awt.Window.dispatchEventImpl(Unknown Source)

    at java.awt.Component.dispatchEvent(Unknown Source)

    [catch] at java.awt.EventQueue.dispatchEvent(Unknown Source)

    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    at java.awt.EventDispatchThread.run(Unknown Source)

    As this is not coming from any of the appplication code, any idea what may be the reason?
    Any OS + java compatibilty issue? I am using Java 1.5 with XP.

    Thanks,
    Prabhu

    DB:3.45:Arrayindexoutofboundsexception When Ctrl+C Is Invoked On Jtable Cells jx

    If you need further help then you need to create a [Short, Self Contained, Compilable and Executable, Example Program (SSCCE)|http://sscce.org], that demonstrates the incorrect behaviour.

    Don't forget to use the Code Formatting Tags so the posted code retains its original formatting. That is done by selecting the code and then clicking on the "Code" button above the question input area.

  • RELEVANCY SCORE 3.45

    DB:3.45:Deploying Drs On Solaris 97



    Hello,

    anyone deployed DRS on unix env in general ?

    My installation went fine but when trying to view Reports I am getting an error (exception). There is nothing on install guide specific to unix so it's a bit puzzling. Any assistance or similar experience will be helpful.

    description The server encountered an internal error () that prevented it from fulfilling this request.

    exception
    org.apache.jasper.JasperException: Exception in JSP: /cr/CrystalReportHandler.jsp:89

    86: //String sesId = request.getRequestedSessionId();
    87: //Create a ReportClientDocument
    88: ReportClientDocument reportClientDocument = new ReportClientDocument();
    89: reportClientDocument.open(reportName, 0);
    90: //Get the report source
    91: Object reportSource = reportClientDocument.getReportSource();
    92: reportClientDocument.getDatabaseController().logon(userName, passwd);

    Stacktrace:
    org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:451)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:355)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

    root cause
    javax.servlet.ServletException: Can't connect to X11 window server using '172.18.240.163:0.0' as the value of the DISPLAY variable.
    org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:841)
    org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:774)
    org.apache.jsp.cr.CrystalReportHandler_jsp._jspService(CrystalReportHandler_jsp.java:161)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

    root cause
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: Can't connect to X11 window server using '172.18.240.163:0.0' as the value of the DISPLAY variable.---- Error code:-2147467259 Error code name:failed
    com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
    com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
    com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
    com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.do(Unknown Source)
    com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.if(Unknown Source)
    com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.a(Unknown Source)
    com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(Unknown Source)
    com.crystaldecisions.reports.sdk.ReportClientDocument.open(Unknown Source)
    org.apache.jsp.cr.CrystalReportHandler_jsp._jspService(CrystalReportHandler_jsp.java:139)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

    root cause
    java.lang.InternalError: Can't connect to X11 window server using '172.18.240.163:0.0' as the value of the DISPLAY variable.
    sun.awt.X11GraphicsEnvironment.initDisplay(Native Method)
    sun.awt.X11GraphicsEnvironment.access$000(X11GraphicsEnvironment.java:53)
    sun.awt.X11GraphicsEnvironment$1.run(X11GraphicsEnvironment.java:142)
    java.security.AccessController.doPrivileged(Native Method)
    sun.awt.X11GraphicsEnvironment.clinit(X11GraphicsEnvironment.java:131)
    java.lang.Class.forName0(Native Method)
    java.lang.Class.forName(Class.java:164)
    java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(GraphicsEnvironment.java:68)
    sun.awt.motif.MToolkit.clinit(MToolkit.java:93)
    java.lang.Class.forName0(Native Method)
    java.lang.Class.forName(Class.java:164)
    java.awt.Toolkit$2.run(Toolkit.java:821)
    java.security.AccessController.doPrivileged(Native Method)
    java.awt.Toolkit.getDefaultToolkit(Toolkit.java:804)
    com.crystaldecisions.DIBitmap.DeviceIndependentBitmap.createImage(Unknown Source)
    com.crystaldecisions.DIBitmap.DeviceIndependentBitmap.getImage(Unknown Source)
    com.crystaldecisions.reports.common.a6.a(Unknown Source)
    com.crystaldecisions.reports.common.a6.if(Unknown Source)
    com.crystaldecisions.reports.common.b.do(Unknown Source)
    com.crystaldecisions.reports.common.b.a(Unknown Source)
    com.crystaldecisions.reports.reportdefinition.k1.b(Unknown Source)
    com.crystaldecisions.reports.reportdefinition.k1.i(Unknown Source)
    com.crystaldecisions.reports.reportdefinition.k1.i(Unknown Source)
    com.crystaldecisions.reports.reportdefinition.br.else(Unknown Source)
    com.crystaldecisions.reports.reportdefinition.a.q(Unknown Source)
    com.crystaldecisions.reports.reportdefinition.in.d(Unknown Source)
    com.crystaldecisions.reports.reportdefinition.in.else(Unknown Source)
    com.crystaldecisions.reports.reportdefinition.a.else(Unknown Source)
    com.crystaldecisions.reports.reportdefinition.c3.else(Unknown Source)
    com.crystaldecisions.reports.reportdefinition.c3.goto(Unknown Source)
    com.crystaldecisions.reports.reportdefinition.lq.d(Unknown Source)
    com.crystaldecisions.reports.reportdefinition.lq$b.f(Unknown Source)
    com.crystaldecisions.reports.reportdefinition.lq$b.c(Unknown Source)
    com.crystaldecisions.reports.reportdefinition.lq.c(Unknown Source)
    com.crystaldecisions.reports.reportdefinition.eq.d(Unknown Source)
    com.crystaldecisions.reports.reportdefinition.eq.void(Unknown Source)
    com.crystaldecisions.reports.reportdefinition.bi.C(Unknown Source)
    com.crystaldecisions.reports.reportdefinition.bi.a(Unknown Source)
    com.crystaldecisions.reports.common.ae.a(Unknown Source)
    com.crystaldecisions.reports.common.ae.if(Unknown Source)
    com.crystaldecisions.reports.reportdefinition.bi.if(Unknown Source)
    com.crystaldecisions.reports.reportdefinition.bi.C(Unknown Source)
    com.businessobjects.reports.sdk.c.a(Unknown Source)
    com.businessobjects.reports.sdk.b.v.if(Unknown Source)
    com.businessobjects.reports.sdk.JRCCommunicationAdapter.request(Unknown Source)
    com.crystaldecisions.proxy.remoteagent.x.a(Unknown Source)
    com.crystaldecisions.proxy.remoteagent.q.a(Unknown Source)
    com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.do(Unknown Source)
    com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.if(Unknown Source)
    com.crystaldecisions.sdk.occa.report.application.ReportClientDocument.a(Unknown Source)
    com.crystaldecisions.sdk.occa.report.application.ClientDocument.open(Unknown Source)
    com.crystaldecisions.reports.sdk.ReportClientDocument.open(Unknown Source)
    org.apache.jsp.cr.CrystalReportHandler_jsp._jspService(CrystalReportHandler_jsp.java:139)
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:729)
    org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
    org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
    org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
    javax.servlet.http.HttpServlet.service(HttpServlet.java:729)

    DB:3.45:Deploying Drs On Solaris 97


    This is isssue is resolved. The fix is to add -Djava.awt.headless=true" to the tomcat startup script.

  • RELEVANCY SCORE 3.45

    DB:3.45:No Class Found 9f


    Exception in thread "main"

    java.lang.NoClassDefFoundError:javax/comm/SerialPortEventListener at

    java.lang.ClassLoader.defineClass0(Native Method) at

    java.lang.ClassLoader.defineClass(Unknown Source) at

    java.security.SecureClassLoader.define Class(Unknown Source) at

    java.net.URLClassLoader.defineClass(Unknown Source) at

    java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(UnknownSource) at

    java.security.AccessController.doPrivileged(Native Method) at

    java.net.URLClassLoader.findClass(Unknown Source) at

    java.lang.ClassLoader.loadClass(Unknown Source) at

    java.lang.ClassLoader.loadClass(Unknown Source) at

    java.lang.ClassLoader.loadClassInternal(Unknown Source) at

    java.lang.Class.forName0(Native Method) at

    java.lang.Class.forName(Unknown Source) at

    com.objectxp.msg.GsmSmsService.A(Unknown Source) at

    com.objectxp.msg.GsmSmsService.connect(Unknown Source) at

    sendpicture.main(sendpicture.java:63)

    hi to all,
    dis is my error wen i try to send sms from mobile connected to a pc.....am using jsms api

    DB:3.45:No Class Found 9f

    ya .... solved it...
    I found an jre in my program files also .Then i copied those comm.properties and jsms.jar there also....But i dont know why dis occurs ....i had already copied these files in jre/lib/ext...where i have installed my j2sdk..
    do u know the reason...

  • RELEVANCY SCORE 3.45

    DB:3.45:No Manifiest Section For Signature File dj


    I am trying to create JAR file using JBuilder 9. I have an EJB based application, it works fine from JBuilder but when I created JAR then It gives this error

    Exception in thread "main" java.lang.SecurityException: no manifiest section for signature file entry javax/security/cert/Certificate.class
    at sun.security.util.SignatureFileVerifier.verifySection(Unknown Source)
    at sun.security.util.SignatureFileVerifier.processImpl(Unknown Source)
    at sun.security.util.SignatureFileVerifier.process(Unknown Source)
    at java.util.jar.JarVerifier.processEntry(Unknown Source)
    at java.util.jar.JarVerifier.update(Unknown Source)
    at java.util.jar.JarFile.initializeVerifier(Unknown Source)
    at java.util.jar.JarFile.getInputStream(Unknown Source)
    at sun.misc.URLClassPath$JarLoader$1.getInputStream(Unknown Source)
    at sun.misc.Resource.cachedInputStream(Unknown Source)
    at sun.misc.Resource.getByteBuffer(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)I am not using any security at all, please help me out.

    Thanks

    DB:3.45:No Manifiest Section For Signature File dj

    I am trying to create JAR file using JBuilder 9. I have an EJB based application, it works fine from JBuilder but when I created JAR then It gives this error

    Exception in thread "main" java.lang.SecurityException: no manifiest section for signature file entry javax/security/cert/Certificate.class
    at sun.security.util.SignatureFileVerifier.verifySection(Unknown Source)
    at sun.security.util.SignatureFileVerifier.processImpl(Unknown Source)
    at sun.security.util.SignatureFileVerifier.process(Unknown Source)
    at java.util.jar.JarVerifier.processEntry(Unknown Source)
    at java.util.jar.JarVerifier.update(Unknown Source)
    at java.util.jar.JarFile.initializeVerifier(Unknown Source)
    at java.util.jar.JarFile.getInputStream(Unknown Source)
    at sun.misc.URLClassPath$JarLoader$1.getInputStream(Unknown Source)
    at sun.misc.Resource.cachedInputStream(Unknown Source)
    at sun.misc.Resource.getByteBuffer(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)I am not using any security at all, please help me out.

    Thanks

  • RELEVANCY SCORE 3.43

    DB:3.43:Multispancelltable And Insertrow Error xm


    Everyone,

    I am using the MultiSpanCellTable example from [http://www.java2s.com/Code/Java/Swing-Components/MultiSpanCellTableExample.htm] to make a table that has the ability to merge cells.

    But, when I do a simple row insert like:

    ml.insertRow(0, new Object[] { "Test" });I get the following error:

    Exception in thread "AWT-EventQueue-0" java.lang.ArrayIndexOutOfBoundsException: 11 = 11
    at java.util.Vector.elementAt(Unknown Source)
    at javax.swing.table.DefaultTableModel.getValueAt(Unknown Source)
    at javax.swing.JTable.getValueAt(Unknown Source)
    at javax.swing.JTable.prepareRenderer(Unknown Source)
    at MultiSpanCellTableExample$1.prepareRenderer(MultiSpanCellTableExample.java:52)
    at MultiSpanCellTableUI.paintCell(MultiSpanCellTableUI.java:85)
    at MultiSpanCellTableUI.paintRow(MultiSpanCellTableUI.java:59)
    at MultiSpanCellTableUI.paint(MultiSpanCellTableUI.java:30)
    at javax.swing.plaf.ComponentUI.update(Unknown Source)
    at javax.swing.JComponent.paintComponent(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JComponent.paintChildren(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JViewport.paint(Unknown Source)
    at javax.swing.JComponent.paintChildren(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JComponent.paintChildren(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JComponent.paintChildren(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JComponent.paintChildren(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JLayeredPane.paint(Unknown Source)
    at javax.swing.JComponent.paintChildren(Unknown Source)
    at javax.swing.JComponent.paintToOffscreen(Unknown Source)
    at javax.swing.BufferStrategyPaintManager.paint(Unknown Source)
    at javax.swing.RepaintManager.paint(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at java.awt.GraphicsCallback$PaintCallback.run(Unknown Source)
    at sun.awt.SunGraphicsCallback.runOneComponent(Unknown Source)
    at sun.awt.SunGraphicsCallback.runComponents(Unknown Source)
    at java.awt.Container.paint(Unknown Source)
    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
    at javax.swing.RepaintManager.seqPaintDirtyRegions(Unknown Source)
    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

    I have looked all through the code to see what is wrong, but can't figure it out. I was wondering if anyone else has seen this before or knows what I should be looking for to fix the error.

    Thanks.

    DB:3.43:Multispancelltable And Insertrow Error xm

    worked OK for me, after fixing the stack overflow error (fix has been posted in these forums numerous times)

  • RELEVANCY SCORE 3.43

    DB:3.43:Simple Helloworldswing Demo Not Working 7k


    Hi there was wondering if I could get pofessional help. I have compiled the HelloWorldSwing demo from Sun successfully and doesn't seem to work at all. I presume that it cant find the javax and some help on the matter would be a relief as I am trying to make swing apps as well I have installed the jdk1.6 u2 which includes jre as additional info ---this is the error I'm getting

    D:\javatutorialsjava HelloWorldSwing
    Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorldSwing (wron
    g name: start/HelloWorldSwing)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$000(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)

    DB:3.43:Simple Helloworldswing Demo Not Working 7k

    Thanks alot for the help bro worked with no problems and your feedback was very useful abt the problem I was facing thanks again gonna start coding now.;)

  • RELEVANCY SCORE 3.43

    DB:3.43:Problem In Downloading In Sqljdbc4.Jar (Jdbc Driver Library) From Jnlp jk


    Hi Everyone

    I am working one swing application which need to communicate with MS-SQL express. So I downloaded the JDBC driver from Microsoft website. But to deploy it we are using JNLP, so at build I am signing the all jar. But launch of the JNLP I am getting.

    Wrapped Exception-----

    java.lang.SecurityException: invalid SHA1 signature file digest for com/microsoft/sqlserver/jdbc/SQLServerException.class
    at sun.security.util.SignatureFileVerifier.verifySection(Unknown Source)
    at sun.security.util.SignatureFileVerifier.processImpl(Unknown Source)
    at sun.security.util.SignatureFileVerifier.process(Unknown Source)
    at java.util.jar.JarVerifier.processEntry(Unknown Source)
    at java.util.jar.JarVerifier.update(Unknown Source)
    at java.util.jar.JarFile.initializeVerifier(Unknown Source)
    at java.util.jar.JarFile.getInputStream(Unknown Source)
    at com.sun.deploy.cache.CacheEntry.writeManifest(Unknown Source)
    at com.sun.deploy.cache.CacheEntry.writeFileToDisk(Unknown Source)
    at com.sun.deploy.cache.Cache.downloadResourceToCache(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
    at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
    at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)
    at com.sun.javaws.Launcher.downloadResources(Unknown Source)
    at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
    at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
    at com.sun.javaws.Launcher.launch(Unknown Source)
    at com.sun.javaws.Main.launchApp(Unknown Source)
    at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
    at com.sun.javaws.Main$1.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

    While my JNLP file is this

    JNLP file ---
    !--Version 1.0.0.0000--
    ?xml version="1.0" encoding="UTF-8"?

    jnlp codebase="http://my IP address/XXXX/" href="install-XXX.jnlp"

    information
    titleXXXXXXX/title
    offline-allowed/
    shortcut online="true"
    desktop/
    menu/
    /shortcut
    /information
    resources
    j2se version="1.5+" initial-heap-size="128m" max-heap-size="256m"/

    jar href="XXX.jar" main="true"/
    jar href="sqljdbc4.jar" main="false"/
    jar href="substance-lite-feel.jar" main="false"/
    jar href="liquidlnf.jar" main="false"/
    jar href="RXTXcomm.jar" main="false"/
    /resources

    application-desc main-class="name of the class which contains main method"
    argumentXXXXX/argument
    argumentXXXXXX/argument
    /application-desc

    security
    all-permissions /
    /security
    /jnlpI am loading library sqljdbc_auth.dll on run time which is present in my source jar file (XXX.jar)

    Thank in advance
    Shashwat

    Edited by: Shashwat.Anand on Feb 9, 2009 12:48 AM

    Edited by: Shashwat.Anand on Feb 9, 2009 12:54 AM

    DB:3.43:Problem In Downloading In Sqljdbc4.Jar (Jdbc Driver Library) From Jnlp jk

    Hi Shashwat,

    Mircosoft had signed the jar file thru their own tools. So when you try to use the jar file directly or signing by your own tool and using on your JNLP will give this problem.

    To solve this problem steps to be followed.

    1. Extract the sqljdbc.jar or sqljdbc4.jar file
    2. Goto META-INF Folder
    3. Open MANIFEST.MF and delete all the lines other than first line and save it
    4. Delete other files which exist in the same folder
    5. Finally once again make a new jar file including com and META-INF folder as sqljdbc.jar or sqljdbc4.jar

    Thanks,
    Suresh
    [http://sureshdevi.co.in|http://sureshdevi.co.in]

  • RELEVANCY SCORE 3.43

    DB:3.43:Cannot Run Jar File Outside Net Beans Ide 9x


    Hi,

    I am new to java desktop application and was just trying to create a small application using Oracle 10G as backed. Every things are working fine inside the IDE. But when I tried to double click the jar file it was not opening. When tried from command prompt, it is showing following errors.. can any one please help me to sort this out?

    C:\Users\dinkan\Documents\NetBeansProjects\Expenses\distjava -jar Expenses
    .jar
    [TopLink Info]: 2010.08.03 08:42:33.104--ServerSession(18724539)--TopLink, versi
    on: Oracle TopLink Essentials - 2.0.1 (Build b09d-fcs (12/06/2007))
    [TopLink Info]: 2010.08.03 08:42:33.937--ServerSession(18724539)--file:/C:/Users
    /dinkan/Documents/NetBeansProjects/Expenses/dist/Expenses.jar-jdbc:oracle:t
    hin:@localhost:1521:XEPU login successful
    Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: sun.font.
    FileFontStrike.createScalerContext(J[DZIIZFFZ)J
    at sun.font.FileFontStrike.createScalerContext(Native Method)
    at sun.font.FileFontStrike.init(Unknown Source)
    at sun.font.FileFont.createStrike(Unknown Source)
    at sun.font.Font2D.getStrike(Unknown Source)
    at sun.font.Font2D.getStrike(Unknown Source)
    at sun.font.CompositeStrike.getStrikeForSlot(Unknown Source)
    at sun.font.CompositeStrike.getFontMetrics(Unknown Source)
    at sun.font.FontDesignMetrics.initMatrixAndMetrics(Unknown Source)
    at sun.font.FontDesignMetrics.init(Unknown Source)
    at sun.font.FontDesignMetrics.getMetrics(Unknown Source)
    at sun.swing.SwingUtilities2.getFontMetrics(Unknown Source)
    at javax.swing.JComponent.getFontMetrics(Unknown Source)
    at javax.swing.plaf.basic.BasicGraphicsUtils.getPreferredButtonSize(Unkn
    own Source)
    at javax.swing.plaf.basic.BasicButtonUI.getPreferredSize(Unknown Source)

    at com.sun.java.swing.plaf.windows.WindowsButtonUI.getPreferredSize(Unkn
    own Source)
    at javax.swing.JComponent.getPreferredSize(Unknown Source)
    at javax.swing.GroupLayout$ComponentSpring.calculateNonlinkedPreferredSi
    ze(Unknown Source)
    at javax.swing.GroupLayout$LinkInfo.calculateLinkedSize(Unknown Source)
    at javax.swing.GroupLayout$LinkInfo.getSize(Unknown Source)
    at javax.swing.GroupLayout$ComponentInfo.getLinkSize(Unknown Source)
    at javax.swing.GroupLayout$ComponentSpring.getLinkSize(Unknown Source)
    at javax.swing.GroupLayout$ComponentSpring.calculatePreferredSize(Unknow
    n Source)
    at javax.swing.GroupLayout$Spring.getPreferredSize(Unknown Source)
    at javax.swing.GroupLayout$Group.getSpringSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculatePreferredSize(Unknown Source)
    at javax.swing.GroupLayout$Spring.getPreferredSize(Unknown Source)
    at javax.swing.GroupLayout$Group.getSpringSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculatePreferredSize(Unknown Source)
    at javax.swing.GroupLayout$Spring.getPreferredSize(Unknown Source)
    at javax.swing.GroupLayout$Group.getSpringSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculatePreferredSize(Unknown Source)
    at javax.swing.GroupLayout$Spring.getPreferredSize(Unknown Source)
    at javax.swing.GroupLayout.calculateAutopadding(Unknown Source)
    at javax.swing.GroupLayout.prepare(Unknown Source)
    at javax.swing.GroupLayout.preferredLayoutSize(Unknown Source)
    at java.awt.Container.preferredSize(Unknown Source)
    at java.awt.Container.getPreferredSize(Unknown Source)
    at javax.swing.JComponent.getPreferredSize(Unknown Source)
    at java.awt.BorderLayout.preferredLayoutSize(Unknown Source)
    at java.awt.Container.preferredSize(Unknown Source)
    at java.awt.Container.getPreferredSize(Unknown Source)
    at javax.swing.JComponent.getPreferredSize(Unknown Source)
    at javax.swing.JRootPane$RootLayout.preferredLayoutSize(Unknown Source)
    at java.awt.Container.preferredSize(Unknown Source)
    at java.awt.Container.getPreferredSize(Unknown Source)
    at javax.swing.JComponent.getPreferredSize(Unknown Source)
    at java.awt.BorderLayout.preferredLayoutSize(Unknown Source)
    at java.awt.Container.preferredSize(Unknown Source)
    at java.awt.Container.getPreferredSize(Unknown Source)
    at java.awt.Window.pack(Unknown Source)
    at org.jdesktop.application.SingleFrameApplication.initRootPaneContainer
    (SingleFrameApplication.java:216)
    at org.jdesktop.application.SingleFrameApplication.show(SingleFrameAppli
    cation.java:463)
    at expenses.ExpensesApp.startup(ExpensesApp.java:19)
    at org.jdesktop.application.Application$1.run(Application.java:171)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

    DB:3.43:Cannot Run Jar File Outside Net Beans Ide 9x

    Thank you very much...............that was the issue

  • RELEVANCY SCORE 3.43

    DB:3.43:Security Exception jz


    Hi there,

    when am running my swing components in IE , they are working fine. But we i run them in Netscape am getting the following exception. Am using netscape 4.7 version and plug-in 1.3 . can any body tell why am getting this exception and how to avoid this.??

    thanks in advance....
    ashok sunkara

    java.security.AccessControlException: access denied (java.lang.RuntimePermission modifyThreadGroup)
    at java.security.AccessControlContext.checkPermission(Unknown Source)
    at java.security.AccessController.checkPermission(Unknown Source)

    at java.lang.SecurityManager.checkPermission(Unknown Source)

    at sun.applet.AppletSecurity.checkAccess(Unknown Source)

    at java.lang.ThreadGroup.checkAccess(Unknown Source)

    at java.lang.Thread.init(Unknown Source)

    at java.lang.Thread.init(Unknown Source)
    at javax.swing.TimerQueue.start(Unknown Source)

    at javax.swing.TimerQueue.init(Unknown Source)

    at javax.swing.TimerQueue.sharedInstance(Unknown Source)

    at javax.swing.JApplet.init(Unknown Source)
    at JBGridApp.init(JBGridApp.java:17)

    at java.lang.Class.newInstance0(Native Method)

    at java.lang.Class.newInstance(Unknown Source)

    at sun.applet.AppletPanel.createApplet(Unknown Source)

    at sun.plugin.AppletViewer.createApplet(Unknown Source)

    at sun.applet.AppletPanel.runLoader(Unknown Source)

    at sun.applet.AppletPanel.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

    DB:3.43:Security Exception jz

    can any body tell me , please??? At least the guys from sun .....

  • RELEVANCY SCORE 3.43

    DB:3.43:Crm Application Error When Trying To Access Forms c1


    hi Everyone,

    Kindly help out on this issue,

    After installing the Jinitiator Software,

    We click on the forms on the oraccle application and we get a list of errors and with a error box saying Exception Found.

    Below is the list of errors displayed in the Java Console:

    Oracle JInitiator: Version 1.3.1.21
    Using JRE version 1.3.1.21-internal Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\valaseProxy Configuration: Manual Configuration Proxy: 10.0.20.28:8080 Proxy Overrides: http://crmapts1.gtbplc.com,https://gtibs2.gtbplc.com,intranet.gtbplc.com,infserver.gtbplc.com,10.*,crmapp1.gtbplc.com,crmapts1.gtbplc.com*.oracleads.com,*.us.oracle.com,*.oraclecorp.com,*.uk.oracle.com,*.sg.oracle.com,*.au.oracle.com,*.nz.oracle.com,*.ap.oracle.com,*.in.oracle.com,*.tw.oracle.com,*.jp.oracle.com,*.cn.oracle.com,*.kr.oracle.com,*.th.oracle.com,*.o,10.*,localJAR cache enabled
    Location: C:\Documents and Settings\valase\Oracle Jar Cache
    Maximum size: 50 MB
    Compression level: 0----------------------------------------------------
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    q: hide console
    s: dump system properties
    t: dump thread list
    x: clear classloader cache

    0-5: set trace level to n

    ----------------------------------------------------java.io.IOException: Connection failure with 502at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source)at oracle.jre.protocol.jar.HttpUtils.followRedirects(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.isUpToDate(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.loadFromCache(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.load(Unknown Source)at oracle.jre.protocol.jar.JarCache.get(Unknown Source)at oracle.jre.protocol.jar.CachedJarURLConnection.connect(Unknown Source)at oracle.jre.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)at sun.misc.URLClassPath$JarLoader.init(Unknown Source)at sun.misc.URLClassPath$2.run(Unknown Source)at java.security.AccessController.doPrivileged(Native Method)at sun.misc.URLClassPath.getLoader(Unknown Source)at sun.misc.URLClassPath.getLoader(Unknown Source)at sun.misc.URLClassPath.getResource(Unknown Source)at java.net.URLClassLoader$1.run(Unknown Source)at java.security.AccessController.doPrivileged(Native Method)at java.net.URLClassLoader.findClass(Unknown Source)at sun.applet.AppletClassLoader.findClass(Unknown Source)at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)at java.lang.ClassLoader.loadClass(Unknown Source)at sun.applet.AppletClassLoader.loadClass(Unknown Source)at java.lang.ClassLoader.loadClass(Unknown Source)at sun.applet.AppletClassLoader.loadCode(Unknown Source)at sun.applet.AppletPanel.createApplet(Unknown Source)at sun.plugin.AppletViewer.createApplet(Unknown Source)at sun.applet.AppletPanel.runLoader(Unknown Source)at sun.applet.AppletPanel.run(Unknown Source)at java.lang.Thread.run(Unknown Source)WARNING: error reading http://crmapts1.gtbplc.com:8001/OA_JAVA/oracle/apps/fnd/jar/fndforms.jar from JAR cache.Downloading http://crmapts1.gtbplc.com:8001/OA_JAVA/oracle/apps/fnd/jar/fndforms.jar to JAR cachejava.io.IOException: Connection failure with 502at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.decompress(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.access$4000(Unknown Source)at oracle.jre.protocol.jar.JarCache$10.run(Unknown Source)at java.security.AccessController.doPrivileged(Native Method)at oracle.jre.protocol.jar.JarCache.privileged(Unknown Source)at oracle.jre.protocol.jar.JarCache.access$2800(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.download(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.load(Unknown Source)at oracle.jre.protocol.jar.JarCache.get(Unknown Source)at oracle.jre.protocol.jar.CachedJarURLConnection.connect(Unknown Source)at oracle.jre.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)at sun.misc.URLClassPath$JarLoader.init(Unknown Source)at sun.misc.URLClassPath$2.run(Unknown Source)at java.security.AccessController.doPrivileged(Native Method)at sun.misc.URLClassPath.getLoader(Unknown Source)at sun.misc.URLClassPath.getLoader(Unknown Source)at sun.misc.URLClassPath.getResource(Unknown Source)at java.net.URLClassLoader$1.run(Unknown Source)at java.security.AccessController.doPrivileged(Native Method)at java.net.URLClassLoader.findClass(Unknown Source)at sun.applet.AppletClassLoader.findClass(Unknown Source)at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)at java.lang.ClassLoader.loadClass(Unknown Source)at sun.applet.AppletClassLoader.loadClass(Unknown Source)at java.lang.ClassLoader.loadClass(Unknown Source)at sun.applet.AppletClassLoader.loadCode(Unknown Source)at sun.applet.AppletPanel.createApplet(Unknown Source)at sun.plugin.AppletViewer.createApplet(Unknown Source)at sun.applet.AppletPanel.runLoader(Unknown Source)at sun.applet.AppletPanel.run(Unknown Source)at java.lang.Thread.run(Unknown Source)java.util.zip.ZipException: The system cannot find the file specifiedat java.util.zip.ZipFile.open(Native Method)at java.util.zip.ZipFile.init(Unknown Source)at java.util.jar.JarFile.init(Unknown Source)at java.util.jar.JarFile.init(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.authenticate(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.access$4100(Unknown Source)at oracle.jre.protocol.jar.JarCache$10.run(Unknown Source)at java.security.AccessController.doPrivileged(Native Method)at oracle.jre.protocol.jar.JarCache.privileged(Unknown Source)at oracle.jre.protocol.jar.JarCache.access$2800(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.download(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.load(Unknown Source)at oracle.jre.protocol.jar.JarCache.get(Unknown Source)at oracle.jre.protocol.jar.CachedJarURLConnection.connect(Unknown Source)at oracle.jre.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)at sun.misc.URLClassPath$JarLoader.init(Unknown Source)at sun.misc.URLClassPath$2.run(Unknown Source)at java.security.AccessController.doPrivileged(Native Method)at sun.misc.URLClassPath.getLoader(Unknown Source)at sun.misc.URLClassPath.getLoader(Unknown Source)at sun.misc.URLClassPath.getResource(Unknown Source)at java.net.URLClassLoader$1.run(Unknown Source)at java.security.AccessController.doPrivileged(Native Method)at java.net.URLClassLoader.findClass(Unknown Source)at sun.applet.AppletClassLoader.findClass(Unknown Source)at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)at java.lang.ClassLoader.loadClass(Unknown Source)at sun.applet.AppletClassLoader.loadClass(Unknown Source)at java.lang.ClassLoader.loadClass(Unknown Source)at sun.applet.AppletClassLoader.loadCode(Unknown Source)at sun.applet.AppletPanel.createApplet(Unknown Source)at sun.plugin.AppletViewer.createApplet(Unknown Source)at sun.applet.AppletPanel.runLoader(Unknown Source)at sun.applet.AppletPanel.run(Unknown Source)at java.lang.Thread.run(Unknown Source)WARNING: Unable to cache http://crmapts1.gtbplc.com:8001/OA_JAVA/oracle/apps/fnd/jar/fndforms.jarjava.io.IOException: Connection failure with 502at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source)at oracle.jre.protocol.jar.HttpUtils.followRedirects(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.isUpToDate(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.loadFromCache(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.load(Unknown Source)at oracle.jre.protocol.jar.JarCache.get(Unknown Source)at oracle.jre.protocol.jar.CachedJarURLConnection.connect(Unknown Source)at oracle.jre.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)at sun.misc.URLClassPath$JarLoader.init(Unknown Source)at sun.misc.URLClassPath$2.run(Unknown Source)at java.security.AccessController.doPrivileged(Native Method)at sun.misc.URLClassPath.getLoader(Unknown Source)at sun.misc.URLClassPath.getLoader(Unknown Source)at sun.misc.URLClassPath.getResource(Unknown Source)at java.net.URLClassLoader$1.run(Unknown Source)at java.security.AccessController.doPrivileged(Native Method)at java.net.URLClassLoader.findClass(Unknown Source)at sun.applet.AppletClassLoader.findClass(Unknown Source)at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)at java.lang.ClassLoader.loadClass(Unknown Source)at sun.applet.AppletClassLoader.loadClass(Unknown Source)at java.lang.ClassLoader.loadClass(Unknown Source)at sun.applet.AppletClassLoader.loadCode(Unknown Source)at sun.applet.AppletPanel.createApplet(Unknown Source)at sun.plugin.AppletViewer.createApplet(Unknown Source)at sun.applet.AppletPanel.runLoader(Unknown Source)at sun.applet.AppletPanel.run(Unknown Source)at java.lang.Thread.run(Unknown Source)WARNING: error reading http://crmapts1.gtbplc.com:8001/OA_JAVA/oracle/apps/fnd/jar/fndformsi18n.jar from JAR cache.Downloading http://crmapts1.gtbplc.com:8001/OA_JAVA/oracle/apps/fnd/jar/fndformsi18n.jar to JAR cachejava.io.IOException: Connection failure with 502at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.decompress(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.access$4000(Unknown Source)at oracle.jre.protocol.jar.JarCache$10.run(Unknown Source)at java.security.AccessController.doPrivileged(Native Method)at oracle.jre.protocol.jar.JarCache.privileged(Unknown Source)at oracle.jre.protocol.jar.JarCache.access$2800(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.download(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.load(Unknown Source)at oracle.jre.protocol.jar.JarCache.get(Unknown Source)at oracle.jre.protocol.jar.CachedJarURLConnection.connect(Unknown Source)at oracle.jre.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)at sun.misc.URLClassPath$JarLoader.init(Unknown Source)at sun.misc.URLClassPath$2.run(Unknown Source)at java.security.AccessController.doPrivileged(Native Method)at sun.misc.URLClassPath.getLoader(Unknown Source)at sun.misc.URLClassPath.getLoader(Unknown Source)at sun.misc.URLClassPath.getResource(Unknown Source)at java.net.URLClassLoader$1.run(Unknown Source)at java.security.AccessController.doPrivileged(Native Method)at java.net.URLClassLoader.findClass(Unknown Source)at sun.applet.AppletClassLoader.findClass(Unknown Source)at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)at java.lang.ClassLoader.loadClass(Unknown Source)at sun.applet.AppletClassLoader.loadClass(Unknown Source)at java.lang.ClassLoader.loadClass(Unknown Source)at sun.applet.AppletClassLoader.loadCode(Unknown Source)at sun.applet.AppletPanel.createApplet(Unknown Source)at sun.plugin.AppletViewer.createApplet(Unknown Source)at sun.applet.AppletPanel.runLoader(Unknown Source)at sun.applet.AppletPanel.run(Unknown Source)at java.lang.Thread.run(Unknown Source)java.util.zip.ZipException: The system cannot find the file specifiedat java.util.zip.ZipFile.open(Native Method)at java.util.zip.ZipFile.init(Unknown Source)at java.util.jar.JarFile.init(Unknown Source)at java.util.jar.JarFile.init(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.authenticate(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.access$4100(Unknown Source)at oracle.jre.protocol.jar.JarCache$10.run(Unknown Source)at java.security.AccessController.doPrivileged(Native Method)at oracle.jre.protocol.jar.JarCache.privileged(Unknown Source)at oracle.jre.protocol.jar.JarCache.access$2800(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.download(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.load(Unknown Source)at oracle.jre.protocol.jar.JarCache.get(Unknown Source)at oracle.jre.protocol.jar.CachedJarURLConnection.connect(Unknown Source)at oracle.jre.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)at sun.misc.URLClassPath$JarLoader.init(Unknown Source)at sun.misc.URLClassPath$2.run(Unknown Source)at java.security.AccessController.doPrivileged(Native Method)at sun.misc.URLClassPath.getLoader(Unknown Source)at sun.misc.URLClassPath.getLoader(Unknown Source)at sun.misc.URLClassPath.getResource(Unknown Source)at java.net.URLClassLoader$1.run(Unknown Source)at java.security.AccessController.doPrivileged(Native Method)at java.net.URLClassLoader.findClass(Unknown Source)at sun.applet.AppletClassLoader.findClass(Unknown Source)at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)at java.lang.ClassLoader.loadClass(Unknown Source)at sun.applet.AppletClassLoader.loadClass(Unknown Source)at java.lang.ClassLoader.loadClass(Unknown Source)at sun.applet.AppletClassLoader.loadCode(Unknown Source)at sun.applet.AppletPanel.createApplet(Unknown Source)at sun.plugin.AppletViewer.createApplet(Unknown Source)at sun.applet.AppletPanel.runLoader(Unknown Source)at sun.applet.AppletPanel.run(Unknown Source)at java.lang.Thread.run(Unknown Source)WARNING: Unable to cache http://crmapts1.gtbplc.com:8001/OA_JAVA/oracle/apps/fnd/jar/fndformsi18n.jarjava.io.IOException: Connection failure with 502at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source)at oracle.jre.protocol.jar.HttpUtils.followRedirects(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.isUpToDate(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.loadFromCache(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.load(Unknown Source)at oracle.jre.protocol.jar.JarCache.get(Unknown Source)at oracle.jre.protocol.jar.CachedJarURLConnection.connect(Unknown Source)at oracle.jre.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)at sun.misc.URLClassPath$JarLoader.init(Unknown Source)at sun.misc.URLClassPath$2.run(Unknown Source)at java.security.AccessController.doPrivileged(Native Method)at sun.misc.URLClassPath.getLoader(Unknown Source)at sun.misc.URLClassPath.getLoader(Unknown Source)at sun.misc.URLClassPath.getResource(Unknown Source)at java.net.URLClassLoader$1.run(Unknown Source)at java.security.AccessController.doPrivileged(Native Method)at java.net.URLClassLoader.findClass(Unknown Source)at sun.applet.AppletClassLoader.findClass(Unknown Source)at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)at java.lang.ClassLoader.loadClass(Unknown Source)at sun.applet.AppletClassLoader.loadClass(Unknown Source)at java.lang.ClassLoader.loadClass(Unknown Source)at sun.applet.AppletClassLoader.loadCode(Unknown Source)at sun.applet.AppletPanel.createApplet(Unknown Source)at sun.plugin.AppletViewer.createApplet(Unknown Source)at sun.applet.AppletPanel.runLoader(Unknown Source)at sun.applet.AppletPanel.run(Unknown Source)at java.lang.Thread.run(Unknown Source)WARNING: error reading http://crmapts1.gtbplc.com:8001/OA_JAVA/oracle/apps/fnd/jar/fndewt.jar from JAR cache.Downloading http://crmapts1.gtbplc.com:8001/OA_JAVA/oracle/apps/fnd/jar/fndewt.jar to JAR cachejava.io.IOException: Connection failure with 502at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.decompress(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.access$4000(Unknown Source)at oracle.jre.protocol.jar.JarCache$10.run(Unknown Source)at java.security.AccessController.doPrivileged(Native Method)at oracle.jre.protocol.jar.JarCache.privileged(Unknown Source)at oracle.jre.protocol.jar.JarCache.access$2800(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.download(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.load(Unknown Source)at oracle.jre.protocol.jar.JarCache.get(Unknown Source)at oracle.jre.protocol.jar.CachedJarURLConnection.connect(Unknown Source)at oracle.jre.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)at sun.misc.URLClassPath$JarLoader.init(Unknown Source)at sun.misc.URLClassPath$2.run(Unknown Source)at java.security.AccessController.doPrivileged(Native Method)at sun.misc.URLClassPath.getLoader(Unknown Source)at sun.misc.URLClassPath.getLoader(Unknown Source)at sun.misc.URLClassPath.getResource(Unknown Source)at java.net.URLClassLoader$1.run(Unknown Source)at java.security.AccessController.doPrivileged(Native Method)at java.net.URLClassLoader.findClass(Unknown Source)at sun.applet.AppletClassLoader.findClass(Unknown Source)at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)at java.lang.ClassLoader.loadClass(Unknown Source)at sun.applet.AppletClassLoader.loadClass(Unknown Source)at java.lang.ClassLoader.loadClass(Unknown Source)at sun.applet.AppletClassLoader.loadCode(Unknown Source)at sun.applet.AppletPanel.createApplet(Unknown Source)at sun.plugin.AppletViewer.createApplet(Unknown Source)at sun.applet.AppletPanel.runLoader(Unknown Source)at sun.applet.AppletPanel.run(Unknown Source)at java.lang.Thread.run(Unknown Source)java.util.zip.ZipException: The system cannot find the file specifiedat java.util.zip.ZipFile.open(Native Method)at java.util.zip.ZipFile.init(Unknown Source)at java.util.jar.JarFile.init(Unknown Source)at java.util.jar.JarFile.init(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.authenticate(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.access$4100(Unknown Source)at oracle.jre.protocol.jar.JarCache$10.run(Unknown Source)at java.security.AccessController.doPrivileged(Native Method)at oracle.jre.protocol.jar.JarCache.privileged(Unknown Source)at oracle.jre.protocol.jar.JarCache.access$2800(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.download(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.load(Unknown Source)at oracle.jre.protocol.jar.JarCache.get(Unknown Source)at oracle.jre.protocol.jar.CachedJarURLConnection.connect(Unknown Source)at oracle.jre.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)at sun.misc.URLClassPath$JarLoader.init(Unknown Source)at sun.misc.URLClassPath$2.run(Unknown Source)at java.security.AccessController.doPrivileged(Native Method)at sun.misc.URLClassPath.getLoader(Unknown Source)at sun.misc.URLClassPath.getLoader(Unknown Source)at sun.misc.URLClassPath.getResource(Unknown Source)at java.net.URLClassLoader$1.run(Unknown Source)at java.security.AccessController.doPrivileged(Native Method)at java.net.URLClassLoader.findClass(Unknown Source)at sun.applet.AppletClassLoader.findClass(Unknown Source)at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)at java.lang.ClassLoader.loadClass(Unknown Source)at sun.applet.AppletClassLoader.loadClass(Unknown Source)at java.lang.ClassLoader.loadClass(Unknown Source)at sun.applet.AppletClassLoader.loadCode(Unknown Source)at sun.applet.AppletPanel.createApplet(Unknown Source)at sun.plugin.AppletViewer.createApplet(Unknown Source)at sun.applet.AppletPanel.runLoader(Unknown Source)at sun.applet.AppletPanel.run(Unknown Source)at java.lang.Thread.run(Unknown Source)WARNING: Unable to cache http://crmapts1.gtbplc.com:8001/OA_JAVA/oracle/apps/fnd/jar/fndewt.jarjava.io.IOException: Connection failure with 502at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source)at oracle.jre.protocol.jar.HttpUtils.followRedirects(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.isUpToDate(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.loadFromCache(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.load(Unknown Source)at oracle.jre.protocol.jar.JarCache.get(Unknown Source)at oracle.jre.protocol.jar.CachedJarURLConnection.connect(Unknown Source)at oracle.jre.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)at sun.misc.URLClassPath$JarLoader.init(Unknown Source)at sun.misc.URLClassPath$2.run(Unknown Source)at java.security.AccessController.doPrivileged(Native Method)at sun.misc.URLClassPath.getLoader(Unknown Source)at sun.misc.URLClassPath.getLoader(Unknown Source)at sun.misc.URLClassPath.getResource(Unknown Source)at java.net.URLClassLoader$1.run(Unknown Source)at java.security.AccessController.doPrivileged(Native Method)at java.net.URLClassLoader.findClass(Unknown Source)at sun.applet.AppletClassLoader.findClass(Unknown Source)at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)at java.lang.ClassLoader.loadClass(Unknown Source)at sun.applet.AppletClassLoader.loadClass(Unknown Source)at java.lang.ClassLoader.loadClass(Unknown Source)at sun.applet.AppletClassLoader.loadCode(Unknown Source)at sun.applet.AppletPanel.createApplet(Unknown Source)at sun.plugin.AppletViewer.createApplet(Unknown Source)at sun.applet.AppletPanel.runLoader(Unknown Source)at sun.applet.AppletPanel.run(Unknown Source)at java.lang.Thread.run(Unknown Source)WARNING: error reading http://crmapts1.gtbplc.com:8001/OA_JAVA/oracle/apps/fnd/jar/fndswing.jar from JAR cache.Downloading http://crmapts1.gtbplc.com:8001/OA_JAVA/oracle/apps/fnd/jar/fndswing.jar to JAR cachejava.io.IOException: Connection failure with 502at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.decompress(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.access$4000(Unknown Source)at oracle.jre.protocol.jar.JarCache$10.run(Unknown Source)at java.security.AccessController.doPrivileged(Native Method)at oracle.jre.protocol.jar.JarCache.privileged(Unknown Source)at oracle.jre.protocol.jar.JarCache.access$2800(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.download(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.load(Unknown Source)at oracle.jre.protocol.jar.JarCache.get(Unknown Source)at oracle.jre.protocol.jar.CachedJarURLConnection.connect(Unknown Source)at oracle.jre.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)at sun.misc.URLClassPath$JarLoader.init(Unknown Source)at sun.misc.URLClassPath$2.run(Unknown Source)at java.security.AccessController.doPrivileged(Native Method)at sun.misc.URLClassPath.getLoader(Unknown Source)at sun.misc.URLClassPath.getLoader(Unknown Source)at sun.misc.URLClassPath.getResource(Unknown Source)at java.net.URLClassLoader$1.run(Unknown Source)at java.security.AccessController.doPrivileged(Native Method)at java.net.URLClassLoader.findClass(Unknown Source)at sun.applet.AppletClassLoader.findClass(Unknown Source)at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)at java.lang.ClassLoader.loadClass(Unknown Source)at sun.applet.AppletClassLoader.loadClass(Unknown Source)at java.lang.ClassLoader.loadClass(Unknown Source)at sun.applet.AppletClassLoader.loadCode(Unknown Source)at sun.applet.AppletPanel.createApplet(Unknown Source)at sun.plugin.AppletViewer.createApplet(Unknown Source)at sun.applet.AppletPanel.runLoader(Unknown Source)at sun.applet.AppletPanel.run(Unknown Source)at java.lang.Thread.run(Unknown Source)java.util.zip.ZipException: The system cannot find the file specifiedat java.util.zip.ZipFile.open(Native Method)at java.util.zip.ZipFile.init(Unknown Source)at java.util.jar.JarFile.init(Unknown Source)at java.util.jar.JarFile.init(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.authenticate(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.access$4100(Unknown Source)at oracle.jre.protocol.jar.JarCache$10.run(Unknown Source)at java.security.AccessController.doPrivileged(Native Method)at oracle.jre.protocol.jar.JarCache.privileged(Unknown Source)at oracle.jre.protocol.jar.JarCache.access$2800(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.download(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.load(Unknown Source)at oracle.jre.protocol.jar.JarCache.get(Unknown Source)at oracle.jre.protocol.jar.CachedJarURLConnection.connect(Unknown Source)at oracle.jre.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)at sun.misc.URLClassPath$JarLoader.init(Unknown Source)at sun.misc.URLClassPath$2.run(Unknown Source)at java.security.AccessController.doPrivileged(Native Method)at sun.misc.URLClassPath.getLoader(Unknown Source)at sun.misc.URLClassPath.getLoader(Unknown Source)at sun.misc.URLClassPath.getResource(Unknown Source)at java.net.URLClassLoader$1.run(Unknown Source)at java.security.AccessController.doPrivileged(Native Method)at java.net.URLClassLoader.findClass(Unknown Source)at sun.applet.AppletClassLoader.findClass(Unknown Source)at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)at java.lang.ClassLoader.loadClass(Unknown Source)at sun.applet.AppletClassLoader.loadClass(Unknown Source)at java.lang.ClassLoader.loadClass(Unknown Source)at sun.applet.AppletClassLoader.loadCode(Unknown Source)at sun.applet.AppletPanel.createApplet(Unknown Source)at sun.plugin.AppletViewer.createApplet(Unknown Source)at sun.applet.AppletPanel.runLoader(Unknown Source)at sun.applet.AppletPanel.run(Unknown Source)at java.lang.Thread.run(Unknown Source)WARNING: Unable to cache http://crmapts1.gtbplc.com:8001/OA_JAVA/oracle/apps/fnd/jar/fndswing.jarjava.io.IOException: Connection failure with 502at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source)at oracle.jre.protocol.jar.HttpUtils.followRedirects(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.isUpToDate(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.loadFromCache(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.load(Unknown Source)at oracle.jre.protocol.jar.JarCache.get(Unknown Source)at oracle.jre.protocol.jar.CachedJarURLConnection.connect(Unknown Source)at oracle.jre.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)at sun.misc.URLClassPath$JarLoader.init(Unknown Source)at sun.misc.URLClassPath$2.run(Unknown Source)at java.security.AccessController.doPrivileged(Native Method)at sun.misc.URLClassPath.getLoader(Unknown Source)at sun.misc.URLClassPath.getLoader(Unknown Source)at sun.misc.URLClassPath.getResource(Unknown Source)at java.net.URLClassLoader$1.run(Unknown Source)at java.security.AccessController.doPrivileged(Native Method)at java.net.URLClassLoader.findClass(Unknown Source)at sun.applet.AppletClassLoader.findClass(Unknown Source)at sun.plugin.security.PluginClassLoader.findClass(Unknown Source)at java.lang.ClassLoader.loadClass(Unknown Source)at sun.applet.AppletClassLoader.loadClass(Unknown Source)at java.lang.ClassLoader.loadClass(Unknown Source)at sun.applet.AppletClassLoader.loadCode(Unknown Source)at sun.applet.AppletPanel.createApplet(Unknown Source)at sun.plugin.AppletViewer.createApplet(Unknown Source)at sun.applet.AppletPanel.runLoader(Unknown Source)at sun.applet.AppletPanel.run(Unknown Source)at java.lang.Thread.run(Unknown Source)WARNING: error reading http://crmapts1.gtbplc.com:8001/OA_JAVA/oracle/apps/fnd/jar/fndbalishare.jar from JAR cache.Downloading http://crmapts1.gtbplc.com:8001/OA_JAVA/oracle/apps/fnd/jar/fndbalishare.jar to JAR cachejava.io.IOException: Connection failure with 502at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.decompress(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.access$4000(Unknown Source)at oracle.jre.protocol.jar.JarCache$10.run(Unknown Source)at java.security.AccessController.doPrivileged(Native Method)at oracle.jre.protocol.jar.JarCache.privileged(Unknown Source)at oracle.jre.protocol.jar.JarCache.access$2800(Unknown Source)at oracle.jre.protocol.jar.JarCache$CachedJarLoader.download(Unknown Source)at

    DB:3.43:Crm Application Error When Trying To Access Forms c1

    Hi,

    Please have a look at the following note:

    Note: 428290.1 - Unable To Launch Forms Receive Exception Java.io.IOException: Connection failure with 407
    https://metalink2.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOTp_id=428290.1

    Regards,
    Hussein

  • RELEVANCY SCORE 3.43

    DB:3.43:Access Control Exception Error - Please Help zc


    Hi,
    I am using a applet to create a CMS message and uploading the file to the server.
    I am using HttpClient from apache for the upload.
    I have signed the applet and trusted the applet in the client's trust store.
    Eventhough I have done these things - on execution, I am getting a Access Control Exception.

    Exception in thread "AWT-EventQueue-2" java.lang.ExceptionInInitializerError
    at org.apache.commons.httpclient.HttpConnection.clinit(HttpConnection.java:1320)
    at FileSignAndUpload.HttpPost(FileSignAndUpload.java:550)
    at FileSignAndUpload.generateMime(FileSignAndUpload.java:493)
    at FileSignAndUpload.actionPerformed(FileSignAndUpload.java:279)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission org.apache.commons.logging.LogFactory.HashtableImpl read)
    at java.security.AccessControlContext.checkPermission(Unknown Source)
    at java.security.AccessController.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
    at java.lang.System.getProperty(Unknown Source)
    at org.apache.commons.logging.LogFactory.createFactoryStore(LogFactory.java:320)
    at org.apache.commons.logging.LogFactory.clinit(LogFactory.java:1725)
    ... 27 more

    Regards,
    Aparajith

    DB:3.43:Access Control Exception Error - Please Help zc

    Hi,
    I am using a applet to create a CMS message and uploading the file to the server.
    I am using HttpClient from apache for the upload.
    I have signed the applet and trusted the applet in the client's trust store.
    Eventhough I have done these things - on execution, I am getting a Access Control Exception.

    Exception in thread "AWT-EventQueue-2" java.lang.ExceptionInInitializerError
    at org.apache.commons.httpclient.HttpConnection.clinit(HttpConnection.java:1320)
    at FileSignAndUpload.HttpPost(FileSignAndUpload.java:550)
    at FileSignAndUpload.generateMime(FileSignAndUpload.java:493)
    at FileSignAndUpload.actionPerformed(FileSignAndUpload.java:279)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission org.apache.commons.logging.LogFactory.HashtableImpl read)
    at java.security.AccessControlContext.checkPermission(Unknown Source)
    at java.security.AccessController.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
    at java.lang.System.getProperty(Unknown Source)
    at org.apache.commons.logging.LogFactory.createFactoryStore(LogFactory.java:320)
    at org.apache.commons.logging.LogFactory.clinit(LogFactory.java:1725)
    ... 27 more

    Regards,
    Aparajith

  • RELEVANCY SCORE 3.42

    DB:3.42:Jeditorpane.Settext() Failed With Jre 6 Update 14 z3


    Recently our organization decided to upgrade all the software versions the application is based upon. As a part of the effort, JRE was upgraded from Java 6 update 3 to update 20.
    Application has a thick client (front end) with lot of usage of applets and various swing components. In one of the applets, JEditorPane is used to display some rich text format to the user. The content that is set onto the JEditorPane is huge, however the code works fine with JRE update 3 and same is in the production.

    When tried to run the same code with update 20 (with next-generation plugin disabled) it throws ArrayIndexOutOfBound exception while generating the view.
    Hence tested against all the JRE versions starting with JRE 6 update 4 and found that the issue occurs between update 13 and update 14

    Exception that is genetated on the console is copied below. You can see below that up until EPane.setText(EPane.java:453) is our application code and the view is getting generated by underlying code after that.

    Any input on this would be helpful!!

    Thanks in advance,

    Umesh

    Stack Trace:
    java.lang.ArrayIndexOutOfBoundsException: -1
    at javax.swing.text.CompositeView.getView(Unknown Source)
    at javax.swing.text.TextLayoutStrategy$AttributedSegment.getFont(Unknown Source)
    at javax.swing.text.TextLayoutStrategy$AttributedSegment.getAttribute(Unknown Source)
    at javax.swing.text.TextLayoutStrategy$AttributedSegment.getAttributes(Unknown Source)
    at java.awt.font.TextLine.getFontAtCurrentPos(Unknown Source)
    at java.awt.font.TextMeasurer.initAll(Unknown Source)
    at java.awt.font.TextMeasurer.init(Unknown Source)
    at java.awt.font.LineBreakMeasurer.init(Unknown Source)
    at javax.swing.text.TextLayoutStrategy.sync(Unknown Source)
    at javax.swing.text.TextLayoutStrategy.insertUpdate(Unknown Source)
    at javax.swing.text.FlowView.loadChildren(Unknown Source)
    at javax.swing.text.CompositeView.setParent(Unknown Source)
    at javax.swing.text.FlowView.setParent(Unknown Source)
    at javax.swing.text.html.ParagraphView.setParent(Unknown Source)
    at javax.swing.text.CompositeView.replace(Unknown Source)
    at javax.swing.text.BoxView.replace(Unknown Source)
    at javax.swing.text.CompositeView.loadChildren(Unknown Source)
    at javax.swing.text.CompositeView.setParent(Unknown Source)
    at javax.swing.text.html.BlockView.setParent(Unknown Source)
    at javax.swing.text.CompositeView.replace(Unknown Source)
    at javax.swing.text.BoxView.replace(Unknown Source)
    at javax.swing.text.CompositeView.loadChildren(Unknown Source)
    at javax.swing.text.CompositeView.setParent(Unknown Source)
    at javax.swing.text.html.BlockView.setParent(Unknown Source)
    at javax.swing.text.CompositeView.replace(Unknown Source)
    at javax.swing.text.BoxView.replace(Unknown Source)
    at javax.swing.text.CompositeView.loadChildren(Unknown Source)
    at javax.swing.text.CompositeView.setParent(Unknown Source)
    at javax.swing.text.html.BlockView.setParent(Unknown Source)
    at javax.swing.text.html.HTMLEditorKit$HTMLFactory$BodyBlockView.setParent(Unknown Source)
    at javax.swing.text.CompositeView.replace(Unknown Source)
    at javax.swing.text.BoxView.replace(Unknown Source)
    at javax.swing.text.CompositeView.loadChildren(Unknown Source)
    at javax.swing.text.CompositeView.setParent(Unknown Source)
    at javax.swing.text.html.BlockView.setParent(Unknown Source)
    at javax.swing.plaf.basic.BasicTextUI$RootView.setView(Unknown Source)
    at javax.swing.plaf.basic.BasicTextUI.setView(Unknown Source)
    at javax.swing.plaf.basic.BasicTextUI.modelChanged(Unknown Source)
    at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.insertUpdate(Unknown Source)
    at javax.swing.text.AbstractDocument.fireInsertUpdate(Unknown Source)
    at javax.swing.text.DefaultStyledDocument.create(Unknown Source)
    at javax.swing.text.html.HTMLDocument.create(Unknown Source)
    at javax.swing.text.html.HTMLDocument$HTMLReader.flushBuffer(Unknown Source)
    at javax.swing.text.html.HTMLDocument$HTMLReader.addContent(Unknown Source)
    at javax.swing.text.html.HTMLDocument$HTMLReader.addContent(Unknown Source)
    at javax.swing.text.html.HTMLDocument$HTMLReader.handleText(Unknown Source)
    at javax.swing.text.html.parser.DocumentParser.handleText(Unknown Source)
    at javax.swing.text.html.parser.Parser.handleText(Unknown Source)
    at javax.swing.text.html.parser.Parser.endTag(Unknown Source)
    at javax.swing.text.html.parser.Parser.parseTag(Unknown Source)
    at javax.swing.text.html.parser.Parser.parseContent(Unknown Source)
    at javax.swing.text.html.parser.Parser.parse(Unknown Source)
    at javax.swing.text.html.parser.DocumentParser.parse(Unknown Source)
    at javax.swing.text.html.parser.ParserDelegator.parse(Unknown Source)
    at javax.swing.text.html.HTMLEditorKit.read(Unknown Source)
    at endoworks.ui.editors.EPane.setText(EPane.java:453)
    at endoworks.ui.editors.EStyledEditorPane.setText(EStyledEditorPane.java:2233)
    at endoworks.ui.procedurenote.ProcedureNote.generateText(ProcedureNote.java:4750)
    at endoworks.ui.procedurenote.ProcedureNote.textGenerated(ProcedureNote.java:4621)
    at endoworks.ui.procedurenote.KBTabPanel.fireTextGenerated(KBTabPanel.java:1471)
    at endoworks.ui.procedurenote.KBTabPanel.textGenerated(KBTabPanel.java:1398)
    at endoworks.ui.procedurenote.TreePanel.fireTextGenerated(TreePanel.java:416)
    at endoworks.ui.procedurenote.TreePanel.clickGenerateButton(TreePanel.java:1521)
    at endoworks.ui.procedurenote.TreePanel$ButtonHandler.actionPerformedHandler(TreePanel.java:1609)
    at endoworks.ui.procedurenote.TreePanel$ButtonHandler.actionPerformed(TreePanel.java:1589)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

    DB:3.42:Jeditorpane.Settext() Failed With Jre 6 Update 14 z3

    Make sure your code is executing on the EDT. See the section from the Swing tutorial on Concurrency.

  • RELEVANCY SCORE 3.41

    DB:3.41:Problem In Deploying A Java Swing Application Using Webstart. I sm


    Hi

    I am trying to deploy a Java Swing Application using WebStart. I have an WebProject which has the required

    Jars and JNLP file. I am able to deploy the application using Webstart from my PC.

    But when accessing from a remote machine the following error occurs.

    General Error Description:
    An error occurred while launching/running the application.

    Title: People Plus Hiring Offline Application

    Vendor: XYZ

    Category: Download Error
    Unable to load resource: http://blrkec41968d:9080/PPHClientWeb/Launch1.jnlp

    Launch File
    ?xml version="1.0" encoding="utf-8"?

    !-- JNLP File for PPHClient Offline Application --

    jnlp spec="1.0" codebase= "http://blrkec41968d:9080/PPHClientWeb" href ="Launch1.jnlp"

    information

    titlePeople Plus Hiring Offline Application/title

    vendorInfosys /vendor

    homepage href="PPHClientLaunch/index.html"/

    descriptionPeople Plus Hiring Application/description

    description kind="short"Application to hire applicants in campus/description

    icon href="logoPeople1.jpg"/

    icon kind="splash" href="logoPeople1.gif"/

    /information

    security

    all-permissions/

    /security

    resources

    j2se version="1.3+"/

    jar href="PPHClient_Prod_1_1_0.jar"/

    jar href="adf_Prod_1_4_0-bin.jar"/

    jar href="AuthenticatorJavaClient_dev2_0_2.jar"/

    jar href="prevayler-2.02.005.jar"/

    jar href="RAPComponents_PROD_2_13_0-bin.jar"/

    jar href="RIF_Common_Prod_1_2_0-bin.jar"/

    jar href="RIF_Server_Prod_1_2_0-bin.jar"/

    jar href="xerces.jar"/

    jar href="PDFLib.jar"/

    jar href="iText.jar"/

    /resources

    application-desc main-class="walgreens.PPHApplication"/

    /jnlp

    Exception
    JNLPException[category: Download Error : Exception: java.io.IOException: Server returned HTTP response code: 502 for URL: http://blrkec41968d:9080/PPHClientWeb/Launch1.jnlp : LaunchDesc: null ]

    at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)

    at com.sun.javaws.cache.DownloadProtocol.getLaunchFile(Unknown Source)

    at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)

    at com.sun.javaws.Launcher.downloadResources(Unknown Source)

    at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)

    at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)

    at com.sun.javaws.Launcher.run(Unknown Source)

    at java.lang.Thread.run(Thread.java:536)

    Wrapped Exception
    java.io.IOException: Server returned HTTP response code: 502 for URL: http://blrkec41968d:9080/PPHClientWeb/Launch1.jnlp

    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:709)

    at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:238)

    at com.sun.javaws.net.BasicNetworkLayer.doRequest(Unknown Source)

    at com.sun.javaws.net.BasicNetworkLayer.doGetRequest(Unknown Source)

    at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)

    at com.sun.javaws.cache.DownloadProtocol.getLaunchFile(Unknown Source)

    at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)

    at com.sun.javaws.Launcher.downloadResources(Unknown Source)

    at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)

    at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)

    at com.sun.javaws.Launcher.run(Unknown Source)

    at java.lang.Thread.run(Thread.java:536)

    Console
    Java Web Start 1.2 Console, started Wed May 04 19:37:56 IST 2005

    Java 2 Runtime Environment: Version 1.4.1_02 by Sun Microsystems Inc.

    Thanks,
    Ram

    DB:3.41:Problem In Deploying A Java Swing Application Using Webstart. I sm

    Hi

    I am trying to deploy a Java Swing Application using WebStart. I have an WebProject which has the required

    Jars and JNLP file. I am able to deploy the application using Webstart from my PC.

    But when accessing from a remote machine the following error occurs.

    General Error Description:
    An error occurred while launching/running the application.

    Title: People Plus Hiring Offline Application

    Vendor: XYZ

    Category: Download Error
    Unable to load resource: http://blrkec41968d:9080/PPHClientWeb/Launch1.jnlp

    Launch File
    ?xml version="1.0" encoding="utf-8"?

    !-- JNLP File for PPHClient Offline Application --

    jnlp spec="1.0" codebase= "http://blrkec41968d:9080/PPHClientWeb" href ="Launch1.jnlp"

    information

    titlePeople Plus Hiring Offline Application/title

    vendorInfosys /vendor

    homepage href="PPHClientLaunch/index.html"/

    descriptionPeople Plus Hiring Application/description

    description kind="short"Application to hire applicants in campus/description

    icon href="logoPeople1.jpg"/

    icon kind="splash" href="logoPeople1.gif"/

    /information

    security

    all-permissions/

    /security

    resources

    j2se version="1.3+"/

    jar href="PPHClient_Prod_1_1_0.jar"/

    jar href="adf_Prod_1_4_0-bin.jar"/

    jar href="AuthenticatorJavaClient_dev2_0_2.jar"/

    jar href="prevayler-2.02.005.jar"/

    jar href="RAPComponents_PROD_2_13_0-bin.jar"/

    jar href="RIF_Common_Prod_1_2_0-bin.jar"/

    jar href="RIF_Server_Prod_1_2_0-bin.jar"/

    jar href="xerces.jar"/

    jar href="PDFLib.jar"/

    jar href="iText.jar"/

    /resources

    application-desc main-class="walgreens.PPHApplication"/

    /jnlp

    Exception
    JNLPException[category: Download Error : Exception: java.io.IOException: Server returned HTTP response code: 502 for URL: http://blrkec41968d:9080/PPHClientWeb/Launch1.jnlp : LaunchDesc: null ]

    at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)

    at com.sun.javaws.cache.DownloadProtocol.getLaunchFile(Unknown Source)

    at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)

    at com.sun.javaws.Launcher.downloadResources(Unknown Source)

    at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)

    at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)

    at com.sun.javaws.Launcher.run(Unknown Source)

    at java.lang.Thread.run(Thread.java:536)

    Wrapped Exception
    java.io.IOException: Server returned HTTP response code: 502 for URL: http://blrkec41968d:9080/PPHClientWeb/Launch1.jnlp

    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:709)

    at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:238)

    at com.sun.javaws.net.BasicNetworkLayer.doRequest(Unknown Source)

    at com.sun.javaws.net.BasicNetworkLayer.doGetRequest(Unknown Source)

    at com.sun.javaws.cache.DownloadProtocol.doDownload(Unknown Source)

    at com.sun.javaws.cache.DownloadProtocol.getLaunchFile(Unknown Source)

    at com.sun.javaws.LaunchDownload.getUpdatedLaunchDesc(Unknown Source)

    at com.sun.javaws.Launcher.downloadResources(Unknown Source)

    at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)

    at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)

    at com.sun.javaws.Launcher.run(Unknown Source)

    at java.lang.Thread.run(Thread.java:536)

    Console
    Java Web Start 1.2 Console, started Wed May 04 19:37:56 IST 2005

    Java 2 Runtime Environment: Version 1.4.1_02 by Sun Microsystems Inc.

    Thanks,
    Ram

  • RELEVANCY SCORE 3.40

    DB:3.40:How To Solve This Exception? Help!! 1f


    i want to change part of my code from swing to AWT(just the timer part), but some exceptions are displayed. could you tell me why?

    This is swing part
    GUILogger guiLogger = new GUILogger(logLength);
    // update log information
    Timer timer = new Timer(logTime, new ActionListener() {
    public void actionPerformed(ActionEvent evt) {
    guiLogger.updateLog();
    }
    });
    timer.start();
    This is awt part

    /* final Runnable doUpdateLog = new Runnable() {
    public void run() {
    guiLogger.updateLog();
    }
    };

    TimerTask updateLogTask = new TimerTask() {
    public void run() {
    //if (!EventQueue.isDispatchThread())
    EventQueue.invokeLater(doUpdateLog);
    }
    };
    timer = new Timer();
    timer.schedule(updateLogTask,0,logTime);
    */ exception:

    Exception in thread "AWT-EventQueue-0" java.lang.IllegalArgumentException: position less than zero.
    at java.awt.TextComponent.setCaretPosition(Unknown Source)
    at teema.GUILogger.updateLog(GUILogger.java:97)
    at WtCDC$1.run(WtCDC.java:87)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

  • RELEVANCY SCORE 3.40

    DB:3.40:Exception While A Session Been Lookup On Weblogic 10.3.3 Using Wlclient.Jar f7


    Hi,

    I am upgrading to weblogic 10.3.3.

    I have a client that downloads the required to the client machines using Java web start 6.

    I am using wlclient.jar at the client side.

    When I am trying to lookup for a session bean it is throwing the below exception at the client side.

    java.rmi.MarshalException: CORBA MARSHAL 0 No; nested exception is:
    org.omg.CORBA.MARSHAL: vmcid: 0x0 minor code: 0 completed: No
    at com.sun.corba.se.impl.javax.rmi.CORBA.Util.mapSystemException(Unknown Source)
    at javax.rmi.CORBA.Util.mapSystemException(Unknown Source)
    at com.mbt.expert.server.util._ServerDBQueryObjectRemote_Stub.getExchangeList(Unknown Source)
    at com.mbt.expert.util.DBQueryObject.getExchangeList(DBQueryObject.java:419)
    at com.mbt.expert.view.dialogs.OpenExchangeDialog.actionPerformed(OpenExchangeDialog.java:425)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$000(Unknown Source)
    at java.awt.EventQueue$1.run(Unknown Source)
    at java.awt.EventQueue$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue$2.run(Unknown Source)
    at java.awt.EventQueue$2.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.Dialog$1.run(Unknown Source)
    at java.awt.Dialog$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Dialog.show(Unknown Source)
    at com.mbt.expert.view.dialogs.OpenExchangeDialog.displayDialog(OpenExchangeDialog.java:606)
    at com.mbt.expert.mdi.actions.OpenExchangeAction.execute(OpenExchangeAction.java:204)
    at com.mbt.mdi.MDICommand.actionPerformed(MDICommand.java:47)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$000(Unknown Source)
    at java.awt.EventQueue$1.run(Unknown Source)
    at java.awt.EventQueue$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue$2.run(Unknown Source)
    at java.awt.EventQueue$2.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: org.omg.CORBA.MARSHAL: vmcid: 0x0 minor code: 0 completed: No
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at com.sun.corba.se.impl.protocol.gio pmsgheaders.MessageBase.getSystemException(Unknown Source)
    at com.sun.corba.se.impl.protocol.giopmsgheaders.ReplyMessage_1_2.getSystemException(Unknown Source)
    at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.getSystemExceptionReply(Unknown Source)
    at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.processResponse(Unknown Source)
    at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(Unknown Source)
    at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.invoke(Unknown Source)
    at org.omg.CORBA.portable.ObjectImpl._invoke(Unknown Source)
    ... 80 more

    I have checked the server logs and the server is able to receive the request from the client and fetching the required details.

    I am sending these details to the client by adding to a Vector.

    I have observed one more thing, the same is working in other machine which is in another network.

    I have also tried with the other wl*.jar s but giving different exceptions.

    My server classpath consists of weblogic.jar.

    Do I have to include the client jars in my server classpath?

    Please suggest me how to resolve this.

    Please help me here :)

    DB:3.40:Exception While A Session Been Lookup On Weblogic 10.3.3 Using Wlclient.Jar f7

    Hi,

    I am upgrading to weblogic 10.3.3.

    I have a client that downloads the required to the client machines using Java web start 6.

    I am using wlclient.jar at the client side.

    When I am trying to lookup for a session bean it is throwing the below exception at the client side.

    java.rmi.MarshalException: CORBA MARSHAL 0 No; nested exception is:
    org.omg.CORBA.MARSHAL: vmcid: 0x0 minor code: 0 completed: No
    at com.sun.corba.se.impl.javax.rmi.CORBA.Util.mapSystemException(Unknown Source)
    at javax.rmi.CORBA.Util.mapSystemException(Unknown Source)
    at com.mbt.expert.server.util._ServerDBQueryObjectRemote_Stub.getExchangeList(Unknown Source)
    at com.mbt.expert.util.DBQueryObject.getExchangeList(DBQueryObject.java:419)
    at com.mbt.expert.view.dialogs.OpenExchangeDialog.actionPerformed(OpenExchangeDialog.java:425)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$000(Unknown Source)
    at java.awt.EventQueue$1.run(Unknown Source)
    at java.awt.EventQueue$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue$2.run(Unknown Source)
    at java.awt.EventQueue$2.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.Dialog$1.run(Unknown Source)
    at java.awt.Dialog$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Dialog.show(Unknown Source)
    at com.mbt.expert.view.dialogs.OpenExchangeDialog.displayDialog(OpenExchangeDialog.java:606)
    at com.mbt.expert.mdi.actions.OpenExchangeAction.execute(OpenExchangeAction.java:204)
    at com.mbt.mdi.MDICommand.actionPerformed(MDICommand.java:47)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
    at java.awt.EventQueue.access$000(Unknown Source)
    at java.awt.EventQueue$1.run(Unknown Source)
    at java.awt.EventQueue$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue$2.run(Unknown Source)
    at java.awt.EventQueue$2.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.security.AccessControlContext$1.doIntersectionPrivilege(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: org.omg.CORBA.MARSHAL: vmcid: 0x0 minor code: 0 completed: No
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at com.sun.corba.se.impl.protocol.gio pmsgheaders.MessageBase.getSystemException(Unknown Source)
    at com.sun.corba.se.impl.protocol.giopmsgheaders.ReplyMessage_1_2.getSystemException(Unknown Source)
    at com.sun.corba.se.impl.protocol.CorbaMessageMediatorImpl.getSystemExceptionReply(Unknown Source)
    at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.processResponse(Unknown Source)
    at com.sun.corba.se.impl.protocol.CorbaClientRequestDispatcherImpl.marshalingComplete(Unknown Source)
    at com.sun.corba.se.impl.protocol.CorbaClientDelegateImpl.invoke(Unknown Source)
    at org.omg.CORBA.portable.ObjectImpl._invoke(Unknown Source)
    ... 80 more

    I have checked the server logs and the server is able to receive the request from the client and fetching the required details.

    I am sending these details to the client by adding to a Vector.

    I have observed one more thing, the same is working in other machine which is in another network.

    I have also tried with the other wl*.jar s but giving different exceptions.

    My server classpath consists of weblogic.jar.

    Do I have to include the client jars in my server classpath?

    Please suggest me how to resolve this.

    Please help me here :)

  • RELEVANCY SCORE 3.40

    DB:3.40:Javassist Throws Securityexception On New 4.0.4ga 1f



    i just switched to from 4.0.3SP1 with EJB3 RC5 to 4.0.4GA with EJB3 RC8.i develop a Swing application in Eclipse and deploy it using Java Webstart.The server-side ear is still deploying fine on 4.0.4GA.Running the client from inside my development environment (Eclipse) works great too!Problems arise when i deploy the application with java webstart. Javassist seems to have problems with classes having the wrong signature. I sign my client jar and all the necessary libraries with the same certificate, i tripled checked this (i get no classnotfound errors in Eclipse, so i guess i have all the client libs).The problem arises when i try to load a entity with some atributes lazy initialised. I get the following exception (i left out the MarshallException/RuntimeException part) :

    Caused by: org.hibernate.HibernateException: Javassist Enhancement failed: com.acme.entities.contact.Dummy
    at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.getProxy(JavassistLazyInitializer.java:88)
    at org.hibernate.proxy.pojo.javassist.SerializableProxy.readResolve(SerializableProxy.java:54)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at java.io.ObjectStreamClass.invokeReadResolve(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
    at java.io.ObjectInputStream.readSerialData(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
    at java.io.ObjectInputStream.readSerialData(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at java.util.ArrayList.readObject(Unknown Source)
    at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at java.io.ObjectStreamClass.invokeReadObject(Unknown Source)
    at java.io.ObjectInputStream.readSerialData(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at org.jboss.aop.joinpoint.InvocationResponse.readExternal(InvocationResponse.java:122)
    at java.io.ObjectInputStream.readExternalData(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.defaultReadFields(Unknown Source)
    at java.io.ObjectInputStream.readSerialData(Unknown Source)
    at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    at java.io.ObjectInputStream.readObject0(Unknown Source)
    at java.io.ObjectInputStream.readObject(Unknown Source)
    at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.receiveObject(JavaSerializationManager.java:128)
    at org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.read(SerializableUnMarshaller.java:66)
    at org.jboss.remoting.transport.socket.SocketClientInvoker.transport(SocketClientInvoker.java:279)
    ... 18 more
    Caused by: java.lang.RuntimeException: by java.lang.SecurityException: class "com.acme.entities.contact.Dummy_$$_javassist_0"'s signer information does not match signer information of other classes in the same package
    at javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:173)
    at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.getProxy(JavassistLazyInitializer.java:79)
    ... 56 more
    Caused by: javassist.CannotCompileException: by java.lang.SecurityException: class "com.acme.entities.contact.Dummy_$$_javassist_0"'s signer information does not match signer information of other classes in the same package
    at javassist.util.proxy.FactoryHelper.toClass(FactoryHelper.java:125)
    at javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:169)
    ... 57 more
    Caused by: java.lang.SecurityException: class "com.acme.entities.contact.Dummy_$$_javassist_0"'s signer information does not match signer information of other classes in the same package
    at java.lang.ClassLoader.checkCerts(Unknown Source)
    at java.lang.ClassLoader.preDefineClass(Unknown Source)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at javassist.util.proxy.FactoryHelper.toClass(FactoryHelper.java:117)
    ... 58 more

    DB:3.40:Javassist Throws Securityexception On New 4.0.4ga 1f


    Unfortunately, if using standard JBoss and Hibernate (no EJB3), the use of javassist is forced in the Hibernate MBean (createService() method of org.jboss.hibernate.jmx.Hibernate by hardcoding the property.To work around this I patched two classes:1. Hibernate.java (remove createService() method or change the System.setProperty(..) line from javassist to cglib)2. HibernateMBean (no changes, needed because Hibernate.java implements it).I don't know if there is an easier way to solve this, but at least it works.I can now send lazy Hibernate pojos (containing proxies) to the client without exceptions crashing down on me...htah

  • RELEVANCY SCORE 3.39

    DB:3.39:Load Applet Failed Or Applet Not Initialised x8


    I wrote an JApplet in which am adding JMenuBar, JToolBar and JTextPane. Am hndling all the Jmenubar and Jtoolbar events in the Jtextpane. Its working fine when executed with AppletViewer. But when i call it from InternetExplorer am getting a javaNullPointerException which reads as below

    "Java Plug-in 1.5.0_05
    Using JRE version 1.5.0_05 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\xyz

    load: class NvisionApplet not found.
    java.lang.ClassNotFoundException: NvisionApplet
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.FileNotFoundException: D:\Project\nvision1\NvisionApplet.class (The system cannot find the file specified)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.init(Unknown Source)
    at java.io.FileInputStream.init(Unknown Source)
    at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
    at sun.applet.AppletClassLoader.getBytes(Unknown Source)
    at sun.applet.AppletClassLoader.access$100(Unknown Source)
    at sun.applet.AppletClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    ... 10 more
    Exception in thread "Thread-10" java.lang.NullPointerException
    at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
    at sun.plugin.AppletViewer.showAppletException(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    java.lang.NullPointerException
    at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
    at sun.plugin.AppletViewer.showAppletStatus(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Exception in thread "thread applet-NvisionApplet" java.lang.NullPointerException
    at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
    at sun.plugin.AppletViewer.showAppletException(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    load: class NvisionApplet not found.
    java.lang.ClassNotFoundException: NvisionApplet
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.FileNotFoundException: D:\Project\nvision1\NvisionApplet.class (The system cannot find the file specified)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.init(Unknown Source)
    at java.io.FileInputStream.init(Unknown Source)
    at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
    at sun.applet.AppletClassLoader.getBytes(Unknown Source)
    at sun.applet.AppletClassLoader.access$100(Unknown Source)
    at sun.applet.AppletClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    ... 10 more
    Exception in thread "Thread-14" java.lang.NullPointerException
    at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
    at sun.plugin.AppletViewer.showAppletException(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    java.lang.NullPointerException
    at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
    at sun.plugin.AppletViewer.showAppletStatus(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Exception in thread "thread applet-NvisionApplet" java.lang.NullPointerException
    at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
    at sun.plugin.AppletViewer.showAppletException(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    load: class NvisionApplet not found.
    java.lang.ClassNotFoundException: NvisionApplet
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.FileNotFoundException: D:\Project\nvision1\NvisionApplet.class (The system cannot find the file specified)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.init(Unknown Source)
    at java.io.FileInputStream.init(Unknown Source)
    at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
    at sun.applet.AppletClassLoader.getBytes(Unknown Source)
    at sun.applet.AppletClassLoader.access$100(Unknown Source)
    at sun.applet.AppletClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    ... 10 more
    Exception in thread "Thread-18" java.lang.NullPointerException
    at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
    at sun.plugin.AppletViewer.showAppletException(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    java.lang.NullPointerException
    at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
    at sun.plugin.AppletViewer.showAppletStatus(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Exception in thread "thread applet-NvisionApplet" java.lang.NullPointerException
    at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
    at sun.plugin.AppletViewer.showAppletException(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    java.lang.NoClassDefFoundError: NvisionApplet (wrong name: nvision1/NvisionApplet)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Exception in thread "Thread-22" java.lang.NullPointerException
    at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
    at sun.plugin.AppletViewer.showAppletException(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    java.lang.NullPointerException
    at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
    at sun.plugin.AppletViewer.showAppletStatus(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Exception in thread "thread applet-NvisionApplet" java.lang.NullPointerException
    at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
    at sun.plugin.AppletViewer.showAppletException(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    java.lang.NoClassDefFoundError: NvisionApplet (wrong name: nvision1/NvisionApplet)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Exception in thread "Thread-27" java.lang.NullPointerException
    at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
    at sun.plugin.AppletViewer.showAppletException(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    java.lang.NullPointerException
    at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
    at sun.plugin.AppletViewer.showAppletStatus(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Exception in thread "thread applet-NvisionApplet" java.lang.NullPointerException
    at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
    at sun.plugin.AppletViewer.showAppletException(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    java.lang.NoClassDefFoundError: NvisionApplet (wrong name: nvision1/NvisionApplet)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Exception in thread "Thread-42" java.lang.NullPointerException
    at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
    at sun.plugin.AppletViewer.showAppletException(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    java.lang.NullPointerException
    at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
    at sun.plugin.AppletViewer.showAppletStatus(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    java.lang.NoClassDefFoundError: NvisionApplet (wrong name: nvision1/NvisionApplet)
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Exception in thread "Thread-46" java.lang.NullPointerException
    at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
    at sun.plugin.AppletViewer.showAppletException(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    java.lang.NullPointerException
    at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
    at sun.plugin.AppletViewer.showAppletStatus(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Exception in thread "thread applet-NvisionApplet" java.lang.NullPointerException
    at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
    at sun.plugin.AppletViewer.showAppletException(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source) "
    Am storing the html file within package where my Applet Class file is stored. But still this error popsup.
    I Kindly request you all to help me in solving this issue.
    "

    DB:3.39:Load Applet Failed Or Applet Not Initialised x8

    Thanks for your valuable advice and for that sample code . That was great.
    I actually copied all the java source files to new package along with the index.html and it worked fine in IE.
    Thanks again.

  • RELEVANCY SCORE 3.39

    DB:3.39:Unsatisfiedlinkerror Swt-Win32-Xxxx.Dll Already Loaded In Another Classl... fj


    Hello,

    I am currently developing a tiny testframework expanding the JUnit
    framework. I show a Swing dialog to the user to select a Jar file which contains TestCases and using reflection to gather classes and finally methods of these classes out of this Jar file. This works very well. However, when I want to run JUnit with the selected test method I get the following exception:

    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
    at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown
    Source)
    at java.lang.reflect.Constructor.newInstance(Unknown Source)
    at junit.swingui.DBSTestRunner.runTestMethods(DBSTestRunner.java:1163)
    at junit.swingui.DBSTestRunner$11.actionPerformed(DBSTestRunner.java:460)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown
    Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.lang.UnsatisfiedLinkError: Native Library
    D:\Programme\Eclipse\swt\swt-win32-3218.dll already loaded in another
    classloader
    at java.lang.ClassLoader.loadLibrary0(Unknown Source)
    at java.lang.ClassLoader.loadLibrary(Unknown Source)
    at java.lang.Runtime.loadLibrary0(Unknown Source)
    at java.lang.System.loadLibrary(Unknown Source)
    at org.eclipse.swt.internal.Library.loadLibrary(Library.java:123)
    at org.eclipse.swt.internal.win32.OS.clinit(OS.java:18)
    at org.eclipse.swt.widgets.Display.clinit(Display.java:125)
    at
    de.bahn.ae.tests.spi.sut.DM_devicemanager.section_001_startserviceprovider.TestCase_001_StartSP.init(TestCase_001_StartSP.java:30)
    ... 29 more

    How or why does this happen and how can I fix this problem?

    Thank you, Dirk

    DB:3.39:Unsatisfiedlinkerror Swt-Win32-Xxxx.Dll Already Loaded In Another Classl... fj

    Hi,

    I am also facing the same problem in windows.
    I am trying to execute SWT (JNI included).
    When I comment out the System.loadLibrary and execute it works fine.
    When I include System.loadLibrary, it pops error saying that

    at java.lang.Runtime.loadLibrary0(Runtime.java:822)
    at java.lang.System.loadLibrary(System.java:992)
    at hello.clinit(hello.java:13)
    Exception in thread "main"

    FYI I am using eclipse.

  • RELEVANCY SCORE 3.39

    DB:3.39:Can Not Launch Swing Application From Java Web Start 1.6.0_37 7a


    I have a dynamic generated jnlp file from a serlvet. When I used Java Web Start to start the swing application, it failed. The exception showed
    com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://xxxx.xx.com:9080/dilpipweb/Test-1.0-SNAPSHOT.jar
    at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
    at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

    I used janela to validate the generated jnlp file. It was valid. I also checked the tomcat access log, it showed that the Test-1.0-SNAPSHOT.jar file was accessed correctly (with a 200 return code).
    Can anyone help me what was the problem?
    Thanks,

    DB:3.39:Can Not Launch Swing Application From Java Web Start 1.6.0_37 7a

    I have a dynamic generated jnlp file from a serlvet. When I used Java Web Start to start the swing application, it failed. The exception showed
    com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://xxxx.xx.com:9080/dilpipweb/Test-1.0-SNAPSHOT.jar
    at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
    at com.sun.javaws.LaunchDownload$DownloadTask.call(Unknown Source)
    at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
    at java.util.concurrent.FutureTask.run(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

    I used janela to validate the generated jnlp file. It was valid. I also checked the tomcat access log, it showed that the Test-1.0-SNAPSHOT.jar file was accessed correctly (with a 200 return code).
    Can anyone help me what was the problem?
    Thanks,

  • RELEVANCY SCORE 3.39

    DB:3.39:Running Notificationspg On Local Machine m8


    Hi All,

    I am trying to run the page for the notifications worklist from my local machine. I am using a user with a workflow responsibility and using the correct responsibility in project settings. I am getting the following exception. Kindly Help.

    Thanks,
    Amit

    Exception Details.
    oracle.apps.fnd.framework.OAException: java.lang.ArrayIndexOutOfBoundsException: 0
    at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(Unknown Source)
    at OA.jspService(_OA.java:91)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    ## Detail 0 ##
    java.lang.ArrayIndexOutOfBoundsException: 0
    at oracle.sql.NUMBER._fromLnxFmt(NUMBER.java:3199)
    at oracle.sql.NUMBER.toString(NUMBER.java:761)
    at oracle.sql.NUMBER.stringValue(NUMBER.java:2090)
    at oracle.jbo.domain.Number.toString(Number.java:390)
    at oracle.apps.fnd.framework.webui.OADataBoundValuePickListSelectionIndex.getValue(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.getAttributeValueImpl(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.message.OAMessageChoiceBean.getAttributeValueImpl(Unknown Source)
    at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
    at oracle.cabo.ui.collection.UINodeAttributeMap.getAttribute(Unknown Source)
    at oracle.cabo.ui.collection.AttributeMapProxy.getAttribute(Unknown Source)
    at oracle.cabo.ui.BaseUINode.getAttributeValueImpl(Unknown Source)
    at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
    at oracle.cabo.ui.collection.UINodeAttributeMap.getAttribute(Unknown Source)
    at oracle.cabo.ui.BaseUINode.getAttributeValueImpl(Unknown Source)
    at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
    at oracle.cabo.ui.laf.base.BaseLafUtils.getLocalAttribute(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.OptionContainerRenderer.getSelectedIndex(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.OptionContainerRenderer.populateOptionInfo(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.OptionContainerRenderer.createOptionInfo(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.OptionContainerRenderer.prerender(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.ChoiceRenderer.prerender(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.FormElementRenderer.render(Unknown Source)
    at oracle.apps.fnd.framework.webui.OARendererProxy.render(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanPickListRendererProxy.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderNamedChild(Unknown Source)
    at oracle.cabo.ui.laf.base.SwitcherRenderer._renderCase(Unknown Source)
    at oracle.cabo.ui.laf.base.SwitcherRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode(Unknown Source)
    at oracle.cabo.ui.composite.UINodeRenderer.render(Unknown Source)
    at oracle.apps.fnd.framework.webui.OARendererProxy.render(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanPickListRendererProxy.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.RowLayoutRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.InlineMessageRenderer.render(Unknown Source)
    at oracle.apps.fnd.framework.webui.OARendererProxy.render(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanPickListRendererProxy.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.RowLayoutRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.composite.ContextPoppingUINode$ContextPoppingRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.laf.swan.desktop.HeaderRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.laf.oracle.desktop.HeaderRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.laf.swan.desktop.HeaderRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderIndexedChildren(Unknown Source)
    at oracle.cabo.ui.laf.swan.desktop.ContentRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode(Unknown Source)
    at oracle.cabo.ui.composite.UINodeRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.oracle.desktop.PageLayoutRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.BodyRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.partial.PartialPageUtils.renderPartialPage(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.render(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(Unknown Source)
    at OA.jspService(_OA.java:91)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)
    java.lang.ArrayIndexOutOfBoundsException: 0
    at oracle.sql.NUMBER._fromLnxFmt(NUMBER.java:3199)
    at oracle.sql.NUMBER.toString(NUMBER.java:761)
    at oracle.sql.NUMBER.stringValue(NUMBER.java:2090)
    at oracle.jbo.domain.Number.toString(Number.java:390)
    at oracle.apps.fnd.framework.webui.OADataBoundValuePickListSelectionIndex.getValue(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanHelper.getAttributeValueImpl(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.message.OAMessageChoiceBean.getAttributeValueImpl(Unknown Source)
    at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
    at oracle.cabo.ui.collection.UINodeAttributeMap.getAttribute(Unknown Source)
    at oracle.cabo.ui.collection.AttributeMapProxy.getAttribute(Unknown Source)
    at oracle.cabo.ui.BaseUINode.getAttributeValueImpl(Unknown Source)
    at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
    at oracle.cabo.ui.collection.UINodeAttributeMap.getAttribute(Unknown Source)
    at oracle.cabo.ui.BaseUINode.getAttributeValueImpl(Unknown Source)
    at oracle.cabo.ui.BaseUINode.getAttributeValue(Unknown Source)
    at oracle.cabo.ui.laf.base.BaseLafUtils.getLocalAttribute(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.OptionContainerRenderer.getSelectedIndex(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.OptionContainerRenderer.populateOptionInfo(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.OptionContainerRenderer.createOptionInfo(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.OptionContainerRenderer.prerender(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.ChoiceRenderer.prerender(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.FormElementRenderer.render(Unknown Source)
    at oracle.apps.fnd.framework.webui.OARendererProxy.render(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanPickListRendererProxy.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderNamedChild(Unknown Source)
    at oracle.cabo.ui.laf.base.SwitcherRenderer._renderCase(Unknown Source)
    at oracle.cabo.ui.laf.base.SwitcherRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode(Unknown Source)
    at oracle.cabo.ui.composite.UINodeRenderer.render(Unknown Source)
    at oracle.apps.fnd.framework.webui.OARendererProxy.render(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanPickListRendererProxy.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.RowLayoutRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.InlineMessageRenderer.render(Unknown Source)
    at oracle.apps.fnd.framework.webui.OARendererProxy.render(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAWebBeanPickListRendererProxy.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.RowLayoutRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.composite.ContextPoppingUINode$ContextPoppingRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.laf.swan.desktop.HeaderRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.laf.oracle.desktop.HeaderRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.laf.swan.desktop.HeaderRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.BorderLayoutRenderer.renderIndexedChildren(Unknown Source)
    at oracle.cabo.ui.laf.swan.desktop.ContentRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.composite.UINodeRenderer.renderWithNode(Unknown Source)
    at oracle.cabo.ui.composite.UINodeRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.oracle.desktop.PageLayoutRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.XhtmlLafRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.BodyRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.apps.fnd.framework.webui.beans.OABodyBean.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderIndexedChild(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.renderContent(Unknown Source)
    at oracle.cabo.ui.BaseRenderer.render(Unknown Source)
    at oracle.cabo.ui.laf.base.xhtml.DocumentRenderer.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.BaseUINode.render(Unknown Source)
    at oracle.cabo.ui.partial.PartialPageUtils.renderPartialPage(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.render(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(Unknown Source)
    at oracle.apps.fnd.framework.webui.OAPageBean.renderDocument(Unknown Source)
    at OA.jspService(_OA.java:91)
    at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59)
    at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:453)
    at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:591)
    at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:515)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
    at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
    at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
    at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
    at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
    at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
    at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
    at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
    at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
    at java.lang.Thread.run(Thread.java:595)

    Logout

    Copyright (c) 2006, Oracle. All rights reserved.

    DB:3.39:Running Notificationspg On Local Machine m8

    Set the exception break point for this exception and run in debug mode. See where exactly on the product code this is getting raised.

    --Shiv

  • RELEVANCY SCORE 3.38

    DB:3.38:Applet Notinited kk


    Hi
    I am very new to Java and have no clue about this error.
    This one is a standard IBM software and after i log on with my user name and password on my laptop it comes back with the following error. It used to work until i downloaded the automatic windows update. i am able to view the page on other computer. i am attaching the error message from the Java Console.

    ***********
    Java Plug-in 1.5.0_04
    Using JRE version 1.5.0_04 Java HotSpot(TM) Client VM
    User home directory = C:\Documents and Settings\Mathew John

    ----------------------------------------------------
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    p: reload proxy configuration
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to n
    ----------------------------------------------------

    java.lang.IllegalArgumentException: port out of range:-1
    at java.net.InetSocketAddress.init(Unknown Source)
    at com.sun.deploy.net.proxy.DeployProxySelector$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.deploy.net.proxy.DeployProxySelector.select(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
    at sun.plugin.net.protocol.http.HttpUtils.followRedirects(Unknown Source)
    at sun.plugin.cache.CachedJarLoader.isUpToDate(Unknown Source)
    at sun.plugin.cache.CachedJarLoader.loadFromCache(Unknown Source)
    at sun.plugin.cache.CachedJarLoader.load(Unknown Source)
    at sun.plugin.cache.JarCache.get(Unknown Source)
    at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
    at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)
    at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
    at sun.misc.URLClassPath$JarLoader.init(Unknown Source)
    at sun.misc.URLClassPath$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.misc.URLClassPath.getLoader(Unknown Source)
    at sun.misc.URLClassPath.getLoader(Unknown Source)
    at sun.misc.URLClassPath.getResource(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    java.net.UnknownHostException: www.ascendanterp.ihost.com
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at sun.net.NetworkClient.doConnect(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.protocol.https.HttpsClient.init(Unknown Source)
    at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
    at sun.plugin.net.protocol.http.HttpUtils.followRedirects(Unknown Source)
    at sun.plugin.cache.CachedJarLoader.isUpToDate(Unknown Source)
    at sun.plugin.cache.CachedJarLoader.loadFromCache(Unknown Source)
    at sun.plugin.cache.CachedJarLoader.load(Unknown Source)
    at sun.plugin.cache.JarCache.get(Unknown Source)
    at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
    at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)
    at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
    at sun.misc.URLClassPath$JarLoader.init(Unknown Source)
    at sun.misc.URLClassPath$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.misc.URLClassPath.getLoader(Unknown Source)
    at sun.misc.URLClassPath.getLoader(Unknown Source)
    at sun.misc.URLClassPath.getResource(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    java.lang.IllegalArgumentException: port out of range:-1
    at java.net.InetSocketAddress.init(Unknown Source)
    at com.sun.deploy.net.proxy.DeployProxySelector$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.deploy.net.proxy.DeployProxySelector.select(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
    at sun.plugin.net.protocol.http.HttpUtils.followRedirects(Unknown Source)
    at sun.plugin.cache.CachedFileLoader.download(Unknown Source)
    at sun.plugin.cache.CachedFileLoader.load(Unknown Source)
    at sun.plugin.cache.FileCache.get(Unknown Source)
    at sun.plugin.cache.PluginCacheHandler.get(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at java.net.HttpURLConnection.getResponseCode(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
    at sun.applet.AppletClassLoader.getBytes(Unknown Source)
    at sun.applet.AppletClassLoader.access$100(Unknown Source)
    at sun.applet.AppletClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    java.lang.IllegalArgumentException: port out of range:-1
    at java.net.InetSocketAddress.init(Unknown Source)
    at com.sun.deploy.net.proxy.DeployProxySelector$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.deploy.net.proxy.DeployProxySelector.select(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(Unknown Source)
    at sun.plugin.net.protocol.http.HttpUtils.followRedirects(Unknown Source)
    at sun.plugin.cache.CachedFileLoader.download(Unknown Source)
    at sun.plugin.cache.CachedFileLoader.load(Unknown Source)
    at sun.plugin.cache.FileCache.get(Unknown Source)
    at sun.plugin.cache.PluginCacheHandler.get(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at java.net.HttpURLConnection.getResponseCode(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
    at sun.applet.AppletClassLoader.getBytes(Unknown Source)
    at sun.applet.AppletClassLoader.access$100(Unknown Source)
    at sun.applet.AppletClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    load: class com.ascendant.src.base.TreeApplet.class not found.
    java.lang.ClassNotFoundException: com.ascendant.src.base.TreeApplet.class
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.IOException: open HTTP connection failed.
    at sun.applet.AppletClassLoader.getBytes(Unknown Source)
    at sun.applet.AppletClassLoader.access$100(Unknown Source)
    at sun.applet.AppletClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    ... 10 more
    Exception in thread "Thread-4" java.lang.NullPointerException
    at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
    at sun.plugin.AppletViewer.showAppletException(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    java.lang.NullPointerException
    at sun.plugin.util.GrayBoxPainter.showLoadingError(Unknown Source)
    at sun.plugin.AppletViewer.showAppletStatus(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    ********

    Thanks much in advance for any help on this one.

    Appreciate it.

    Mayohan

    DB:3.38:Applet Notinited kk

    Hello, is the problem solved, how did you do it? I have the same error with jre1.6.0_03 on a solaris machine.

    Thanks.
    yc

  • RELEVANCY SCORE 3.38

    DB:3.38:Wrapplet - Exception jk


    Hi, has anyone used Wrapplet?

    I am using it to host my applet and I think it is a nice very nice solution but every now and then, it throws an exception (usually after entering or refreshing the page).
    It is possible that it is my own applet but I think it is originating from the Wrapplet jar:

    java.lang.NullPointerException
    at javax.swing.text.FlowView$FlowStrategy.layoutRow(Unknown Source)
    at javax.swing.text.FlowView$FlowStrategy.layout(Unknown Source)
    at javax.swing.text.FlowView.layout(Unknown Source)
    at javax.swing.text.BoxView.setSize(Unknown Source)
    at javax.swing.text.BoxView.updateChildSizes(Unknown Source)
    at javax.swing.text.BoxView.setSpanOnAxis(Unknown Source)
    at javax.swing.text.BoxView.layout(Unknown Source)
    at javax.swing.text.BoxView.setSize(Unknown Source)
    at javax.swing.text.BoxView.updateChildSizes(Unknown Source)
    at javax.swing.text.BoxView.setSpanOnAxis(Unknown Source)
    at javax.swing.text.BoxView.layout(Unknown Source)
    at javax.swing.text.BoxView.setSize(Unknown Source)
    at javax.swing.plaf.basic.BasicTextUI$RootView.setSize(Unknown Source)
    at javax.swing.plaf.basic.BasicTextUI.getPreferredSize(Unknown Source)
    at javax.swing.JComponent.getPreferredSize(Unknown Source)
    at javax.swing.JEditorPane.getPreferredSize(Unknown Source)
    at javax.swing.ScrollPaneLayout.layoutContainer(Unknown Source)
    at java.awt.Container.layout(Unknown Source)
    at java.awt.Container.doLayout(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validate(Unknown Source)
    at org.pscode.tool.applet.Wrapplet.loadApplet(Wrapplet.java:352)
    at org.pscode.tool.applet.Wrapplet.init(Wrapplet.java:177)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

    My applet does load normally, so I wouldn't mind the exception being thrown sliently in the background but the problem is that a little dialog box get thrown up saying 'null pointer exception' and I am worried that this might put user off a bit.

    Anyone got any ideas on why this might be happening?

    Cheers,

    patumaire

    DB:3.38:Wrapplet - Exception jk

    Hi, has anyone used Wrapplet?

    I am using it to host my applet and I think it is a nice very nice solution but every now and then, it throws an exception (usually after entering or refreshing the page).
    It is possible that it is my own applet but I think it is originating from the Wrapplet jar:

    java.lang.NullPointerException
    at javax.swing.text.FlowView$FlowStrategy.layoutRow(Unknown Source)
    at javax.swing.text.FlowView$FlowStrategy.layout(Unknown Source)
    at javax.swing.text.FlowView.layout(Unknown Source)
    at javax.swing.text.BoxView.setSize(Unknown Source)
    at javax.swing.text.BoxView.updateChildSizes(Unknown Source)
    at javax.swing.text.BoxView.setSpanOnAxis(Unknown Source)
    at javax.swing.text.BoxView.layout(Unknown Source)
    at javax.swing.text.BoxView.setSize(Unknown Source)
    at javax.swing.text.BoxView.updateChildSizes(Unknown Source)
    at javax.swing.text.BoxView.setSpanOnAxis(Unknown Source)
    at javax.swing.text.BoxView.layout(Unknown Source)
    at javax.swing.text.BoxView.setSize(Unknown Source)
    at javax.swing.plaf.basic.BasicTextUI$RootView.setSize(Unknown Source)
    at javax.swing.plaf.basic.BasicTextUI.getPreferredSize(Unknown Source)
    at javax.swing.JComponent.getPreferredSize(Unknown Source)
    at javax.swing.JEditorPane.getPreferredSize(Unknown Source)
    at javax.swing.ScrollPaneLayout.layoutContainer(Unknown Source)
    at java.awt.Container.layout(Unknown Source)
    at java.awt.Container.doLayout(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validate(Unknown Source)
    at org.pscode.tool.applet.Wrapplet.loadApplet(Wrapplet.java:352)
    at org.pscode.tool.applet.Wrapplet.init(Wrapplet.java:177)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

    My applet does load normally, so I wouldn't mind the exception being thrown sliently in the background but the problem is that a little dialog box get thrown up saying 'null pointer exception' and I am worried that this might put user off a bit.

    Anyone got any ideas on why this might be happening?

    Cheers,

    patumaire

  • RELEVANCY SCORE 3.38

    DB:3.38:Strange Npe In Basictableui.Paintcell a1


    hi,

    I am using JTable to display a list of devices and the jtable has a alternate row color renderer and some images painted on the cells. The below pasted exception occurs from nowhere !!. where do i trace the origin of this exception.

    Some techie guys should be able to answer. Please help.

    Thanks,
    Alex.

    java.lang.NullPointerException
    at javax.swing.plaf.basic.BasicTableUI.paintCell(Unknown Source)
    at javax.swing.plaf.basic.BasicTableUI.paintCells(Unknown Source)
    at javax.swing.plaf.basic.BasicTableUI.paint(Unknown Source)
    at javax.swing.plaf.ComponentUI.update(Unknown Source)
    at javax.swing.JComponent.paintComponent(Unknown Source)
    at javax.swing.JComponent.paint(Unknown Source)
    at javax.swing.JComponent.paintWithOffscreenBuffer(Unknown Source)
    at javax.swing.JComponent.paintDoubleBuffered(Unknown Source)
    at javax.swing.JComponent._paintImmediately(Unknown Source)
    at javax.swing.JComponent.paintImmediately(Unknown Source)
    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)
    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

    DB:3.38:Strange Npe In Basictableui.Paintcell a1

    Thanks for that help viravan ! i will replace this code and test it for sometime. I will see if it occurs again.

    bye,
    Alex.

  • RELEVANCY SCORE 3.38

    DB:3.38:Jre Version That Supports Swing m7


    Hi All,

    I have developed an application using swing components like JTextField, JFormattedTextField, JTextArea, JTable, etc. I had installed JDK 1.4.1 to develop this application.

    I wanted to test it in another machine. I have installed j2re-1_4_1_01-windows-i586, the machine is running on Windows 2000, Advanced server.

    When I try to run the Main class, I got an error saying

    Exception in thread "main" java.lang.NoClassDefFound Error: javax/swing/JFormattedTextField not found

    I had posted this on the forum yesterday. One of the replies suggested that I implitly specify the classpath for rt.jar and remove all other runtime versions.

    I have uninstalled all the versions of the JRE, re-installed JRE 1.4.1, included rt.jar in the class path. Now I get this.

    C:\Filecollectionjava filecollection.FileCollectionClass
    Exception in thread "main" java.lang.UnsupportedClassVersionError: javax/swing/JFormattedTextField (Unsupported major.minor version 48.0)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at filecollection.FileCollectionClass.init(FileCollectionClass.java:20)
    at filecollection.FileCollectionClass.main(FileCollectionClass.java:50)

    Thanks for your help.

    Regards
    Lakshmi

    DB:3.38:Jre Version That Supports Swing m7

    Is it not a simple version issue? Is there an elder java version lurking on the PATH?

    This will tell the java version:

    java -version

  • RELEVANCY SCORE 3.37

    DB:3.37:Swing Pjc And Tooltips kd


    Hi,

    We developed a JavaBean using Swing. We put it in a Bean Area in forms 9i. The Swing components have assigned tooltip texts. When we are running the form on the web, the Swing tooltips don't show, and when the mouse exits the Swing component the following exception is raised:

    java.lang.Error: Destination component not connected to component tree hierarchy
    at javax.swing.SwingUtilities.convertPoint(Unknown Source)
    at javax.swing.DefaultPopupFactory$JPanelPopup.convertParentLocationToScreen(Unknown Source)

    at javax.swing.DefaultPopupFactory$JPanelPopup.getBoundsOnScreen(Unknown Source)

    at javax.swing.ToolTipManager.mouseExited(Unknown Source)

    at java.awt.AWTEventMulticaster.mouseExited(Unknown Source)

    at java.awt.Component.processMouseEvent(Unknown Source)

    at java.awt.Component.processEvent(Unknown Source)

    at java.awt.Container.processEvent(Unknown Source)

    at java.awt.Component.dispatchEventImpl(Unknown Source)

    at java.awt.Container.dispatchEventImpl(Unknown Source)

    at java.awt.Component.dispatchEvent(Unknown Source)

    at oracle.ewt.event.tracking.GlassMouseGrabProvider$Disp._redispatchEvent(Unknown Source)

    at oracle.ewt.event.tracking.GlassMouseGrabProvider$Disp._redispatchEvent(Unknown Source)

    at oracle.ewt.event.tracking.GlassMouseGrabProvider$Disp._checkTarget(Unknown Source)

    at oracle.ewt.event.tracking.GlassMouseGrabProvider$Disp.mouseMoved(Unknown Source)

    at java.awt.Component.processMouseMotionEvent(Unknown Source)

    at java.awt.Component.processEvent(Unknown Source)

    at java.awt.Container.processEvent(Unknown Source)

    at oracle.ewt.lwAWT.LWComponent.processEventImpl(Unknown Source)

    at oracle.ewt.lwAWT.LWComponent.redispatchEvent(Unknown Source)

    at oracle.ewt.lwAWT.LWComponent.processEvent(Unknown Source)

    at java.awt.Component.dispatchEventImpl(Unknown Source)

    at java.awt.Container.dispatchEventImpl(Unknown Source)

    at java.awt.Component.dispatchEvent(Unknown Source)

    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)

    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)

    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)

    at java.awt.Container.dispatchEventImpl(Unknown Source)

    at java.awt.Window.dispatchEventImpl(Unknown Source)

    at java.awt.Component.dispatchEvent(Unknown Source)

    at java.awt.EventQueue.dispatchEvent(Unknown Source)

    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    at java.awt.EventDispatchThread.run(Unknown Source)

    When we run the form on the web with parameter "separateFrame=true" then a gray rectangle shows in the place of the tooltip, and the same exception is raised.

    DB:3.37:Swing Pjc And Tooltips kd

    You could be hitting bug 2127556.

    Regards,
    Robin Zimmermann
    Forms Product Management

  • RELEVANCY SCORE 3.37

    DB:3.37:Null Pointer Exception In Javax.Swing.Basiclistui xj


    Hello All

    I am facing a problem in Javax swing while painting GUI. I am showing a dialog by using SwingUtilities.invokeLater() and some processing is done in background and based upon that I am updating my GUI in background. After the painting and updating in background is complete I remove the dialog. But in the meantime the following exception is coming. One point worth mentioning here is that the problem's frequency is very high on some desktops and very low on some systems.

    The exception comes in any method call of BasicListUI

    java.lang.NullPointerException
    at javax.swing.plaf.basic.BasicListUI.getHeight(Unknown Source)

    at javax.swing.plaf.basic.BasicListUI.paint(Unknown Source)

    at javax.swing.plaf.ComponentUI.update(Unknown Source)

    at javax.swing.JComponent.paintComponent(Unknown Source)

    at javax.swing.JComponent.paint(Unknown Source)

    at javax.swing.JComponent.paintWithOffscreenBuffer(Unknown Source)

    at javax.swing.JComponent.paintDoubleBuffered(Unknown Source)

    at javax.swing.JComponent._paintImmediately(Unknown Source)

    at javax.swing.JComponent.paintImmediately(Unknown Source)

    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)

    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)

    at java.awt.event.InvocationEvent.dispatch(Unknown Source)

    at java.awt.EventQueue.dispatchEvent(Unknown Source)

    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

    at java.awt.Dialog$1.run(Unknown Source)

    at java.awt.Dialog.show(Unknown Source)

    at java.awt.Component.show(Unknown Source)

    at java.awt.Component.setVisible(Unknown Source)

    at com.mgoyal.ProgressDialog.showProgressDialog(ProgressDialogUI.java:164)

    at com.mgoyal.MainController.run(MainController.java:1631)

    at java.awt.event.InvocationEvent.dispatch(Unknown Source)

    at java.awt.EventQueue.dispatchEvent(Unknown Source)

    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    at java.awt.EventDispatchThread.run(Unknown Source)

    java.lang.NullPointerException
    at javax.swing.plaf.basic.BasicListUI.paintCell(Unknown Source)

    at javax.swing.plaf.basic.BasicListUI.paint(Unknown Source)

    at javax.swing.plaf.ComponentUI.update(Unknown Source)

    at javax.swing.JComponent.paintComponent(Unknown Source)

    at javax.swing.JComponent.paint(Unknown Source)

    at javax.swing.JComponent.paintWithOffscreenBuffer(Unknown Source)

    at javax.swing.JComponent.paintDoubleBuffered(Unknown Source)

    at javax.swing.JComponent._paintImmediately(Unknown Source)

    at javax.swing.JComponent.paintImmediately(Unknown Source)

    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)

    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)

    at java.awt.event.InvocationEvent.dispatch(Unknown Source)

    at java.awt.EventQueue.dispatchEvent(Unknown Source)

    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

    at java.awt.Dialog$1.run(Unknown Source)

    at java.awt.Dialog.show(Unknown Source)

    at java.awt.Component.show(Unknown Source)

    at java.awt.Component.setVisible(Unknown Source)

    at com.mgoyal.ProgressDialog.showProgressDialog(ProgressDialogUI.java:164)

    at com.mgoyal.MainController.run(MainController.java:1631)

    at java.awt.event.InvocationEvent.dispatch(Unknown Source)

    at java.awt.EventQueue.dispatchEvent(Unknown Source)

    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    at java.awt.EventDispatchThread.run(Unknown Source)I am not using BasicListUI at all in my code but a JList is being used which I repaint in the background by calling updateUI() method of JList

    DB:3.37:Null Pointer Exception In Javax.Swing.Basiclistui xj

    Hello All

    I am facing a problem in Javax swing while painting GUI. I am showing a dialog by using SwingUtilities.invokeLater() and some processing is done in background and based upon that I am updating my GUI in background. After the painting and updating in background is complete I remove the dialog. But in the meantime the following exception is coming. One point worth mentioning here is that the problem's frequency is very high on some desktops and very low on some systems.

    The exception comes in any method call of BasicListUI

    java.lang.NullPointerException
    at javax.swing.plaf.basic.BasicListUI.getHeight(Unknown Source)

    at javax.swing.plaf.basic.BasicListUI.paint(Unknown Source)

    at javax.swing.plaf.ComponentUI.update(Unknown Source)

    at javax.swing.JComponent.paintComponent(Unknown Source)

    at javax.swing.JComponent.paint(Unknown Source)

    at javax.swing.JComponent.paintWithOffscreenBuffer(Unknown Source)

    at javax.swing.JComponent.paintDoubleBuffered(Unknown Source)

    at javax.swing.JComponent._paintImmediately(Unknown Source)

    at javax.swing.JComponent.paintImmediately(Unknown Source)

    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)

    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)

    at java.awt.event.InvocationEvent.dispatch(Unknown Source)

    at java.awt.EventQueue.dispatchEvent(Unknown Source)

    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

    at java.awt.Dialog$1.run(Unknown Source)

    at java.awt.Dialog.show(Unknown Source)

    at java.awt.Component.show(Unknown Source)

    at java.awt.Component.setVisible(Unknown Source)

    at com.mgoyal.ProgressDialog.showProgressDialog(ProgressDialogUI.java:164)

    at com.mgoyal.MainController.run(MainController.java:1631)

    at java.awt.event.InvocationEvent.dispatch(Unknown Source)

    at java.awt.EventQueue.dispatchEvent(Unknown Source)

    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    at java.awt.EventDispatchThread.run(Unknown Source)

    java.lang.NullPointerException
    at javax.swing.plaf.basic.BasicListUI.paintCell(Unknown Source)

    at javax.swing.plaf.basic.BasicListUI.paint(Unknown Source)

    at javax.swing.plaf.ComponentUI.update(Unknown Source)

    at javax.swing.JComponent.paintComponent(Unknown Source)

    at javax.swing.JComponent.paint(Unknown Source)

    at javax.swing.JComponent.paintWithOffscreenBuffer(Unknown Source)

    at javax.swing.JComponent.paintDoubleBuffered(Unknown Source)

    at javax.swing.JComponent._paintImmediately(Unknown Source)

    at javax.swing.JComponent.paintImmediately(Unknown Source)

    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)

    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)

    at java.awt.event.InvocationEvent.dispatch(Unknown Source)

    at java.awt.EventQueue.dispatchEvent(Unknown Source)

    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

    at java.awt.Dialog$1.run(Unknown Source)

    at java.awt.Dialog.show(Unknown Source)

    at java.awt.Component.show(Unknown Source)

    at java.awt.Component.setVisible(Unknown Source)

    at com.mgoyal.ProgressDialog.showProgressDialog(ProgressDialogUI.java:164)

    at com.mgoyal.MainController.run(MainController.java:1631)

    at java.awt.event.InvocationEvent.dispatch(Unknown Source)

    at java.awt.EventQueue.dispatchEvent(Unknown Source)

    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    at java.awt.EventDispatchThread.run(Unknown Source)I am not using BasicListUI at all in my code but a JList is being used which I repaint in the background by calling updateUI() method of JList

  • RELEVANCY SCORE 3.37

    DB:3.37:Noclassdeffounderror Singleframeapplication zp


    Hi,

    New to Java but not to programming,

    On WinXP, using jdk1.6.0_07, jre1.6.0_07, NetBeans IDE 6.1, Tomcat 6.0
    --------------
    In am including an applet (TestBouton.jar) in a JSP Page (index.jsp).
    Applet alone displays ok and works ok
    It is included in JSP this way:
    applet code="testbouton/TestBouton.class" archive="TestBouton.jar"/
    TestBouton.jar is in same dir as index.jsp
    TestBouton.class is in sub-dir testbouton of jar file.
    ----------
    appframework-1.0.3.jar, servlet-api.jar and swing-worker-1.1,jar are in sub-dir WEB-INF\lib of web dir where index.jsp page is located and called
    classpath is: .;./WEB-INF/lib

    When I run the jsp page from the ide or from java -jar ...
    I get the following message:

    java.lang.NoClassDefFoundError: org/jdesktop/application/SingleFrameApplication
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$000(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.ClassNotFoundException: org.jdesktop.application.SingleFrameApplication
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)

    Can you help?

    Thanks

    Alain

    DB:3.37:Noclassdeffounderror Singleframeapplication zp

    Hi again,

    JavaBean Navigator tells me that TestBouton is a SingleFrameApplication; it does have a Main method.

    It does not write to disk. Can such an applicatin be called from a web page?

    Is the problem due to this difference between application and applet?

    Learning...

    Thanks for your input.

    Alain-geo

  • RELEVANCY SCORE 3.37

    DB:3.37:Streamcorruptedexception Occured When Applet Calls Proxy 87



    Hello, All,

    We've recently migrated from Weblogic4.5.1 to Weblogic6.0 SP1. We have an applet
    application written in Java Swing that proxy requests to NES server. After the
    migration, the applet basically works fine but we've got the following exceptions
    when we click "save" button. Can someone give us some insights what can cause
    the "EOFException while reading the stream header"
    and what we can do to fix the problem? If further information is needed, please
    let me know. Thanks a million.

    Ting

    ************************************************************
    [7/23/01 3:40:24 PM EDT] A RTQ: Exception caught calling proxy (http://palace:7500/,
    [Ljava.lang.Object;@4fc23).

    [7/23/01 3:40:24 PM EDT] A - Throwable stack trace

    java.io.StreamCorruptedException: Caught EOFException while reading the stream
    header

    at java.io.ObjectInputStream.readStreamHeader(Unknown Source)

    at java.io.ObjectInputStream.init(Unknown Source)

    at com.fnx.util.fnxcomm.RemoteInvoker.invoke(RemoteInvoker.java:217)

    at com.fnx.applet.RealTimeQuote.RTQ.callProxyMethod(RTQ.java:342)

    at com.fnx.applet.RealTimeQuote.RTQ_ConfigModel.saveConfig(RTQ_Config.java:360)

    at com.fnx.applet.RealTimeQuote.RTQ_Config$SymAction.saveButton_ActionPerformed(RTQ_Config.java:763)

    at com.fnx.applet.RealTimeQuote.RTQ_Config$SymAction.actionPerformed(RTQ_Config.java:739)

    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)

    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)

    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)

    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)

    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)

    at java.awt.Component.processMouseEvent(Unknown Source)

    at java.awt.Component.processEvent(Unknown Source)

    at java.awt.Container.processEvent(Unknown Source)

    at java.awt.Component.dispatchEventImpl(Unknown Source)

    at java.awt.Container.dispatchEventImpl(Unknown Source)

    at java.awt.Component.dispatchEvent(Unknown Source)

    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)

    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)

    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)

    at java.awt.Container.dispatchEventImpl(Unknown Source)

    at java.awt.Component.dispatchEvent(Unknown Source)

    at java.awt.EventQueue.dispatchEvent(Unknown Source)

    at java.awt.EventDispatchThread.pumpOneEvent(Unknown Source)

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    RTQ_Config:save:unsub ...
    RTQ_Config:save:setConfig ...

    ***************************************************************

    DB:3.37:Streamcorruptedexception Occured When Applet Calls Proxy 87


    You should use the new version of HttpClusterServelt or plugin from 6.0sp1 to connect
    to wls60sp1 server.

    "Ting Zhang" tzhang@fnx.com wrote:

    Dear Mr. Lee,

    Thanks so much for your kind reply. Could you give us some hints as
    to how to
    fix this problem? Do we need reconfigure the plug in or change ProxyServlet
    when
    we migrate from WebLogic4.5.1? Your help is highly appreciated. Thank
    you again.

    Ting

    "Jong Lee" jlee@bea.com wrote:
    EOFException occurs when the content-length header does not match the
    actual bytes
    write by wls.

    "Ting Zhang" tzhang@fnx.com wrote:
    Hello, All,

    We've recently migrated from Weblogic4.5.1 to Weblogic6.0 SP1. Wehave
    an applet
    application written in Java Swing that proxy requests to NES server.
    After the
    migration, the applet basically works fine but we've got the following
    exceptions
    when we click "save" button. Can someone give us some insights what
    can cause
    the "EOFException while reading the stream header"
    and what we can do to fix the problem? If further information is needed,
    please
    let me know. Thanks a million.

    Ting

    ************************************************************
    [7/23/01 3:40:24 PM EDT] A RTQ: Exception caught calling proxy (http://palace:7500/,
    [Ljava.lang.Object;@4fc23).

    [7/23/01 3:40:24 PM EDT] A - Throwable stack trace

    java.io.StreamCorruptedException: Caught EOFException while readingthe
    stream
    header

    at java.io.ObjectInputStream.readStreamHeader(Unknown Source)

    at java.io.ObjectInputStream.init(Unknown Source)

    at com.fnx.util.fnxcomm.RemoteInvoker.invoke(RemoteInvoker.java:217)

    at com.fnx.applet.RealTimeQuote.RTQ.callProxyMethod(RTQ.java:342)

    at com.fnx.applet.RealTimeQuote.RTQ_ConfigModel.saveConfig(RTQ_Config.java:360)

    at com.fnx.applet.RealTimeQuote.RTQ_Config$SymAction.saveButton_ActionPerformed(RTQ_Config.java:763)

    at com.fnx.applet.RealTimeQuote.RTQ_Config$SymAction.actionPerformed(RTQ_Config.java:739)

    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)

    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown
    Source)

    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)

    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)

    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown
    Source)

    at java.awt.Component.processMouseEvent(Unknown Source)

    at java.awt.Component.processEvent(Unknown Source)

    at java.awt.Container.processEvent(Unknown Source)

    at java.awt.Component.dispatchEventImpl(Unknown Source)

    at java.awt.Container.dispatchEventImpl(Unknown Source)

    at java.awt.Component.dispatchEvent(Unknown Source)

    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)

    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)

    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)

    at java.awt.Container.dispatchEventImpl(Unknown Source)

    at java.awt.Component.dispatchEvent(Unknown Source)

    at java.awt.EventQueue.dispatchEvent(Unknown Source)

    at java.awt.EventDispatchThread.pumpOneEvent(Unknown Source)

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    RTQ_Config:save:unsub ...
    RTQ_Config:save:setConfig ...

    ***************************************************************

  • RELEVANCY SCORE 3.37

    DB:3.37:Invocationtargetexception Possibly Related To Java.Util.Prefs.Preferences 31


    I've packaged up my Swing application as an executable JAR and am trying to distribute it using Java Web Start. However, I encounter an error after clicking the JNLP link to download the application.

    Error:An error occurred while launching/running the application.

    Title: Snap Backup JNLP
    Vendor: Center Key Software
    Category: Unexpected Error

    Unexpected exception: java.lang.reflect.InvocationTargetExceptionException:java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sun.javaws.Launcher.executeApplication(Unknown Source)
    at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
    at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
    at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
    at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
    at com.sun.javaws.Launcher.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.ExceptionInInitializerError
    at com.snapbackup.utilities.settings.a.clinit(Unknown Source)
    at com.snapbackup.Main.main(Unknown Source)
    ... 11 more
    Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission preferences)
    at java.security.AccessControlContext.checkPermission(Unknown Source)
    at java.security.AccessController.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at java.util.prefs.Preferences.userRoot(Unknown Source)
    at java.util.prefs.Preferences.userNodeForPackage(Unknown Source)
    at com.snapbackup.utilities.settings.UserPreferences.clinit(Unknown Source)
    ... 13 moreJNLP file:?xml version="1.0" encoding="utf-8"?
    jnlp spec="1.0" codebase="http://www.snapbackup.com/download/" href="snapbackup.jnlp"
    information
    titleSnap Backup JNLP/title
    vendorCenter Key Software/vendor
    offline-allowed/
    /information
    resources
    jar href="snapbackup.jar"/
    j2se version="1.4+" href="http://java.sun.com/products/autodl/j2se"/
    /resources
    application-desc main-class="com.snapbackup.Main"/
    /jnlpFor the brave, you can try it yourself at: http://www.snapbackup.com/download/webstart.html

    The error appears to occur in my "UserPreferences" class which uses "java.util.prefs.Preferences". Does that preclude me from using Web Start? Any suggestions for tackling this problem?

    ______________________________
    Bare Bones Browser Launch for Java

    DB:3.37:Invocationtargetexception Possibly Related To Java.Util.Prefs.Preferences 31

    I've packaged up my Swing application as an executable JAR and am trying to distribute it using Java Web Start. However, I encounter an error after clicking the JNLP link to download the application.

    Error:An error occurred while launching/running the application.

    Title: Snap Backup JNLP
    Vendor: Center Key Software
    Category: Unexpected Error

    Unexpected exception: java.lang.reflect.InvocationTargetExceptionException:java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at com.sun.javaws.Launcher.executeApplication(Unknown Source)
    at com.sun.javaws.Launcher.executeMainClass(Unknown Source)
    at com.sun.javaws.Launcher.continueLaunch(Unknown Source)
    at com.sun.javaws.Launcher.handleApplicationDesc(Unknown Source)
    at com.sun.javaws.Launcher.handleLaunchFile(Unknown Source)
    at com.sun.javaws.Launcher.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.ExceptionInInitializerError
    at com.snapbackup.utilities.settings.a.clinit(Unknown Source)
    at com.snapbackup.Main.main(Unknown Source)
    ... 11 more
    Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission preferences)
    at java.security.AccessControlContext.checkPermission(Unknown Source)
    at java.security.AccessController.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at java.util.prefs.Preferences.userRoot(Unknown Source)
    at java.util.prefs.Preferences.userNodeForPackage(Unknown Source)
    at com.snapbackup.utilities.settings.UserPreferences.clinit(Unknown Source)
    ... 13 moreJNLP file:?xml version="1.0" encoding="utf-8"?
    jnlp spec="1.0" codebase="http://www.snapbackup.com/download/" href="snapbackup.jnlp"
    information
    titleSnap Backup JNLP/title
    vendorCenter Key Software/vendor
    offline-allowed/
    /information
    resources
    jar href="snapbackup.jar"/
    j2se version="1.4+" href="http://java.sun.com/products/autodl/j2se"/
    /resources
    application-desc main-class="com.snapbackup.Main"/
    /jnlpFor the brave, you can try it yourself at: http://www.snapbackup.com/download/webstart.html

    The error appears to occur in my "UserPreferences" class which uses "java.util.prefs.Preferences". Does that preclude me from using Web Start? Any suggestions for tackling this problem?

    ______________________________
    Bare Bones Browser Launch for Java

  • RELEVANCY SCORE 3.37

    DB:3.37:Classnotfoundexception?? cm


    Hello there,
    I am trying to develop a small application which uses reflections to find methods and fields from a class.
    I have added this directory to classpath also.
    I tried using
    String file="com.uni.project.employee.EmployeeInfo";
    //pojoClass=Class.forName(file);
    //pojoClass=ClassLoader.getSystemClassLoader().loadClass(file);
    //pojoClass=Launcher.getLauncher().getClassLoader().loadClass(file);
    URLClassLoader loader=new URLClassLoader(urls);
    pojoClass=loader.loadClass(file);but none of the method is working
    and following exception is thrown every time

    java.lang.ClassNotFoundException: com.uni.project.employee.EmployeeInfo
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at com.sachin.PojoClass.init(PojoClass.java:27)
    at com.sachin.ProjVal.initiateProjectLoading(ProjVal.java:81)
    at com.sachin.ProjVal.actionPerformed(ProjVal.java:53)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.AbstractButton.doClick(Unknown Source)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
    at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

    DB:3.37:Classnotfoundexception?? cm

    Thank you for you replies.
    My problem has been solved and now I can use URLClassLoader to load the classes which are not there in classpath.

    Thank you all.

  • RELEVANCY SCORE 3.37

    DB:3.37:Java Errors When Using My Java App Via Remote Desktop ff


    I have a Java App that runs fine if I invoke it and run it on a windows xp machine "x".
    If I remote desktop connect to machine "x" from another windows machine "y"
    I get the errors and the Java App is not displayed correctly. It becomes unusable.
    While remotely connected if I terminate the Java App and restart it the App
    will run just fine and not generate any errors.
    Specifically the steps are:
    Open a cygwin shell.
    invoke the app...java -jar xxx.jar
    use the app on the machine, works fine without any exceptions.
    Leave the app running and go home...eat dinner...then
    VPN into the office
    Startup Windows Remote Desktop to the pc running the app.
    Start to use the app. Now the exception occur as I click on buttons/enter data into fields.
    Then I terminate the App.
    Then I restart the app... java -jar xxx.jar
    It works fine without exceptions.
    This app was developed using NetBeans 6.5

    The errors are:
    in thread "AWT-EventQueue-0" java.lang.NullPointerException
    at com.sun.java.swing.plaf.windows.XPStyle$Skin.getWidth(Unknown Source)

    at com.sun.java.swing.plaf.windows.XPStyle$Skin.getWidth(Unknown Source)

    at com.sun.java.swing.plaf.windows.WindowsIconFactory$CheckBoxIcon.getIc
    onWidth(Unknown Source)
    at javax.swing.SwingUtilities.layoutCompoundLabelImpl(Unknown Source)
    at javax.swing.SwingUtilities.layoutCompoundLabel(Unknown Source)
    at javax.swing.plaf.basic.BasicRadioButtonUI.getPreferredSize(Unknown So
    urce)
    at com.sun.java.swing.plaf.windows.WindowsRadioButtonUI.getPreferredSize
    (Unknown Source)
    at javax.swing.plaf.basic.BasicButtonUI.getMinimumSize(Unknown Source)
    at javax.swing.JComponent.getMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$ComponentSpring.calculateNonlinkedMinimumSize
    (Unknown Source)
    at javax.swing.GroupLayout$ComponentSpring.calculateMinimumSize(Unknown
    Source)
    at javax.swing.GroupLayout$Spring.getMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$ComponentSpring.calculatePreferredSize(Unknow
    n Source)
    at javax.swing.GroupLayout$Spring.getPreferredSize(Unknown Source)
    at javax.swing.GroupLayout$Group.getSpringSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculatePreferredSize(Unknown Source)
    at javax.swing.GroupLayout$Spring.getPreferredSize(Unknown Source)
    at javax.swing.GroupLayout$ParallelGroup.calculateMinimumSize(Unknown So
    urce)
    at javax.swing.GroupLayout$Spring.getMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$Group.getSpringSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$Spring.getMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$Group.getSpringSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$ParallelGroup.calculateMinimumSize(Unknown So
    urce)
    at javax.swing.GroupLayout$Spring.getMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$Group.getSpringSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$ParallelGroup.calculateMinimumSize(Unknown So
    urce)
    at javax.swing.GroupLayout$Spring.getMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$Group.getSpringSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$Spring.getMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$Group.getSpringSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$ParallelGroup.calculateMinimumSize(Unknown So
    urce)
    at javax.swing.GroupLayout$Spring.getMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$Group.getSpringSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$Spring.getMinimumSize(Unknown Source)
    at javax.swing.GroupLayout.calculateAutopadding(Unknown Source)
    at javax.swing.GroupLayout.prepare(Unknown Source)
    at javax.swing.GroupLayout.minimumLayoutSize(Unknown Source)
    at java.awt.Container.minimumSize(Unknown Source)
    at java.awt.Container.getMinimumSize(Unknown Source)
    at javax.swing.JComponent.getMinimumSize(Unknown Source)
    at javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneLayout.calculateSi
    ze(Unknown Source)
    at javax.swing.plaf.basic.BasicTabbedPaneUI$TabbedPaneLayout.minimumLayo
    utSize(Unknown Source)
    at java.awt.Container.minimumSize(Unknown Source)
    at java.awt.Container.getMinimumSize(Unknown Source)
    at javax.swing.JComponent.getMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$ComponentSpring.calculateNonlinkedMinimumSize
    (Unknown Source)
    at javax.swing.GroupLayout$ComponentSpring.calculateMinimumSize(Unknown
    Source)
    at javax.swing.GroupLayout$Spring.getMinimumSize(Unknown Source)
    at javax.swing.GroupLayout$ComponentSpring.calculatePreferredSize(Unknow
    n Source)
    at javax.swing.GroupLayout$Spring.getPreferredSize(Unknown Source)
    at javax.swing.GroupLayout$Group.getSpringSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculatePreferredSize(Unknown Source)
    at javax.swing.GroupLayout$Spring.getPreferredSize(Unknown Source)
    at javax.swing.GroupLayout$Group.getSpringSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculatePreferredSize(Unknown Source)
    at javax.swing.GroupLayout$Spring.getPreferredSize(Unknown Source)
    at javax.swing.GroupLayout$Group.getSpringSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculateSize(Unknown Source)
    at javax.swing.GroupLayout$Group.calculatePreferredSize(Unknown Source)
    at javax.swing.GroupLayout$Spring.getPreferredSize(Unknown Source)
    at javax.swing.GroupLayout$SequentialGroup.setValidSize(Unknown Source)
    at javax.swing.GroupLayout$Group.setSize(Unknown Source)
    at javax.swing.GroupLayout.calculateAutopadding(Unknown Source)
    at javax.swing.GroupLayout.layoutContainer(Unknown Source)
    at java.awt.Container.layout(Unknown Source)
    at java.awt.Container.doLayout(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validate(Unknown Source)

    DB:3.37:Java Errors When Using My Java App Via Remote Desktop ff

    Crossposted

    [http://forums.sun.com/thread.jspa?threadID=5421349messageID=10892967#10892967]

  • RELEVANCY SCORE 3.37

    DB:3.37:Cico Pix 501 Pdm Java Error jf



    When I try to start PDM 3.0 (4) from Internet explorer 7 or 8 beta, I get the following error in my Java console:

    Java Plug-in 1.6.0_12

    Using JRE version 1.6.0_12 Java HotSpot(TM) Client VM

    User home directory = C:\Users\user

    ----------------------------------------------------

    c: clear console window

    f: finalize objects on finalization queue

    g: garbage collect

    h: display this help message

    l: dump classloader list

    m: print memory usage

    o: trigger logging

    q: hide console

    r: reload policy configuration

    s: dump system and deployment properties

    t: dump thread list

    v: dump thread stack

    x: clear classloader cache

    0-5: set trace level to n

    ----------------------------------------------------

    java.lang.ArrayIndexOutOfBoundsException: No such child: 0

    at java.awt.Container.getComponent(Unknown Source)

    at symantec.itools.b.n.getComponent(Unknown Source)

    at java.awt.Component.calculateCurrentShape(Unknown Source)

    at java.awt.Component.applyCurrentShape(Unknown Source)

    at java.awt.Component.mixOnShowing(Unknown Source)

    at java.awt.Component.addNotify(Unknown Source)

    at java.awt.Label.addNotify(Unknown Source)

    at java.awt.Container.addNotify(Unknown Source)

    at java.awt.Panel.addNotify(Unknown Source)

    at symantec.itools.b.n.addNotify(Unknown Source)

    at java.awt.Container.addNotify(Unknown Source)

    at java.awt.Panel.addNotify(Unknown Source)

    at java.awt.Container.addNotify(Unknown Source)

    at java.awt.Panel.addNotify(Unknown Source)

    at java.awt.Container.addNotify(Unknown Source)

    at java.awt.Panel.addNotify(Unknown Source)

    at symantec.itools.b.n.addNotify(Unknown Source)

    at java.awt.Container.addNotify(Unknown Source)

    at java.awt.Panel.addNotify(Unknown Source)

    at java.awt.Container.addNotify(Unknown Source)

    at java.awt.Panel.addNotify(Unknown Source)

    at java.awt.Container.addNotify(Unknown Source)

    at java.awt.Panel.addNotify(Unknown Source)

    at java.awt.Container.addNotify(Unknown Source)

    at java.awt.Panel.addNotify(Unknown Source)

    at java.awt.Container.addNotify(Unknown Source)

    at java.awt.Panel.addNotify(Unknown Source)

    at java.awt.Container.addNotify(Unknown Source)

    at java.awt.Panel.addNotify(Unknown Source)

    at java.awt.Container.addNotify(Unknown Source)

    at java.awt.Window.addNotify(Unknown Source)

    at java.awt.Frame.addNotify(Unknown Source)

    at java.awt.Window.show(Unknown Source)

    at com.cisco.pdm.PDMApplet.start(Unknown Source)

    at com.cisco.nm.util.sgz.Env.start(Env.java:37)

    at com.cisco.nm.util.sgz.Loader.start(Loader.java:109)

    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

    Exception: java.lang.ArrayIndexOutOfBoundsException: No such child: 0

    Nothing happens after entering username and password, and PDM doesn't even start up.

    Does anyone know a fix for this or a workaround? (Other than using IE 6 found at javascript:newWin('http://www.cisco.com/en/US/products/hw/vpndevc/ps4077/products_field_notice09186a008046c805.shtml') PLZZ help me out here!

    DB:3.37:Cico Pix 501 Pdm Java Error jf


    Yes, it seems to be working fine for the first 10 minutes, then i'm getting strange timeout errors and have to log back on again... java you'll never know.

    By the way, when youre running IE8 then you have to run it in compatibility mode or it won't do you much good. Good luck, cheers.

  • RELEVANCY SCORE 3.36

    DB:3.36:Problem With Socket Factory In Rmi Over Ssl In Proxy Setup fd


    Hi

    The following is the setup I have;

    1. I have an application in which the server is running in https mode and I have exported my remote objects using ServerSocketFactory and ClientSocketFactory which will create SSLServerSocket and SSLSocket respectively.

    2. When I run my connect a client to this server and invoke some method on any of the remote objects, I get the following exception:

    java.lang.NullPointerException
    at sun.rmi.transport.tcp.TCPConnection.getOutputStream(Unknown Source)
    at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
    at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
    at sun.rmi.server.UnicastRef.invoke(Unknown Source)
    at com.acme.ems.server.app.main.TestSumImpl_Stub.addOne(Unknown Source)
    at com.acme.ems.client.app.tools.EMSHaSftpSettings.okButtonActionPerformed(EMSHaSftpSettings.java:216)
    at com.acme.ems.client.app.tools.EMSHaSftpSettings.access$000(EMSHaSftpSettings.java:28)
    at com.acme.ems.client.app.tools.EMSHaSftpSettings$1.actionPerformed(EMSHaSftpSettings.java:183)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.Dialog$1.run(Unknown Source)
    at java.awt.Dialog$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Dialog.show(Unknown Source)
    at com.acme.ems.client.utility.BasicDialog.showContainerInsideDialog(BasicDialog.java:103)
    at com.acme.ems.client.app.tools.EMSHaSftpSettings.init(EMSHaSftpSettings.java:322)
    at com.adventnet.nms.util.ConsumeKnownEvents.showTheFrame(ConsumeKnownEvents.java:197)
    at com.adventnet.nms.util.ConsumeKnownEvents.actionPerformed(ConsumeKnownEvents.java:103)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.AbstractButton.doClick(Unknown Source)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
    at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

    My understanding is, when invoking remote object's method from the client, a the clientSocketFactory implementation will be called and an SSLSocket will be created for communication between remote server and client. In this case,my guess is somehow the createSocket() method of the clientSocketFactory is returning Null.The question is why?????Any help soon is appreciated.

    Note that , we are doing this in a proxy set-up.

    DB:3.36:Problem With Socket Factory In Rmi Over Ssl In Proxy Setup fd

    Hi

    The following is the setup I have;

    1. I have an application in which the server is running in https mode and I have exported my remote objects using ServerSocketFactory and ClientSocketFactory which will create SSLServerSocket and SSLSocket respectively.

    2. When I run my connect a client to this server and invoke some method on any of the remote objects, I get the following exception:

    java.lang.NullPointerException
    at sun.rmi.transport.tcp.TCPConnection.getOutputStream(Unknown Source)
    at sun.rmi.transport.tcp.TCPChannel.createConnection(Unknown Source)
    at sun.rmi.transport.tcp.TCPChannel.newConnection(Unknown Source)
    at sun.rmi.server.UnicastRef.invoke(Unknown Source)
    at com.acme.ems.server.app.main.TestSumImpl_Stub.addOne(Unknown Source)
    at com.acme.ems.client.app.tools.EMSHaSftpSettings.okButtonActionPerformed(EMSHaSftpSettings.java:216)
    at com.acme.ems.client.app.tools.EMSHaSftpSettings.access$000(EMSHaSftpSettings.java:28)
    at com.acme.ems.client.app.tools.EMSHaSftpSettings$1.actionPerformed(EMSHaSftpSettings.java:183)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.Dialog$1.run(Unknown Source)
    at java.awt.Dialog$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.awt.Dialog.show(Unknown Source)
    at com.acme.ems.client.utility.BasicDialog.showContainerInsideDialog(BasicDialog.java:103)
    at com.acme.ems.client.app.tools.EMSHaSftpSettings.init(EMSHaSftpSettings.java:322)
    at com.adventnet.nms.util.ConsumeKnownEvents.showTheFrame(ConsumeKnownEvents.java:197)
    at com.adventnet.nms.util.ConsumeKnownEvents.actionPerformed(ConsumeKnownEvents.java:103)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.AbstractButton.doClick(Unknown Source)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
    at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

    My understanding is, when invoking remote object's method from the client, a the clientSocketFactory implementation will be called and an SSLSocket will be created for communication between remote server and client. In this case,my guess is somehow the createSocket() method of the clientSocketFactory is returning Null.The question is why?????Any help soon is appreciated.

    Note that , we are doing this in a proxy set-up.

  • RELEVANCY SCORE 3.35

    DB:3.35:Bi Beans Session Connect Method And Jws Gives Accesscontrolexception 9z


    Hi,

    I have folowing code for connecting to Bi session and am trying to load my application using java web start technology. When I try to run the code from Jdeveloper it works fine but when trying to run from java web start gives following error.

    Error:
    Exception occurred during event dispatching:
    java.security.AccessControlException: access denied (java.util.PropertyPermission apple.awt.showGrowBox read)
    at java.security.AccessControlContext.checkPermission(Unknown Source)
    at java.security.AccessController.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
    at java.lang.System.getProperty(Unknown Source)
    at oracle.bali.ewt.elaf.basic.BasicLookAndFeel$2.createValue(Unknown Source)
    at javax.swing.UIDefaults.getFromHashtable(Unknown Source)
    at javax.swing.UIDefaults.get(Unknown Source)
    at javax.swing.MultiUIDefaults.get(Unknown Source)
    at javax.swing.UIDefaults.getInsets(Unknown Source)
    at javax.swing.UIManager.getInsets(Unknown Source)
    at oracle.bali.ewt.button.DialogBarLayout.preferredLayoutSize(Unknown Source)
    at java.awt.Container.preferredSize(Unknown Source)
    at java.awt.Container.getPreferredSize(Unknown Source)
    at javax.swing.JComponent.getPreferredSize(Unknown Source)
    at java.awt.BorderLayout.preferredLayoutSize(Unknown Source)
    at java.awt.Container.preferredSize(Unknown Source)
    at java.awt.Container.getPreferredSize(Unknown Source)
    at javax.swing.JComponent.getPreferredSize(Unknown Source)
    at java.awt.BorderLayout.preferredLayoutSize(Unknown Source)
    at java.awt.Container.preferredSize(Unknown Source)
    at java.awt.Container.getPreferredSize(Unknown Source)
    at javax.swing.JComponent.getPreferredSize(Unknown Source)
    at java.awt.BorderLayout.preferredLayoutSize(Unknown Source)
    at java.awt.Container.preferredSize(Unknown Source)
    at java.awt.Container.getPreferredSize(Unknown Source)
    at javax.swing.JComponent.getPreferredSize(Unknown Source)
    at javax.swing.JRootPane$RootLayout.preferredLayoutSize(Unknown Source)
    at java.awt.Container.preferredSize(Unknown Source)
    at java.awt.Container.getPreferredSize(Unknown Source)
    at javax.swing.JComponent.getPreferredSize(Unknown Source)
    at java.awt.BorderLayout.preferredLayoutSize(Unknown Source)
    at java.awt.Container.preferredSize(Unknown Source)
    at java.awt.Container.getPreferredSize(Unknown Source)
    at oracle.bali.ewt.dialog.JEWTDialog.getPreferredSize(Unknown Source)
    at java.awt.Window.pack(Unknown Source)
    at oracle.bali.ewt.dialog.JEWTDialog.pack(Unknown Source)
    at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
    at oracle.dss.util.gui.BIExceptionDialog.display(BIExceptionDialog.java:199)
    at gecf.pmg.PmgBiOlapApp.showExceptionDialog(PmgBiOlapApp.java:2560)
    at gecf.pmg.PmgBiOlapApp.connect(PmgBiOlapApp.java:2823)
    at gecf.pmg.PmgBiOlapApp$39.actionPerformed(PmgBiOlapApp.java:2886)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener$ReleasedAction.actionPerformed(Unknown Source)
    at javax.swing.JComponent$ActionStandin.actionPerformed(Unknown Source)
    at javax.swing.SwingUtilities.notifyAction(Unknown Source)
    at javax.swing.JComponent.processKeyBinding(Unknown Source)
    at javax.swing.JComponent.processKeyBindings(Unknown Source)
    at javax.swing.JComponent.processKeyEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.KeyboardFocusManager.redispatchEvent(Unknown Source)
    at java.awt.DefaultKeyboardFocusManager.dispatchKeyEvent(Unknown Source)
    at java.awt.DefaultKeyboardFocusManager.preDispatchKeyEvent(Unknown Source)
    at java.awt.DefaultKeyboardFocusManager.typeAheadAssertions(Unknown Source)
    at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.Dialog$1.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.Dialog$1.run(Unknown Source)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

    Code:
    //1. create session
    m_biSession = new BISession();
    m_biSession.setBIUser(new BIUser(userName));
    m_biSession.setDeploymentOption("LOCAL");
    m_biSession.setProperty("Mode","ERROR");
    DefaultErrorHandler m_handler = new DefaultErrorHandler();
    m_handler.setDebugMode(DefaultErrorHandler.SHOW_ERROR);
    m_biSession.addErrorHandler(m_handler);

    //2.
    m_connection = new Connection();
    DefaultErrorHandler o_handler = new DefaultErrorHandler();
    o_handler.setDebugMode(DefaultErrorHandler.SHOW_ERROR);
    m_connection.addErrorHandler(o_handler);

    m_connection.setSession(m_biSession);
    m_connection.setDriverType("MDM");
    m_connection.setServerType("OLAPServer");
    m_connection.setJdbcDriverType("thin");
    m_connection.setHostName(m_hostName);
    m_connection.setPortNumber(Integer.parseInt(m_port));
    m_connection.setSID(m_olapSid);
    m_connection.setUsername(userName);
    m_connection.setPassword(password);

    //3.
    p_connection = new Connection();
    DefaultErrorHandler p_handler = new DefaultErrorHandler();
    p_handler.setDebugMode(DefaultErrorHandler.SHOW_ERROR);
    p_connection.addErrorHandler(p_handler);
    p_connection.setSession(m_biSession);
    p_connection.setDriverType(MDU.PERSISTENCE);
    p_connection.setJdbcDriverType("thin");
    p_connection.setHostName(m_hostName);
    p_connection.setPortNumber(Integer.parseInt(m_port));
    p_connection.setUsername("CATLOGADMIN");
    p_connection.setPassword("CATLOGADMINPWD");
    p_connection.setSID(m_catSid);
    p_connection.setProperty(PSRConstants.STORAGEMANAGER_DRIVER, "oracle.dss.persistence.storagemanager.bi.BIStorageManagerImpl",1,1);

    //4.
    m_metadataManager = new MetadataManager();
    DefaultErrorHandler md_handler = new DefaultErrorHandler();
    md_handler.setDebugMode(DefaultErrorHandler.SHOW_ERROR);
    m_metadataManager.addErrorHandler(md_handler);
    m_metadataManager.setSession(m_biSession);
    m_metadataManager.setConnection(p_connection);
    m_metadataManager.setConnection(m_connection);
    try{
    m_biSession.connect();
    }catch (Exception e)
    {
    System.out.println("error connecting to bisession");
    e.printStackTrace();
    }

    m_metadataManager.attach();

    It is giving me the error at "m_biSession.connect();" line.

    Please help asap.

    Thanks and Regards,
    Ujwala

    DB:3.35:Bi Beans Session Connect Method And Jws Gives Accesscontrolexception 9z

    Did you follow the points outlined in the Release Notes:

    http://www.oracle.com/technology/products/bib/htdocs/904/readme_bibeans.html#webstart

    Hope this helps

    Business Intelligence Beans Product Management Team
    Oracle Corporation

  • RELEVANCY SCORE 3.35

    DB:3.35:Esb Error 87


    Hi
    When I am using calling SOAP service from router I am getting following error.

    An unhandled exception has been thrown in the ESB system. The exception reported is: "org.collaxa.thirdparty.apache.wsif.WSIFException: exception on JaxRpc invoke: HTTP transport error: javax.xml.soap.SOAPException: java.security.PrivilegedActionException: javax.xml.soap.SOAPException: Bad response: 404 Not Found
    at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeOperation(WSIFOperation_JaxRpc.java:1714)
    at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.invokeRequestResponseOperation(WSIFOperation_JaxRpc.java:1460)
    at com.collaxa.cube.ws.wsif.providers.oc4j.jaxrpc.WSIFOperation_JaxRpc.executeRequestResponseOperation(WSIFOperation_JaxRpc.java:1182)
    at oracle.tip.esb.server.common.wsif.WSIFInvoker.executeOperation(Unknown Source)
    at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(Unknown Source)
    at oracle.tip.esb.server.common.wsif.WSIFInvoker.nextService(Unknown Source)
    at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.nextService(Unknown Source)
    at oracle.tip.esb.server.service.impl.outadapter.OutboundAdapterService.processBusinessEvent(Unknown Source)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatchNonRoutingService(Unknown Source)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispatch(Unknown Source)
    at oracle.tip.esb.server.dispatch.BusinessEvent.raise(Unknown Source)
    at oracle.tip.esb.utils.EventUtils.raiseBusinessEvent(Unknown Source)
    at oracle.tip.esb.server.service.EsbRouterSubscription.onBusinessEvent(Unknown Source)
    at oracle.tip.esb.server.dispatch.EventDispatcher.executeSubscription(Unknown Source)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscription(Unknown Source)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.processSubscriptions(Unknown Source)
    at oracle.tip.esb.server.dispatch.EventDispatcher.dispatchRoutingService(Unknown Source)
    at oracle.tip.esb.server.dispatch.InitialEventDispatcher.dispat

    Any help on this

    Kind Regards
    JT

    DB:3.35:Esb Error 87

    Hi Bas
    Yeah, I figured it out yesterday, the port it was taking was Server's port and I was running via studio. Once I changed it, worked.

    Thanx a lot.

    Kind Regards
    Johnson Thomas

  • RELEVANCY SCORE 3.35

    DB:3.35:Rad 7 Web Service Wizard Error sj


    I'm using RAd 7 and try to create web service from WSDL file. When choosing 'Web Services' - 'generate java bean skeleton' wizard throws error:

    IWAB0014E Unexpected exception occured.

    java.lang.NullPointerException
    at org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2.getAllServerFactoryIdsWithRuntimes(Unknown Source)
    at org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2.getServerFactoryIdsByFacetRuntimes(Unknown Source)
    at org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2.getServerFactoryIdsByServiceRuntime(Unknown Source)
    at org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2.getServerFactoryIdsByServiceType(Unknown Source)
    at org.eclipse.jst.ws.internal.consumption.ui.wsrt.WebServiceRuntimeExtensionUtils2.getDefaultServerValueFor(Unknown Source)
    at org.eclipse.jst.ws.internal.creation.ui.widgets.ServerWizardWidgetDefaultingCommand.execute(Unknown Source)
    at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.runCommand(Unknown Source)
    at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.visitTop(Unknown Source)
    at org.eclipse.wst.command.internal.env.core.fragment.CommandFragmentEngine.moveForwardToNextStop(Unknown Source)
    at org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager$5.run(Unknown Source)
    at org.eclipse.wst.command.internal.env.ui.widgets.SimpleCommandEngineManager.runForwardToNextStop(Unknown Source)
    at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.runForwardToNextStop(Unknown Source)
    at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.getNextPage(Unknown Source)
    at org.eclipse.wst.command.internal.env.ui.widgets.WizardPageManager.getStartingPage(Unknown Source)
    at org.eclipse.wst.command.internal.env.ui.widgets.DynamicWizard.getStartingPage(Unknown Source)
    at org.eclipse.jface.wizard.WizardDialog.showStartingPage(Unknown Source)
    at org.eclipse.jface.wizard.WizardDialog.createContents(Unknown Source)
    at org.eclipse.jface.window.Window.create(Unknown Source)
    at org.eclipse.jface.dialogs.Dialog.create(Unknown Source)
    at org.eclipse.wst.command.internal.env.ui.widgets.popup.DynamicPopupWizard.run(Unknown Source)
    at org.eclipse.ui.internal.PluginAction.runWithEvent(Unknown Source)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(Unknown Source)
    at org.eclipse.jface.action.ActionContributionItem.access$2(Unknown Source)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(Unknown Source)
    at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Unknown Source)
    at org.eclipse.ui.internal.Workbench.runUI(Unknown Source)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Unknown Source)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(Unknown Source)
    at org.eclipse.ui.internal.ide.IDEApplication.run(Unknown Source)
    at org.eclipse.core.internal.runtime.PlatformActivator$1.run(Unknown Source)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Unknown Source)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Unknown Source)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.core.launcher.Main.invokeFramework(Unknown Source)
    at org.eclipse.core.launcher.Main.basicRun(Unknown Source)
    at org.eclipse.core.launcher.Main.run(Unknown Source)
    at org.eclipse.core.launcher.Main.main(Unknown Source)I try it in RAD 6 and it worked fine. I have updatet RAD 7 to version 7.0.0.1. I get this same error if I create web service from java bean.

    DB:3.35:Rad 7 Web Service Wizard Error sj

    Found the fix.
    Upgraded RAD from 7.0 to 7.0.0.5.

    Works like a charm after the upgrade.
    Thanks
    Pavan Arora

  • RELEVANCY SCORE 3.35

    DB:3.35:Runtime Error In Libifcoremd.Dll Version 11.1.046 3d



    I updated to Fortran 11.1.046 from 11.1.038 and now al my console apps crashes on a error 157.
    I have traceback and several checks enabled.
    I did a clean compile and checked which libraries the linker uses.

    I use mixed fortran and c code and all c source is compiled with MS Visual C 9.0.30729.1

    Here are my ifort compile options:
    f_options = /fpscomp:none /nologo /c /integer_size:16 /align:dcommons /traceback \
    /debug:none /debug-parameters:none /Zi \
    /check:bounds /check:uninit /warn:unused /warn:declarations \
    /warn:uncalled /warn:truncated_source /warn:usage /iface:cvf \
    /assume:byterecl /MD /define:NT=1 /Od $(f_includes) $(f_modules)

    Now when I let my apps use libifcoremd.dll from 11.1.038 they run without an error.
    But when I put the libifcoremd.dll from 11.1.046 in the app dir then the program crashes on startup.
    The traceback then points tolibifcoremd.dll.

    This is the error output:
    forrtl: severe (157): Program Exception - access violation
    Image PC Routine Line Source
    libifcoremd.dll 10092035 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown Unknown
    08DB0178 Unknown Unknown Unknown
    08DB9BF0 Unknown Unknown

    DB:3.35:Runtime Error In Libifcoremd.Dll Version 11.1.046 3d


    I'm guessing that this application was ported from CVF and has the /iface:CVF option applied. If so, then yes, the USEROPEN routine needs to have ATTRIBUTES C specified to change its calling convention to C. An easier and shorter way is to use ATTRIBUTES DEFAULT - that way you don't need the alias nor the REFERENCE directives.

  • RELEVANCY SCORE 3.35

    DB:3.35:Loging In Analyzer 6.2.1 - Using Vpn Connection fd


    Analyzer Server 6.2.1, on Windows2000 server, with DB2 PE as Repository.Connecting from LAN, the log-in on server is OK.Connecting from WAN using VPN connection, after typing the user and password, we get a windowAsking for user and password for proxy server. After inserting a valid user and password we get this error.---------------------------------------------------- Thu Apr 10 16:51:16 BST 2003Error encountered while receiving response from server. . Thu Apr 10 16:51:16 BST 2003 - Exception Encountered: java.io.IOException: Connection failure with 502 Exception Message: Connection failure with 502 java.io.IOException: Connection failure with 502 at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source) at com.hyperion.analyzer.analyzer_base.client.HYACSHTTPConnect.doProcessRequest(Unknown Source) at com.hyperion.analyzer.analyzer_base.client.HYACSHTTPConnect.doLogin(Unknown Source) at com.hyperion.analyzer.usersession_base.client.HYACSBaseSession.doLogin(Unknown Source) at com.hyperion.analyzer.usersession_base.HYABaseClient.doLogin(Unknown Source) at com.hyperion.analyzer.usersession_base.AnalyzerClient.doLogin(Unknown Source) at com.hyperion.analyzer.usersession_base.AnalyzerClient.doOnStart(Unknown Source) at com.hyperion.analyzer.usersession_base.HYABaseClient$2.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)

    DB:3.35:Loging In Analyzer 6.2.1 - Using Vpn Connection fd

    Analyzer Server 6.2.1, on Windows2000 server, with DB2 PE as Repository.Connecting from LAN, the log-in on server is OK.Connecting from WAN using VPN connection, after typing the user and password, we get a windowAsking for user and password for proxy server. After inserting a valid user and password we get this error.---------------------------------------------------- Thu Apr 10 16:51:16 BST 2003Error encountered while receiving response from server. . Thu Apr 10 16:51:16 BST 2003 - Exception Encountered: java.io.IOException: Connection failure with 502 Exception Message: Connection failure with 502 java.io.IOException: Connection failure with 502 at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source) at com.hyperion.analyzer.analyzer_base.client.HYACSHTTPConnect.doProcessRequest(Unknown Source) at com.hyperion.analyzer.analyzer_base.client.HYACSHTTPConnect.doLogin(Unknown Source) at com.hyperion.analyzer.usersession_base.client.HYACSBaseSession.doLogin(Unknown Source) at com.hyperion.analyzer.usersession_base.HYABaseClient.doLogin(Unknown Source) at com.hyperion.analyzer.usersession_base.AnalyzerClient.doLogin(Unknown Source) at com.hyperion.analyzer.usersession_base.AnalyzerClient.doOnStart(Unknown Source) at com.hyperion.analyzer.usersession_base.HYABaseClient$2.run(Unknown Source) at java.awt.event.InvocationEvent.dispatch(Unknown Source) at java.awt.EventQueue.dispatchEvent(Unknown Source) at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source) at java.awt.EventDispatchThread.pumpEvents(Unknown Source) at java.awt.EventDispatchThread.run(Unknown Source)

  • RELEVANCY SCORE 3.35

    DB:3.35:Exception In Jre1.6 ff


    Hello,
    In my own application i can see my applications through browsers using JRE1.5 and it was working fine.
    And now for the new version of my application i upgrad from JRE1.5 to JRE1.6
    And now i am getting the following application in Java console :

    java.util.zip.ZipException: error in opening zip file
    at java.util.zip.ZipFile.open(Native Method)
    at java.util.zip.ZipFile.init(Unknown Source)
    at java.util.jar.JarFile.init(Unknown Source)
    at java.util.jar.JarFile.init(Unknown Source)
    at com.sun.deploy.cache.CacheEntry.writeFileToDisk(Unknown Source)
    at com.sun.deploy.cache.Cache$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.deploy.cache.Cache.downloadResourceToCache(Unknown Source)
    at com.sun.deploy.cache.DeployFileOutputStream.close(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection$HttpInputStream.close(Unknown Source)
    at java.io.BufferedInputStream.close(Unknown Source)
    at sun.plugin.PluginURLJarFileCallBack$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.plugin.PluginURLJarFileCallBack.retrieve(Unknown Source)
    at sun.net.www.protocol.jar.URLJarFile.retrieve(Unknown Source)
    at sun.net.www.protocol.jar.URLJarFile.getJarFile(Unknown Source)
    at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source)
    at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source)
    at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(Unknown Source)
    at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFileInternal(Unknown Source)
    at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(Unknown Source)
    at sun.misc.URLClassPath$JarLoader.getJarFile(Unknown Source)
    at sun.misc.URLClassPath$JarLoader.access$600(Unknown Source)
    at sun.misc.URLClassPath$JarLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.misc.URLClassPath$JarLoader.ensureOpen(Unknown Source)
    at sun.misc.URLClassPath$JarLoader.init(Unknown Source)
    at sun.misc.URLClassPath$3.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.misc.URLClassPath.getLoader(Unknown Source)
    at sun.misc.URLClassPath.getLoader(Unknown Source)
    at sun.misc.URLClassPath.getResource(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadCode(Unknown Source)
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

    But JRE1.6 is working fine with my older versions of my application and i did no code cahge in my application too.
    Can u please anyone help me to solve this issue??
    And onemore thing,some of my application working through applets are not working properly with JRE1.6.
    Can anyone tell me how can i solve this issue!!!

    Thanks in advance!!!

    DB:3.35:Exception In Jre1.6 ff

    --- java.util.zip.ZipException: error in opening zip file

    Check if the file you want to zip/unzip is existing.

  • RELEVANCY SCORE 3.34

    DB:3.34:Shadowpopupborder: Null Pointer 18


    Hi,

    I am using Jgoodies and Swing for the UI in my app. I am getting below exception when I try to do:
    UIManager.setLookAndFeel(new Plastic3DLookandFeel());

    java.lang.ExceptionInInitializerError

    at com.jgoodies.plaf.plastic.PlasticBorders.getDropShadowPopupMenuBorder(PlasticBorders.java:225)

    at com.jgoodies.plaf.plastic.PlasticLookAndFeel.initComponentDefaults(PlasticLookAndFeel.java:297)

    at com.jgoodies.plaf.plastic.Plastic3DLookAndFeel.initComponentDefaults(Plastic3DLookAndFeel.java:74)

    at javax.swing.plaf.basic.BasicLookAndFeel.getDefaults(Unknown Source)

    at javax.swing.plaf.metal.MetalLookAndFeel.getDefaults(Unknown Source)

    at javax.swing.UIManager.setLookAndFeel(Unknown Source)

    at informatics.inventory.plates.editor.PlateMapEditor.init(Unknown Source)

    at sun.applet.AppletPanel.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

    Caused by: java.lang.NullPointerException

    at javax.swing.ImageIcon.init(Unknown Source)

    at com.jgoodies.plaf.common.ShadowPopupBorder.(ShadowPopupBorder.java:80)COULD SOMEONE LET ME KNOW WHY AM GETTING THIS?
    Thanks,
    V

  • RELEVANCY SCORE 3.34

    DB:3.34:Nullpointerexception At Getenv fk


    Hi, I'm getting the following NPE when calling System.getenv:

    java.lang.NullPointerException
    at java.lang.ProcessEnvironment$Variable.valueOfQueryOnly(Unknown Source)
    at java.lang.ProcessEnvironment$Variable.valueOfQueryOnly(Unknown Source)
    at java.lang.ProcessEnvironment$StringEnvironment.get(Unknown Source)
    at java.lang.ProcessEnvironment$StringEnvironment.get(Unknown Source)
    at java.util.Collections$UnmodifiableMap.get(Unknown Source)
    at java.lang.ProcessEnvironment.getenv(Unknown Source)
    at java.lang.System.getenv(Unknown Source)It's strange because all goes well when running it from Eclipse, but it fails when calling java from the command line.

    The exception above is raised within a Java Swing application.

    Thank you for any help!
    God bless
    Jaime

    DB:3.34:Nullpointerexception At Getenv fk

    The difference between Eclipse and the command line was that Eclipse uses its own compiled classes, whereas the java command from the shell used the built jars.
    After recompiling, the problem is gone now; I cannot explain however why it occured in the previous version of the code.
    Thank you anyway.

    FYI, the stack trace above was only the top, the full stack included calls to the event handling methods of Java Swing, I think nothing interesting.
    The getenv method was called from my own code.

  • RELEVANCY SCORE 3.33

    DB:3.33:Java Web Start Proxy Configuration Question af


    Hi,

    We have deployed our application using the Java Web Start in dev1 and dev2 environments. We are able to install the application in dev1 environment without any problem, but in dev2 we are getting following exception.

    com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://www.myserver.com/MyApp.jnlp
    at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
    at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)
    at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
    at com.sun.javaws.Launcher.launch(Unknown Source)
    at com.sun.javaws.Main.launchApp(Unknown Source)
    at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
    at com.sun.javaws.Main$1.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

    java.net.ConnectException: Connection timed out: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(Unknown Source)
    at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at sun.net.NetworkClient.doConnect(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.init(Unknown Source)
    at sun.net.www.http.HttpClient.New(Unknown Source)
    at sun.net.www.http.HttpClient.New(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
    at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
    at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
    at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
    at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)
    at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
    at com.sun.javaws.Launcher.launch(Unknown Source)
    at com.sun.javaws.Main.launchApp(Unknown Source)
    at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
    at com.sun.javaws.Main$1.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)I have changed the proxy settings in the java control panel from "Use browser Settings" to "Use Proxy Server", then we are able to download the application from dev2 also. Here my qeustion is the client also need to override the proxy settings in order to install our application?

    Any help is appreciated.

    Thanks

    DB:3.33:Java Web Start Proxy Configuration Question af

    Hi,

    We have deployed our application using the Java Web Start in dev1 and dev2 environments. We are able to install the application in dev1 environment without any problem, but in dev2 we are getting following exception.

    com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://www.myserver.com/MyApp.jnlp
    at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
    at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)
    at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
    at com.sun.javaws.Launcher.launch(Unknown Source)
    at com.sun.javaws.Main.launchApp(Unknown Source)
    at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
    at com.sun.javaws.Main$1.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

    java.net.ConnectException: Connection timed out: connect
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(Unknown Source)
    at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at sun.net.NetworkClient.doConnect(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.init(Unknown Source)
    at sun.net.www.http.HttpClient.New(Unknown Source)
    at sun.net.www.http.HttpClient.New(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
    at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
    at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
    at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
    at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
    at com.sun.javaws.Launcher.updateFinalLaunchDesc(Unknown Source)
    at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
    at com.sun.javaws.Launcher.launch(Unknown Source)
    at com.sun.javaws.Main.launchApp(Unknown Source)
    at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
    at com.sun.javaws.Main$1.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)I have changed the proxy settings in the java control panel from "Use browser Settings" to "Use Proxy Server", then we are able to download the application from dev2 also. Here my qeustion is the client also need to override the proxy settings in order to install our application?

    Any help is appreciated.

    Thanks

  • RELEVANCY SCORE 3.33

    DB:3.33:Is This A Swing Resizing Problem x3


    Hi All,
    I have a simple HTML editor written in Swing,

    am always getting the following error can somebody let me know why.

    is it something to do with the following
    UIManager.getDefaults().put("MenuItem.checkIcon", "");

    waiting for a quick reply

    Exception in thread "main" java.lang.NullPointerException
    at java.awt.Dimension.init(Unknown Source)
    at java.awt.Component.getMaximumSize(Unknown Source)
    at java.awt.Container.getMaximumSize(Unknown Source)
    at javax.swing.JComponent.getMaximumSize(Unknown Source)
    at javax.swing.BoxLayout.checkRequests(Unknown Source)
    at javax.swing.BoxLayout.preferredLayoutSize(Unknown Source)
    at javax.swing.JToolBar$DefaultToolBarLayout.preferredLayoutSize(Unknown Source)
    at java.awt.Container.preferredSize(Unknown Source)
    at java.awt.Container.getPreferredSize(Unknown Source)
    at javax.swing.JComponent.getPreferredSize(Unknown Source)
    at java.awt.FlowLayout.preferredLayoutSize(Unknown Source)
    at java.awt.Container.preferredSize(Unknown Source)
    at java.awt.Container.getPreferredSize(Unknown Source)
    at javax.swing.JComponent.getPreferredSize(Unknown Source)
    at java.awt.BorderLayout.layoutContainer(Unknown Source)
    at java.awt.Container.layout(Unknown Source)
    at java.awt.Container.doLayout(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validate(Unknown Source)
    at java.awt.Window.show(Unknown Source)
    at java.awt.Component.show(Unknown Source)
    at java.awt.Component.setVisible(Unknown Source)
    at com.lightdev.app.shtm.App.init(App.java:97)
    at com.lightdev.app.shtm.App.main(App.java:132)

    DB:3.33:Is This A Swing Resizing Problem x3

    is not a resizing problem this is just when you try call something that is not defined or does not exits.

  • RELEVANCY SCORE 3.33

    DB:3.33:Httpurlconnection Send Data To Asp p3


    hi all,
    i have a problem while using HttpURLConnection on java 1.5.
    i already make a method to send data from my swing application to the web page. i use ASP for the web page. i put my asp file on the localhost computer and also in Brinkster.
    When i try the swing application send to asp in localhost, it's works fine, but when i send to asp in brinkster, it's comes out an error, they actually had the the same asp code, in localhost and in brinkster.
    Below is the code
    My Brinkster testing address is :
    http://www21.brinkster.com/jhermank/wedding/simpan.asp

    Thank you.

    The Error is :
    java.io.IOException: Server returned HTTP response code: 500 for URL: http://www21.brinkster.com/jhermank/wedding/simpan.asp
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at Sender.sendToServer(Sender.java:88)
    at Sender$1.actionPerformed(Sender.java:58)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

    =======SWING CODE=================
    public void sendToServer(String server) {
    try {
    String uname = "uname="+URLEncoder.encode(txtName.getText(),"UTF-8");
    String story = "story="+URLEncoder.encode(txtaStory.getText(),"UTF-8");
    System.out.println( uname +" - "+ story );

    URL url = new URL(server);
    HttpURLConnection httpUrlCon = (HttpURLConnection)url.openConnection();

    httpUrlCon.setRequestMethod("POST");
    httpUrlCon.setDoOutput(true);

    //SEND TO WEB
    PrintWriter pw = new PrintWriter(httpUrlCon.getOutputStream(),true);
    pw.print(uname+""+story);
    //pw.flush();
    pw.close();

    //RECEIVE FROM WEB
    BufferedReader br = new BufferedReader(new InputStreamReader(httpUrlCon.getInputStream()));
    String temp;
    while((temp=br.readLine()) != null) {
    System.out.println("server said : " + temp);
    }
    br.close();

    System.out.println( "DONE" );
    } catch(Exception err) {
    err.printStackTrace();
    }
    }

    =======ASP CODE=================
    %
    uname = request.form("uname")
    story = request.form("story")
    response.write "Name : " uname "BR"
    response.write "Story : " story "BR"

    if unameempty and storyempty then
    set con = Server.CreateObject("ADODB.CONNECTION")
    con.open "provider=Microsoft.JET.OLEDB.4.0;data source=" Server.MapPath("aaa.mdb")
    set rs = Server.CreateObject("ADODB.RECORDSET")
    rs.open "select * from story",con,1,3

    rs.addNew
    rs("Name") = uname
    rs("Story") = story
    rs.update
    rs.requery

    rs.close
    con.close

    response.write "Saving Success"
    else
    response.write "Saving Failed"
    end if
    %

    DB:3.33:Httpurlconnection Send Data To Asp p3

    yes, cool, it's runs
    i don't add the Server.URLDecode in my ASP code, because that code is error.
    The problem is because of the database access file is Read Only , it's all my fault :(
    And now could you give me a simple code for sending file data like file gif data or something else from the swing.
    I had already googling, i've found that the code not very simple ;)
    Thank for all the help guys.

  • RELEVANCY SCORE 3.32

    DB:3.32:Exception During Changing The Theme kc


    Hi all,

    I have created a small swing application with JGraph. The theme can be changed untill the JGraph cell is not created. Once the cell has been created and selected, then we click to change the theme. It throws Exception. Please help me.
    ....
    splitPane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, leftBasePanel, new JScrollPane(graphComp));
    ...try {

    UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel");
    SwingUtilities.updateComponentTreeUI(this);

    } catch (ClassNotFoundException e) {
    e.printStackTrace();
    } catch (InstantiationException e) {
    e.printStackTrace();
    } catch (IllegalAccessException e) {
    e.printStackTrace();
    } catch (UnsupportedLookAndFeelException e) {
    e.printStackTrace();
    }Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    at org.jgraph.plaf.basic.BasicGraphUI$RootHandle.getInitialLocation(Unknown Source)
    at org.jgraph.plaf.basic.BasicGraphUI$RootHandle.init(Unknown Source)
    at org.jgraph.plaf.basic.BasicGraphUI.createHandle(Unknown Source)
    at org.jgraph.plaf.basic.BasicGraphUI.updateHandle(Unknown Source)
    at org.jgraph.plaf.basic.BasicGraphUI.updateSize(Unknown Source)
    at org.jgraph.plaf.basic.BasicGraphUI.setGraphLayoutCache(Unknown Source)
    at org.jgraph.plaf.basic.BasicGraphUI.prepareForUIInstall(Unknown Source)
    at org.jgraph.plaf.basic.BasicGraphUI.installUI(Unknown Source)
    at javax.swing.JComponent.setUI(Unknown Source)
    at org.jgraph.JGraph.setUI(Unknown Source)
    at org.jgraph.JGraph.updateUI(Unknown Source)
    at javax.swing.SwingUtilities.updateComponentTreeUI0(Unknown Source)
    at javax.swing.SwingUtilities.updateComponentTreeUI0(Unknown Source)
    at javax.swing.SwingUtilities.updateComponentTreeUI0(Unknown Source)
    at javax.swing.SwingUtilities.updateComponentTreeUI0(Unknown Source)
    at javax.swing.SwingUtilities.updateComponentTreeUI0(Unknown Source)
    at javax.swing.SwingUtilities.updateComponentTreeUI0(Unknown Source)
    at javax.swing.SwingUtilities.updateComponentTreeUI0(Unknown Source)
    at javax.swing.SwingUtilities.updateComponentTreeUI0(Unknown Source)
    at javax.swing.SwingUtilities.updateComponentTreeUI(Unknown Source)
    at com.ETLMainClass.changeThemeToMotif(ETLMainClass.java:342)
    at com.ETLMainClass.actionPerformed(ETLMainClass.java:274)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.AbstractButton.doClick(Unknown Source)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
    at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)Thanks in advance

    DB:3.32:Exception During Changing The Theme kc

    Hi all,

    I have created a small swing application with JGraph. The theme can be changed untill the JGraph cell is not created. Once the cell has been created and selected, then we click to change the theme. It throws Exception. Please help me.
    ....
    splitPane = new JSplitPane(JSplitPane.HORIZONTAL_SPLIT, leftBasePanel, new JScrollPane(graphComp));
    ...try {

    UIManager.setLookAndFeel("javax.swing.plaf.metal.MetalLookAndFeel");
    SwingUtilities.updateComponentTreeUI(this);

    } catch (ClassNotFoundException e) {
    e.printStackTrace();
    } catch (InstantiationException e) {
    e.printStackTrace();
    } catch (IllegalAccessException e) {
    e.printStackTrace();
    } catch (UnsupportedLookAndFeelException e) {
    e.printStackTrace();
    }Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    at org.jgraph.plaf.basic.BasicGraphUI$RootHandle.getInitialLocation(Unknown Source)
    at org.jgraph.plaf.basic.BasicGraphUI$RootHandle.init(Unknown Source)
    at org.jgraph.plaf.basic.BasicGraphUI.createHandle(Unknown Source)
    at org.jgraph.plaf.basic.BasicGraphUI.updateHandle(Unknown Source)
    at org.jgraph.plaf.basic.BasicGraphUI.updateSize(Unknown Source)
    at org.jgraph.plaf.basic.BasicGraphUI.setGraphLayoutCache(Unknown Source)
    at org.jgraph.plaf.basic.BasicGraphUI.prepareForUIInstall(Unknown Source)
    at org.jgraph.plaf.basic.BasicGraphUI.installUI(Unknown Source)
    at javax.swing.JComponent.setUI(Unknown Source)
    at org.jgraph.JGraph.setUI(Unknown Source)
    at org.jgraph.JGraph.updateUI(Unknown Source)
    at javax.swing.SwingUtilities.updateComponentTreeUI0(Unknown Source)
    at javax.swing.SwingUtilities.updateComponentTreeUI0(Unknown Source)
    at javax.swing.SwingUtilities.updateComponentTreeUI0(Unknown Source)
    at javax.swing.SwingUtilities.updateComponentTreeUI0(Unknown Source)
    at javax.swing.SwingUtilities.updateComponentTreeUI0(Unknown Source)
    at javax.swing.SwingUtilities.updateComponentTreeUI0(Unknown Source)
    at javax.swing.SwingUtilities.updateComponentTreeUI0(Unknown Source)
    at javax.swing.SwingUtilities.updateComponentTreeUI0(Unknown Source)
    at javax.swing.SwingUtilities.updateComponentTreeUI(Unknown Source)
    at com.ETLMainClass.changeThemeToMotif(ETLMainClass.java:342)
    at com.ETLMainClass.actionPerformed(ETLMainClass.java:274)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.AbstractButton.doClick(Unknown Source)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
    at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)Thanks in advance

  • RELEVANCY SCORE 3.32

    DB:3.32:Problem With Opinion Poll Iview fc



    We have an opinion poll displayed on home page of portal. When we access the home page from internet the opinion poll shows up correctly with the graphics.

    When we access the portal through internal link the graphic is not displayed and the JVM console shows following error stack.

    Java(TM) Plug-in: Version 1.4.2_09

    Using JRE version 1.4.2_09 Java HotSpot(TM) Client VM

    User home directory = C:\Documents and Settings\vikas

    Proxy Configuration: Manual Configuration

    Proxy: http=192.168.0.50:81,https=192.168.0.50:81,ftp=192.168.0.50:81,gopher=192.168.0.50:81

    Proxy Overrides: 192.168.0.50:81,http://203,http://ep,crmprd,http://ttlits.avayaglobalconnect.com,http://ep.ttlportal.com,bwdev.avayaglobalconnect.com,bwdev,crmprd.agcl.in,crmqas,crmdev,http://epd,http://epd.avayaglobalconnect.com:50000,local

    -

    c: clear console window

    f: finalize objects on finalization queue

    g: garbage collect

    h: display this help message

    l: dump classloader list

    m: print memory usage

    o: trigger logging

    p: reload proxy configuration

    q: hide console

    r: reload policy configuration

    s: dump system properties

    t: dump thread list

    v: dump thread stack

    x: clear classloader cache

    0-5: set trace level to n

    -

    java.lang.ClassFormatError: com/sap/miniapps/graphics/Piglet (Bad magic number)

    at java.lang.ClassLoader.defineClass0(Native Method)

    at java.lang.ClassLoader.defineClass(Unknown Source)

    at java.security.SecureClassLoader.defineClass(Unknown Source)

    at sun.applet.AppletClassLoader.findClass(Unknown Source)

    at java.lang.ClassLoader.loadClass(Unknown Source)

    at sun.applet.AppletClassLoader.loadClass(Unknown Source)

    at java.lang.ClassLoader.loadClass(Unknown Source)

    at sun.applet.AppletClassLoader.loadCode(Unknown Source)

    at sun.applet.AppletPanel.createApplet(Unknown Source)

    at sun.plugin.AppletViewer.createApplet(Unknown Source)

    at sun.applet.AppletPanel.runLoader(Unknown Source)

    at sun.applet.AppletPanel.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

    java.lang.ClassFormatError: com/sap/miniapps/graphics/Piglet (Bad magic number)

    at java.lang.ClassLoader.defineClass0(Native Method)

    at java.lang.ClassLoader.defineClass(Unknown Source)

    at java.security.SecureClassLoader.defineClass(Unknown Source)

    at sun.applet.AppletClassLoader.findClass(Unknown Source)

    at java.lang.ClassLoader.loadClass(Unknown Source)

    at sun.applet.AppletClassLoader.loadClass(Unknown Source)

    at java.lang.ClassLoader.loadClass(Unknown Source)

    at sun.applet.AppletClassLoader.loadCode(Unknown Source)

    at sun.applet.AppletPanel.createApplet(Unknown Source)

    at sun.plugin.AppletViewer.createApplet(Unknown Source)

    at sun.applet.AppletPanel.runLoader(Unknown Source)

    at sun.applet.AppletPanel.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

    Exception occurred during event dispatching:

    java.lang.IllegalArgumentException: null source

    at java.util.EventObject.init(Unknown Source)

    at java.awt.AWTEvent.init(Unknown Source)

    at java.awt.event.ComponentEvent.init(Unknown Source)

    at java.awt.event.WindowEvent.init(Unknown Source)

    at java.awt.event.WindowEvent.init(Unknown Source)

    at java.awt.DefaultKeyboardFocusManager.dispatchEvent(Unknown Source)

    at java.awt.Component.dispatchEventImpl(Unknown Source)

    at java.awt.Container.dispatchEventImpl(Unknown Source)

    at java.awt.Window.dispatchEventImpl(Unknown Source)

    at java.awt.Component.dispatchEvent(Unknown Source)

    at java.awt.EventQueue.dispatchEvent(Unknown Source)

    at java.awt.SequencedEvent.dispatch(Unknown Source)

    at java.awt.EventQueue.dispatchEvent(Unknown Source)

    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

    at java.awt.Dialog$1.run(Unknown Source)

    at java.awt.Dialog.show(Unknown Source)

    at sun.plugin.util.PluginSysUtil.execute(Unknown Source)

    at sun.plugin.util.DialogFactory.showAboutPluginDialog(Unknown Source)

    at sun.plugin.AppletViewer$GrayBoxListener.actionPerformed(Unknown Source)

    at java.awt.MenuItem.processActionEvent(Unknown Source)

    at java.awt.MenuItem.processEvent(Unknown Source)

    at java.awt.MenuComponent.dispatchEventImpl(Unknown Source)

    at java.awt.MenuComponent.dispatchEvent(Unknown Source)

    at java.awt.EventQueue.dispatchEvent(Unknown Source)

    at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    at java.awt.EventDispatchThread.run(Unknown Source)

    java.lang.ClassFormatError: com/sap/miniapps/graphics/Piglet (Bad magic number)

    at java.lang.ClassLoader.defineClass0(Native Method)

    at java.lang.ClassLoader.defineClass(Unknown Source)

    at java.security.SecureClassLoader.defineClass(Unknown Source)

    at sun.applet.AppletClassLoader.findClass(Unknown Source)

    at java.lang.ClassLoader.loadClass(Unknown Source)

    at sun.applet.AppletClassLoader.loadClass(Unknown Source)

    at java.lang.ClassLoader.loadClass(Unknown Source)

    at sun.applet.AppletClassLoader.loadCode(Unknown Source)

    at sun.applet.AppletPanel.createApplet(Unknown Source)

    at sun.plugin.AppletViewer.createApplet(Unknown Source)

    at sun.applet.AppletPanel.runLoader(Unknown Source)

    at sun.applet.AppletPanel.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

    java.lang.ClassFormatError: com/sap/miniapps/graphics/Piglet (Bad magic number)

    at java.lang.ClassLoader.defineClass0(Native Method)

    at java.lang.ClassLoader.defineClass(Unknown Source)

    at java.security.SecureClassLoader.defineClass(Unknown Source)

    at sun.applet.AppletClassLoader.findClass(Unknown Source)

    at java.lang.ClassLoader.loadClass(Unknown Source)

    at sun.applet.AppletClassLoader.loadClass(Unknown Source)

    at java.lang.ClassLoader.loadClass(Unknown Source)

    at sun.applet.AppletClassLoader.loadCode(Unknown Source)

    at sun.applet.AppletPanel.createApplet(Unknown Source)

    at sun.plugin.AppletViewer.createApplet(Unknown Source)

    at sun.applet.AppletPanel.runLoader(Unknown Source)

    at sun.applet.AppletPanel.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

    Any ideas as this is causing a discontent among users. The JVM version is 1.4.2_09

    DB:3.32:Problem With Opinion Poll Iview fc


    Hi,

    To view the graphics in the portal , you need to have Java installed and enabled in your browser.

    Download and install in your machines. This resolved my problem some time back.

    http://www.java.com/en/

    Raghu

  • RELEVANCY SCORE 3.32

    DB:3.32:Exception In Thread "Main" Java.Lang.Unsatisfiedlinkerror Error sa


    Hi All,

    I am trying to develop a Swing Application. I have compiled my codes in Windows like this:

    javac -d ../../classes *.javaThen I tried to run the program from my dir/classes/ folder...

    java com.fusion.ucmrtnd.Mainwhere Main.java contains the main() method.

    But I am getting the following error:

    Exception in thread "main" java.lang.UnsatisfiedLinkError: sun.awt.SunToolkit.getAppContext(Ljava/lang/Object;)Lsun/awt/AppContext;
    at sun.awt.SunToolkit.getAppContext(Native Method)
    at sun.awt.SunToolkit.targetToAppContext(Unknown Source)
    at sun.awt.windows.WComponentPeer.postEvent(Unknown Source)
    at sun.awt.windows.WComponentPeer.replaceSurfaceDataLater(Unknown Source)
    at sun.awt.windows.WWindowPeer.updateInsets(Native Method)
    at sun.awt.windows.WWindowPeer.initialize(Unknown Source)
    at sun.awt.windows.WFramePeer.initialize(Unknown Source)
    at sun.awt.windows.WComponentPeer.init(Unknown Source)
    at sun.awt.windows.WCanvasPeer.init(Unknown Source)
    at sun.awt.windows.WPanelPeer.init(Unknown Source)
    at sun.awt.windows.WWindowPeer.init(Unknown Source)
    at sun.awt.windows.WFramePeer.init(Unknown Source)
    at sun.awt.windows.WToolkit.createFrame(Unknown Source)
    at java.awt.Frame.addNotify(Unknown Source)
    at javax.swing.SwingUtilities$SharedOwnerFrame.addNotify(Unknown Source)

    at java.awt.Dialog.addNotify(Unknown Source)
    at java.awt.Dialog.conditionalShow(Unknown Source)
    at java.awt.Dialog.show(Unknown Source)
    at java.awt.Component.show(Unknown Source)
    at java.awt.Component.setVisible(Unknown Source)
    at java.awt.Window.setVisible(Unknown Source)
    at java.awt.Dialog.setVisible(Unknown Source)
    at DisplayStrip.DisplayStripRun(DisplayStrip.java:32)
    at Main.main(Main.java:8)PS: I used NetBeans 6.5 IDE, where it's working fine. But when I am trying to deploy the codes in Windows, I am getting this error.

    Any help would be appreciated.

    TiA....

  • RELEVANCY SCORE 3.32

    DB:3.32:Problem With Netbeans Jar, Application To Applet And Jdbc Error. 7d


    Hello!

    I have developed a Swing application that communicates with a SQL database using methods in a separate database.java class.

    I also have a couple of other classes, customized Jcomboboxmodel etc.

    I have now re-written my application to work as an applet.
    I followed the guidance at
    http://www.netbeans.org/kb/50/tutorial-applets.html

    However, in this tutorial, consisting of one small applet source .java file, the entire project could be compilated and packed into a jar.

    When I rewrote my application, I removed my main method in the executing class. That way, the generated applet.html file looks like:

    P
    APPLET codebase="classes" code="MainApplet_1.class" width=350 height=200/APPLET
    /P

    The applet executes fine in the Netbeans IDE, however I cannot view the applet in created .html file with the in Ntebeans nor any outside browser.

    I get the message

    java.lang.ClassNotFoundException: net.sourceforge.jtds.jdbc.Driver
    java.lang.ClassNotFoundException: net.sourceforge.jtds.jdbc.Driver
    at sun.applet.AppletClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.applet.AppletClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at Database.openConnection(Database.java:44)
    at MainApplet_1$1.run(MainApplet_1.java:58)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.io.FileNotFoundException: C:\Databas-projekt\NewTempApplet\build\classes\net\sourceforge\jtds\jdbc\Driver.class (The system cannot find the path specified)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.init(Unknown Source)
    at java.io.FileInputStream.init(Unknown Source)
    at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
    at sun.applet.AppletClassLoader.getBytes(Unknown Source)
    at sun.applet.AppletClassLoader.access$100(Unknown Source)
    at sun.applet.AppletClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    ... 17 more
    java.lang.reflect.InvocationTargetException
    at java.awt.EventQueue.invokeAndWait(Unknown Source)
    at MainApplet_1.init(MainApplet_1.java:56)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.security.AccessControlException: access denied (java.util.PropertyPermission user.dir read)
    at java.security.AccessControlContext.checkPermission(Unknown Source)
    at java.security.AccessController.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPermission(Unknown Source)
    at java.lang.SecurityManager.checkPropertyAccess(Unknown Source)
    at java.lang.System.getProperty(Unknown Source)
    at java.io.Win32FileSystem.getUserPath(Unknown Source)
    at java.io.Win32FileSystem.resolve(Unknown Source)
    at java.io.File.getAbsolutePath(Unknown Source)
    at sun.awt.shell.Win32ShellFolder2.init(Unknown Source)
    at sun.awt.shell.Win32ShellFolder2.listFiles(Unknown Source)
    at sun.awt.shell.ShellFolder.listFiles(Unknown Source)
    at sun.awt.shell.Win32ShellFolderManager2.get(Unknown Source)
    at sun.awt.shell.ShellFolder.get(Unknown Source)
    at javax.swing.plaf.metal.MetalFileChooserUI.updateUseShellFolder(Unknown Source)
    at javax.swing.plaf.metal.MetalFileChooserUI.installComponents(Unknown Source)
    at javax.swing.plaf.basic.BasicFileChooserUI.installUI(Unknown Source)
    at javax.swing.plaf.metal.MetalFileChooserUI.installUI(Unknown Source)
    at javax.swing.JComponent.setUI(Unknown Source)
    at javax.swing.JFileChooser.updateUI(Unknown Source)
    at javax.swing.JFileChooser.setup(Unknown Source)
    at javax.swing.JFileChooser.init(Unknown Source)
    at javax.swing.JFileChooser.init(Unknown Source)
    at MainApplet_1.initComponents(MainApplet_1.java:798)
    at MainApplet_1.access$100(MainApplet_1.java:31)
    at MainApplet_1$1.run(MainApplet_1.java:59)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Exception in thread "Thread-319" java.lang.NullPointerException
    at sun.plugin.util.AnimationPanel.createTranslucentImage(Unknown Source)
    at sun.plugin.util.AnimationPanel.createGradientShapeImage(Unknown Source)
    at sun.plugin.util.AnimationPanel.initBackground(Unknown Source)
    at sun.plugin.util.AnimationPanel.preloadResources(Unknown Source)
    at sun.plugin.util.AnimationPanel.doPaint(Unknown Source)
    at sun.plugin.util.AnimationPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

    I suspect this is because I haven't correctly added the JDBC driver to the projects classpath (jar file).

    But how can I do this when Netbeans won't let me execute the entire project (=building a new jar file), but instead runs the applet from one class file?

    Any advice greatly appreciated.

    DB:3.32:Problem With Netbeans Jar, Application To Applet And Jdbc Error. 7d

    The problem is that the applet can't find the compiled JDCB Driver. That driver is not "included" in the general Java Distribution (like JTree and such) and needs to be packaged into the applet.
    However, if you compile your source with netbeans, Netbeans doesn't include it into the distribution file.

    So you have to find the .class file(s) yourself and put them into the jar file.
    The applet should definitely be packaged into a jar file that contains all classes. It might be necessary to creat ea folder hierarchie that mirrors the name of the class - like net/sourceforge/jtds/jdcb - and place the driver .class in there.

    You can create a jar simply yourself. Place all required .class into a folder (including the subfolders with the .class for the driver) and then run the command-line tool "jar" (take a look at it's command line options first).

    I hope this helps. I had a similar problem once and this helped me.

  • RELEVANCY SCORE 3.31

    DB:3.31:Why The Ie Cannot Open The Applet Build By Swing kc


    Halo, i build a GUI inside an Applet, by using the Java Swing. althoug i have
    installed the Java plug in, and use the HTML converter, but when i try to use the internet explorer to open this applet, the exception is thrown, and it said the
    "Start: didnt initialize the applet" in the IE window.
    and this is the error message shown in the the Java Console:

    java.security.AccessControlException: access denied (java.io.FilePermission anny.gif read)

    at java.security.AccessControlContext.checkPermission(Unknown Source)

    at java.security.AccessController.checkPermission(Unknown Source)

    at java.lang.SecurityManager.checkPermission(Unknown Source)

    at java.lang.SecurityManager.checkRead(Unknown Source)

    at sun.awt.SunToolkit.getImageFromHash(Unknown Source)

    at sun.awt.SunToolkit.getImage(Unknown Source)

    at javax.swing.ImageIcon.init(Unknown Source)

    at javax.swing.ImageIcon.init(Unknown Source)

    at sun.applet.AppletPanel.run(Unknown Source)

    at java.lang.Thread.run(Unknown Source)

    Anyone can help me in this problem? thank you very much

    DB:3.31:Why The Ie Cannot Open The Applet Build By Swing kc

    I would suggest to put the class files and the image file in a jar.
    The applet then run using the jar file :

    applet
    ARCHIVE = "theJar.jar"
    codebase = "."
    code = "TheMainClass.class"
    name = "Your Name"
    width = "???"
    height = "???"
    hspace = "0"
    vspace = "0"
    align = "top"

    And then get the image path using :

    ClassLoader.getSystemResource(imageFileName).getPath()

    Hope this help

  • RELEVANCY SCORE 3.31

    DB:3.31:Unable To Open Forms From Internet External Url 8f


    EBS - R12
    configured reverse proxy alone in DMZ
    R12 [ID 726953.1]
    have configured SSL (Note 376700.1

    Forms dump is as follows:

    [Fri Feb 03 16:48:50 2012 GMT]::Client Status [ConnId=0, PID=20687]
    Network connection to client failed: timeout on connection
    Possible causes include a network failure or client termination
    ~

    Following is the Java log

    Java Plug-in 1.6.0_22
    Using JRE version 1.6.0_22-b04 Java HotSpot(TM) Client VM
    User home directory = C:\Users\309985
    ----------------------------------------------------
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to n
    ----------------------------------------------------

    load: class oracle/apps/fnd/formsClient/FormsLauncher.class not found.
    java.lang.ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.net.UnknownHostException: fnatest.tcsprocesscloud.com
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
    at sun.net.NetworkClient.doConnect(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.protocol.https.HttpsClient.init(Unknown Source)
    at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at java.net.HttpURLConnection.getResponseCode(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
    at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
    at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
    at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    ... 9 more
    Exception: java.lang.ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class
    load: class oracle/apps/fnd/formsClient/FormsLauncher.class not found.
    java.lang.ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
    Caused by: java.net.UnknownHostException: fnatest.tcsprocesscloud.com
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at com.sun.net.ssl.internal.ssl.SSLSocketImpl.connect(Unknown Source)
    at sun.net.NetworkClient.doConnect(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.http.HttpClient.openServer(Unknown Source)
    at sun.net.www.protocol.https.HttpsClient.init(Unknown Source)
    at sun.net.www.protocol.https.HttpsClient.New(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.getNewHttpClient(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
    at sun.net.www.protocol.https.AbstractDelegateHttpsURLConnection.connect(Unknown Source)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at java.net.HttpURLConnection.getResponseCode(Unknown Source)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(Unknown Source)
    at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
    at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
    at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    ... 9 more
    Exception: java.lang.ClassNotFoundException: oracle.apps.fnd.formsClient.FormsLauncher.class

    DB:3.31:Unable To Open Forms From Internet External Url 8f

    error lo contains:

    [Sat Feb 4 03:31:29 2012] [error] [client 10.72.208.13] [ecid: 1328326289:172.65.90.9:20677:0:239,0] File does not exist: /d01/test/inst/apps/dvcrprod_
    external/portal/favicon.ico
    [Sat Feb 4 03:57:35 2012] [error] [client 10.72.208.13] [ecid: 1328327855:172.65.90.9::24126:0:200,0] File does not exist: /d01/test/inst/apps/dvcrprod_
    external/portal/favicon.ico
    [Sat Feb 4 10:39:42 2012] [error] [client 10.72.208.13] [ecid: 1328351982:172.65.90.9::20166:0:413,0] File does not exist: /d01/test/inst/apps/dvcrprod_
    external/portal/favicon.ico
    ~
    ~
    ~

    Edited by: user10702579 on Feb 4, 2012 3:12 AM

    Edited by: user10702579 on Feb 4, 2012 3:13 AM

  • RELEVANCY SCORE 3.31

    DB:3.31:Oracle Ipm Services Factory Exception fd


    Hi,
    Getting Exception while getting DocumentService from Factory

    ServicesFactory factory = null;

    DocumentService documentService = factory.getDocumentService();

    Caused by: java.lang.reflect.GenericSignatureFormatError
    at sun.reflect.generics.parser.SignatureParser.error(Unknown Source)
    at sun.reflect.generics.parser.SignatureParser.parseSimpleClassTypeSignature(Unknown Source)
    at sun.reflect.generics.parser.SignatureParser.parseClassTypeSignatureSuffix(Unknown Source)
    at sun.reflect.generics.parser.SignatureParser.parseClassTypeSignature(Unknown Source)
    at sun.reflect.generics.parser.SignatureParser.parseFieldTypeSignature(Unknown Source)
    at sun.reflect.generics.parser.SignatureParser.parseTypeArgument(Unknown Source)
    at sun.reflect.generics.parser.SignatureParser.parseTypeArguments(Unknown Source)
    at sun.reflect.generics.parser.SignatureParser.parseSimpleClassTypeSignature(Unknown Source)
    at sun.reflect.generics.parser.SignatureParser.parseClassTypeSignatureSuffix(Unknown Source)
    at sun.reflect.generics.parser.SignatureParser.parseClassTypeSignature(Unknown Source)
    at sun.reflect.generics.parser.SignatureParser.parseFieldTypeSignature(Unknown Source)
    at sun.reflect.generics.parser.SignatureParser.parseTypeSignature(Unknown Source)
    at sun.reflect.generics.parser.SignatureParser.parseTypeSig(Unknown Source)
    at sun.reflect.generics.repository.FieldRepository.parse(Unknown Source)
    at sun.reflect.generics.repository.FieldRepository.parse(Unknown Source)
    at sun.reflect.generics.repository.AbstractRepository.init(Unknown Source)
    at sun.reflect.generics.repository.FieldRepository.init(Unknown Source)
    at sun.reflect.generics.repository.FieldRepository.make(Unknown Source)
    at java.lang.reflect.Field.getGenericInfo(Unknown Source)
    at java.lang.reflect.Field.getGenericType(Unknown Source)
    at com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator.getFieldType(Unknown Source)
    at com.sun.xml.internal.bind.v2.model.nav.ReflectionNavigator.getFieldType(Unknown Source)
    at com.sun.xml.internal.bind.v2.model.impl.FieldPropertySeed.getRawType(Unknown Source)
    at com.sun.xml.internal.bind.v2.model.impl.RuntimeClassInfoImpl$RuntimePropertySeed.getRawType(Unknown Source)
    at com.sun.xml.internal.bind.v2.model.impl.RuntimeClassInfoImpl$RuntimePropertySeed.getRawType(Unknown Source)
    at com.sun.xml.internal.bind.v2.model.impl.PropertyInfoImpl.init(Unknown Source)
    at com.sun.xml.internal.bind.v2.model.impl.ERPropertyInfoImpl.init(Unknown Source)
    at com.sun.xml.internal.bind.v2.model.impl.ElementPropertyInfoImpl.init(Unknown Source)
    at com.sun.xml.internal.bind.v2.model.impl.RuntimeElementPropertyInfoImpl.init(Unknown Source)
    at com.sun.xml.internal.bind.v2.model.impl.RuntimeClassInfoImpl.createElementProperty(Unknown Source)
    at com.sun.xml.internal.bind.v2.model.impl.ClassInfoImpl.addProperty(Unknown Source)
    at com.sun.xml.internal.bind.v2.model.impl.ClassInfoImpl.findFieldProperties(Unknown Source)
    at com.sun.xml.internal.bind.v2.model.impl.ClassInfoImpl.getProperties(Unknown Source)
    at com.sun.xml.internal.bind.v2.model.impl.RuntimeClassInfoImpl.getProperties(Unknown Source)
    at com.sun.xml.internal.bind.v2.model.impl.ModelBuilder.getClassInfo(Unknown Source)
    at com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(Unknown Source)
    at com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(Unknown Source)
    at com.sun.xml.internal.bind.v2.model.impl.ModelBuilder.getClassInfo(Unknown Source)
    at com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(Unknown Source)
    at com.sun.xml.internal.bind.v2.model.impl.RuntimeModelBuilder.getClassInfo(Unknown Source)
    at com.sun.xml.internal.bind.v2.model.impl.ModelBuilder.getTypeInfo(Unknown Source)
    at com.sun.xml.internal.bind.v2.model.impl.ModelBuilder.getTypeInfo(Unknown Source)
    at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(Unknown Source)
    at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl.init(Unknown Source)
    at com.sun.xml.internal.bind.v2.runtime.JAXBContextImpl$JAXBContextBuilder.build(Unknown Source)
    at com.sun.xml.internal.bind.v2.ContextFactory.createContext(Unknown Source)
    at com.sun.xml.internal.bind.api.JAXBRIContext.newInstance(Unknown Source)
    at com.sun.xml.internal.ws.developer.JAXBContextFactory$1.createJAXBContext(Unknown Source)
    at com.sun.xml.internal.ws.model.AbstractSEIModelImpl$1.run(Unknown Source)
    at com.sun.xml.internal.ws.model.AbstractSEIModelImpl$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.xml.internal.ws.model.AbstractSEIModelImpl.createJAXBContext(Unknown Source)
    at com.sun.xml.internal.ws.model.AbstractSEIModelImpl.postProcess(Unknown Source)
    at com.sun.xml.internal.ws.model.RuntimeModeler.buildRuntimeModel(Unknown Source)
    at com.sun.xml.internal.ws.client.WSServiceDelegate.createSEIPortInfo(Unknown Source)
    at com.sun.xml.internal.ws.client.WSServiceDelegate.addSEI(Unknown Source)
    at com.sun.xml.internal.ws.client.WSServiceDelegate.getPort(Unknown Source)
    at com.sun.xml.internal.ws.client.WSServiceDelegate.getPort(Unknown Source)
    at com.sun.xml.internal.ws.client.WSServiceDelegate.getPort(Unknown Source)
    at com.sun.xml.internal.ws.client.WSServiceDelegate.getPort(Unknown Source)
    at javax.xml.ws.Service.getPort(Unknown Source)
    at oracle.imaging.proxy.ProxyServicesFactory.getServiceProxy(ProxyServicesFactory.java:142)
    at oracle.imaging.proxy.ProxyServicesFactory.getServiceProxy(ProxyServicesFactory.java:116)
    at oracle.imaging.proxy.ProxyServicesFactory.createDocumentService(ProxyServicesFactory.java:315)
    at oracle.imaging.ServicesFactory.getDocumentService(ServicesFactory.java:237)
    ... 24 more

    Iam using Jars :

    dup-resources.jar
    ecm-client.jar
    ecm-wls.jar
    imaging-client.jar
    javax.persistence_1.0.0.0_1-0-2.jar
    oracle.webservices.standalone.client.jar
    weblogic.jar

    Iam Using 64 Bit Eclipse version with Tomcat 6,JDK 1.6 64 bit.

    Please help me.

    DB:3.31:Oracle Ipm Services Factory Exception fd

    Hi, did you ever get this resolved? We seem to be hitting a similar issue.

    Thanks!

  • RELEVANCY SCORE 3.31

    DB:3.31:Running Java Class File In Class Package dz


    I have developed my Swing Application using JBuilder 6 Personal Edition, I have packaged them into a package named 'myPackage'. However, when I try to run the package from DOS, using 'C:\mypackage\java MainFrame', it gives me the following exception:

    Exception in thread "main" java.lang.NoClassDefFoundError: FrameMain (wrong name
    : slms/FrameMain)
    at java.lang.ClassLoader.defineClass0(Native Method)
    at java.lang.ClassLoader.defineClass(Unknown Source)
    at java.security.SecureClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.defineClass(Unknown Source)
    at java.net.URLClassLoader.access$100(Unknown Source)
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)

    May i know what is wrong and how can run my MainFrame.class in the class package that I have specify?

    DB:3.31:Running Java Class File In Class Package dz

    You will probably have to include other paths to the classpath as well, like if you use some of JBuilders classes, you need to include some of its jar files.

  • RELEVANCY SCORE 3.31

    DB:3.31:Adding Rows To Jtable With Spanded Cells 1a


    I have a jtable with multiple spanded cells. I am using a custom jtable(the code is in http://www2.gol.com/users/tame/swing/examples/JTableExamples4.html) but i need insert a new row when you click on a button.

    I doing this:
    jtable.getModel().addRow(vector);

    but it throws an exception:
    Exception occurred during event dispatching:

    java.lang.ArrayIndexOutOfBoundsException: 11 = 11

    at java.util.Vector.elementAt(Unknown Source)

    at javax.swing.table.DefaultTableModel.getValueAt(Unknown Source)

    at javax.swing.JTable.getValueAt(Unknown Source)

    at javax.swing.JTable.prepareRenderer(Unknown Source)

    at jp.gr.java_conf.tame.swing.table.MultiSpanCellTableUI.paintCell(MultiSpanCellTableUI.java:96)

    at jp.gr.java_conf.tame.swing.table.MultiSpanCellTableUI.paintRow(MultiSpanCellTableUI.java:68)

    at jp.gr.java_conf.tame.swing.table.MultiSpanCellTableUI.paint(MultiSpanCellTableUI.java:39)

    at javax.swing.plaf.ComponentUI.update(Unknown Source)

    at javax.swing.JComponent.paintComponent(Unknown Source)

    at javax.swing.JComponent.paint(Unknown Source)

    at javax.swing.JComponent.paintChildren(Unknown Source)

    at javax.swing.JComponent.paint(Unknown Source)

    at javax.swing.JViewport.paint(Unknown Source)

    at javax.swing.JComponent.paintChildren(Unknown Source)

    at javax.swing.JComponent.paint(Unknown Source)

    at javax.swing.JComponent.paintWithBuffer(Unknown Source)

    at javax.swing.JComponent._paintImmediately(Unknown Source)

    at javax.swing.JComponent.paintImmediately(Unknown Source)

    at javax.swing.RepaintManager.paintDirtyRegions(Unknown Source)

    at javax.swing.SystemEventQueueUtilities$ComponentWorkRequest.run(Unknown Source)

    at java.awt.event.InvocationEvent.dispatch(Unknown Source)

    at java.awt.EventQueue.dispatchEvent(Unknown Source)

    at java.awt.EventDispatchThread.pumpOneEvent(Unknown Source)

    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)

    at java.awt.EventDispatchThread.run(Unknown Source)

    Can anybody help me

    DB:3.31:Adding Rows To Jtable With Spanded Cells 1a

    I am using the same code in http://www.codeguru.com/java/articles/139.shtml but it thorws the same exception.

    I need a solution it is urgent

  • RELEVANCY SCORE 3.30

    DB:3.30:Swing Application Doesn't Launch ma


    Hallo,

    I've programmed a simple swing-application that was til now functionning correctly. But today I can't launch this application. If I launch it with java -jar myprog.jar I get following information:

    Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: sun.font.FileFontStrike.createScalerContext(J[DZIIZFF)J
    at sun.font.FileFontStrike.createScalerContext(Native Method)
    at sun.font.FileFontStrike.init(Unknown Source)
    at sun.font.FileFont.createStrike(Unknown Source)
    at sun.font.Font2D.getStrike(Unknown Source)
    at sun.font.Font2D.getStrike(Unknown Source)
    at sun.font.CompositeStrike.getStrikeForSlot(Unknown Source)
    at sun.font.CompositeStrike.getFontMetrics(Unknown Source)
    at sun.font.FontDesignMetrics.initMatrixAndMetrics(Unknown Source)
    at sun.font.FontDesignMetrics.init(Unknown Source)
    at sun.font.FontDesignMetrics.getMetrics(Unknown Source)
    at sun.swing.SwingUtilities2.getFontMetrics(Unknown Source)
    at javax.swing.JComponent.getFontMetrics(Unknown Source)
    at javax.swing.plaf.metal.MetalTitlePane$TitlePaneLayout.computeHeight(Unknown Source)
    at javax.swing.plaf.metal.MetalTitlePane$TitlePaneLayout.preferredLayoutSize(Unknown Source)
    at java.awt.Container.preferredSize(Unknown Source)
    at java.awt.Container.getPreferredSize(Unknown Source)
    at javax.swing.JComponent.getPreferredSize(Unknown Source)
    at javax.swing.plaf.metal.MetalRootPaneUI$MetalRootLayout.layoutContainer(Unknown Source)
    at java.awt.Container.layout(Unknown Source)
    at java.awt.Container.doLayout(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validate(Unknown Source)
    at java.awt.Window.pack(Unknown Source)
    at logviewer.Main$1.run(Main.java:61)
    at java.awt.event.InvocationEvent.dispatch(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: sun.font.FileFontStrike.createScalerContext(J[DZIIZFF)J
    at sun.font.FileFontStrike.createScalerContext(Native Method)
    at sun.font.FileFontStrike.init(Unknown Source)
    at sun.font.FileFont.createStrike(Unknown Source)
    at sun.font.Font2D.getStrike(Unknown Source)
    at sun.font.Font2D.getStrike(Unknown Source)
    at sun.font.CompositeStrike.getStrikeForSlot(Unknown Source)
    at sun.font.CompositeStrike.getFontMetrics(Unknown Source)
    at sun.font.FontDesignMetrics.initMatrixAndMetrics(Unknown Source)
    at sun.font.FontDesignMetrics.init(Unknown Source)
    at sun.font.FontDesignMetrics.getMetrics(Unknown Source)
    at sun.swing.SwingUtilities2.getFontMetrics(Unknown Source)
    at javax.swing.JComponent.getFontMetrics(Unknown Source)
    at javax.swing.plaf.metal.MetalTitlePane$TitlePaneLayout.computeHeight(Unknown Source)
    at javax.swing.plaf.metal.MetalTitlePane$TitlePaneLayout.preferredLayoutSize(Unknown Source)
    at java.awt.Container.preferredSize(Unknown Source)
    at java.awt.Container.getPreferredSize(Unknown Source)
    at javax.swing.JComponent.getPreferredSize(Unknown Source)
    at javax.swing.plaf.metal.MetalRootPaneUI$MetalRootLayout.layoutContainer(Unknown Source)
    at java.awt.Container.layout(Unknown Source)
    at java.awt.Container.doLayout(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validateTree(Unknown Source)
    at java.awt.Container.validate(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)

    after this output the application hangs, my windows commad prompt doesn't show the prompt.
    Secondary, it is not possible to launch the Java-Applet in Control Panel of Windows. It happans nothing.

    Whats going wrong? My program didn't change, it's the same program I was using since longer time. What could I do to make it function correctly?

    with regards

    Rafal Ziolkowski

    DB:3.30:Swing Application Doesn't Launch ma

    Exception in thread "AWT-EventQueue-0" java.lang.UnsatisfiedLinkError: sun.font.FileFontStrike.createScalerContext(J[DZIIZFF)JUnsatisfiedLinkError indicates that the JVM cannot find a native method's definition. Generally this means that the shared object file (.so on unices, .dll on Windows) cannot be found by the JVM.
    Since the missing method is visibly Sun's code, presumably a built-in JRE method, that probably means your JRE/JDK install has been corrupted (corroborated by a quick Google search on the obvious keywords).

    Try reinstalling the JRE or JDK.

    Secondary, it is not possible to launch the Java-Applet in Control Panel of Windows. It happans nothing. I don't understand this sentence. What are you doing exactly, and how is that related to the first question?

    Much luck,

    J.

  • RELEVANCY SCORE 3.30

    DB:3.30:Re: From Awt To Swing = Classcastexception ? p8


    Hi !
    console also throws following errors :

    java.lang.ClassCastException: TreeExample
    at sun.applet.AppletPanel.createApplet(Unknown Source)
    at sun.plugin.AppletViewer.createApplet(Unknown Source)
    at sun.applet.AppletPanel.runLoader(Unknown Source)
    at sun.applet.AppletPanel.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)

    DB:3.30:Re: From Awt To Swing = Classcastexception ? p8

    OK, I see two problems with this code. First, if you're using this as an applet, your main class (TreeExample) should be implementing javax.swing.JApplet.
    Second, an applet doesn't use the main() procedure. Instead, the first time the applet is created by the browser, it calls the init() method, so do your initialization there. Then, every time the web page displays the applet, it calls the start() method. So whatever the applet does should go there. Check the javadocs for java.awt.Applet and javax.swing.JApplet.
    Hope this helps.