Runtime error: java.lang

I get the following error when running my class which is listed below(complies fine):
Exception in thread "main" java.lang.NoClassDefFoundError: FileComparer
It is also not just with this class because I tried to run a similar one and I got the same error. Anyone know what this means?
import java.io.*;
import java.net.*;
public class FileComparer
public static void main (String[] args)
     String line, file="http://condor.depaul.edu/~jpetlick/extra/224/display.txt";
     try
          int lineNum = 0;
          URL URLfile = new URL (file);
          InputStream input = URLfile.openStream();
          BufferedReader buffer = new BufferedReader(new InputStreamReader(input));
          line = buffer.readLine();
          while (line != null)
               line = buffer.readLine();
               lineNum++;
          System.out.println(line);
     catch (FileNotFoundException exception)
          System.out.println("The file " + file + " was not found.");
     catch (IOException exception)
          System.out.println(exception);
}

nevermind, I figured it out :)

Similar Messages

  • Runtime Error: java.lang.StackOverflowError

    Hi all,
    I get the runtime error: java.lang.StackOverflowError.
    The API says:
    java.lang> Class StackOverflowError>
    Thrown when a stack overflow occurs because an application recurses too deeply.
    But I don't exactly know what does it mean? What am I doing wrong in my code? How can I avoid it?
    Any help is greatly appreciated. Thanks a lot.

    You are recusively calling a method without it ending. Something likepublic void recurse (String fred) {
        if ( fred.equals("flintstone") ) {
            recurse(fred);

  • How do i solve the Runtime Error: java.lang.UnsatisfiedLinkError

    Runtime Error: java.lang.UnsatisfiedLinkError
    // Dialog_age
    import javax.swing.JOptionPane;
    public class Dialog_age
    public static void main(String arguments[])
    String Input_Age;
    int age;
    Input_Age = JOptionPane.showInputDialog("Enter a number.");
    age = Integer.parseInt(Input_Age);
    JOptionPane.showMessageDialog(null , "Your age is " + age);
    System.exit(0);
    }Whenever i run this program or a program similar to that program. I get the Runtime Error (anytime i run the program on a command prompt, but if i run it on my jGRASP it runs ok!): java.lang.UnsatisfiedLinkError.
    Here is my Error Message:
    C:\java>java Dialog_age
    Exception in thread "main" java.lang.UnsatisfiedLinkError: sun.font.FontManager.initIDs(
    Z)V
    at sun.font.FontManager.initIDs(Native Method)
    at sun.font.FontManager.access$000(Unknown Source)
    at sun.font.FontManager$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.font.FontManager.<clinit>(Unknown Source)
    at sun.java2d.SunGraphicsEnvironment.addDirFonts(Unknown Source)
    at sun.java2d.SunGraphicsEnvironment.registerFontsInDir(Unknown Source)
    at sun.java2d.SunGraphicsEnvironment.access$200(Unknown Source)
    at sun.java2d.SunGraphicsEnvironment$2.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.java2d.SunGraphicsEnvironment.<init>(Unknown Source)
    at sun.awt.Win32GraphicsEnvironment.<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 java.lang.Class.newInstance0(Unknown Source)
    at java.lang.Class.newInstance(Unknown Source)
    at java.awt.GraphicsEnvironment.getLocalGraphicsEnvironment(Unknown Source)
    at javax.swing.RepaintManager.<clinit>(Unknown Source)
    at javax.swing.UIManager.initialize(Unknown Source)
    at javax.swing.UIManager.maybeInitialize(Unknown Source)
    at javax.swing.UIManager.getDefaults(Unknown Source)
    at javax.swing.UIManager.getString(Unknown Source)
    at javax.swing.UIManager.getString(Unknown Source)
    at javax.swing.JOptionPane.showInputDialog(Unknown Source)
    at javax.swing.JOptionPane.showInputDialog(Unknown Source)
    at Dialog_age.main(Dialog_age.java:14)
    But a few weeks ago i could run the program on a command prompt , perfectly!
    I recently came to the conclusion that it has something to do with me upgrading my IDE(jGRASP) and Java language.
    Now, since thats the case how do i resolve this error. That BUGGING the heck out of me!
    Thanks and Peace!

    Hi,
    Check which JRE/JDK is used by your jGRASP.Then set the path environment variables according to that.
    I'm afraid you have multiple jre/jdk in your system and one of that has problem with native libraries.
    Best of luck!!

  • Portal Runtime Error - java.lang.NullPointerException in Role Permissions

    Hello All:
    I am getting a runtime error while trying to bring up permissions for copies of SAP delivered roles.
    Any help much appreciated.
    =================
    [EXCEPTION]
    #1#com.sapportals.portal.prt.component.PortalComponentException: Error in service call of Portal Component
    Component : pcd:portal_content/com.sap.pct/admin.templates/iviews/editors/com.sap.portal.aclEditor
    Component class : com.sap.portal.admin.acleditor.ACLEditor
    User : TESTUSER
         at com.sapportals.portal.prt.core.PortalRequestManager.handlePortalComponentException(PortalRequestManager.java:973)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:343)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
         at java.security.AccessController.doPrivileged(AccessController.java:242)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(AccessController.java:215)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    Caused by: java.lang.NullPointerException
         at com.sap.portal.admin.editor.pane.OutPane.calculatePEObjectId(OutPane.java:210)
         at com.sap.portal.admin.editor.pane.OutPane.createEditorLayout(OutPane.java:256)
         at com.sap.portal.admin.editor.pane.OutPane.setupComponent(OutPane.java:150)
         at com.sap.portal.admin.editor.pane.EditorPaneWrapper.mySetupComponent(EditorPaneWrapper.java:143)
         at com.sapportals.admin.wizardframework.components.FlowContainer.setupComponent(FlowContainer.java:129)
         at com.sapportals.admin.wizardframework.core.TrivialPaneFactory.getComponent(TrivialPaneFactory.java:35)
         at com.sapportals.admin.wizardframework.core.WizardInstance.doWizard(WizardInstance.java:229)
         at com.sap.portal.admin.editor.Editor.doWizard(Editor.java:605)
         at com.sap.portal.admin.editor.Editor.run(Editor.java:150)
         at com.sap.portal.admin.editor.AbstractEditorComponent.doContent(AbstractEditorComponent.java:59)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         ... 29 more
    #1.5 #001125C00D9B007C000005E00017E09600044CCF2EFD55C4#1210352637138#com.sap.portal.prt.runtime#sap.com/irj#com.sap.portal.prt.runtime#TESTUSER#121429##mdt2ds111_SC1_1097250#TESTUSER#30ca97d01de611ddac19001125c00d9b#SAPEngine_Application_Thread[impl:3]_10##0#0#Error##Java###05:03_09/05/08_0167_1097250
    [EXCEPTION]
    #1#java.lang.NullPointerException
         at com.sap.portal.admin.editor.pane.OutPane.calculatePEObjectId(OutPane.java:210)
         at com.sap.portal.admin.editor.pane.OutPane.createEditorLayout(OutPane.java:256)
         at com.sap.portal.admin.editor.pane.OutPane.setupComponent(OutPane.java:150)
         at com.sap.portal.admin.editor.pane.EditorPaneWrapper.mySetupComponent(EditorPaneWrapper.java:143)
         at com.sapportals.admin.wizardframework.components.FlowContainer.setupComponent(FlowContainer.java:129)
         at com.sapportals.admin.wizardframework.core.TrivialPaneFactory.getComponent(TrivialPaneFactory.java:35)
         at com.sapportals.admin.wizardframework.core.WizardInstance.doWizard(WizardInstance.java:229)
         at com.sap.portal.admin.editor.Editor.doWizard(Editor.java:605)
         at com.sap.portal.admin.editor.Editor.run(Editor.java:150)
         at com.sap.portal.admin.editor.AbstractEditorComponent.doContent(AbstractEditorComponent.java:59)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
         at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
         at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:645)
         at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
         at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
         at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
         at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
         at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:524)
         at java.security.AccessController.doPrivileged(AccessController.java:242)
         at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:407)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
         at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(AccessController.java:215)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172)
    =====================

    Praveen:
    I have already tried this and it did not fix the problem.
    Here is something more bizarre, I get the error when the copied roles are in 3rd folder level after Portal Content.
    For instance:
    1) Portal Content > Test Folder 1 (ZContentAdmin)  ....... NO ERROR
    2) Portal Content > Test Folder 1 > Test Folder 2 (ZContentAdmin) .......... NO ERROR
    3) Portal Content > Test Folder 1 > Test Folder 2 > Test Folder 3 (ZContentAdmin) ..... ERROR
    Just to reiterate, custom roles work fine, it is just when I do a Copy/Delta copy of SAP delivered content roles.....
    Looking for a solution.
    Khurram
    Edited by: Khurram Mahmudi on May 9, 2008 9:32 PM

  • Runtime error.Java.lang.nullPointerException: null at com.sap.guid.GUID.par

    Hi experts.
    My scenario is File --> PI --> File.
    During the message mapping there are a few RFC lockups.
    I have configured an communication component for the RFC destination, and a Receiver communication channel to the RFC system.
    When I am trying to check the message mapping and the operation mapping from the integration builder every thing works just fine.
    In the interface determination i have configured the rfc parameter for the mapping.
    When I am trying to run the hole process i receive an error saying:"Runtime exception from: java.lang.nullPointerException:
    null at com.sap.guid.GUID.parsHEXguid(guid.java:1015)
    reguars Max

    Did you test your operation mapping??
    Did you provide your RFC communication channel name and import parameters value in paramter tab of Operation mappi
    Yes I did.
    I have tested the operation mapping and it runs just fine.
    Also all the parameters are specified.
    And the communication channel is configured.
    Just to make sure the communication channel is configured well.
    Should it be configured as RFC adepter and connected to the system on which the RFCs are located?
    If this is all of the configuration needed i have already done them.
    Any suggestions?
    Regards Max.

  • Runtime error - java.lang.NullPointerException

    Does anyone know what this runtime error is about?
    Exception in thread "main" java.lang.NullPointerException
    at tst.Test(tst.java:16)
    at tst.main(tst.java:44)
    cheers |:| > )

    yes, it means you are trying to access an index in the array which doesnt exist.
    For example if you have an array of ints:
    int[] someArray = {2, 5, 8, 3, 5};and you try to access the sixth element(it doesnt exist!) like follows:
    int someInt = someArray[5];This code will compile fine but will result in a run-time exception 'nullPointerException'. Note - Array indexes start at 0 is is normally the main cause for null pointer exceptions. Therefore index 5 is trying to access the sixth element in the array.
    Cath

  • Java.nio package Runtime error java.lang.UnsupportedClassVersionError.

    Hi
    I am using nio package and create a java program for file locking (FileLocking.java).
    Here is the sample
    try {
    file = new File("C:/acc.txt");
    channel = new RandomAccessFile(file, "rw").getChannel();
         lock = channel.lock(0, Long.MAX_VALUE, true);
    try {
              lock = channel.tryLock(0, Long.MAX_VALUE, true);
    catch (OverlappingFileLockException e) {
    return true;
    using wsad 5.1 and jdk1.4 i compiled this program.
    While executing i got the following runtime error..
    java.lang.UnsupportedClassVersionError: FileLocking (Unsupported major.minor version 48.0)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:703)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:133)
         at java.net.URLClassLoader.defineClass(URLClassLoader.java:319)
         at java.net.URLClassLoader.access$400(URLClassLoader.java:92)
         at java.net.URLClassLoader$ClassFinder.run(URLClassLoader.java:677)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.net.URLClassLoader.findClass(URLClassLoader.java:238)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:516)
         at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:441)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:448)
    Exception in thread "main"
    Even if i try to recompile it in command prompt and run, i got the same error.
    please suggest me how can i overcome this problem.

    UnsupportedClassVersionError means that you are trying to execute a class for a newer version of the JVM on an older version of the JVM.
    Version 48.0 is for Java 1.4, so you have compiled your class with JDK 1.4.
    The computer you are trying to run the class on, has an older version of Java than 1.4 - check it!
    Try recompiling your source files with the "-target" switch, for example if you're running on Java 1.3, try compiling with:
    javac -target 1.3 ... FileLocking.java

  • Runtime error : java.lang.NoClassDefFoundError

    hi ,
    i am using IWorkspaceRoot,IResource classes in my application.
    for which i have included the necessary jar files.
    but at the runtime i am getting the following exception.
    com.sap.tc.webdynpro.services.exceptions.WDRuntimeException: Failed to create delegate for view com.sap.app.FileAppView. (Hint: Is the corresponding DC deployed correctly? Does the DC contain the component?)
         at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:110)
         at com.sap.tc.webdynpro.progmodel.generation.DelegatingView.<init>(DelegatingView.java:41)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.createUninitializedView(ViewManager.java:487)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.getView(ViewManager.java:524)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.bindRoot(ViewManager.java:422)
         at com.sap.tc.webdynpro.progmodel.view.ViewManager.init(ViewManager.java:130)
         at com.sap.tc.webdynpro.progmodel.view.InterfaceView.initController(InterfaceView.java:41)
         at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
         at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.displayToplevelComponent(ClientComponent.java:134)
         at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:371)
         at com.sap.tc.webdynpro.clientserver.task.WebDynproMainTask.execute(WebDynproMainTask.java:599)
         at com.sap.tc.webdynpro.clientserver.cal.AbstractClient.executeTasks(AbstractClient.java:59)
         at com.sap.tc.webdynpro.clientserver.cal.ClientManager.doProcessing(ClientManager.java:251)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doWebDynproProcessing(DispatcherServlet.java:154)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:116)
         at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:48)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:391)
         at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:265)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:345)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:323)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:865)
         at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:240)
         at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
         at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
         at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:37)
         at com.sap.engine.core.cluster.impl6.session.UnorderedChannel$MessageRunner.run(UnorderedChannel.java:71)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(Native Method)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:94)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:162)
    Caused by: java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
         at com.sap.tc.webdynpro.progmodel.generation.ControllerHelper.createDelegate(ControllerHelper.java:74)
         ... 31 more
    Caused by: java.lang.NoClassDefFoundError: org/eclipse/core/resources/IResource
         at com.sap.app.wdp.InternalFileAppView.<init>(InternalFileAppView.java:90)
         ... 36 more
    any suggestions what to do ???
    Regards,
    Ashish

    Hi Ashish,
    Please check the following thread
    Re: Error : Failed to create delegate for view  ???
    Regards,
    Shubham

  • Runtime error java.lang.NoClassDefFoundError- FacetDescriptor

    Hi everybody,
    I am trying to use a progressbar component in a page that worked fine just before I dropped this component. Now, I am getting the following exception:
    Exception Details: java.lang.NoClassDefFoundError
    com/sun/rave/designtime/faces/FacetDescriptor
    Possible Source of Error:
    Class Name: com.sun.j2ee.blueprints.ui.design.AbstractBeanInfo
    File Name: AbstractBeanInfo.java
    Method Name: initFacetDescriptors
    Line Number: 366
    I am using the same component in a page in different project and everything is working. This error is not specific to progressbar but to other components I have used. Last time, I had to re-create the project and import all my existing pages to get it resolved.
    Any ideas?? Your help will be highly appreciated.
    Thanks

    Hello there!
    I have tried to do as you said!
    My Libraries are just with DesignTime and Packages with Runtimes.
    What else should i do?
    Just to confirm above is all the stack trace.
    Thanks a lot!
    Description: An unhandled exception occurred during the execution of the web application. Please review the following stack trace for more information regarding the error.
    Exception Details: java.lang.NoClassDefFoundError
    com/sun/rave/designtime/faces/FacetDescriptor
    Possible Source of Error:
    Class Name: /com.sun.j2ee.blueprints.ui.design.AbstractBeanInfo/
    File Name: /AbstractBeanInfo.java/
    Method Name: /initFacetDescriptors/
    Line Number: /366/
    |Source not available. Information regarding the location of the exception can be identified using the exception stack trace below.
    |
    Stack Trace:
    |com.sun.j2ee.blueprints.ui.design.AbstractBeanInfo.initFacetDescriptors(AbstractBeanInfo.java:366)
    com.sun.j2ee.blueprints.ui.design.AbstractBeanInfo.initBeanDescriptor(AbstractBeanInfo.java:341)
    com.sun.j2ee.blueprints.ui.autocomplete.AutoCompleteComponentBeanInfo.initBeanDescriptor(AutoCompleteComponentBeanInfo.java:54)
    com.sun.j2ee.blueprints.ui.design.AbstractBeanInfo.(AbstractBeanInfo.java:57)
    com.sun.j2ee.blueprints.ui.design.AbstractValueHolderBeanInfo.(AbstractValueHolderBeanInfo.java:36)
    com.sun.j2ee.blueprints.ui.design.AbstractEditableValueHolderBeanInfo.(AbstractEditableValueHolderBeanInfo.java:44)
    com.sun.j2ee.blueprints.ui.autocomplete.AutoCompleteComponentBeanInfo.(AutoCompleteComponentBeanInfo.java:42)
    sun.reflect.NativeConstructorAccessorImpl.newInstance0(NativeConstructorAccessorImpl.java:-2)
    sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    java.lang.Class.newInstance0(Class.java:350)
    java.lang.Class.newInstance(Class.java:303)
    java.beans.Introspector.instantiate(Introspector.java:1432)
    java.beans.Introspector.findExplicitBeanInfo(Introspector.java:410)
    java.beans.Introspector.(Introspector.java:359)
    java.beans.Introspector.getBeanInfo(Introspector.java:159)
    javax.faces.component.UIComponentBase.getPropertyDescriptors(UIComponentBase.java:130)
    javax.faces.component.UIComponentBase.(UIComponentBase.java:92)
    javax.faces.component.UIOutput.(UIOutput.java:83)
    javax.faces.component.UIInput.(UIInput.java:126)
    javax.faces.component.html.HtmlInputText.(HtmlInputText.java:28)
    com.sun.j2ee.blueprints.ui.autocomplete.AutoCompleteComponent.(AutoCompleteComponent.java:57)
    sco.Gestao.CadastroUsuario.(CadastroUsuario.java:350)
    sun.reflect.NativeConstructorAccessorImpl.newInstance0(NativeConstructorAccessorImpl.java:-2)
    sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
    sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
    java.lang.reflect.Constructor.newInstance(Constructor.java:494)
    java.lang.Class.newInstance0(Class.java:350)
    java.lang.Class.newInstance(Class.java:303)
    java.beans.Beans.instantiate(Beans.java:204)
    java.beans.Beans.instantiate(Beans.java:48)
    com.sun.faces.config.ManagedBeanFactory.newInstance(ManagedBeanFactory.java:203)
    com.sun.faces.application.ApplicationAssociate.createAndMaybeStoreManagedBeans(ApplicationAssociate.java:298)
    com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:78)
    com.sun.rave.web.ui.appbase.faces.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:96)
    com.sun.faces.el.impl.NamedValue.evaluate(NamedValue.java:125)
    com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:243)
    com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:173)
    com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)
    com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.pageBean(ViewHandlerImpl.java:753)
    com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.pageBean(ViewHandlerImpl.java:728)
    com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:278)
    com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
    com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
    com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
    javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
    sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:-2)
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    java.lang.reflect.Method.invoke(Method.java:585)
    org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
    java.security.AccessController.doPrivileged(AccessController.java:-2)
    javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
    org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
    org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
    org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
    org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
    java.security.AccessController.doPrivileged(AccessController.java:-2)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
    org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
    org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
    org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
    java.security.AccessController.doPrivileged(AccessController.java:-2)
    org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
    org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
    org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
    org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
    org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
    org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189)
    com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)
    com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)
    com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)
    com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)
    com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)
    com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)|

  • Emulator runtime error - java.lang.IllegalAccessException

    Hi
    Im working through some example code, and when i build, everything is fine, with no errors, however when i run in the emulator, even though at this moment the program actually does nothing, its just a skeleton, i get the following error:
    Unable to create MIDlet MyC
    java.lang.IllegalAccessException
    at com.sun.midp.midlet.MIDletState.createMIDlet(MIDletState.java:148)
    at com.sun.midp.midlet.Selector.run(Selector.java:151)
    For hours, i have been pondering over the code, but the answer eludes me as to why i get this error
    Here is the main midlet:
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    import javax.microedition.lcdui.game.*;
    public class my extends MIDlet implements CommandListener {
    private MyC canvas;
    public void startApp() {
    if (canvas == null) {
    canvas = new MyC(Display.getDisplay(this));
    Command exitCommand = new Command("Exit", Command.EXIT, 0);
    canvas.addCommand(exitCommand);
    canvas.setCommandListener(this);
    // Start up the canvas
    canvas.start();
    public void pauseApp() {}
    public void destroyApp(boolean unconditional) {
    canvas.stop();
    public void commandAction(Command c, Displayable s) {
    if (c.getCommandType() == Command.EXIT) {
    destroyApp(true);
    notifyDestroyed();
    here is the class it uses:
    import javax.microedition.lcdui.*;
    import javax.microedition.lcdui.game.*;
    import java.util.*;
    import java.io.*;
    public class MyC extends GameCanvas implements Runnable
    private Display display;
    private Sprite playerSprite;
    private boolean sleeping;
    private long framedelay;
    public MyC(Display d)
    super(true);
    display = d;
    framedelay = 33;
    public void start()
    display.setCurrent(this);
    try
    playerSprite = new Sprite(Image.createImage("/player.png"),12,12);
    catch (IOException e){}
    sleeping = false;
    Thread t = new Thread(this);
    t.start();
    public void stop()
    public void run()
    Graphics g = getGraphics();
    while (!sleeping)
    update();
    draw(g);
    try
    Thread.sleep(framedelay);
    catch (InterruptedException ie) {}
    private void update()
    return;
    private void draw(Graphics g)
    playerSprite.paint(g);
    flushGraphics();
    }

    im using j2me, and yes, i have gone straight for
    mobile phone midlet programming. That isn't going to be easy.
    When i remove the
    detail at the end of the constructor, the code wont
    exectute at all. By looking at the code i presented
    here, is there anything noticeable as to why i keep
    getting this error?"Won't execute" doesn't tell me anything.
    Removing the parameter means that you need to do other things to the code because there will be undefined items.
    If you are copying code exactly as it appears in a tutorial then you need to be aware that you might be working with different versions of code (java and midlet) and/or there might be mistakes in the tutorial. Of course if you modified the tutorial code then you could be introducing problems as well. You can look for other sources of documentation which might provide more information as to what a minimal set up looks like.

  • Runtime Error: java.lang.ClassCastException

    My project is to creat a postfix with boolean. I finished my code, it compiled great, than I got an java.lang.ClassCastException. So obviously I have a casting problem. Any help or hints in the right direction would be greatly appreciated.
         import java.util.*;    
    import javax.swing.*;
    public class KimbelPostfix
        public static void main(String[] args)
         String expression;
         String token;
         String operator;
         String myString = "true";
         StringTokenizer tokens;
         Boolean operand1, operand2, result = true;
         //create empty stack of pending boolean operands
         Stack operandStack = new Stack(); 
         expression = JOptionPane.showInputDialog( "Enter postfix expression" );
         tokens = new StringTokenizer(expression);
         while (tokens.hasMoreTokens())
             token = tokens.nextToken();
             if (!isOperator(token))   //operand
                 new Boolean(myString);
                 myString = token;
                 operandStack.push(token); 
             //  printStack(operandStack);   //display stack at each step. Debugging
             else
             {   //token is an operator
                 //pop two booleans off stack.
                 //convert popped Object to boolean, extract boolean
                 operand2 = ((Boolean)operandStack.pop()).booleanValue();
                 operand1 = ((Boolean)operandStack.pop()).booleanValue();  //"first" one
              if (token.equals("!"))
                  operandStack.push(token);
                  result = operand1 && !operand2;
              else if (token.equals("&&"))
                  result = operand1 && operand2;
              else if (token.equals("||"))
                  result = operand1 || operand2;
              operandStack.push(new Boolean(result)); 
         //only object in stack is the answer
         result =  ((Boolean)operandStack.pop()).booleanValue();
         JOptionPane.showMessageDialog(null,expression+" = "+result);
         System.exit(0);
        static boolean isOperator(String t) {
             if (t.equals("!") || t.equals("&&") || t.equals("||"))
                 return true;
             else
                 return false;
        static void printStack( Stack s)
         System.out.print("Stack is: ");
            Iterator items = s.iterator();
            while (items.hasNext())
            System.out.print(items.next()+"  ");
            System.out.println();
         

    When I run the program and enter "false false ||" I get the slightly more useful error message:
    Exception in thread "main" java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean\\     at KimbelPostfix.main(KimbelPostfix.java:38)Now line 38 is the one in the else part of the while loop, that says:operand2 = ((Boolean)operandStack.pop()).booleanValue();Evidently what you were casting to a Boolean - operandStack.pop() - is a String. And you can't cast Strings to Booleans like that. So the questions are "what were you expecting to be on the stack?" and "what was actually on the stack?".
    You already have a method that will help answer the second question. As regards the first, if you were expecting a Boolean on the stack you had better go back to whereever you push things onto the stack and see why it's a String not a Boolean.
    Edited by: pbrockway2 on Dec 17, 2007 2:05 PM
    I've just read the edit of your last post, and I agree with petes1234. No-one here is going to write the code for you. That's not trying to be discouraging or dismissive: just saying how things are.
    There are signs of dispair in the myString variable, and the way you (attempt to) handle the unary ! operator. If you're tired and "fiddling around" to no productive effect your best bet would be to step away from the computer and do something else for a few hours.

  • Error:java.lang.Double:method parseDouble(Ljava/lang/String;)D not found.

    Hi ,
    oracle apps version : 11.5.10.2 and database version 11.2.0.2.
    OS version Solaris Sparc 64 Bit.
    We were performing a cloing activity on a new server and now while opening forms we are getting the following error :
    error:java.lang.Double:method parseDouble(Ljava/lang/String;)D not found.Please suggest what has to be done.
    Regards
    Kk

    Hi ,
    D:\Documents and Settings\800045916>java -version
    java version "1.6.0_29"
    Java(TM) SE Runtime Environment (build 1.6.0_29-b11)
    Java HotSpot(TM) Client VM (build 20.4-b02, mixed mode, sharing)We have been struggling with the Solaris server for this. Is something needed from there also or just need to have the latest JRE in the windows client machine.
    Regards
    Kk

  • Urgent :-Need Help in DOtnet Dll integration with CFM 8. for error "java.lang.NullPointerException"

    Hi Everyone,
    I am trying to intergrate Dotnet DLL with coldfusion. The basic perpose of this DLL is putting value in cache.
    My code is working fine on my local machine but it giving me problem on live server.
    It is throwing "java.lang.NullPointerException" error.
    Description of task:-
    DLL:-
    made in : Dotnet 3.0
    Functions:-
    setCache:- setting a string into cache.
    getCache:- getting value from cache.
    ClearCache:- Clearing all value from Cache.
    Local Machine:-
    OS: window server 2003
    Coldfusion version :MX8
    coldfusion Product level:-Developer
    Result:-Task is working fine.No error what so ever.
    Live server:-
    OS: window server 2003
    Coldfusion version :MX8
    coldfusion Product level:-Standred
    Result:-Task is throwing error "java.lang.NullPointerException"

    Thanks for your response, but surely if the .NET Services was not running how can CF instantiate and dump the object with all the correct methods?
    Anyway for some strange reason there is no Coldfusion .NET service in my services control panel even though I am running CF8. I have since downloaded the .NET service installer, run it and done a restart but I can still see no such service and the error continues?
    I am running CF8 Dev on IIS 6 – Window XP pro and here is debug
    java.lang.NullPointerException
                   at com.jnbridge.jnbcore.clientTransports.d$b.close(Unknown Source)
                   at java.net.Socket.<init>(Socket.java:368)
                   at java.net.Socket.<init>(Socket.java:209)
                   at com.jnbridge.jnbcore.clientTransports.d$b.<init>(Unknown Source)
                   at com.jnbridge.jnbcore.clientTransports.d.if(Unknown Source)
                   at com.jnbridge.jnbcore.clientTransports.c.a(Unknown Source)
                   at com.jnbridge.jnbcore.clientTransports.f.a(Unknown Source)
                   at com.jnbridge.jnbcore.DotNetSideProxy.int(Unknown Source)
                   at com.jnbridge.jnbcore.DotNetSideProxy.getObjectStaticProperty(Unknown Source)
                   at System.Environment.Get_CurrentDirectory()
                   at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                   at java.lang.reflect.Method.invoke(Method.java:597)
                   at coldfusion.runtime.java.JavaProxy.invoke(JavaProxy.java:87)
                   at coldfusion.runtime.dotnet.DotNetProxy.invoke(DotNetProxy.java:38)
                   at coldfusion.runtime.CfJspPage._invoke(CfJspPage.java:2272)
                   at cftestDotNet2ecfm215937280.runPage(C:\Inetpub\wwwroot\his_clothing\testDotNet.cfm:20)
                   at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java:196)
                   at coldfusion.tagext.lang.IncludeTag.doStartTag(IncludeTag.java:370)
                   at coldfusion.filter.CfincludeFilter.invoke(CfincludeFilter.java:65)
                   at coldfusion.filter.ApplicationFilter.invoke(ApplicationFilter.java:273)
                   at coldfusion.filter.MonitoringFilter.invoke(MonitoringFilter.java:40)
                   at coldfusion.filter.PathFilter.invoke(PathFilter.java:86)
                   at coldfusion.filter.LicenseFilter.invoke(LicenseFilter.java:27)
                   at coldfusion.filter.ExceptionFilter.invoke(ExceptionFilter.java:70)
                   at coldfusion.filter.BrowserDebugFilter.invoke(BrowserDebugFilter.java:74)
                   at coldfusion.filter.ClientScopePersistenceFilter.invoke(ClientScopePersistenceFilter.java:28)
                   at coldfusion.filter.BrowserFilter.invoke(BrowserFilter.java:38)
                   at coldfusion.filter.NoCacheFilter.invoke(NoCacheFilter.java:46)
                   at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilter.java:38)
                   at coldfusion.filter.DatasourceFilter.invoke(DatasourceFilter.java:22)
                   at coldfusion.CfmServlet.service(CfmServlet.java:175)
                   at coldfusion.bootstrap.BootstrapServlet.service(BootstrapServlet.java:89)
                   at jrun.servlet.FilterChain.doFilter(FilterChain.java:86)
                   at coldfusion.monitor.event.MonitoringServletFilter.doFilter(MonitoringServletFilter.java:42)
                   at coldfusion.bootstrap.BootstrapFilter.doFilter(BootstrapFilter.java:46)
                   at jrun.servlet.FilterChain.doFilter(FilterChain.java:94)
                   at jrun.servlet.FilterChain.service(FilterChain.java:101)
                   at jrun.servlet.ServletInvoker.invoke(ServletInvoker.java:106)
                   at jrun.servlet.JRunInvokerChain.invokeNext(JRunInvokerChain.java:42)
                   at jrun.servlet.JRunRequestDispatcher.invoke(JRunRequestDispatcher.java:286)
                   at jrun.servlet.ServletEngineService.dispatch(ServletEngineService.java:543)
                   at jrun.servlet.jrpp.JRunProxyService.invokeRunnable(JRunProxyService.java:203)
                   at jrunx.scheduler.ThreadPool$DownstreamMetrics.invokeRunnable(ThreadPool.java:320)
                   at jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRunnable(ThreadPool.java:428)
                   at jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeRunnable(ThreadPool.java:266)
                   at jrunx.scheduler.WorkerThread.run(WorkerThread.java:66)

  • Error in file-webservice- file (Error: java.lang.NullPointerException)

    Hi everybody,
    I have configured a file-webservice-file without BPM scenario...as explained by Bhavesh in the following thread:
    File - RFC - File without a BPM - Possible from SP 19.
    I have  used a soap adapter (for webservice) instead of rfc .My input file sends the date as request message and gets the sales order details from the webservice and then creates a file at my sender side.
    1 communication channel for sender file
    1 for receiver soap
    1 for receiver file
    Error: java.lang.NullPointerException
    What could be the reason for this error
    thanks a lot
    Ramya

    Hi Tanaya,
    I monitored the channels in the Runtime work bench and the error is in the sender ftp channel.The other 2 channel status is "not used" in RWB.
    1 sender ftp channel
    1 receiver soap channel
    1 receiver ftp channel.
    2009-12-16 15:02:00 Information Send binary file  "b.xml" from ftp server "10.58.201.122:/", size 194 bytes with QoS EO
    2009-12-16 15:02:00 Information MP: entering1
    2009-12-16 15:02:00 Information MP: processing local module localejbs/AF_Modules/RequestResponseBean
    2009-12-16 15:02:00 Information RRB: entering RequestResponseBean
    2009-12-16 15:02:00 Information RRB: suspending the transaction
    2009-12-16 15:02:00 Information RRB: passing through ...
    2009-12-16 15:02:00 Information RRB: leaving RequestResponseBean
    2009-12-16 15:02:00 Information MP: processing local module localejbs/CallSapAdapter
    2009-12-16 15:02:00 Information The application tries to send an XI message synchronously using connection File_http://sap.com/xi/XI/System.
    2009-12-16 15:02:00 Information Trying to put the message into the call queue.
    2009-12-16 15:02:00 Information Message successfully put into the queue.
    2009-12-16 15:02:00 Information The message was successfully retrieved from the call queue.
    2009-12-16 15:02:00 Information The message status was set to DLNG.
    2009-12-16 15:02:02 Error The message was successfully transmitted to endpoint com.sap.engine.interfaces.messaging.api.exception.MessagingException: Received HTTP response code 500 : Internal Server Error using connection File_http://sap.com/xi/XI/System.
    2009-12-16 15:02:02 Error The message status was set to FAIL.
    Now, the error is internal server error.What can I do about this?
    thanks a lot
    Ramya

  • Error: java.lang.NullPointerException  in BI Broadcasting

    I am having this issue when I am trying Email broadcasting form SAP BI Query and set the filter navigation for one of the characteristic value. Any Idea???
    When I execute the Information broadcasting it gives following message
    Error: java.lang.NullPointerException
    Thanks,
    Addy

    Hi Janine,
    The query works in Java Web and in BEx Excel analyzer. This query even works in the BI email broadcasting for different filter value for the same characteristic in the filter navigation tab setting in broadcasting.
    The same filter value works in Broadcasting when I am broadcasting the query as Excel attachment but does not work when I try to do a PDF report.
    The popup error message is this:
    Execution of Broadcast Setting
       Setting Z_ORD_PTYP_SM_INT_YN_WK were started from the BEx Broadcaster
            Processing for user USERID, language EN
              Processing setting Z_ORD_PTYP_SM_INT_YN_WK
                Error: java.lang.NullPointerException
    When I checked the log file here is the Java Log
    #1.5#0023AEFCB3200030000001F4000003D000047DAE57A2B7C0#1264087654806#com.sap.ip.bi.base.application.message.impl.MessageBase#sap.com/com.sap.prt.application.rfcframework#com.sap.ip.bi.base.application.message.impl.MessageBase#adadsena#13065##sap-bip_BIP_4188451##0a4b90f006a111dfad9f0023aefcb320#SAPEngine_Application_Thread[impl:3]_33##0#0#Error#1#/Applications/BI#Plain###A message was generated:
    ERROR
    Error while processing the control query
    Message: Error while processing the control query
    Stack trace: com.sap.ip.bi.broadcasting.runtime.BroadcastingException: Error while processing the control query
                    at com.sap.ip.bi.broadcasting.runtime.impl.precalculation.PrecPageAssembler.processControlQuery(PrecPageAssembler.java:559)
                    at com.sap.ip.bi.broadcasting.runtime.impl.precalculation.PrecPageAssembler.run(PrecPageAssembler.java:186)
                    at com.sap.ip.bi.broadcasting.runtime.impl.ProducerPrecalculation.produce(ProducerPrecalculation.java:409)
                    at com.sap.ip.bi.broadcasting.runtime.RfcListenerRSRD_X_PRODUCE.handleRequest(RfcListenerRSRD_X_PRODUCE.java:130)
                    at com.sap.ip.bi.portalrfc.dispatcher.services.BIServicesRfcDispatcherService.doHandleRequest(BIServicesRfcDispatcherService.java:239)
                    at com.sap.ip.bi.portalrfc.services.BIRfcService.handleRequest(BIRfcService.java:247)
                    at com.sapportals.portal.prt.service.rfc.RFCEngineService.handleEvent(RFCEngineService.java:345)
                    at com.sapportals.portal.prt.service.rfc.PRTRFCBean.processFunction(PRTRFCBean.java:37)
                    at com.sapportals.portal.prt.service.rfc.PRTRFCRemoteObjectImpl0_0.processFunction(PRTRFCRemoteObjectImpl0_0.java:118)
                    at sun.reflect.GeneratedMethodAccessor851.invoke(Unknown Source)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    at java.lang.reflect.Method.invoke(Method.java:324)
                    at com.sap.engine.services.ejb.session.stateless_sp5.ObjectStubProxyImpl.invoke(ObjectStubProxyImpl.java:187)
                    at $Proxy129.processFunction(Unknown Source)
                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
                    at java.lang.reflect.Method.invoke(Method.java:324)
                    at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.call(RFCDefaultRequestHandler.java:284)
                    at com.sap.engine.services.rfcengine.RFCDefaultRequestHandler.handleRequest(RFCDefaultRequestHandler.java:219)
                    at com.sap.engine.services.rfcengine.RFCJCOServer$J2EEApplicationRunnable.run(RFCJCOServer.java:254)
                    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
                    at java.security.AccessController.doPrivileged(Native Method)
                    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
                    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Caused by: com.sap.ip.bi.base.exception.BIBaseRuntimeException: EXPORT XFA exception when calling the PDF object after 180596 msec
                    at com.sap.ip.bi.export.xfa.impl.Document.writePxxToByte(Document.java:687)
                    at com.sap.ip.bi.export.xfa.impl.Document.writePdfToByte(Document.java:709)
                    at com.sap.ip.bi.export.xfa.impl.PDFConverter.getBinaryContent(PDFConverter.java:160)
                    at com.sap.ip.bi.export.impl.ExportController.getBinaryContent(ExportController.java:863)
                    at com.sap.ip.bi.export.controller.ExportResult.getExportResult(ExportResult.java:103)
                    at com.sap.ip.bi.export.controller.ExportResult.createExport(ExportResult.java:73)
                    at com.sap.ip.bi.webapplications.pageexport.broadcasterapi.PageExport.createExportResult(PageExport.java:212)
                    at com.sap.ip.bi.webapplications.pageexport.broadcasterapi.PageExport.getPdfForPage(PageExport.java:236)
                    at com.sap.ip.bi.webapplications.pageexport.broadcasterapi.PageExport.getExports(PageExport.java:253)
                    at com.sap.ip.bi.broadcasting.runtime.impl.precalculation.PrecPageAssembler.processPage(PrecPageAssembler.java:260)
                    at com.sap.ip.bi.broadcasting.runtime.impl.precalculation.PrecPageAssembler.processControlQuery(PrecPageAssembler.java:556)
                    ... 24 more
    Caused by: com.sap.tc.webdynpro.pdfobject.core.PDFObjectRuntimeException: Service call exception; nested exception is:
                    java.net.SocketTimeoutException: Read timed out
                    at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:408)
                    at com.sap.tc.webdynpro.pdfobject.core.PDFObject.createPDF(PDFObject.java:337)
                    at com.sap.ip.bi.export.xfa.impl.Document.writePxxToByte(Document.java:648)
                    ... 34 more
    Caused by: java.rmi.RemoteException: Service call exception; nested exception is:
                    java.net.SocketTimeoutException: Read timed out
                    at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:84)
                    at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:94)
                    at com.sap.tc.webdynpro.pdfobject.core.PDFObject.doSoapCall(PDFObject.java:385)
                    ... 36 more
    Caused by: java.net.SocketTimeoutException: Read timed out
                    at java.net.SocketInputStream.socketRead0(Native Method)
                    at java.net.SocketInputStream.read(SocketInputStream.java:129)
                    at java.io.BufferedInputStream.fill(BufferedInputStream.java:183)
                    at java.io.BufferedInputStream.read(BufferedInputStream.java:201)
                    at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.readLine(HTTPSocket.java:889)
                    at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.getInputStream(HTTPSocket.java:375)
                    at com.sap.engine.services.webservices.jaxm.soap.HTTPSocket.getResponseCode(HTTPSocket.java:284)
                    at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.HTTPTransport.getResponseCode(HTTPTransport.java:415)
                    at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.outputMessage(MimeHttpBinding.java:563)
                    at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1444)
                    at com.sap.tc.webdynpro.adsproxy.ConfigBindingStub.rpData(ConfigBindingStub.java:77)
                    ... 38 more
    com.sap.ip.bi.broadcasting.runtime.BroadcastingException ErrProcessControlQuery#
    #1.5#0023AEFCB320000E000000000000028800047DAECCE1F4B6#1264089621987#com.sap.security.core.persistence##com.sap.security.core.persistence.[cf=com.sap.security.core.persistence.datasource.imp.LDAPMasterCheck][md=checkAvailability][cl=57038]#######SAPEngine_System_Thread[impl:5]_67##0#0#Error##Plain###Main server available again#
    #1.5#0023AEFCB320000F000000000000028800047DAECCEB0B7D#1264089622581#com.sap.security.core.umap.imp.UserMappingUtils##com.sap.security.core.umap.imp.UserMappingUtils.getMasterSystem()#######SAPEngine_System_Thread[impl:5]_30##0#0#Error##Plain###Cannot provide the current ABAP master system because the responsible system landscape is currently not available.#
    #1.5#0023AEFCB3200010000000000000028800047DAECCF17BBE#1264089623003#com.sap.caf.um.metadata.imp.MetaDataTools##com.sap.caf.um.metadata.imp.MetaDataTools.MetaDataTools()#######SAPEngine_System_Thread[impl:5]_53##0#0#Info#1#/System/Server#Plain###sap.com caf/um/metadata/imp MAIN_APL70VAL_C 1528581#
    #1.5#0023AEFCB3200011000000010000028800047DAECCF2B562#1264089623081#com.sap.engine.services.security##com.sap.engine.services.security#######SAPEngine_System_Thread[impl:5]_99##0#0#Error#1#/System/Security#Plain###migrateSystemRole() {#
    #1.5#0023AEFCB3200011000000030000028800047DAECCF2C102#1264089623081#com.sap.engine.services.security##com.sap.engine.services.security#######SAPEngine_System_Thread[impl:5]_99##0#0#Error#1#/System/Security#Plain###migrateSystemRole() } OK#
    #1.5#0023AEFCB3200012000000000000028800047DAECCF4D943#1264089623222#com.sap.caf.um.relgroups.imp.persistence.DataSource##com.sap.caf.um.relgroups.imp.persistence.DataSource.DataSource()#######SAPEngine_System_Thread[impl:5]_15##0#0#Info#1#/System/Server#Plain###sap.com caf/um/relgroups/imp MAIN_APL70P19_C 2877021#
    #1.5#0023AEFCB3200013000000000000028800047DAECCF4E368#1264089623222#com.sap.tc.lm.ctc.confs.service.ServiceFrame##com.sap.tc.lm.ctc.confs.service.ServiceFrame#######SAPEngine_System_Thread[impl:5]_72##0#0#Info#1#/System/Server/CTC#Plain###Starting Configuration util service...#
    #1.5#0023AEFCB3200013000000010000028800047DAECCF617AD#1264089623300#com.sap.tc.lm.ctc.confs.service.ServiceFrame##com.sap.tc.lm.ctc.confs.service.ServiceFrame#######SAPEngine_System_Thread[impl:5]_72##0#0#Info#1#/System/Server/CTC#Plain###Configuration util service started successfully.#
    #1.5#0023AEFCB3200012000000010000028800047DAECCF9715F#1264089623519#com.sap.caf.um.relgroups.imp.principals.RelGroupFactory##com.sap.caf.um.relgroups.imp.principals.RelGroupFactory.RelGroupFactory()#######SAPEngine_System_Thread[impl:5]_15##0#0#Info#1#/System/Server#Plain###sap.com caf/um/relgroups/imp MAIN_APL70P19_C 2877021#
    #1.5#0023AEFCB3200014000000000000028800047DAECCFA84EF#1264089623597#com.sapportals.trex.tns.TNSClient##com.sapportals.trex.tns.TNSClient#######SAPEngine_System_Thread[impl:5]_34##0#0#Error##Plain###verifyNameServerAddress: NameServer = tcpip://<nameserverhost>:<nameserverport> caught exception: java.net.MalformedURLException: For input string: "<nameserverport>"#
    #1.5#0023AEFCB3200014000000010000028800047DAECCFA999F#1264089623597#com.sapportals.trex.tns.TNSClient##com.sapportals.trex.tns.TNSClient#######SAPEngine_System_Thread[impl:5]_34##0#0#Error##Plain###Invalid Entry for nameserver: tcpip://<nameserverhost>:<nameserverport> caught Exception: com.sapportals.trex.TrexException: TREX Name Server (including back-up servers) is down or not accessable.  (Errorcode 7217)#
    #1.5#0023AEFCB3200014000000020000028800047DAECCFAA3AE#1264089623597#com.sapportals.trex.tns.TNSClient##com.sapportals.trex.tns.TNSClient#######SAPEngine_System_Thread[impl:5]_34##0#0#Error##Plain###verifyNameServerAddress: NameServer = tcpip://<nameserverhost>:<nameserverport> caught exception: java.net.MalformedURLException: For input string: "<nameserverport>"#
    #1.5#0023AEFCB3200014000000030000028800047DAECCFAA48A#1264089623612#com.sapportals.trex.tns.TNSClient##com.sapportals.trex.tns.TNSClient#######SAPEngine_System_Thread[impl:5]_34##0#0#Error##Plain###Invalid Entry for nameserver: tcpip://<nameserverhost>:<nameserverport> caught Exception: com.sapportals.trex.TrexException: TREX Name Server (including back-up servers) is down or not accessable.  (Errorcode 7217)#
    #1.5#0023AEFCB3200015000000000000028800047DAECDDEEF82#1264089638566#System.err##System.err####n/a##1e36f46006a611dfa01a0023aefcb320#Thread[Thread-64,5,SAPEngine_System_Thread[impl:5]_Group]##0#0#Error##Plain###com.sap.security.core.server.userstore.UserstoreException: Could not get user dfrench
                    at com.sap.security.core.server.userstore.UserContextUME.engineGetUserInfo(UserContextUME.java:198)
                    at com.sap.engine.services.security.userstore.context.UserContext.getUserInfo(UserContext.java:102)
                    at com.sap.engine.services.security.server.AuthorizationContextImpl.getUserFromRole(AuthorizatiMessage: Error: java.lang.NullPointerException
    Stack trace: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Error: java.lang.NullPointerException
                    at com.sap.ip.bi.portalrfc.dispatcher.services.BIServicesRfcDispatcherService.doHandleRequest(BIServicesRfcDispatcherService.java:277)

Maybe you are looking for

  • Can't sync Reminders without iCloud?

    Really? For something as basic as Reminders (i.e. To-Do's) you are forced to use iCloud and can't sync through iTunes? Really?? I have no intention of ever using iCloud for any kind of Sync, and it seems just odd to me that it Reminders can't be sync

  • How can i get my ipad 2 to connect to my iomega network drive

    I am having difficulty connecting my ipad 2 to my iomega home media network drive using iomega link. it will not auto discover. please help. frustrated in oregon :-(

  • Windows 98 laptop

    I mistakenly added Windows XP to an old Hp N3390 Laptop.  My original disks are MIA.  I need to know which Windows 98 SE version I should repurchase to Make this computer operate again.  For its age, it is in good shape, but the hard drive is too sma

  • Garnishment Statistics report

    Hello All, Can anyone explain how to execute Garnishment Statistics report . I  would like to get the employees  numbers with name who have an active Garnishment . when i execute it, i just  get Personnel subarea  with number of employees who have an

  • Read-only root, initialising random seed fails

    I have moved my HTPC installation to an SDHC card, with read-only root and /home and /var mounted to tmpfs. it boots up just fine, Xbmc runs like it's supposed to, but "Initialising random seed reports [FAILED]". The bug report on things stopping a r