Exceptionn handling in the constructor

The exception handling doesn't seem to be working. This constructor is designed to take numbers (double). When I try to enter a char or a string, the exception handling doesn't work. Does anyone know what I'm doing wrong?
try{
Circle c = new Circle('a', "hello", "what");
catch (Exception e){
System.out.println("invalid");
This is the error message that I get:
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
     The constructor Circle(char, String, String) is undefined
I just want it to print out the String "invalid" on the screen.

837443 wrote:
The exception handling doesn't seem to be working. .. No, it is the code compilation that is not working.
..This constructor is designed to take numbers (double). When I try to enter a char or a string, the exception handling doesn't work. Does anyone know what I'm doing wrong?Please use code tags as described on the 'sticky post' at the top of the forum thread listing.
try{
Circle c = new Circle('a', "hello", "what");
catch (Exception e){
System.out.println("invalid");<li> e.printStackTrace() is shorter and provides much more useful information than the code line above.
<li> Even if calling printlln, it should arguably done using the System.err stream
<li> When catching Exceptions, it is best practice to make them as specific as possible. For example, the constructor for new Circle might be expected to throw a FileNotFoundException occasionally depending on user input, but if it ends up throwing a NullPointerException that you never expected, that would indicate a program logic error.
This is the error message that I get:
Exception in thread "main" java.lang.Error: Unresolved compilation problem:
     The constructor Circle(char, String, String) is undefinedWhat do you think that means? It seems pretty clear to me. See http://java.syntaxerrors.info/index.php?title=Constructor_undefined for more details.
I just want it to print out the String "invalid" on the screen.Do that before/after dumping the stacktrace.

Similar Messages

  • Error handling in the InDesign SDK

    I've almost reached the first milestone on my InDesign project and before I move on I decided to do a code review. One thing that caught my attention are the InDesign smart pointers and how they are used in the SDK samples and some of the open source stuff.
    For example, here is some code from AppearancePlaceBehaviourUI.cpp in function GetCursor().
    InterfacePtr<IHierarchy>     sourceItem(const_cast<AppearancePlaceBehaviorUI*>(this), UseDefaultIID());
    InterfacePtr<IHierarchy>     parentItem(sourceItem->QueryParent());
    InterfacePtr<IPlaceBehavior> parentBehavior(parentItem, UseDefaultIID());
    if (parentBehavior == nil)
        InterfacePtr<IHierarchy> sourceContent(sourceItem->GetChildCount() ? sourceItem->QueryChild(0) : nil);
        if (sourceContent)
            InterfacePtr<IPlaceBehaviorUI> sourceBehaviorUI(sourceContent, UseDefaultIID());
            cursor = sourceBehaviorUI->GetCursor(globalLocation, modifiers);
    Although the code works under normal circumstances, it strikes me as unsafe code.
    sourceItem->QueryParent() is called without first checking that sourceItem is not a NULL pointer.
    Functions of the sourceItem object are used again (GetChildCount() and QueryChild()).
    The pointer sourceContent is checked before passing it to the constructor of sourceContent.
    Function GetCursor() is called without checking if sourceBehaviourUI is not NULL.
    For code tidiness pointers should really be tested against nil (i.e. if (ptrSomeObject != nil))
    It strikes me as being inconsistent and easy to break - unless that is some of these interfaces are guaranteed to return pointers, in which case is there documentation to state as much? What would happen in the case of an exception such as bad_alloc - are they guaranteed not to throw?
    I know that in some places (but not all), the samples use an "exception-style" approach of placing code blocks within a "do while(kFalse)" statement. They check for a NULL pointer and if they find one, break out of the "loop". This approach avoids deep nesting code.
    It would be great if Adobe gave a statement stating what their code base will do and won't do (i.e. exception safety). A few definative error handling examples for developers wouldn't go amiss either.

    Hi Dirk,
    Agreed - I also would like to see more real world source code that explains concepts. It would be good to see samples geared towards operations on a very small set of types (i.e. Libraries, Library Commands) with tutorials explaining what the sample is trying to demonstrate. For example:
    Library sample demostrates:
    How to open a library.
    How to close a library.
    How to add items via approach A.
    How to add items via approach B.
    How to remove an item from a library.
    How to remove an item from a library based on a specific criteria.
    How to remove all items from a library.
    Such samples would also demonstrate Adobe's idea of best practice - consistent code style, comments and error handling.
    As Helmut25 posts in his thread "Tutorial for plug-in programming?" it would be good to see more step by step tutorials that don't just do a copy and paste but also explain clearly what is being done and why. You want to get into an Adobe developers head, understand their view of the universe and then apply what you've learned in your own projects.
    Back onto error handling...
    I've spent many a year doing Win32 programming (via C-style API, not MFC), so I'm used to using GetLastError() to find out why a function failed. Never really had reason to use SetLastError() and by and large avoided it. I think any API has to state what will happen when things go wrong (Microsoft's Win32 documentation is very good at this) and consequently you know how to write your code to account for such things.
    One thing I like to do on standalone Win32/C/C++ applications is use a tool called AppVerifier, which allows you to throw various spanners into the works and see how your application copes. Shame there isn't something similar for testing plug-ins. I like to think that if InDesign crashes, it's not down to my code.
    Regards,
    APMABC

  • Catch exceptions that occur in the constructor of a managed bean

    Hello,
    I would like to catch exceptions that might occur in the constructor of a managed bean and redirect to an error page. My beans need to get data from a database and if the database is not accessible, an error page is to tell the user "try again later". I don't want to write an action or actionListener that is invoked by a button klick on the previous page to make error handling easier, because an actionListener should not know about the next page and what data the next page will need.
    I read all postings about this topic I could find in this forum. And there are three solutions I tried:
    1) register an error-page in web.xml
    Is there an example for using this in a JSF application? It did not work. I got a "Page not found" exception
    2) Use a phase listener. But how can a phase listener do this? Is there an example? I don't think it can do it in the beforePhase method because this method is called before the constructor of the managed bean is called.
    3) Use a custom ViewHandler. This is my renderView method which creates a "Page not found" Exception.
    public void renderView(FacesContext context, UIViewRoot viewToRender) throws IOException, FacesException {
    ViewHandler outer = context.getApplication().getViewHandler();
    try {
    super.renderView(context, viewToRender);
    } catch (Exception e) {
    context.getExternalContext().redirect("/error.jspx");
    Several people write they've done it one or the other way. Please share your knowledge with us !!
    Regards,
    Mareike

    Hallo Mareike,
    Maybe I should abandon managed beans, create my own
    "unmanaged" ones inside of an action listener and put
    them somewhere my pages can find them.
    Its a pity, because I like the concept of managed
    beans.sure setter injection of JSF is fine!
    well workaround could be using <h:dataTable rendered="#bean.dbAccessible" ...>
    In your constructor you catch the exception and set
    dbAccessible = false;
    or you use error pages of webcontainer,
    but the pages couldn't contain JSF components, IMHO
    only plain JSP files.
    BTW perhaps somebody on MyFaces' list knows the solution:
    http://incubator.apache.org/myfaces/community/mailinglists.html
    Regards,
    Mareike-Matthias

  • Hi, I don't know who to turn to: the person who handles all the compter stuff is out of town, This A.M.I started up Firefox and there was a message re an update, I thoght I new just to click on install and wait to re start Firefox. But what I can remember

    Hi, I don't know who to turn to: the person who handles all the compter stuff is out of town, This A.M.I started up Firefox and there was a message re an update, I thoght I new just to click on install and wait to re start Firefox. But what I can remember is that another window opened and asked me to choose 'something' (an icon or banner or?), I thought I must click something (I guess I should read all clearly). Firefox did update to 3.6.4, but it also inserted some sort of what might be called a banner? But it only partly covers the right one- half of my 3 toolbars at the top of the Firefox window. It can't be used for anything as it is just a mess of colors and unknowns, except what looks like a 'top' and what I recognize as a Firefox icon (but only partly visible)!! Now, what it does do is partly hide that whole portion of the toolbars and they are hard to read and in turn make this 'thing' impossible to figure out, if I would care to? I can't find anyway to remove it or use it?? But since the Firefox icon is on it, I guess you should know what it is and how to trash it. I am sorry for this occurrence caused my my carelessness, but I'm not much of a computer person ----HELP! Thank you for any help. Judi
    == This happened ==
    Every time Firefox opened
    == Today, Thrsday June 24, 2010

    The only thing I can imagine: it's a [https://addons.mozilla.org/en-US/firefox/personas/ Persona].
    Tools->Add-ons->Themes
    Here should be the persona (lightweight theme)
    and a button "Remove"
    Click it (button Remove), and it (Persona, this mix of colors) should go away instantly.
    Does it help you?

  • Crystal Report: irregular error not handled by the application component

    Hi all,
    The error message u201Cirregular error not handled by the application componentu201D comes up when I run any of the Crystal Report in the SAP Business One.
    But this error happens only in the client Machines, from the Server I can run the report normally.
    Thanks and Regards,
    Alberto Franç

    Hi,
    It seems installation and registration problem, have you tried to other client computers? Try to reinstall  the Crystal Report in client.
    Regards,
    Clint

  • How can I get the Airport Express to handle all the PPPoE stuff?

    Hi, I’m visiting my family in China, and now trying to help my dad, with his Airport Express and how to set up a PPPoE connection.
    We have currently set up the Airport Express in bridge mode (not distributing IP adresses and selecting DHCP under the Internet tab in admin utility). The Airport settings on our two computers is set up to connect using PPPoE using the given login name and password. (ps! we can not see the Base station in Airport Admin Utility when using these settings, we would have to select a new location from the Apple menu to see it and make condigurations.)
    What we want is to do, is to have the Airport Express connect to the ISP using a PPPoE connection and not through the computer.
    I know there is a 'Connect using PPPoE' option in Airport admin util, letting me input account name and password. If I select this setting instead of DHCP, enable distribution of IP addresses and configure my Airport card to NOT connect using PPPoE, I will see my base station in the Airport admin util with the IP address of 10.0.1.1 (or similar) and my computer will have x.x.x.2. Next to the Airport icon in the menubar, a scrolling message will say 'Looking for PPPoE host' without anything happen. I am sure my account name and password is correct as they've both worked when using this computer to connect to PPPoE (like now)
    How can I get the Airport Express to handle all the PPPoE stuff without using bridge mode?
    Ps! Both me and my dad have iPhones whom we can’t seem to get to connect unless its been distributed an IP address cause there's as fars as I know, no options of inputing a PPPoE user name and password.

    Any solutions to this? I'm in China also, in Beijing, trying to get my Airport Express to work with an ADSL modem.
    Direct ethernet cable connection to my Macbook works fine.
    When I configure the Airport Express with the ID and password that seems to be fine also – Airport Express shows a green light.
    But I cannot figure out the settings to connect wirelessly from my Macbook to the Airport Express. I get a constantly scolling message: "Looking for PPPoEhost..."
    thanks
    Paul

  • Calling static synchronized method in the constructor

    Is it ok to do so ?
    (calling a static synchronized method from the constructor of the same class)
    Please advise vis-a-vis pros and cons.
    regards,
    s.giri

    I would take a different take here. Sure you can do it but there are some ramifications from a best practices perspective. f you think of a class as a proper object, then making a method static or not is simple. the static variables and methods belong to the class while the non-static variables and methods belong to the instance.
    a method should be bound to the class (made static) if the method operates on the class's static variables (modifies the class's state). an instance object should not directly modify the state of the class.
    a method should be bound to the instance (made non-static) if it operates on the instance's (non-static) variables.
    you should not modify the state of the class object (the static variables) within the instance (non-static) method - rather, relegate that to the class's methods.
    although it is permitted, i do not access the static methods through an instance object. i only access static methods through the class object for clarity.
    and since the instance variables are not part of the class object itself, the language cannot and does not allow access to non-static variables and methods through the class object's methods.

  • How to find out which class invoked the constructor

    i wrote a class named DAOBase and i am creating object of the same in several other classes. So is there any way to know which class has invoked the constructor of DAOBase.
    i want to print out the name of the class that invoked the constructor of DAOBase at the time of constructor invocation...
    Is there any way?
    Please Help...

    Alternatively, use SecurityManager.getClassContext() as inclass CallerAndMain {
         public static void main(java.lang.String[] args) {
              System.out.println("I'm in " + new SecurityManager() { public String getClassName() { return getClassContext()[1].getName(); } }.getClassName() + " class");
              new Try();
    class Try {
         public Try() {
              System.out.println("I'm in " + new SecurityManager() { public String getClassName() { return getClassContext()[1].getName(); } }.getClassName() + " class");
              System.out.println("I was called from " + new SecurityManager() { public String getClassName() { return getClassContext()[2].getName(); } }.getClassName() + " class");
    }

  • "Message Rejection Handler" for the file/ftp adapter using fault policy

    Hi guys,
    We are trying to implement "Message Rejection Handler" for the file/ftp adapter using following fault policy configuration.
    Fault Policy:
    `````````````
    <?xml version='1.0' encoding='UTF-8'?>
    <faultPolicies xmlns="http://schemas.oracle.com/bpel/faultpolicy">
    <faultPolicy version="2.0.1" id="ProcessNameGenericPolicy"
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns="http://schemas.oracle.com/bpel/faultpolicy"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Conditions>
    <faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    name="bpelx:remoteFault">
    <condition>
    <action ref="ora-retry"/>
    </condition>
    </faultName>
    <faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    name="bpelx:bindingFault">
    <condition>
    <action ref="ora-rethrow-fault"/>
    </condition>
    </faultName>
    </Conditions>
    <Actions>
    <Action id="ora-retry">
    <retry>
    <retryCount>3</retryCount>
    <retryInterval>1</retryInterval>
    <retryFailureAction ref="ora-rethrow-fault"/>
    </retry>
    </Action>
    <Action id="ora-rethrow-fault">
    <rethrowFault/>
    </Action>
    <Action id="ora-human-intervention">
    <humanIntervention/>
    </Action>
    <Action id="ora-terminate">
    <abort/>
    </Action>
    </Actions>
    </faultPolicy>
    <faultPolicy version="2.0.1" id="ProcessNameHumanInterventionPolicy"
    xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
    xmlns:xs="http://www.w3.org/2001/XMLSchema"
    xmlns="http://schemas.oracle.com/bpel/faultpolicy"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <Conditions>
    <faultName xmlns:medns="http://schemas.oracle.com/mediator/faults"
    name="medns:mediatorFault">
    <condition>
    <test>contains($fault.mediatorErrorCode, "TYPE_TRANSIENT")</test>
    <action ref="ora-retry-with-intervention"/>
    </condition>
    </faultName>
    <faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    name="bpelx:remoteFault">
    <condition>
    <action ref="ora-retry-with-intervention"/>
    </condition>
    </faultName>
    <faultName xmlns:bpelx="http://schemas.oracle.com/bpel/extension"
    name="bpelx:bindingFault">
    <condition>
    <action ref="ora-rethrow-fault"/>
    <!--<action ref="ora-retry-with-intervention"/>-->
    </condition>
    </faultName>
    </Conditions>
    <Actions>
    <Action id="ora-retry-with-intervention">
    <retry>
    <retryCount>3</retryCount>
    <retryInterval>1</retryInterval>
    <retryFailureAction ref="ora-human-intervention"/>
    </retry>
    </Action>
    <Action id="ora-retry">
    <retry>
    <retryCount>3</retryCount>
    <retryInterval>1</retryInterval>
    <retryFailureAction ref="ora-rethrow-fault"/>
    </retry>
    </Action>
    <Action id="ora-rethrow-fault">
    <rethrowFault/>
    </Action>
    <Action id="ora-human-intervention">
    <humanIntervention/>
    </Action>
    <Action id="ora-terminate">
    <abort/>
    </Action>
    </Actions>
    </faultPolicy>
    <faultPolicy version="2.0.1" id="RejectedMessages">
    <Conditions> <!-- All the fault conditions are defined here -->
    <faultName xmlns:rjm="http://schemas.oracle.com/sca/rejectedmessages" name="rjm:PartnerLinkName">
    <!-- local part of fault name should be the service name-->
    <condition>
    <action ref="writeToFile"/> <!-- action to be taken, refer to Actions section for the details of the action -->
    </condition>
    </faultName>
    </Conditions>
    <Actions> <!-- All the actions are defined here -->
    <Action id="writeToFile">
    <fileAction>
    <location>Server/Loc/path</location>
    <fileName>Rejected_AJBFile_%ID%_%TIMESTAMP%.xml</fileName>
    </fileAction>
    </Action>
    </Actions>
    </faultPolicy>
    </faultPolicies>
    Fault Binding:
    ``````````````
    <?xml version='1.0' encoding='UTF-8'?>
    <faultPolicyBindings version="2.0.1"
    xmlns="http://schemas.oracle.com/bpel/faultpolicy"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <composite faultPolicy="ProcessNameGenericPolicy"/>
    <service faultPolicy="RejectedMessages">
    <name>PartnerLinkName</name>
    </service>
    <reference faultPolicy="RejectedMessages">
    <name>PartnerLinkName</name>
    </reference>
    </faultPolicyBindings>
    We have SyncFileRead partner link.
    The expectation is: when the message read by SyncFileRead partner link is rejected,
    that rejected message should come to particular directory in the server.
    Could you please help us fixing this.
    TIA.

    HI..
    Have a look at this blog :
    3) Error: HTTP_RESP_STATUS_CODE_NOT_OK 401 Unauthorized
    Description: The request requires user authentication
    Possible Tips:
    u2022 Check XIAPPLUSER is having this Role -SAP_XI_APPL_SERV_USER
    u2022 If the error is in XI Adapter, then your port entry should J2EE port 5<System no>
    u2022 If the error is in Adapter Engine
    u2013then have a look into SAP note- 821026, Delete the Adapter Engine cache in transaction SXI_CACHE Goto --> Cache.
    u2022 May be wrong password for user XIISUSER
    u2022 May be wrong password for user XIAFUSER
    u2013 for this Check the Exchange Profile and transaction SU01, try to reset the password -Restart the J2EE Engine to activate changes in the Exchange Profile After doing this, you can restart the message
    Http* Errors in XI
    Thanks,
    Pooja

  • Being specific in the Constructor, only when necessary

    Hello! I am new to Java. I have a few really simple question. I know this much so far:
    - Hiding is when a variable overrides another within a stronger (more inner) scope.
    - Hiding is not good convention since it may confuse readers of code.
    So I have this example. It's only part of an example, so it will only be the essential parts:
    package example;
    import java.awt.*;
    public class Application {
         * The options component for this Application.
        Component optWindow;
        public Application() {
            Window optWindow = new OptionWindow();
            optWindow.pack();
            this.optWindow = optWindow;
        public void showOptions() {
            optWindow.setVisible(true);
        @Override protected void finalize() throws Throwable {
            optWindow.setVisible(false);
            optWindow = null;
            super.finalize();
    class OptionWindow extends Frame {
        public OptionWindow() {
            super("Options:");
    }Anyway, I also know that optWindow in the constructor hides this.optWindow. But I'm not sure 100% why.
    My reasoning behind wanting to do this is that I don't think that the rest of the Application needs to know that optWindow is a Window other than in the constructor, so the Application Object should store it as just an abstract component. A sort of "type encapsulation and subclass separation".
    I believe that the reason why this is hiding is because optWindow refers to the "reference" of the OptionWindow object, not the object itself =) I understand that so far.
    But I believe it shouldn't because the this.optWindow does not refer to anything until after the constructor, so it shouldn't be hidden.
    I have a few solutions I know of:
    1) Drop the idea of storing optWindow as a Component in the Application Objects. Just store it as a window everywhere.
    2) Keep it this way anyway.
    3) Use a different variable name for the optWindow in the constructor.
    There are in the order that I'd rather do them in. I understand that option 1 is the best. Option 2 might potentially be okay. Option 3, I really do not like since it's giving two names or references to the same object and it would be annoying to come up with a new name for it. But I could come up with something simple like "window" if necessary inside of the constructor.
    My questions would be:
    1) Is this a good idea to make the window an abstract component outside of the constructor?
    2) Is this a "good" use of hiding; or does the rule always apply to avoid hiding?
    If Question 1 is true, I'd probably go with Option 1. If Question 1 is false, but Question 2 is true, I'll go with Option 2. If Question 1 is still false, but so is Question 2, I'll go with Option 3.
    Thank you very much in advanced! I really appreciate the help! =) And I look forward to asking more questions.
    Edit: I wrote that OptionWindow throw Frame instead of "extends Frame".
    Edited by: Macleod789 on Mar 30, 2010 2:24 PM

    Macleod789 wrote:
    Hello! I am new to Java. I have a few really simple question. I know this much so far:
    - Hiding is when a variable overrides another within a stronger (more inner) scope.
    - Hiding is not good convention since it may confuse readers of code.It's common and perfectly acceptable in some situations. Constructors and setters come to mind. If your code is well-written, it won't be at all confusing.
    >
    So I have this example. It's only part of an example, so it will only be the essential parts:
    package example;
    import java.awt.*;
    public class Application {
    * The options component for this Application.
    Component optWindow;
    public Application() {
    Window optWindow = new OptionWindow();
    optWindow.pack();
    this.optWindow = optWindow;
    public void showOptions() {
    optWindow.setVisible(true);
    @Override protected void finalize() throws Throwable {
    optWindow.setVisible(false);
    optWindow = null;
    super.finalize();
    class OptionWindow extends Frame {
    public OptionWindow() {
    super("Options:");
    }Anyway, I also know that optWindow in the constructor hides this.optWindow. But I'm not sure 100% why.Because the JLS defines that it does. Local variables always hide members of the same name. That's the rule the designers decided on.
    My reasoning behind wanting to do this is that I don't think that the rest of the Application needs to know that optWindow is a Window other than in the constructor, so the Application Object should store it as just an abstract component. A sort of "type encapsulation and subclass separation".\Huh? Reason behind doing what? Declaring the optWindow member as a Component rather than a Window? Well, yeah, if the rest of the Application class only cares that it's a Component and could do its job the same way if any other Component were used, then you're right--declaring it as a Component is the correct approach. But then it should not be named optWindow. And if the rest of the Application class doesn't need it to be a Window, then the c'tor has no reason to require that either.
    I believe that the reason why this is hiding is because optWindow refers to the "reference" of the OptionWindow object, not the object itself =) I understand that so far.Reference vs. object is an important distinction to understand. However, it has nothing to do with hiding. Hiding is just about identifier names, like variables. The fact that their values are references is irrelevant to the hiding rules.
    But I believe it shouldn't because the this.optWindow does not refer to anything until after the constructor, so it shouldn't be hidden.Show me the part of the JLS that says that hiding has do with whether the variable in question has been assigned or not.
    In some scopes, two distinct identifiers with the same name can exist. There has to be some rule about which one takes precedence when there's no qualification. It's simpler if it's consistent and it's always the local. If it weren't, then a) it would be inconsistent, which would be confusing, and b) we'd need a new keyword or other mechanism to explicitly indicate that we're talking about the local. Or else we simply wouldn't be able to access the local variable in those contexts, which would be pretty stupid, I'm sure you agree.
    I have a few solutions I know of:Solutions to what? What's the problem you're encountering?
    1) Drop the idea of storing optWindow as a Component in the Application Objects. Just store it as a window everywhere.I addressed that above, and it has nothing to do with hiding.
    2) Keep it this way anyway.So, a "solution" to whatever problem you're having is to do nothing and just keep having the "problem"?
    1) Is this a good idea to make the window an abstract component outside of the constructor?If it's Component in the member variable, it should be in the c'tor too. If the c'tor requires a Window, then it must be because the member has to be a Window.
    2) Is this a "good" use of hiding; or does the rule always apply to avoid hiding?It's very common and acceptable to have parameter names match member names where the parameter is being used to set the member.
    Edited by: jverd on Mar 30, 2010 2:49 PM
    Edited by: jverd on Mar 30, 2010 2:50 PM

  • Every time I download a PDF I get a message that says There was a RAISE without a handler. The application will now close. What does this mean?

    I work on a Power Mac G5 running OSX 10.5.8.
    We recently had to upgrade Java.
    Now every time I download a PDF I get the message "There was a RAISE without a handler. The application will now close."
    I downloads the PDF OK, but then Safari closes and I have to start it back up to get to my email.
    What is the message telling me? It did not do this before we upgraded Java.

    I'm having the same issue. Again, unfortunately. And of course you will find through various searches that it is a reoccurring issue, one that Adobe seems to have failed to acknowledge.
    You can delete your preference files. Same thing. RAISE blah blah crash.
    You can even go and do a restore from an uncorrupted backup from over 4 months ago, and yet it still doesn't solve the problem, thus there is a compatibility issue.
    The program is battling with another program (of which there really is no telling) and therefore crashing the moment you open it. The software itself is clean and uncorrupted, yet somewhere deep within OSX there is a problem that won't allow the software to open.
    The only temporary solution i've found to solve the problem is a clean adobe install. Just delete and uninstall all and any traces of Adobe Acrobat, then reinstall to find a working adobe product. For a small while, at least.
    I've never tried creating a new account, but from what others say it works. Not worth my time though.
    If anyone was wondering I have zero third party plugins. Its straight from Adobe CS4. Pro version.
    Someone above mentioned using the drop down menu in acrobat to reset the software. I can't even do that! The "RAISE" window pops up before that actual software! Its ridiculous!
    Its really quite peeving to know that this issue has been around for years and Adobe seems to just ignore it. I know I don't want to pay for a company that fails to meet their customers needs. This is your problem Adobe, not ours to deal with. Fix It.

  • Unable to get Window Handle for the 'AxCrystalActivXViewer' control.

    Hi,
    I have Operating System : Windows 7 and Application developed in VS 2005 and I am using Crystal Report XI licenced version.
    But when I am trying to use TTX(Field Defination) based reports it gives me "Unable to get Window Handle for the 'AxCrystalActivXViewer' control. Windowless ActivX Controls are not supported."
    Please provide me solution for this ASAP as I am stucked on this from long lomg time.
    -Regards
    Swapnil

    Appears you are installing an upgrade version.
    Use these links:
    http://downloads.businessobjects.com/akdlm/crystalreports/crxir2_sp4_full_bld_0-20008684.exe
    http://downloads.businessobjects.com/akdlm/crystalreports/CRYSTALREPORTS06_0-20008684.EXE

  • Event Handler on the selectedItem of a ComboBox?

    Can you run actionscript as an event handler using the "selectedItem" of a ComboBox?  I prefer to do this using the XML file, but at this point I'll entertain any ideas.
    Thanks.

    Here is what I did to get the ComboBox to act like a menu:
    <s:ComboBox 
    id="msDropDown"dataProvider="
    {dropDownListXML.lastResult.milestones.milestone}"x="
    10" y="10" width="240" chromeColor="
    #CCCCCC" color="#000000"labelField="
    name"change="msDropDown_changeHandler(event)"
    />
    /////////script section////////////
    <![CDATA[
     import spark.events.IndexChangeEvent; 
    protected function msDropDown_changeHandler(event:IndexChangeEvent):void{
    var dropDownSelection:int = msDropDown.selectedIndex; 
    if (dropDownSelection == 0){
    dropDownLoader.load(
    "lessons/EBS_new_Milestone1.swf");}
    ]]>
    I'll use the different index values to run various command - I'll probably convert to a SWITCH to handle 20 to 40 different index choices.

  • Exception Handling in the OBI EE 10.1.3.4

    Hi All,
    Is it possible to implement the exception handling in the OBI EE 10.1.3.4
    For Ex: Instead of displaying the below error, is it possible to display it in the meaningful way
    [nQSError: 10058] A general error has occurred. [nQSError: 27002] Near : Syntax error [nQSError: 26012] . (HY000)
    SQL Issued: SELECT SALES_FACT.SALES_AMOUNT, TIMESTAMPDIFF(SQL_TSI_DAY, TIMESTAMP ‘1900-01-01 12:00:00’, TIMESTAMP ‘1900-01-01 12:00:00’), TIME_DIM.BUSINESS_DATE FROM SALES
    Thanks in Advance
    Siva

    Hi Deepak,
    Thank you for responding to the query that i have raised.
    As you mentioned that ORA: errors will help in diagnosing the issue.
    Do you mean that it will help in diagnosing the issue at the BMM larey & Physical layer join conditions.
    Thanks in Advance
    Siva

  • Exception not handled by the Collaxa Cube system

    Hi!
    i have plsql procedure and i published it as a web service using JDev 10.1.3, web service is deployed on OC4J 10.1.3. When i call it directly, everything works fine. When i make a BPEL process jast wrapping this web service (receive, assign, invoke, assign, reply - that`s all) the web service is invoked fine without error, but then error appears in the bpel process:
    Exception not handled by the Collaxa Cube system. An unhandled exception has been thrown in the Collaxa Cube system. The exception reported is: "java.lang.NullPointerException at com.collaxa.cube.engine.delivery.DeliveryHelper.saveAttachments(DeliveryHelper.java:436) at com.collaxa.cube.ws.wsif.providers.axis.WSIFOperation_ApacheAxis.saveAttachments(WSIFOperation_ApacheAxis.java:3521) at com.collaxa.cube.ws.wsif.providers.axis.WSIFOperation_ApacheAxis.populateOutMsgParts(WSIFOperation_ApacheAxis.java:1403) at com.collaxa.cube.ws.wsif.providers.axis.WSIFOperation_ApacheAxis.buildResponseMessages(WSIFOperation_ApacheAxis.java:1303) at com.collaxa.cube.ws.wsif.providers.axis.WSIFOperation_ApacheAxis.invokeAXISRPCStyle(WSIFOperation_ApacheAxis.java:1815) at com.collaxa.cube.ws.wsif.providers.axis.WSIFOperation_ApacheAxis.invokeRequestResponseOperation(WSIFOperation_ApacheAxis.java:1613) at com.collaxa.cube.ws.wsif.providers.axis.WSIFOperation_ApacheAxis.executeRequestResponseOperation(WSIFOperation_ApacheAxis.java:1083) at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:452) at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:327) at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:189) at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:601) at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:317) at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:188) at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3408) at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1836) at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75) at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:166) at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:252) at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5438) at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1217) at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.createAndInvoke(CubeEngineBean.java:120) at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.syncCreateAndInvoke(CubeEngineBean.java:153) at ICubeEngineLocalBean_StatelessSessionBeanWrapper0.syncCreateAndInvoke(ICubeEngineLocalBean_StatelessSessionBeanWrapper0.java:486) at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequestAnyType(DeliveryHandler.java:520) at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequest(DeliveryHandler.java:435) at com.collaxa.cube.engine.delivery.DeliveryHandler.request(DeliveryHandler.java:132) at com.collaxa.cube.ejb.impl.DeliveryBean.request(DeliveryBean.java:101) at IDeliveryBean_StatelessSessionBeanWrapper22.request(IDeliveryBean_StatelessSessionBeanWrapper22.java:479) at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:120) at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:70) at _ngDoInitiate._jspService(_ngDoInitiate.java:289) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824) at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:121) at com.evermind.server.http.EvermindPageContext.include(EvermindPageContext.java:267) at _displayProcess._jspService(_displayProcess.java:792) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330) at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:222) at com.collaxa.cube.fe.DomainFilter.doFilter(DomainFilter.java:152) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186) at java.lang.Thread.run(Thread.java:534) ". Exception: java.lang.NullPointerException Handled As: com.collaxa.cube.CubeException
    i found similar problem calling axis web service, but this web service runs on OC4J ... any suggestions what to do?
    Thanks,
    Tomas

    User,
    I'd probably try the [url http://forums.oracle.com/forums/forum.jspa?forumID=212]BPEL Forum for this one.
    Regards,
    John

Maybe you are looking for