Strange problem in handling a notifier.

hi,
while trying to handling the a notifier named kAIDocumentWritePreprocessNotifier( AIDocumentation.h) ----
If I copied (ctrl + c ) the content of current ai document, regardless of pasting(ctrl +v ) and closing
the application (Ai)  without saving(ctrl +s) the document, It still executing  Notify( AINotifierMessage* message )  for 2 times.
It should not execute when I am closing document with saving.
However it is not the case when no copy command is done on document.
I have checked this notifier with SDK sample and I found same problem. I tried the following code --
///////Start//////
// Register the notifier
ASErr ProjectNamePlugin::AddNotifier(SPInterfaceMessage *message)
     ASErr result = kNoErr;
try {
     result = sAINotifier->AddNotifier(fPluginRef, " Notifier", kAIDocumentWritePreprocessNotifier, &fNotifyHandle);
     aisdk::check_ai_error(result);
catch (ai::Error& ex) {
     result = ex;
catch(...)
     result = kCantHappenErr;
   rreturn result;
//Respond to the notifier
SErr ProjectNamePlugin::Notify(AINotifierMessage* message)
     ASErr result = kNoErr;
try
     if (message->notifier == fNotifyHandle)
          sADMBasic->MessageAlert("inside Notifier");
          aisdk::check_ai_error(result);
catch (ai::Error& ex) {
     result = ex;
catch(...)
     result = kCantHappenErr;
return result;
///////End//////
plz help.....

Sorry, I'm a little unclear on what the problem is. I think you're saying that if you subscribe to the kAIDocumentWritePreprocessNotifier you receive it twice, but only if you use CTRL+C?
I did a little testing, and it looks like you're partially right. You do get the kAIDocumentWritePreprocessNotifier twice when you quit while a document is open, but I get that twice even if I just open a document and immediately quit. If I open a document and close it immediately, I don't get the notifier. If I open a document selection something in the document, hit CTRL+C and then close the document, I get the kAIDocumentWritePreprocessNotifier but only once.
Given the documentation on the notifier, it does seem like somethign wacky is going on. I'm not sure why its being sent. The notifierData that comes with the message doesn't seem to include the document handle (unlike other document related notifiers) so you can't use that. I think your best bet is to track other notifiers, like kAIMetadataSyncNotifier, which is sent before a save. If you don't see that, I think you're safe to ignore the kAIDocumentWritePreprocessNotifier.

Similar Messages

  • Problem in handling complex CSV file

    Hi,
    I am facing a strange problem in handling a complex CSV file.
    The content of the file is as follows. It is getting executed through an XSD and the target is a table.
    First time when the interface is executed ( for e.g session id - 19001) it is getting completed successfully.
    Now when making changes in the CSV file suppose adding ( for e.g.-
    DEPT,D05,Books,ABC Store
    CUST,C01,Sayantan,[email protected]
    CUST,C02,Shubham,[email protected])
    or deleting ( for e.g.-
    CUST,C02,Sarbajit,[email protected])
    and running the interface I am not getting the added D05 in the target table nor my C02 data is getting removed i.e.- the updated data in CSV file is not getting fetched and I am getting the same records as i got when i ran interface of session id 19001.
    I am not getting why it is happening??
    The CSV file used in session id -19001 is:
    DEPT,D01,Retail,World Mart
    CUST,C01,Anindya,[email protected]
    CUST,C02,Rashni,[email protected]
    DEPT,D02,Food,Food Bazar
    CUST,C01,Abhijit,[email protected]
    CUST,C02,Anirban,[email protected]
    CUST,C03,Sharmistha,[email protected]
    DEPT,D03,Water,SW
    CUST,C01,Nirmalya,[email protected]
    DEPT,D04,Clothes,City style
    CUST,C02,Sarbajit,[email protected]
    CUST,C03,Abhishek,[email protected]

    Here's what you can do to handle CSV files using HSQL.
    Say the CSV file contains order data. Each order record contains data about a particular order like order number, product code, quantity, ordered by, date etc. Now lets take a hypothetical requirement which says, the user needs to know how many orders were ordered per product.
    Option 1]  At the basic level, read the order file, parse each line and write the logic to get count of orders per product.
    Option 2] Load this CSV file into a database like MySQL and write database queries to get the orders per product.
    So where does this leave us? Have we run out of options? I am sure we would have tried & used the above two options . But I wanted a different approach. Following questions were lingering in my mind:
    1] Why can’t I write SQL queries against the CSV file itself. After all it’s like any RDBMS table.
    2] Why should I load the CSV file into some database before I query it?
    3] Why can’t I create a database table & attach the CSV file to it?
    Continue Reading Here: Handling CSV Files

  • Submitting a form with enter key causing strange problems

    I am having a very strange problem with a webapp I am currently developing. I am using JSF 1.2 along with Facelets and RichFaces. I have coded a workflow/wizard 4-step process, and on some pages I have 4 submit buttons that all call different actions on the page. The users thought it would be useful to have the enter key submit the form, so I followed some online resources to trap a keypress using javascript, looking for the enter keycode and calling document.getElementById("elementName").click(). This works fine most of the time. Sometimes, though, it seems as if an entire new session is being created, and odd behavior starts happening. For example, my page will only include 2 of the 4 facelets on the screen -or- I will get NullPointerExceptions for objects that I know have been created in the session bean I am currently using -or- I will get a duplicate form Id after trying to re-submit the page. Could the javascript click simulation not be submitting all of the form elements or is the enter key also acting like its default action (the form submission) in addition to the "click"? I'm really at my wit's end here (plus it's nearly 3 AM, that never helps things). All of the buttons being clicked are standard h:commandButtons. There is some setTimeout logic included to disable the buttons on the page to prevent double clicks (I cannot disable them onsubmit because disabled buttons don't pass the right values, perhaps that's causing it, but if so, clicking the buttons with the mouse would cause that issue too, right?)
    I am not posting the code (yet), but if anyone wants to take a look see and see if I am doing something really abhorrently wrong, I'm more than willing to, I'm just curious if anyone has had problems regarding javascript submission of forms via the click() method. Clicking the button does not exhibit this type of behavior. Just as a side note: I am doing different things with the enter key depending if a modal window is open (the enter key closes the modal if it's up, and if not, it submits the form via a button click).
    Any help is much appreciated, if anyone has any inkling about where I should start looking for answers it would be really helpful.
    Thank you.

    edfrost wrote:
    Could the javascript click simulation not be submitting all of the form elements or is the enter key also acting like its default action (the form submission) in addition to the "click"?My guess is the second of these. You need to suppress the event handling after programmatically clicking the button.

  • Strange problem with forms.  browser does not send syn

    We are having a strange problem and I hope someone can help (im
    stumped).
    setup
    I have a webserver (iplanet 4.1 sp8) running in secure mode. It has a
    weblogic nsapi plugin and forwards EVERYTHING over to an app server.
    The app server runs weblogic 4.5 sp10 and hosts both servlets and
    static html for an application we are developing.
    customers load a long form and are given the ability to upload several
    files, but upon pressing the submit button on the form (they must do
    each file individually) we get an error message that the page cannot
    be displayed.
    upon investigation, I look at a tcp trace and find that when the
    submit button is pressed, the browser sends an ack packet to the
    netscape server and it responds (correctly IMO) with a rst flag.
    Why doesn't the browser start communication with a syn/syn-ack/ack
    sequence? The form appears to have been completely loaded.
    To aggravate matters more, this problem does not always occur and
    clearing the browser's cache seems to aggravate it.
    I would appreciate ANY help that could be offered.
    sorry for the long post,
    -Chris
    Chris Regenye
    Supervisor Systems Services
    PR Newswire
    [email protected]

    In article <[email protected]>,
    Chris Regenye <[email protected]> wrote:
    Barry Margolin <[email protected]> wrote in message
    news:<vzdh7.8$5%1.649@burlma1-snr2>...
    In article <[email protected]>,
    Chris Regenye <[email protected]> wrote:
    We are having a strange problem and I hope someone can help (im
    stumped).
    setup
    I have a webserver (iplanet 4.1 sp8) running in secure mode. It has a
    weblogic nsapi plugin and forwards EVERYTHING over to an app server.
    The app server runs weblogic 4.5 sp10 and hosts both servlets and
    static html for an application we are developing.
    customers load a long form and are given the ability to upload several
    files, but upon pressing the submit button on the form (they must do
    each file individually) we get an error message that the page cannot
    be displayed.
    upon investigation, I look at a tcp trace and find that when the
    submit button is pressed, the browser sends an ack packet to the
    netscape server and it responds (correctly IMO) with a rst flag.
    Why doesn't the browser start communication with a syn/syn-ack/ack
    sequence? The form appears to have been completely loaded.It may be trying to reuse a persistent connection, as recommended in
    HTTP/1.1.Great, but the server obviously doesn't believe this is the case. Any
    idea how to correct this situation? also... as I mentioned this
    problem is intermittant(sp?). When it does not occur, tcp
    communications are normal.It sounds like the bug is in the browser. When it gets the RST, it should
    realize that the old connection has been dropped (even if a server
    implements persistent connections, like it should, it's allowed to close
    idle connections after a timeout or if it's running out of resources).
    When that happens it should automatically retry on a new connection.
    This might explain why the problem is intermittent. The browser is happy
    when the connection has remained open, but it doesn't handle the occasional
    cases where the server has closed the connection unexpectedly.
    Barry Margolin, [email protected]
    Genuity, Woburn, MA
    *** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
    Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.

  • Strange Problem with Web Object Manager

    Hi,
    I have a very strange problem with JDev.
    When I register a servlet with the Web Object Manager, it does not work (the web server does not find the servlet). This is not the end... If I exit JDev, re-open it and return to the Web Object Manager, instead of the Web Object Manager tree appears a tree labeled JTree with leaves labeled "colors", "sports" and "food"???
    No way to recover the Web Object Manager!
    I had to re-install JDev.
    Any ideas?
    Thanks
    -David

    Thanks but I don't understand. Here is wtgapp.xml:
    <?xml version = '1.0'?>
    <workspace>
    </workspace>
    Here is webtogo.ora:
    [WEBTOGO]
    USE_SYSTEM_CLASSPATH=YES
    DEBUG=YES
    [FILESYSTEM]
    ROOT_DIR=C:\
    TYPE=OS
    [MIMES]
    html=text/html
    xml=text/xml
    xsl=text/xml
    jsp=text/html;handler=oracle.jsp.JspServlet
    xsql=text/html;handler=oracle.xml.xsql.XSQLServlet
    [APPLICATIONS]
    xmlfile=.\wtgapp.xml
    [SERVLET_PARAMETERS]
    emit_debuginfo=true
    bypass_source=true
    jspcompiler=oracle.jdeveloper.jsp.JspOjcCompiler
    page_repository_root=C:\Program Files\Oracle\JDeveloper 3.1.1.2\myclasses\_pages
    after I added my servlet (which was named Servlet1). Where is the problem exactely.
    Thanks.
    -David
    In any case, is the fixed version available?
    null

  • Playing from a URL (Strange problem)

    Hello,
    I am having this strange problem where when i play a video with JMstudio it plays. however, when i try to play the same video from a url it some what loads and crashes while loading.
    Note: I am running a web application in my local server that contains a video. So, i am trying to run the video from this url for example: http://localhost:8080/test/video/sky.mpg
    Any help
    Thank you
    D

    Hi captfoos the strange thing is If i run the video file using the webserver URL then it crashes. However, if i play it by passing an explicit path it plays the video fine. I am just a beginner so don't know much about JMF capabilities.
    And this is what i get when running through webserver URL it crashes the JVM.
    # An unexpected error has been detected by Java Runtime Environment:
    #  EXCEPTION_ILLEGAL_INSTRUCTION (0xc000001d) at pc=0x0011f798, pid=5312, tid=6788
    # Java VM: Java HotSpot(TM) Client VM (11.3-b02 mixed mode, sharing windows-x86)
    # Problematic frame:
    # C  0x0011f798
    # If you would like to submit a bug report, please visit:
    #   http://java.sun.com/webapps/bugreport/crash.jsp
    # The crash happened outside the Java Virtual Machine in native code.
    # See problematic frame for where to report the bug.
    ---------------  T H R E A D  ---------------
    Current thread (0x05231400):  JavaThread "JMF thread: com.sun.media.amovie.AMController@13c5982[ com.sun.media.amovie.AMController@13c5982 ] ( realizeThread)" [_thread_in_native, id=6788, stack(0x05680000,0x056d0000)]
    siginfo: ExceptionCode=0xc000001d
    Registers:
    EAX=0x0011f704, EBX=0x0011f770, ECX=0x0011f990, EDX=0x7122f124
    ESP=0x056cf534, EBP=0x056cf5ac, ESI=0x04f96ab8, EDI=0x04a99650
    EIP=0x0011f798, EFLAGS=0x00010202
    Top of Stack: (sp=0x056cf534)
    0x056cf534:   04a91a74 0011f774 7122f124 04f96ab8
    0x056cf5a4:   04f80b68 d7552f7e 056cf5c4 71233c52
    Instructions: (pc=0x0011f798)
    0x0011f788:   00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
    0x0011f798:   ff ff ff ff ff ff ff 7f 00 00 00 00 00 00 f0 3f
    Stack: [0x05680000,0x056d0000],  sp=0x056cf534,  free space=317k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C  0x0011f798
    C  [quartz.dll+0x13c52]
    C  [jmam.dll+0x490d]
    C  [jmam.dll+0x4aba]
    C  [jmam.dll+0x488c]
    C  [quartz.dll+0x1bd47]
    C  [quartz.dll+0x1c40d]
    C  [quartz.dll+0x1c95d]
    C  [quartz.dll+0x1c822]
    C  [quartz.dll+0x4ebf0]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j  com.sun.media.amovie.ActiveMovie.openStream(ZZIJ)Z+0
    j  com.sun.media.amovie.ActiveMovie.<init>(Lcom/sun/media/amovie/AMController;Ljavax/media/protocol/PullSourceStream;ZJ)V+253
    j  com.sun.media.amovie.AMController.createActiveMovie(Ljavax/media/protocol/DataSource;)Lcom/sun/media/amovie/ActiveMovie;+263
    j  com.sun.media.amovie.AMController.doRealize()Z+66
    j  com.sun.media.RealizeWorkThread.process()Z+4
    j  com.sun.media.StateTransitionWorkThread.run()V+8
    v  ~StubRoutines::call_stub
    ---------------  P R O C E S S  ---------------
    Java Threads: ( => current thread )
      0x0526c800 JavaThread "Thread-3" [_thread_blocked, id=6864, stack(0x057e0000,0x05830000)]
      0x05250c00 JavaThread "JMF thread: SendEventQueue: com.sun.media.content.video.mpeg.Handler" [_thread_blocked, id=7720, stack(0x05420000,0x05470000)]
    Other Threads:
      0x02482800 VMThread [stack: 0x04590000,0x045e0000] [id=1976]
      0x024a2800 WatcherThread [stack: 0x04980000,0x049d0000] [id=6072]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation   total 960K, used 221K [0x245f0000, 0x246f0000, 0x24ad0000
      rw space 12288K,  53% used [0x2cdf0000, 0x2d45d300, 0x2d45d400, 0x2d9f0000)
    Dynamic libraries:
    0x00400000 - 0x00424000      C:\Program Files (x86)\Java\jre6\bin\javaw.exe
    .ll
    0x73e80000 - 0x73e87000      C:\Windows\system32\midimap.dll
    0x735a0000 - 0x735b3000      C:\Windows\system32\devenum.dll
    VM Arguments:
    jvm_args: -Dfile.encoding=Cp1252
    java_command: org.twc.dmr.MediaRenderer
    Launcher Type: SUN_STANDARDThanks again for helping me

  • I am facing a strange problem on new iphone 5 that I bought last week. The maps app and the places in photo gallery shows the pin and my location, however there is no information of locations. Tried to close the apps, phone restart, reset etc. Please help

    I am facing a strange problem on new iphone 5 that I bought last week. The maps app and the places in photo gallery shows the pin and my location, however there is no information of locations. Tried to close the apps, phone restart, reset etc. I am accessing it via strong wireless connection and it works fine on other devices. Please help.

    zapgrap wrote:
    there is no information of locations.
    Then no information exists.  Use the Report a Problem button within the app to report it.

  • I am having a strange problems on the Data entry Forms

    A form that has been used since 2005 in an old version of HFM 3.51 was migrated to SYstem 11.1.2.1 in January of 2012 and has been working since then. Suddenly we start having some strange problems. Our response time has been very slow and I am wondering if there were some problems in any of the services. Maybe a service did not start properly related to the WEB forms.
    We entered a number in one of the cell to be: 348336349 as soon as we hit enter, the number was formatted to 348,336,349 but when I submit the number it came back as 3. I tried it several times and it did not work, I checked the scaling and that was set blank. One of my user tried it and it did not work. I tried looking into the Preferences and my screen froze. In the meantime one of my user was able to enter the number and was able to refresh it as well. Then she enter another number on a different cell and the same problem occurred it seemed as if it truncated all the digits except for the left most digit, we are unable to figure out how to resolve this issue. The number entereed in the cell is 826,251,218 it stores 8 and loses the rest of the 8 digits. I right click and checlk the properties and it says that it has stored 8 instead of 826,251,218.
    Following is the DEF script. Does anyone has any ideas, I am wondering if I have to restart the services..
    ReportType=WebForm
    ReportLabel=Aging_Receivables
    ReportDescription=Aging Receivables
    Instructions=Please make sure you set up your point of view (POV) appropriately. Business Unit (BU): AG, CE and Other_BU. Brand: Case, NH and Other_Brand.
    BackgroundPOV=S#Actual.Y#2011.P#Jan.w#YTD.V#<Entity Currency>.I#[ICP None].C2#SERVICED.C3#GL_INPUT.C4#Input
    SelectablePOVList=S{[Hierarchy]}.Y{[Hierarchy]}.P{[Third Generation]}.E{[Hierarchy]}.C1{[Base]}.C2{[Hierarchy]}.C3{[Base]}.C4{GL.[Hierarchy]}
    C1=A#Current
    C2=A#0_To_30
    C3=A#Total_Current
    C4=A#31_To_60
    C5=A#61_To_90
    C6=A#91_To_120
    C7=A#121 Plus
    C8=A#Total_Past_Due
    C9=A#Total_Aging_Rec
    C10=A#Current_OffBook
    C11=A#Past_Due_OffBook
    C12=A#T_Aging_Rec_OffBook
    C13=A#Total_MP_Aging_Rec
    C14=A#Aging_Rec_Diff
    R1=C1#_Retail
    R2=C1#_Wholesale_Tot
    R3=C1#_Wholesale
    R4=C1#_Wholesale_Natl
    R5=C1#_Wholesale_Othr
    R6=C1#_Credit_Card
    R7=C1#_Specialized_Lending
    R8=C1#_Marine
    R9=C1#_Soris
    R10=C1#_Other
    R11=C1#_Material
    R12=C1#Sup_Product
    FormInputBoxLength=23
    PrintNumRowsPerPage=33
    PrintNumDataColsPerPage=8
    ShowLabels=False
    ShowDescriptions=True
    SuppressColHeaderRepeats=False
    Edited by: user8267293 on Aug 8, 2012 12:41 PM
    Edited by: user8267293 on Aug 8, 2012 12:43 PM

    Hi,
    Did you find a way to solve your problem ? We have exactly the same for one application and we are using the same version of HFM : 11.1.2.1.
    This problem is only about webforms. We can correctly input data through Data Grids or Client 32.
    Thank you in advance for your answer.

  • Computer slower and a few other strange problems since upgrading to SL

    Hi all,
    About a month ago, I upgraded my mid-2009 MBP to SL. I'm now on 10.6.1. Ever since the upgrade, my computer's been somewhat slower than it was when I ran Leopard (although many people I know say their machines are faster). I did restart several times at one point, and that seemed to speed it up, although it still experiences delays I didn't have before. I've also had a bunch of strange issues:
    1) Safari is most noticeably slow, especially when using something like Top Sites on Safari 4. I alleviated this problem somewhat by setting new tabs to open a blank window rather than Top Sites, but even so, Safari is generally slower, gives me 'pinwheels' often, and also is less stable.
    2) The other day, I restarted to find that all fonts except system fonts had been mysteriously deactivated. As a designer, I rely heavily on my many fonts, which I manage using Linotype FontExplorer.
    3) Today, I opened my computer up after having it sleeping in a backpack, and it had turned off. It was not out of battery; it had just turned off for no apparent reason.
    4) Judging by Activity Monitor, RAM is being used somewhat more heavily by the system, contrary to the advertisements of a 'lighter' footprint for SL as compared to Leopard. However, according to Activity Monitor (which I check frequently), the processor does not appear to be getting taxed any more heavily than under Leopard, which makes the sluggishness more inexplicable.
    5) Yesterday, I could not get my computer to recognize my Time Machine backup disc. After restarting, it worked, but this is a pain.
    I appreciate any advice I can get. Does anyone else have similar problems or solutions? Or is the general consensus that these are SL bugs that Apple will work out by about 10.6.4 or so?
    Thanks,
    Nathan
    Message was edited by: nateeanes

    I began this thread awhile ago, but the essence of it is that I had a number of strange problems, although mostly my computer was just slower, when upgrading from Leo to SL.
    I've now wiped my HD and re-installed SL. It seems faster, although there are still a few issues:
    1) iWork (Pages, Numbers) has very weird coloring. All the text looks light blue and/or cyan, and I can't fix it.
    2) Although initially Safari worked great, lately it's been going back to its habits of being slow and showing strange things like chopping up the 'Top Sites' view, i.e. rendering it in an off way.
    3) Adobe CS3 will not install properly. I get them loaded up, but when I try to launch a program, I get an error that says "licensing for this product has stopped working". I cannot get to the 'activate' page, even though I uninstalled and deactivated CS3.
    In the interest of full disclosure, I did restore my home account after clean installing SL-- maybe I should have brought the files over folder by folder rather than bringing back my whole home folder with its settings? I wonder if I accidentally brought over Adobe's FLEXnet folder too.
    Also, does anyone know if Adobe CS3 can cause these problems with Safari and other programs? It just seems that the whole machine was slower after installing CS3, even though I wasn't running the programs.
    Any help is appreciated.
    Nate

  • Strange problems on Macbook Pro over past year...

    I'm about to do an erase and install after having numerous strange problems on my mid 2009 17" Macbook Pro (Leopard) over the past year, some of which I have opened threads for on these forums.
    They are listed bellow to see if anyone wants to give their final two cents as to what is causing them. They may or might not be related.
    1) I recently found the "Unknown" user classifications at second from top in the user priveleges for the main Macintosh HD folder and "Local Work" – which is my main folder for work.
    http://discussions.apple.com/thread.jspa?threadID=2741617&tstart=0
    2) Last Summer I had some very strange login problems which were well documented in this very long winding thread here:
    http://discussions.apple.com/thread.jspa?threadID=2485199&tstart=0
    3) Can't access iTunes store due to this error code -54. Thread opened here:
    http://discussions.apple.com/thread.jspa?threadID=2653733&tstart=0
    4) Some proceses I've seen in the activity monitor that are possibly a little sketchy are as follows:
    - "netsessionmac1" ... Akamai playing about?
    - "TaskManagerDaemo" ... with "Root" user, ... sounds a bit vague and possible malware according to google?
    5) In Skype I get constant warnings of other computers trying to connect from Little Snitch and Virus Barrier. I get so many of them one after they other pausing skype that I can only use Skype with Little Snitch off. I can only use it late at night also as there seems to be more attempts being blocked in virus barrier during the day that I can't even get past the login:
    Some examples in screen grabs:
    http://oi56.tinypic.com/xkwwtf.jpg
    http://oi55.tinypic.com/2v2w941.jpg
    And other examples of the hundreds of different IP addresses I've had asking to access computer on some obscure 4 digit port:
    http://whatismyipaddress.com/ip/86.178.52.58
    http://whatismyipaddress.com/ip/94.168.76.16
    http://whatismyipaddress.com/ip/94.171.116.123
    http://whatismyipaddress.com/ip/92.235.196.125
    http://whatismyipaddress.com/ip/92.239.25.70
    http://whatismyipaddress.com/ip/192.168.0.1
    http://whatismyipaddress.com/ip/92.235.208.101
    http://whatismyipaddress.com/ip/92.236.252.132
    http://whatismyipaddress.com/ip/85.15.190.49
    ... etc
    6) I have to constantly open and close Mail after it hangs on sending. Says there is a connection problem on port 110 or whatever, but words fine as soon as I open again. This problem happens particularly when I want to send from my 2nd or 3rd POP or IMAP other than my normal one.
    7) Slow Safari/Firefox and internet.
    8) I got this strange warning about my IP changing recently when downloading a file:
    http://oi53.tinypic.com/2z4b77o.jpg
    9) My internet cuts out for large periods of time while the other PC desktop in my house works perfectly fine.
    Well, any last suggestions much appreciated. Many thanks.
    Message was edited by: Scottishengineer

    I suppose your expanding battery problem could have caused some or all of these problems, but most of them sound like software issues.
    If I were you I'd try a few things:
    1. boot from your snow leopard install disk and repair your startup disk with disk utility.
    2. repeat the repairs until no repairs are reported (the toilet paper principle).
    3. repair permissions again.
    4. if the problems persist, trash the preferences files for the misbehaving apps.
    5. if the problems persist, delete the misbehaving apps and reinstall them.
    6. it the shutoffs persist, try a PMU reset.
    7. a PRAM reset would probably be a good idea too.
    8. if none of that works, archive and reinstall.
    there is a freeware utility called applejack that will also do most of this.
    Details on all of these will be readily available with a google search.

  • Creative zen : vision M 30gb strange problem

    ,Creative zen : vision M 30gb strange problem. Hi people,
    My mp3 player is 2 and a half years old. A few months ago he didn't charge anymore. ?I thought i could repair it by buying a new battery and install him in my mp3.
    Afther a few ours of ?assembling it was ready for charging a thought..
    I used the usb charger and de sync adapter...
    the morning after, my mp3 is not charged and only showing me a little red stripe in de battery (right top) i can listen music but only for a few minutes...
    Also my PC does noet see my MP3
    tested on :
    windows xp service pack 3?
    vista?
    windows 7?
    please help me
    Stijn van Vilsteren?
    DUTCH?
    i am sorry for my pore english !

    Squipy wrote:
    Hi, I stopped using this MP3 for about 2 or so years because I bought a new one. I decided to start using it again and downloaded all the required software but as soon as I unplugged the MP3 from the power outlet, the player died. I can't get it to start up without plugging it into a power outlet. I think it has rechargable battery? Why didn't it recharge itself?
    My second enquiry is about the capacity of the player. When my player was empty, I went into "Information" and it said Total Space: 28GB and Free Space: 2GB. Why is free space only 2GB? Shouldn't it be 28 as well?
    Thanks in advance!
    The battery will only last about 3yrs regardless of use.You will need to change it. Did you scroll down to see the album,picture,track counts? Did you partition part of the dri've for removable storage. You can find instructions to open here ? http://www.youtube.com/watch?v=_Drkr...e=channel_page & ? the battery here(very easy to do) http://cgi.ebay.com/Original-Creative-ZEN-Vision-M-30gb-Battery-LPCS285385_W0QQitemZ400028645679QQcmdZViewItemQQpt ZOther_MP3_Player_Accessories?hash=item40002864567 9&_trksid=p39.c0.m4&_trkparms=72%3A205|66%3A4|65%3 A2|39%3A|240%3A38|30%3A0|293%3A|294%3A200

  • Short code causes a strange problem - About the list again -- please read!

    Hi again people. Maybe you remember my project - has a list, that you can search thru using a text field. During the work I got stuck on a strange problem ( Again :-( ) My app has one text field, one combo box, one list and a text field once more. The code should do the following ->
    *1. Load the list, no problem with that.*
    *2. Show the elements of the list, that match the selected group in the combo box,no problem.*
    *3. Search thru the list using the text field,no problem.*
    4. When the user selects an element from the list, it should display its info in the second text field. This also works fine, but when after looking at info of one of the elements the things on numbers 2 and 3 ( look up! ) stop working. I must say that everything works fine until user selects an element from the list. I couldnt understand this kind of behavior so I am asking you to help me please.
    The code is very simple:
    import javax.swing.*;
    import javax.swing.event.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.io.*;
    class the_window extends JFrame implements DocumentListener, ItemListener, ListSelectionListener {
        FileReader reader;
        String data_base[][];
        String first_pass[];
        int number_of_elements;
        DefaultListModel dflm = new DefaultListModel();
        JList list;
        JTextField text_field = new JTextField();
        JTextField info_field = new JTextField();
        String groups[] = {"1. group" , "2. group"};
        JComboBox groups_cmbx = new JComboBox(groups);
        the_window(){
            super("the Window!");
            JPanel panel = new JPanel(null);
            Container c = this.getContentPane();
            c.add(panel);
            text_field.setBounds(10,10,170,25);
            text_field.getDocument().addDocumentListener(this);
            panel.add(text_field);
            groups_cmbx.setBounds(10,45,170,25);
            groups_cmbx.addItemListener(this);
            panel.add(groups_cmbx);
            list = new JList(dflm);
            list.setBounds(10,90,170,190);
            list.setFixedCellHeight(20);
            list.addListSelectionListener(this);
            panel.add(list);
            info_field.setBounds(10,280,170,25);
            panel.add(info_field);
            load_the_base();
            refresh();
            this.setSize(190,350);
            this.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            this.setResizable(false);
            this.setVisible(true);
        public void itemStateChanged(ItemEvent e){
            refresh();
        public void valueChanged(ListSelectionEvent e){
            String str = (String) dflm.getElementAt(list.getSelectedIndex());
            int index = 0;
            for(int i = 0; i < number_of_elements; i++){
                if(str.equals(data_base[0])){
    index = i;
    break;
    info_field.setText(data_base[index][1]);
    private void load_the_base(){
    String data = "";
    try{
    reader = new FileReader("data.txt";);
    int r = 0;
    while((r = reader.read()) != -1){
    char c = (char) r;
    data += c;
    reader.close();
    }catch(IOException e){}
    first_pass = data.split(";");
    number_of_elements = first_pass.length;
    data_base = new String[number_of_elements][];
    for(int i = 0; i<number_of_elements; i++){
    data_base[i] = first_pass[i].split("#");
    private void refresh(){
    String search_str = text_field.getText();
    int selektovano = groups_cmbx.getSelectedIndex();
    dflm.clear();
    for(int i = 0; i < number_of_elements; i++){
    int grupa = Integer.parseInt(data_base[i][2]);
    if(grupa == selektovano){
    String at_the_moment = data_base[i][0]; // if you change this to String at_the_moment = data_base[i][1]; it works perfectly
    if(at_the_moment.startsWith(search_str)){
    dflm.addElement(at_the_moment);
    public void changedUpdate(DocumentEvent e){
    refresh();
    public void removeUpdate(DocumentEvent e){
    refresh();
    public void insertUpdate(DocumentEvent e){
    refresh();
    public class Main {
    public static void main(String[] args) {
    JFrame f = new the_window();
    Now, can you please tell me whats wrong with this?
    For the "data.txt" make a new text file using *notepad* and copy the following line into the document:
    _1. element#1. info#0;2. element#2. info#0;3. element#3. info#1;4. element#4. info#1;5. element#5. info#1;_                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    Darryl.Burke wrote:
    Keith, thanks for making that readable. So here's the diagnosis -
    In the refresh() method, calling defaultListModel.clear() results in a valueChanged(...) event in which this method calldefaultListModel.getElementAt(list.getSelectedIndex())results in the exception noted, as getSelectedIndex returns -1, the list being empty... you can't getElementAt(-1).
    I haven't analyzed all the code nor checked whether is now works as desired, but this small change to valueChanged counters the exception being thrown.   public void valueChanged(ListSelectionEvent e) {
    infoField.setText(""); // do this unconditionally
    if (list.getSelectedIndex() != -1) {
    String value = (String)defaultListModel.getElementAt(list.getSelectedIndex());
    for(int i = 0; i < numFields; i++){
    if(value.equals(matrix[0])){
    infoField.setText(matrix[i][1]);
    break;
    db
    Yea! You were right! I didnt think that calling *list_model.clear();* will result in calling *valueChanged()* ........
    That was some *clear()* thinking :-) Thank you!
    corlettk wrote:
    I cleaned up some variable & method names (tut tut), imports (very naighty), and some thread stuff... but it remains fundamentally the same codeIs it so important to "clean" the imports? How much does it slow down the loading time? Should I do this on all my projects, because they are all "very naighty"?
    ps. Thanks to all that gave some help to answering this strange question :-)                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Strange Problem in dynamically list population with record group

    Hello Room,
    I am dynamically populating a single list with 2 record groups. I am having a strange problem. All the code are written in 2 seperate buttons. The code of every button is given below.
    Button 1 code:-
    DECLARE
    rg_reports RECORDGROUP;
    rg_name VARCHAR2(40) := 'REPORTS';
    vTemp NUMBER;
    BEGIN
    -- Pls make sure Group doesn't already exist
    rg_reports := FIND_GROUP(rg_name);
    -- If it doesn't exist then create it and add ur query to it
    IF Id_Null (rg_reports) THEN
    rg_reports:=CREATE_GROUP_FROM_QUERY(rg_name , 'SELECT companyname,to_char(co) from companymaster order by companyname');
    end if;
    --Populate the Record Group
    vTemp:=POPULATE_GROUP(rg_reports);
    POPULATE_LIST('REPORTS.EXAMPLELIST', rg_name);
    Delete_Group( rg_reports );
    END;
    Button 2 Code:-
    DECLARE
    rg_reports RECORDGROUP;
    rg_name VARCHAR2(40) := 'REPORTS';
    vTemp NUMBER;
    BEGIN
    -- Pls make sure Group doesn't already exist
    rg_reports := FIND_GROUP(rg_name);
    -- If it doesn't exist then create it and add ur query to it
    IF Id_Null (rg_reports) THEN
    rg_reports:=CREATE_GROUP_FROM_QUERY(rg_name , 'SELECT accountname,to_char(co) from accountmaster order by accountname');
    end if;
    --Populate the Record Group
    vTemp:=POPULATE_GROUP(rg_reports);
    POPULATE_LIST('REPORTS.EXAMPLELIST', rg_name);
    Delete_Group( rg_reports );
    END;
    The code is same here only the sql is different in these 2 buttons. Now the problem point.
    when i press button 1, I get the list populated ok. when i try to click on the list item and keep the button pressed the list gets scrolled properly.
    when i press button 2 after that i get account names well populated in the same list item as well, but this time, when i keep the button pressed the list does not scroll below as in button 1. It does not even allow to select different item from the list of button 2 code.
    I tried to clear cache, cookies, exit browser everything and try to run the button 2 first, but still the problem in button 2 code.
    Following are my system details.
    windows 7 professional edition.
    Oracle database 11g on windows 7
    Oracle forms 10g patchset 10.1.2.0.2 on windows 7
    Browser Netscape Navigator with oracle jinitiator 1.3.1.22
    But this form is run by a client side html file where oracle forms 10g is not installed on windows xp. html file is just referring server url to run the module. The file is run on Netscape navigator browser with oracle jinitiator 1.3.1.22
    My question is that is this a bug ? if button 1 gets the list item scrolled, why is the problem with button 2 even though i press it first. Here I am deleting the record group also. after the code is over. Initially I thought this may be the character length problem so I took the maximum character length for that list item as given by the 2 columns in database.
    Why is the list scrolling not happening in button 2 but in button 1 with same codes on both ?
    Anybody please help me.

    The problem is the second query. I would guess that the TO_CHAR(co) is not unique for each account, but is the same for the accounts. And as the second item in the select-list is the listitems values, all your listitem-entries have the same value. therefore, of you select any entry, the list will always go the the first entry again.
    Adjust your query.

  • Problem about Handling of Empty Files in File Adapter

    Hello everyone,
    NetWeaver 2004s --- XI
    In Sender i have a File Adapter.
    Now i meet a problem about Handling of Empty Files. When i send empty file, but don't cerate a leer message.
    I have seen following text in help document. But in adapter configuration i can not find the correspond parameter.
    can you give me some tips?
    Thx in advance
    best regards
    Yaning
    SAP Help Document über File Adapter
    +Handling of Empty Files
    Specify how empty files (length 0 bytes) are to be handled.
    &#9675;       Do Not Create Message
    No XI messages are created from empty files.
    The files are processed according to the selected Processing Mode.
    For example, if the processing mode is Delete, empty files are deleted in the source directory.
    &#9675;       Process Empty Files
    XI messages are created with an empty main payload.
    The files are processed according to the selected Processing Mode.
    &#9675;       Skip Empty Files
    No XI messages are created from empty files.
    Empty files are skipped and remain in the source directory.+
    Help Docu

    hi,
    it's available since Sp19 for XI 3.0
    and the corresponding SPS fpr XI 7.0
    http://help.sap.com/saphelp_nw04/helpdata/en/44/f565854b7341e6e10000000a1553f6/frameset.htm
    so probably you need to install the new SP
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • Strange Problem in Oracle Forms.

    Hello,
    I have a strange problem of a form not opening in the migrated App Server but is working fine in the existing server.
    The problem is that we have now migrated to App Server 10.1.2.3.0 (patch applied to 10gR2 App Server installation) from 9.2.0.4.
    The issue is that the same form works perfectly fine in 9.2.0.4 but doesnt open up in the 10.1.2.3.0 server itself !
    The form is called using "new_form" procedure.
    I even cross checked by giving other form names; they work fine. But this set of forms (for which problem occurs) only doesnt open up.
    All the forms are compiled against 10.1.2.3 Compiler; All point to the same OLB and all of them have a common menu bar.
    Peculiar thing is WEBUTIL is working for all forms. Version is 1.0.6. No problems in WebUtil.
    Please help me making this sole out as we need to migrate this ASAP.
    Requesting one and all.
    Thanks.

    Solved it out..
    It was an error in frmwebutil.jar installation.
    Below is the link from Metalink:
    https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&id=421930.1
    Cheers !

Maybe you are looking for

  • Creating a CSV file from a pl/sql procedure

    Hi Everyone, I would like to know how to write a procedure in pl/sql where i need to check if they are any records in a table say "Table A". If they are any records in the "Table A" then we need to write those records in the "Table A" to the CSV file

  • Verifica carta - check paper

    Hi! I have a problem with my psc 1315. Sorry that I don't speak english ( I speak italian), I will tray to explain the problem: on my printer there is a light in "verifica carta" (check paper). The printer did not have problem with paper since now an

  • Training & EVent Managemnt - External Instructors Fee

    Hi I am implementing TEM and created External Instructor. I have maintain fees for External instructor in cost item. Now Instructor raises the bill for Training he conducted. Now How can we settel the instructors bill. I have created integration with

  • What's Up With Adobe Flash

    Can we now work with Flash on our Ipads

  • Are the ear pods in apple retail stores

    Are the ear pods in apple retail stores