Unknown Source

I'm getting the following error at windowClosed event of a JDialog in an Applet. JDialog's setDefaultCloseOperation has been set to WindowConstants.DISPOSE_ON_CLOSE.
java.lang.NullPointerException
     at com.abc.adv.scheduler.applet.YearlyCalendarPanel.access$000(Unknown Source)
     at com.abc.adv.scheduler.applet.YearlyCalendarPanel$YearlyCalendarWindowListener.windowClosed(Unknown Source)
     at java.awt.Window.processWindowEvent(Unknown Source)
     at javax.swing.JDialog.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)
     at java.awt.EventDispatchThread.run(Unknown Source)
As far as I see, this is not affecting any functionality I have put in....but why is this 'Source Unknown' error?
Thanks in advance,

can u pls post the code here
might be have u registered window listener
and there in windowClosing event
u r processing or manipulating the reference of the window

Similar Messages

  • Getting Unknown Source Error While Deploying the Planning Application

    Hi,
    Getting following error while trying to Deploy Planning Application from BPMA
    Started Time : Tuesday, January 08, 2008 5:43:40 PM
    Submitted Time : Tuesday, January 08, 2008 5:43:40 PM
    Last Updated Time : Tuesday, January 08, 2008 5:44:32 PM
    User Name : hpadmin
    Process Name :
    Thread : 0
    Server : DimServer
    Detail : App Creation failed with Exceptionjava.lang.RuntimeException: Exception occurred while creating the application. Check log for details     at com.hyperion.planning.appdeploy.HspAppDefinition.deployAppFromXML(Unknown Source)     at com.hyperion.planning.appdeploy.HspAppDefinition.access$000(Unknown Source)     at com.hyperion.planning.appdeploy.HspAppDefinition$1.run(Unknown Source)

    Hi,
    I am getting the same error:-
    Started Time : Tuesday, February 26, 2008 4:14:31 PM
    Submitted Time : Tuesday, February 26, 2008 4:14:31 PM
    Last Updated Time : Tuesday, February 26, 2008 4:15:39 PM
    User Name : hpadmin
    Process Name :
    Thread : 0
    Server : DimServer
    Detail : App Creation failed with Exceptionjava.lang.RuntimeException: Exception occurred while creating the application. Check log for details     at com.hyperion.planning.appdeploy.HspAppDefinition.deployAppFromXML(Unknown Source)     at com.hyperion.planning.appdeploy.HspAppDefinition.access$000(Unknown Source)     at com.hyperion.planning.appdeploy.HspAppDefinition$1.run(Unknown Source)
    1---Have created new user for new App as well datasource
    2-Bounced the EPMA as well planning server but no avail.
    how I can I get detail log ? or if is it possible to tell me which directory to look into
    thanks in advance
    Sanjay

  • Windows cannot verify the digital signature for the drivers required for this device. A recent hardware or software change might have installed a file that is signed incorrectly or damaged, or that might be malicious software from an unknown source. (Code

    I get this message when I check the Device manager for my Ipod
    Windows cannot verify the digital signature for the drivers required for this device. A recent hardware or software change might have installed a file that is signed incorrectly or damaged, or that might be malicious software from an unknown source. (Code 52)
    How do I resolve this I have reinstalled iTunes but it still doesn't recognise my ipod

    I reinstalled Itunes a couple of times.  I unistalled all programs that I never use, I updated all of my drivers, Windows swept my computer and found no problems.  I have a yellow causion lite when I look at the USB-port with the phone connected.  All other devices work without a problem.

  • In the middle of my last update it stopped updating in the because of an unknown source, and now my screen on my iphone is frozen with the apple logo and a loading bar. Help??

    in the middle of my last update it stopped updating in the because of an unknown source, and now my screen on my iphone is frozen with the apple logo and a loading bar. Help??

    Unknown "source"?  Do you mean unknown "error" followed by a number?
    http://support.apple.com/kb/TS3221
    Follow the instructions in the article.  When you connect your phone again, you may have to press both the home and sleep/wake buttons until the Apple logo reappears, then continue pressing the home button until iTunes detects the phone in recovery mode.

  • RMI: Unknown source problem with connection & security

    When I try to run the RMI server code, after I have granted all permissions in my policy, after compiling through RMIC generating my stub and skeleton classes, and finally after running the RMI registry, I receive an error. The error that I have been getting is pasted below. I have searched through several java forums trying to find an answer and have not found one. If you recognized this error, please let me know if you have suggestions. Thanks.
    TestRmiServer exception: access denied (java.net.SocketPermission 192.168.0.152:
    1099 connect,resolve) //note: I'm using the default RMI port
    java.security.AccessControlException: access denied (java.net.SocketPermission 1
    92.168.0.152:1099 connect,resolve)
    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.checkConnect(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.rmi.transport.proxy.RMIDirectSocketFactory.createSocket(Unknown S
    ource)
    at sun.rmi.transport.proxy.RMIMasterSocketFactory.createSocket(Unknown S
    ource)
    at sun.rmi.transport.tcp.TCPEndpoint.newSocket(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.newCall(Unknown Source)
    at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source)
    at java.rmi.Naming.rebind(Unknown Source)
    at irad.nmi.services.util.testRmi.TestRmiServer.main(TestRmiServer.java:
    64)
    Anyway, a response would be welcome. Thanks.

    look at thread :
    http://forum.java.sun.com/thread.jspa?threadID=597299&tstart=0
    most likely you did not specify the -Djava.security.policy property properly.

  • Replace Unknown Source in EcmaError (JSR223) with actual file name

    Hopefully someone here knows how to do this:
    In my code, all of the scripts are contained in .js files. Whenever one of the scripts contains an error, I get this:
    javax.script.ScriptException: sun.org.mozilla.javascript.internal.EcmaError: ReferenceError: "nonexistant" is not defined. (<Unknown source>#5) in <Unknown source> at line number 5
    What bugs me is the <Unknown Source>. Multiple files are in one ScriptContext, and it can be hard to track down an error. It also looks horrible.
    Is there a way to replace <Unknown Source> with the actual file name? None of the methods I see support passing a File object, so I'm really confused here.
    Cross posted (and unanswered) at:
    http://stackoverflow.com/questions/2885120/replace-unknown-source-in-java-rhino-jsr223-with-actual-file-name
    http://www.javaprogrammingforums.com/exceptions/4465-replace-unknown-source-ecmaerror-jsr223-actual-file-name.html
    http://groups.google.com/group/mozilla.dev.tech.js-engine.rhino
    http://mozilla-xp.com/mozilla.dev.tech.js-engine.rhino/Replace-Unknown-Source-with-Script-file-name

    You may need to set compile debug option set to true.
    I am not sure if my tip is useful for you, anyway good luck.

  • NullPointerException (Unknown Source) in Serializable class

    Hi, I have a Serializable class, and I just added a new class variable to it, with its get and set methods. When I try to call either the get or the set method from outside the class, I get a NullPointerException, which refers to the method in the following format:
    java.lang.NullPointerException
    at setMethod (Unknown Source)
    or at getMethod (Unknown Source)I'm very confused about why this is happening, and I can't seem to come up with any solutions as to why it happens only for this variable and not for the other ones.
    I wrote the two following files, trying to reproduce this problem outside work, but I wasn't successful. Please help out!
    import java.io.Serializable;
    public class Profile implements Serializable {
         private static final long serialVersionUID = 1835312781905234523L;
        private String name;
        private String phone;
        private String city;
        private int age;
        public Profile() {}
        public Profile(String name, String phone, String city, int age)
             this.name = name;
             this.phone = phone;
             this.city = city;
             this.age = age;
        public String getName()
             return name;
        public void setName(String name)
             this.name = name;
        public String getPhone()
             return phone;
        public void setPhone(String phone)
             this.phone = phone;
        public String getCity()
             return city;
        public void setCity(String city)
             this.city = city;
        public int getAge()
             return age;
        public void setAge(int age)
             this.age = age;
    public class ProfileTester {
        Profile profile;
         public ProfileTester()
             profile = new Profile();
             profile.setName("Nazli");
             profile.setPhone("650-234-1234");
             profile.setCity("Menlo Park, CA");
             profile.setAge(30);
             System.out.println("Name: "+profile.getName());
             System.out.println("Phone: "+profile.getPhone());
             System.out.println("City: "+profile.getCity());
             System.out.println("Age: "+profile.getAge());
         public static void main (String [] args)
              ProfileTester tester = new ProfileTester();
    }

    My guess is that your get or set method is a little more complex than a simple retrieval or assignment.
    Make sure there are no null references in the body of those methods.

  • Getting a java.awt.Window.pack(unknown source) error

    Hello,
    This is the exact error stack:
    ERROR: 10:48:21,503 - TcLogger$IC_PrintStream.println:?
    java.lang.NullPointerException
    java.lang.NullPointerException
         at com.teamcenter.rac.util.PropertyLayout.askRowPreferredSize(Unknown Source)
         at com.teamcenter.rac.util.PropertyLayout.preferredLayoutSize(Unknown Source)
         at com.teamcenter.rac.util.PropertyLayout.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.validate(Unknown Source)
         at java.awt.Window.pack(Unknown Source)
         at com.honda.ergo.pergo.ProcErgoJDialog.createProcErgoDialog(ProcErgoJDialog.java:789)
         at com.honda.ergo.pergo.ProcErgoJDialog.<init>(ProcErgoJDialog.java:328)
         at com.honda.cme.actions.ErgoAssessmentAppAction.run(ErgoAssessmentAppAction.java:139)
         at java.lang.Thread.run(Unknown Source)
    I'm sure it has something to do with the PropertyLayout (Layout Manager) that I'm using but I don't know what. It works fine on one system but does not work or another.
    Thanks,

    dumas9 wrote:
         at java.awt.Window.pack(Unknown Source)
         at com.honda.ergo.pergo.ProcErgoJDialog.createProcErgoDialog(ProcErgoJDialog.java:789)
         at com.honda.ergo.pergo.ProcErgoJDialog.<init>(ProcErgoJDialog.java:328)
         at com.honda.cme.actions.ErgoAssessmentAppAction.run(ErgoAssessmentAppAction.java:139)
         at java.lang.Thread.run(Unknown Source)It looks like you're not running the Swing GUI on the EDT and since your problem is intermittent it's a likely cause of the problem. Search on "java swing concurrency tutorial" for more information.

  • Sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

    Hi Avi,
    Refer the earlier message below::
    Now I have OC4J version 9.0.2.
    The JDK version is Java(TM) 2 SDK, Standard Edition Version 1.3.1
    OS : Solaris
    I am trying to deploy the "How-To" example from the otn sample examples for JSP. It's a implementation of simple iterator tag. When I try to access the JSp page which has the taglib, it gives me the following error.
    Can u tell me what this error is ????
    500 Internal Server Error
    OracleJSP:
    JSP Error:
    Request URI:/iterate/iterateSample.jsp
    Exception:
    java.lang.NullPointerException
         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at oracle.jsp.parse.JspUtils.loadClassJDK(JspUtils.java:219)
         at oracle.jsp.parse.JspUtils.loadClass(JspUtils.java:209)
         at oracle.jsp.parse.JspRTTag.(JspRTTag.java:102)
         at oracle.jsp.parse.JspParseState.createTagParser(JspParseState.java:410)
         at oracle.jsp.parse.JspParseTag.parseNextTag(JspParseTag.java:538)
         at oracle.jsp.parse.JspParseTagFile.parse(JspParseTagFile.java:160)
         at oracle.jsp.parse.OracleJsp2Java.transform(OracleJsp2Java.java:40)
         at oracle.jsp.runtimev2.JspPageCompiler.attemptCompilePage(JspPageCompiler.java:295)
         at oracle.jsp.runtimev2.JspPageCompiler.compilePage(JspPageCompiler.java:181)
         at oracle.jsp.runtimev2.JspPageInfo.compileAndLoad(JspPageInfo.java:338)
         at oracle.jsp.runtimev2.JspPageTable.compileAndServe(JspPageTable.java:481)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:255)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:407)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:330)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:696)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:281)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:243)
         at com.evermind.util.ThreadPoolThread.run(ThreadPoolThread.java:64)
    Hi,
    I developed a component using struts framework and deployed it in TOMCAT. It works fine. Now I am trying to deploy it in OC4J. I get the following error when I try to access the JSP. Can anybody tell me what this error is and how to resolve it?
    java.lang.NullPointerException
    at java.lang.String.startsWith(Compiled Code)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.TagLibraryStorage.getTagLibContext(Compiled Code)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.HttpServer.getTagLibContext(Compiled Code)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.HttpApplication.getTagLibContext(Compiled Code)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.JSPPageCompilation.addTagLibTag(Compiled Code)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.JSPPageCompilation.compile(Compiled Code)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.JSPPage.compile(Compiled Code)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.HttpApplication.getJSP(Compiled Code)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.HttpApplication.serviceJSP(Compiled Code)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.JSPServlet.service(Compiled Code)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(Compiled Code)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(Compiled Code)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.HttpRequestHandler.processRequest(Compiled Code)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].server.http.HttpRequestHandler.run(Compiled Code)
    at com.evermind[Oracle9iAS (1.0.2.2.1) Containers for J2EE].util.ThreadPoolThread.run(Compiled Code)
    With Regards
    Amit Kapoor
    Title : re:OC4J Null Pointer Exception O/S : Solaris POST: REPLY (W/QUOTE)
    Author : Amit Kapoor Type : Statement
    Date : Jul 25, 2002 03:26 PT
    The version of the OC4J is 1.0.2.2.1
    Title : re:OC4J Null Pointer Exception O/S : Solaris POST: REPLY (W/QUOTE)
    Author : Avi Abrami Type : Question
    Date : Jul 25, 2002 03:31 PT
    Hi Amit,
    For starters, you are using an old version (1.0.2.2.1) of OC4J.
    You can download newer versions from this web page:
    http://technet.oracle.com/tech/java/oc4j/content.html
    That page also has links to documentation, "how-to" documents and
    sample code. Note that you also need to use compatible versions
    of java.
    Personally, I am using OC4J version 9.0.2.0.0 on SUN Solaris 7
    with JDK 1.3.1 (also from SUN).
    Also, (and if you don't already know about them) the following web
    sites may also be useful to you:
    http://www.orionserver.com
    http://www.orionsupport.com
    http://www.atlassian.com
    http://www.elephantwalker.com
    Good Luck,
    Avi.

    Sorry Amit,
    I have absolutely no idea. However, have you tried these other two
    forums:
    Technologies > Java > Java Server Pages (JSP)
    http://forums.oracle.com/forums/forum.jsp?id=399160
    Technologies > Other > Sample Code
    http://forums.oracle.com/forums/forum.jsp?id=428078
    Hope it helps.
    Good Luck,
    Avi.

  • Crystal Reports "Unknown Source" Stack Trace after report generation

    Getting java.lang.NullPointerException with Crystal ReportViewer.W(UnKnown Source)  stack trace... 
    java.lang.NullPointerException
    at com.crystaldecisions.report.web.viewer.CrystalReportViewer.goto(Unknown Source)
    at com.crystaldecisions.report.web.ServerControl.a(Unknown Source)
    at com.crystaldecisions.report.web.ServerControl.processHttpRequest(Unknown Source)
    at jsp_servlet._crystalviewer.__viewer._jspService(__viewer.java:105)
    We are running in to this issue only after the report is generated and during performing a search or navigating to different page...
    Any help to resolve this will be greately appriciated....
    Thanks
    ND

    The ODBC datasource must be configured as a System datasource.  The database was configured as a User datasource so it was only visible on the local computer.  That's why Business Views Manager could access the database.

  • Help w..TransformerFactoryConfigurationError:  newInstance(Unknown Source)

    When I tried this servlet example apache-tomcat-5.5.17 using java version "1.5.0_07"
    javax.servlet.ServletException: Servlet execution threw an exception
    root cause
    javax.xml.transform.TransformerFactoryConfigurationError: Provider org.apache.xalan.processor.TransformerFactoryImpl not found
         javax.xml.transform.TransformerFactory.newInstance(Unknown Source)
         XML2HTMLServlet.openFile(XML2HTMLServlet.java:31)
         XML2HTMLServlet.doGet(XML2HTMLServlet.java:19)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    // XML2HTMLServlet.java
    //http://forum.java.sun.com/thread.jspa?forumID=34&threadID=260273
    import java.io.*;
    import java.util.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.xml.transform.*;
    import javax.xml.transform.dom.*;
    import javax.xml.parsers.*;
    import org.w3c.dom.*;
    import org.xml.sax.*;
    public class XML2HTMLServlet extends HttpServlet {
    public void doGet(HttpServletRequest request, HttpServletResponse response)
    throws IOException, ServletException {
    response.setContentType("text/html");
    PrintWriter writer = response.getWriter();
    try {
    openFile("file:/apps/tomcat/apache-tomcat-5.5.17/webapps/xml/financials.xml", "file:/apps/tomcat/apache-tomcat-5.5.17/webapps/xml/financials.xsl", writer);
    } catch (Exception e) {
    e.printStackTrace(writer);
    private void openFile(String xmlPath, String xslPath, PrintWriter writer)
    throws IOException, ParserConfigurationException, SAXException,
    TransformerConfigurationException, TransformerException {
    File xmlFile = new File(xmlPath);
    File xslFile = new File(xslPath);
    TransformerFactory tFact = TransformerFactory.newInstance();
    DocumentBuilderFactory dbFact = DocumentBuilderFactory.newInstance();
    DocumentBuilder builder = dbFact.newDocumentBuilder();
    Document xmlDoc = builder.parse(xmlFile);
    Document xslDoc = builder.parse(xslFile);
    Node xmlDocNode = (Node)xmlDoc;
    Node xslDocNode = (Node)xslDoc;
    DOMSource xmlSrc = new DOMSource(xmlDocNode);
    DOMSource xslSrc = new DOMSource(xslDocNode);
    DOMResult htmlResult = new DOMResult();
    Transformer transformer = tFact.newTransformer(xslSrc); // the exception occurs here!
    }

    Setting the proerty work now , I get no display, just a
    When I tried this servlet example
    apache-tomcat-5.5.17 using java version "1.5.0_07"
    javax.servlet.ServletException: Servlet execution
    threw an exception
    root cause
    javax.xml.transform.TransformerFactoryConfigurationErr
    or: Provider
    org.apache.xalan.processor.TransformerFactoryImpl not
    found
         javax.xml.transform.TransformerFactory.newInstance(Un
    known Source)
         XML2HTMLServlet.openFile(XML2HTMLServlet.java:31)
         XML2HTMLServlet.doGet(XML2HTMLServlet.java:19)
         javax.servlet.http.HttpServlet.service(HttpServlet.ja
    va:689)
         javax.servlet.http.HttpServlet.service(HttpServlet.ja
    va:802)
    // XML2HTMLServlet.java
    //http://forum.java.sun.com/thread.jspa?forumID=34&thr
    eadID=260273
    import java.io.*;
    import java.util.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import javax.xml.transform.*;
    import javax.xml.transform.dom.*;
    import javax.xml.parsers.*;
    import org.w3c.dom.*;
    import org.xml.sax.*;
    public class XML2HTMLServlet extends HttpServlet {
    System.setProperty("javax.xml.transform.TransformerFactory", "com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl");
    public void doGet(HttpServletRequest request,
    HttpServletResponse response)
    throws IOException, ServletException {
    response.setContentType("text/html");
    PrintWriter writer = response.getWriter();
    try {
    penFile("file:/apps/tomcat/apache-tomcat-5.5.17/webapp
    s/xml/financials.xml",
    "file:/apps/tomcat/apache-tomcat-5.5.17/webapps/xml/fi
    nancials.xsl", writer);
    } catch (Exception e) {
    e.printStackTrace(writer);
    private void openFile(String xmlPath, String
    xslPath, PrintWriter writer)
    throws IOException,
    ParserConfigurationException, SAXException,
    TransformerConfigurationException,
    TransformerException {
    File xmlFile = new File(xmlPath);
    File xslFile = new File(xslPath);
    TransformerFactory tFact =
    TransformerFactory.newInstance();
    DocumentBuilderFactory dbFact =
    DocumentBuilderFactory.newInstance();
    DocumentBuilder builder =
    dbFact.newDocumentBuilder();
    Document xmlDoc =
    builder.parse(xmlFile);
    Document xslDoc =
    builder.parse(xslFile);
    Node xmlDocNode = (Node)xmlDoc;
    Node xslDocNode = (Node)xslDoc;
    DOMSource xmlSrc = new
    DOMSource(xmlDocNode);
    DOMSource xslSrc = new
    DOMSource(xslDocNode);
    DOMResult htmlResult = new
    DOMResult();
    Transformer transformer =
    tFact.newTransformer(xslSrc); // the exception
    occurs here!

  • Unknown source in stack trace

    I've deployed my app onto iWS 6.0, when an Exception is thrown, the stack trace is displayed but it doesnt supply the line numbers where the exception occurred. Instead it says Unknown Source. how can I fix this, or get round this problem?

    Check if your IDE is adding -g:none to the javac command line. If so, tell it to stop.

  • Getting  "unknown source" when creating new applicatoin

    Hi,
    Any idea why am I getting an error message "unknown source" everytime I create a new application?
    The past two days I reran "Configure Database " , “Deploy to App Server” , “Product Instance Registration”, "Data Source Configure" , create new application using new Product instance and new Configure Data Source, but still am getting the message "unknown source" . I attch the Planning Tomcat log. I don't see that error when I start Planning.
    Have you seen that error before?
    in cpp-Created Application:PLAN2 1051414
    java.lang.NullPointerException
    at com.hyperion.planning.HspJSHomeImpl.setProductInstanceInfo *(Unknown Source)*   at com.hyperion.planning.HspManageApplication.deleteDataSourceFromHpPiXm
    l(Unknown Source)
    at com.hyperion.planning.HspManageApplication.createApp*(Unknown Source)*
    at com.hyperion.planning.appdeploy.HspManageAppSession.createApplication
    +(Unknown Source)+
    at HspCreateApp.Handle(Unknown Source)
    at HspCreateApp.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:237)
    Edited by: user643332 on Apr 15, 2009 9:06 AM

    Solution:
    Need to set the parameter Use_CustomerExit_ParameterProvider of the portal service com.sap.portal.appintegrator to TRUE and then restart it.
    Roy

  • Cannot connect to oracle db with - ensureMemberAccess(Unknown Source) error

    Hi there!
    i'm trying to run a simple applet to check connection with the oracle db:
    import java.sql.*;
    import oracle.jdbc.driver.*;
    class JDBCVersion
    public static void main (String args [])
    throws SQLException
    // Load the Oracle JDBC driver
    DriverManager.registerDriver
    (new oracle.jdbc.driver.OracleDriver());
    System.out.println("registered!");
    Connection conn = DriverManager.getConnection
    ("jdbc:oracle:thin:@host:1521:sid","user","pass");
    // Create Oracle DatabaseMetaData object
    DatabaseMetaData meta = conn.getMetaData ();
    // gets driver info:
    System.out.println("JDBC driver version is " + meta.getDriverVersion());
    I'm not getting any errors during the compilation and my CLASSPATH is ok pointing to the ojdbc14.jar file, i'm running j2sdk1.2.4_12 and the error
    when I'm trying to load applet is:
    java.lang.IllegalAccessException: Class com.opera.PluginPanel can not access a member of class JDBCVersion with modifiers ""
         at sun.reflect.Reflection.ensureMemberAccess(Unknown Source)
         at java.lang.Class.newInstance0(Unknown Source)
         at java.lang.Class.newInstance(Unknown Source)
         at com.opera.PluginPanel.run(PluginPanel.java:406)
         at java.lang.Thread.run(Unknown Source)
    What is wrong???
    Any help would be very appreciable...
    Thanx.

    thank you for your valuable reply, but could you add
    some more additional information?Since I don't write applets and don't know anything additional, no.
    You might try posting your question in a forum that deals with applets and/or the Java security model. Or maybe if you wait long enough, someone who knows both JDBC and applet security will happen along and decide to answer your question.

  • Threading - Iterator.nextEntry(Unknown Source) - ValueIterator.next(Unknown

    Hi,
    I have a swing application, in which I am using two threads. One thread, is the "main", and the other, takes care of every update to the UI. My program works fine for a few seconds, but then I get a weird error which breaks my UI update thread. The error itself is:
    Exception in thread "Thread-2" java.util.ConcurrentModificationException
         at java.util.HashMap$HashIterator.nextEntry(Unknown Source)
         at java.util.HashMap$ValueIterator.next(Unknown Source)
         at DrawFrame$allthread.run(DrawFrame.java:400)
         at java.lang.Thread.run(Unknown Source)
    Which leads me to believe that the two threads are messing each other up. Lets take a look at some code.
    This is the class which is created about 3 times a second, based upon when the user wants it to be.
    class shooting { // this class is inside of the "allthread" class which implements Runnable
              private Point p;
              private Dimension size;
              private int deltaY;
              private int wtr;
              private boolean destroy = false;
              Rectangle recs = new Rectangle(); // This may have a factor
              private shooting(Point p, Dimension size, Color color, int deltaY) {
                   this.wtr = 0 - size.height;
                   this.p = p;
                   this.size = size;
                   this.deltaY = deltaY;
                   recs.x = p.x;
                   recs.y = p.y;
                   recs.width = size.width;
                   recs.height = size.height;
                   rectangles.put(shotnumber, recs); // This may have a big factor as well (this goes into a hashmap)
                   shotnumber++;
              public void paint(Graphics g) { // this part has a factor I believe
                   if (g.getColor() != Color.red){
                   g.setColor(Color.red);
                   g.fillRect(recs.x, recs.y, recs.width, recs.height);
              So how I display this class on the UI, is like this:
              public void painters(Graphics g){
              for (allthread.shooting shot : shots) {
                   shot.paint(g);
              }The painters method is called from my "public void paintComponent(Graphics g) {}", which I think updates when the computer thinks it needs to.
    So I'm not exactly sure why its breaking, perhaps someone can tell from the error which I have listed at the top. I think one thread is trying to do something, which another thread is trying to do something at the same time to the same part of the code. That might not be it, but thats the best I have come up with in a week of confused droning about over this crazy madness.
    Thanks for reading,
    Nate
    P.S. Thanks for the help, all questions will be answered in under 3 minutes - I'm right here watching this post until it is answered. Please ask any questions that you might have in order for me to provide you with information that I may have left out.

    [Check this out.|http://java.sun.com/j2se/1.4.2/docs/api/java/util/Collections.html#synchronizedMap(java.util.Map)]
    I don't know if you'd consider throwing an exception as breaking... but check this out too.

  • Delta_avi_delta ......unknown source problem...

    When i try to put in the lines that you posted on the forum, i manage to compile but when i actually read from the serial port, error occurs....The error is
    java.lang.NullPointerException
    at java.io.ByteArrayOutputStream.writeto(Unknown source)
    at Read.serialEvent(Read.java:99)
    import javax.comm.*;
    import java.io.*;
    import java.util.*;
    public class Read implements Runnable, SerialPortEventListener {
         // Attributes for Serial Communication
         static Enumeration portList;
         static CommPortIdentifier portId;
         SerialPort serialPort;
         static OutputStream outputStream;
         InputStream inputStream;
         Thread readThread;
         ByteArrayOutputStream buffer;
         public static void main(String s[])
         portList=CommPortIdentifier.getPortIdentifiers();
         while(portList.hasMoreElements())
              portId=(CommPortIdentifier)portList.nextElement();
              if(portId.getPortType()==CommPortIdentifier.PORT_SERIAL)
                   if(portId.getName().equals("COM1"))
                        System.out.println( portId.getName());
                        Read ss=new Read();
              }     // end of while
    }          // end of main
    public Read()     {
    try{
              serialPort=(SerialPort)portId.open("Read", 2000);
    catch(PortInUseException e)     {}
         try{
              inputStream=serialPort.getInputStream();
              System.out.println(inputStream);
    catch(IOException e)     {}
         try{
              serialPort.addEventListener(this);
    catch(Exception e)     {}
              serialPort.notifyOnDataAvailable(true);
         try{
              serialPort.setSerialPortParams(9600,
              SerialPort.DATABITS_8,
              SerialPort.STOPBITS_1,
              SerialPort.PARITY_NONE);
              }catch(UnsupportedCommOperationException e)     {}
              readThread=new Thread(this);
              readThread.start();
         }//end of constructor
         public void run()
              try     {
                   Thread.sleep(200);
              }catch(InterruptedException e)     {}
         public void serialEvent(SerialPortEvent event)
         {buffer=new ByteArrayOutputStream();
           int i;
               switch(event.getEventType())
                    case SerialPortEvent.BI:
                    case SerialPortEvent.OE:
                    case SerialPortEvent.FE:
                    case SerialPortEvent.PE:
                    case SerialPortEvent.CD:
                    case SerialPortEvent.CTS:
                    case SerialPortEvent.DSR:
                    case SerialPortEvent.RI:
                    case SerialPortEvent.OUTPUT_BUFFER_EMPTY:
                    break;
                    case SerialPortEvent.DATA_AVAILABLE:
                    byte[]readBuffer=new byte[8];
                   try{
                        while((i=inputStream.available())>0)
                             inputStream.read(readBuffer, 0, i);
                             buffer.write(readBuffer, 0, i);
                             buffer.writeTo(outputStream);
                             buffer.reset();
                        }catch(IOException e)     {}
                   break;
                   }     // end of switch
                   try     {
                        inputStream.close();
                        }catch(Exception e5)     {}
         }          // end of serialEvent

    Hey I_ws,
    glad I could be some help!
    Other poster is right, you need some particular outputstream to output to, say you're outputting to a text file, (I can't remember your original post, but other outputs are similar)
    you'd do something like:
    DataOutputStream out;
    //initialise with constructor...
             try{
                  out = new DataOutputStream(
                      new FileOutputStream("log.txt"));
             }catch (FileNotFoundException e) {}
    // creating a new data output stream to
    //write data to the specified underlying FileOutputStream...
    //output part:
    inputStream.read(readBuffer, 0, i);   
    buffer.write(readBuffer, 0, i);
    buffer.writeTo(out);
    buffer.reset();
    [\code]
    hope that helps (and hope it runs!)  I'm reading over my pathetic resume to counteract the ego boost of seeing my handle as a thread subject!
    take care :)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for

  • Blank Error Occurs when trying to Open PDF in Explorer 9

    We have a WIndows 7 machine with Internet Explorer 9 and Acrobat X, whenever we try to open a PDF on a website, an error is returned with no error message just an ! in a circle then nothing after you click Ok. How do we fix this?

  • SQL XML Document format - Sequence of excecution for the sentences

    Hi, I am using XML SQL Document format to send actions to an Oracle database. My concern is this:  I need to insert several invoice header lines then after that I need to insert the Invoice position lines and then, at the end, i need to excecute an s

  • How to develop a Chart from Actions button of an Interactive Report ???????

    Hi I am trying to implement a chart from Actions button of an Interactive Report through frond end. I am getting the Flash Security error for this. I know we have to change the HOST variable for this. But i am not sure where exactly I do this. For a

  • Java Importer in Forms 6i

    Hi I am trying to get a class in JavaImporter/form6i list which I have created. I tried as follows , Could you plz correct me wherever I went wrong. have created a java file named : HelloWorld.java as ======================================= package o

  • I have installed 10.8.5 and now am unable to login....neither safe mode or normal mode

    Hi I have updated 10.8.5 and my laptop restarted - then I get stuck in the login screen. I could see my account icon and sleep/restart/shut down buttons on the screen but nothing works. What I could do is to press the power key and force it shut down