Weird error using a scrollpane

Hi there,
I'm trying to make a map distance calculator for my assignment. I have a custom Jpanel where the map ( a GIF or JPEG) gets drawn in paintComponent using :
          g2.drawImage(MAP, 0, 0, this); //MAP is an Image
Now the custom Jpanel (PaintPanel) is viewed from a scrollpane, since diffrenet maps have different size.
Up until now, i had my program set up so a default pic that i specified gets loaded at start-up, then if i opened a new one from the File Menu it gets loaded into the custom JPanel and setViewportView is called on the scrollpane to update the view. Everything was working like a charm up until the point where i wanted to put a blank panel as the startup state (ie you have to chose File > open to load a map).
So in my constructor i changed the line where i set the viewportView to :
          setViewportView(blank);
where blank is a panel with grey background.
this is the code that runs in the actionperfromed when i click on the open button:
if (fc.showOpenDialog(this) == JFileChooser.APPROVE_OPTION)
{     File f = fc.getSelectedFile();
     String filename = f.getAbsolutePath();
     image = Toolkit.getDefaultToolkit().createImage(filename);
     getPicSize(image); //sets two variables w,h, to the image's width and height
     inkPanel.setImage(image); //changes the map to "image", then calls paintComponent
     inkPanel.setPreferredSize(new Dimension(w,h));
          inkPanel.revalidate();
          inkPanel.repaint();
For the record, actionperformed calls setImage on the PaintPanel, setImage calls paintComponent on the paintPanel and paintComponent calls super.paintComponent (those are the 3 lines related to MyFrame in the error log below)
so now, the program starts-up with the grey panel. However when i try to open a new file nothing happens (ie scrollpane still shows the blank panel), and i get the following error:
java.lang.Exception: Stack trace
at java.lang.Thread.dumpStack(Thread.java:1064)
at javax.swing.SwingGraphics.createSwingGraphics(SwingGraphics.java:147)
at javax.swing.JComponent.paintComponent(JComponent.java:539)
at MyFrame$PaintPanel.paintComponent(a3.java:683)
at MyFrame$PaintPanel.setImage(a3.java:677)
at MyFrame.actionPerformed(a3.java:401)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:17
86)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Abstra
ctButton.java:1839)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258
at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1
113)
at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseRelease
d(BasicMenuItemUI.java:943)
at java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
java.lang.NullPointerException
at javax.swing.JComponent.paintComponent(JComponent.java:544)
at DemoMouseInkFrame$PaintPanel.paintComponent(a3.java:683)
at DemoMouseInkFrame$PaintPanel.setImage(a3.java:677)
at DemoMouseInkFrame.actionPerformed(a3.java:401)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:17
86)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Abstra
ctButton.java:1839)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258
at javax.swing.AbstractButton.doClick(AbstractButton.java:289)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1
113)
at javax.swing.plaf.basic.BasicMenuItemUI$MouseInputHandler.mouseRelease
d(BasicMenuItemUI.java:943)
...it continues but i think this is enough
Any thoughts? as i have no idea what seems to be wrong
Sorry for being so lengthy but i wanted to make sure to explain the situation in detail.
Thank you

Hello,
Have you considered adding your image to a JLabel instead? That way, you won't have to bother at all about overriding paint methods or even calling drawImage yourself.
File f = fc.getSelectedFile();
String filename = f.getAbsolutePath();
image = Toolkit.getDefaultToolkit().createImage(filename);
myScrollPane.setViewportView(new JLabel(new ImageIcon(image));

Similar Messages

  • Weird Error using WebService

    Hi Experts,
    I'm getting a weird error when I am using SoapUI. It is saying readTimeOut error. But when I am checking in RWB Message Monitoring, it is saying that the message is successfully delivered (both request and response). I was however, unable to retrieve the response message. The previous threads in SDN regarding readTimeOut says that the request/response failed. In my case, both are successful.Any ideas?
    Regards,

    Hi Mark,
    Try the cache refresh with the link:
    http://host:j2eeport/CPACache/refresh?mode=full
    http://host:j2eeport/CPACache/monitor.jsp
    - In Integration Repository/Directory go to menu Environment -> Clear SLD Data Cache
    - In R/3 go to transaction SXI_CACHE -> menu XI Runtime Cache -> Start Complete Cache Refresh
    Regards,
    Caio Cagnani

  • Using Site Content and Structure unable to move documents,pages and getting weird error message

    Hi ,
    earlier we are moving a page ,document from one site to another sub site with in the Site Collection.
    Now,we are getting a un-readable format error.
    After selecting the destination we are getting the error.
    and the file can't move.
    What might me be the error.
    Expecting answers related to my question.
    1.As we can do using Internet Explorer,
    2. Using Send To also we can move.
    Using this Site Content and structure we can maintain Versoining also.
    If any one face the same issue then we can easily find out the solution.
    Regards ,
    Prathap 
    SP Developer
    Specify the destination to move the items you selected.

    Hi,
    Using Site Content and Structure unable to move documents,pages and getting weird error message
    We are getting Below error:
    When Moving Document items from one site to another site in the same site collection using Site content and structure(But it's working in same site,we can move documents from one library to another library)
    1576|/wEWwwECuLLErw0Cy+nFYwK84baBAgK6zNqsAgLs0Le0BQK1s8uaCAL5qrm3CAKk7K6pDwKo9a0GArm+xr4NApKe9KUKAoajpK4CAqqU/2sChJXBtAIC052rYQKS+LTPAgLe+7uQAwLO0re/BwLgoaw2AojAlIMOApSO4JoNAuvW7MoKAojz2P4OAuOMt9EGAv/ns1wC64qI7gEC0LymmAcCro3lnQkCj7viwAsC8Met9QEC3a/DHALg4ZO6AQKAn8ebCALvr72DAwKm/NGmAgKN4aayCQLmmczsCgL+46qSAQKH7paCDgLouOHjDwKGuNCBCQKwuob2CQKP78n3BwLQ7vSYCALxlcvIBALRuajXAwK6/vr4AwKx8YasCQLti5igAQKay7JZAta625IFAuTy6rUKAvnC7eQKApvB3ugPAoTBua8BAoyajvgMAsGdloEJAvH+2KECAua7k9AGAv3Lzd8HAtPD3ocOAuX7hM4GAqO1g9sIAtn65sgFAuDkr9QEAt7I1KkMAryhltsIAtizx/kBAvzS7IcBAr+YhK4PAsO3rtADAvea+sADAsvc4IgKAp/1vIoMApelp3ICl+PqiwwC/KX1gwUC3fv58gIC7ZG/pwIC4cnupQgCq7mdlgYCjciR+AwC8/ue4gkC4YWJywUCs+rviAECpuyJigECkfr5rgkC08rHoQ0C+erayQUCjMqStQkCpIuKtwEC+dG5ngICoZ3/og0CspXoxwwC+pzgmwwCkoD5mAYCn/qH2AcC/N/pvAcCv5OtwAICuZquqgcC0/OFnwkC2/2wzQMCrJrO9woC69G52ggC64nunggCtLOIsQEC9LyC7gUC0ry/zgIC1ZDvgQ0C98OfMgL4kaj3CQKXhebCCwKi3bjPBQKYuojTCAKc4+fxCAKyjLfoBALVxO8SAsXSyuQLAqyvkNIPApDV5PgDAtufwJwEAu2BsoYLAs3Oqd8PAo6i+YMDAsy706oCAsLjx7kLApu3+9gKAuLnvMoIAtWywo8OAv6MjvIHAtSDhJwNArXRmL0LAraZvUcC5cGygQoCz5HN7A0C+YzY9AMCmtWQ6AUC/oHF8w4CxeTgmg8CgszujQECss22vgYCp6HBuggCkfm+FAKngqb5BgKkuIzAAQKPspKCCQLu+eDvCwKf5YrEBQKl0M3ACgKm85DvDALCu/nfCwLbwO38DgLoz5eyDQLfr9XLCwL20/eUDgL7hpr3DAKh1tfbCgL48OuNBwK4tuKaCALpgbn5CgLC4dKvBgKKlu76CwKfhKLJAQLurPTIAwLG0o+hAgKI5Y6dDALq+OOlCQKxjuuICAK8yrLHBwLcrOSSAwLoiJfQCwKKyvrtBALXkbCBCgKt4bG9BQLr6qnxCwLC2pz2DQKQ7OuZBALt7t+DDAKR47b8CAKi6pPGCQKLl4r3CQK5yfj+AwLgzYvjDwKUjerODQK7mOPTCQL9qP3qBgKYiOL9AgLA8pSaBwKay8fBDQLqw93DCgKkjpf/CwLsyquQCwKtpbGsDALMtKmxBwKPpvCmBOAFHtmBuG3iNmIT9fQ8Z1TWMpjZ122|cccccccccnncnnnnn|

  • Weird error message using phone as iPod

    When I plug my iPhone into my car's iPod connection cord (which works fine with regular iPods and does not cause regular iPods to display any weird error messages), the iPhone says something about how "...that accessory does not work with the iPhone..." and asks me whether I want to switch to airplane mode. In spite of this weird message, I am able to play my music via the usual method in my car. Weird. Remedy?

    Actually Human,
    Many iPod accesories were not designed to operate in close proximity to a GSM phone. The iPhone is a GSM phone. There is a program for iPod accessory manufacturers to test and certify their accesories for use with the iPhone. This article contains more information:
    http://docs.info.apple.com/article.html?artnum=305766
    That being said, many will work without going into airplane mode, some will get interference from the GSM signal that will come through as a hum or sometimes popping noise. Since sending and receiving the GSM signal is needed to make calls, the iPhone can't be shielded to prevent interfering, the accessory needs to be.
    This article contains more information on potential interference:
    http://docs.info.apple.com/article.html?artnum=305662
    The short answer is the car adapter may work without going into Airplane Mode, or it may have interference from the GSM signal at times.
    Hope this helps,
    Nathan C.

  • I am trying to sync to Outlook 2010.  I get a weird error message when I am trying to setup on my pc.  Its not english.  It says "der automatische refresh konnte nicht gestartet werden"  Help!

    I am trying to sync to Outlook 2010.  I get a weird error message when I am trying to setup on my pc.  Its not english.  It says "der automatische refresh konnte nicht gestartet werden"  Help!

    Hello,
    '''Try Firefox Safe Mode''' to see if the problem goes away. Safe Mode is a troubleshooting mode, which disables most add-ons.
    ''(If you're not using it, switch to the Default theme.)''
    * On Windows you can open Firefox 4.0+ in Safe Mode by holding the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac you can open Firefox 4.0+ in Safe Mode by holding the '''option''' key while starting Firefox.
    * On Linux you can open Firefox 4.0+ in Safe Mode by quitting Firefox and then going to your Terminal and running: firefox -safe-mode (you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    * Or open the Help menu and click on the '''Restart with Add-ons Disabled...''' menu item while Firefox is running.
    [[Image:FirefoxSafeMode|width=520]]
    ''Once you get the pop-up, just select "'Start in Safe Mode"''
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshooting extensions and themes]] article for that.
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    ''When you figure out what's causing your issues, please let us know. It might help other users who have the same problem.''
    Thank you.

  • Getting this weird error

    # An unexpected error has been detected by Java Runtime Environment:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d03b7cd, pid=2752, tid=2804
    # Java VM: Java HotSpot(TM) Client VM (11.0-b12 mixed mode, sharing windows-x86)
    # Problematic frame:
    # C [awt.dll+0x3b7cd]
    # 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 (0x02ee4400): JavaThread "AWT-Windows" daemon [_thread_in_native, id=2804, stack(0x03220000,0x03270000)]
    siginfo: ExceptionCode=0xc0000005, writing address 0xe1fe8c80
    Registers:
    EAX=0x17e4d6c4, EBX=0x00000bf4, ECX=0x00000100, EDX=0xe1fe8c80
    ESP=0x0326f3a4, EBP=0x00000400, ESI=0x17e4d6c4, EDI=0xe1fe8c80
    EIP=0x6d03b7cd, EFLAGS=0x00010206
    Top of Stack: (sp=0x0326f3a4)
    0x0326f3a4: 0326f47c 00000100 0326f484 00000100
    0x0326f3b4: 6d0a462a 00000400 00000400 00000100
    0x0326f3c4: 00000100 0326f600 0326f400 00000000
    0x0326f3d4: 00000000 00000100 02be8828 00000100
    0x0326f3e4: 00000400 e1fe8c80 0010e4c0 00000000
    0x0326f3f4: 00000000 00000100 00000100 00000000
    0x0326f404: 00000000 00000100 00000100 00000000
    0x0326f414: 00000000 00000004 00000400 00000000
    Instructions: (pc=0x6d03b7cd)
    0x6d03b7bd: 00 00 00 8b 4c 24 14 8b e9 c1 e9 02 8b f0 8b fa
    0x6d03b7cd: f3 a5 8b cd 83 e1 03 f3 a4 8b 74 24 18 8b 4c 24
    Stack: [0x03220000,0x03270000], sp=0x0326f3a4, free space=316k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C [awt.dll+0x3b7cd]
    [error occurred during error reporting (printing native stack), id 0xc0000005]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j sun.awt.windows.WToolkit.eventLoop()V+0
    j sun.awt.windows.WToolkit.run()V+69
    j java.lang.Thread.run()V+11
    v ~StubRoutines::call_stub
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x02f00400 JavaThread "Thread-6" daemon [_thread_blocked, id=4036, stack(0x04050000,0x040a0000)]
    0x02fd5c00 JavaThread "Thread-5" daemon [_thread_blocked, id=3692, stack(0x03990000,0x039e0000)]
    0x02fe7c00 JavaThread "Thread-4" daemon [_thread_in_native, id=2840, stack(0x03940000,0x03990000)]
    0x02fcb000 JavaThread "Thread-3" daemon [_thread_blocked, id=2820, stack(0x038f0000,0x03940000)]
    0x02fa8000 JavaThread "D3D Screen Updater" daemon [_thread_blocked, id=2000, stack(0x03870000,0x038c0000)]
    0x00396400 JavaThread "DestroyJavaVM" [_thread_blocked, id=2360, stack(0x003b0000,0x00400000)]
    0x02f6d800 JavaThread "TimerQueue" daemon [_thread_blocked, id=2228, stack(0x03670000,0x036c0000)]
    0x02f6ac00 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=580, stack(0x03620000,0x03670000)]
    =>0x02ee4400 JavaThread "AWT-Windows" daemon [_thread_in_native, id=2804, stack(0x03220000,0x03270000)]
    0x02ec7000 JavaThread "AWT-Shutdown" [_thread_blocked, id=3564, stack(0x031d0000,0x03220000)]
    0x02e94000 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=1264, stack(0x03180000,0x031d0000)]
    0x02e9e400 JavaThread "EventQueue" daemon [_thread_blocked, id=728, stack(0x030e0000,0x03130000)]
    0x02b21400 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=2384, stack(0x02dd0000,0x02e20000)]
    0x02b1b000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=1532, stack(0x02d80000,0x02dd0000)]
    0x02b19800 JavaThread "Attach Listener" daemon [_thread_blocked, id=3844, stack(0x02d30000,0x02d80000)]
    0x02b18400 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=3968, stack(0x02ce0000,0x02d30000)]
    0x02b13400 JavaThread "Finalizer" daemon [_thread_blocked, id=2356, stack(0x02c90000,0x02ce0000)]
    0x02b0ec00 JavaThread "Reference Handler" daemon [_thread_blocked, id=2644, stack(0x02c40000,0x02c90000)]
    Other Threads:
    0x02b0d000 VMThread [stack: 0x02bf0000,0x02c40000] [id=1772]
    0x02b23400 WatcherThread [stack: 0x02e20000,0x02e70000] [id=2316]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 960K, used 761K [0x16960000, 0x16a60000, 0x17d10000)
    eden space 896K, 77% used [0x16960000, 0x16a0e630, 0x16a40000)
    from space 64K, 99% used [0x16a40000, 0x16a4fff8, 0x16a50000)
    to space 64K, 0% used [0x16a50000, 0x16a50000, 0x16a60000)
    tenured generation total 11972K, used 8697K [0x17d10000, 0x188c1000, 0x26960000)
    the space 11972K, 72% used [0x17d10000, 0x1858e578, 0x1858e600, 0x188c1000)
    compacting perm gen total 12288K, used 5163K [0x26960000, 0x27560000, 0x2a960000)
    the space 12288K, 42% used [0x26960000, 0x26e6afd8, 0x26e6b000, 0x27560000)
    ro space 8192K, 63% used [0x2a960000, 0x2ae6bdf8, 0x2ae6be00, 0x2b160000)
    rw space 12288K, 52% used [0x2b160000, 0x2b7ba3c8, 0x2b7ba400, 0x2bd60000)
    Dynamic libraries:
    0x00400000 - 0x00424000      C:\WINDOWS\system32\javaw.exe
    0x7c900000 - 0x7c9b5000      C:\WINDOWS\system32\ntdll.dll
    0x7c800000 - 0x7c900000      C:\WINDOWS\system32\kernel32.dll
    0x77f40000 - 0x77feb000      C:\WINDOWS\system32\ADVAPI32.dll
    0x77da0000 - 0x77e32000      C:\WINDOWS\system32\RPCRT4.dll
    0x77f10000 - 0x77f21000      C:\WINDOWS\system32\Secur32.dll
    0x7e390000 - 0x7e421000      C:\WINDOWS\system32\USER32.dll
    0x77e40000 - 0x77e89000      C:\WINDOWS\system32\GDI32.dll
    0x76330000 - 0x7634d000      C:\WINDOWS\system32\IMM32.DLL
    0x7c340000 - 0x7c396000      C:\Program Files\Java\jre6\bin\msvcr71.dll
    0x6d800000 - 0x6da56000      C:\Program Files\Java\jre6\bin\client\jvm.dll
    0x76af0000 - 0x76b1e000      C:\WINDOWS\system32\WINMM.dll
    0x6d280000 - 0x6d288000      C:\Program Files\Java\jre6\bin\hpi.dll
    0x76bb0000 - 0x76bbb000      C:\WINDOWS\system32\PSAPI.DLL
    0x6d7b0000 - 0x6d7bc000      C:\Program Files\Java\jre6\bin\verify.dll
    0x6d320000 - 0x6d33f000      C:\Program Files\Java\jre6\bin\java.dll
    0x6d7f0000 - 0x6d7ff000      C:\Program Files\Java\jre6\bin\zip.dll
    0x6d000000 - 0x6d136000      C:\Program Files\Java\jre6\bin\awt.dll
    0x72f70000 - 0x72f96000      C:\WINDOWS\system32\WINSPOOL.DRV
    0x77be0000 - 0x77c38000      C:\WINDOWS\system32\msvcrt.dll
    0x774a0000 - 0x775dd000      C:\WINDOWS\system32\ole32.dll
    0x5b190000 - 0x5b1c8000      C:\WINDOWS\system32\uxtheme.dll
    0x6d220000 - 0x6d274000      C:\Program Files\Java\jre6\bin\fontmanager.dll
    0x10000000 - 0x10171000      C:\WINDOWS\system32\nview.dll
    0x77e90000 - 0x77f06000      C:\WINDOWS\system32\SHLWAPI.dll
    0x7c9c0000 - 0x7d1e2000      C:\WINDOWS\system32\SHELL32.dll
    0x770e0000 - 0x7716b000      C:\WINDOWS\system32\OLEAUT32.dll
    0x5d4e0000 - 0x5d57a000      C:\WINDOWS\system32\COMCTL32.dll
    0x77bd0000 - 0x77bd8000      C:\WINDOWS\system32\VERSION.dll
    0x77390000 - 0x77493000      C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.5512_x-ww_35d4ce83\comctl32.dll
    0x77650000 - 0x77671000      C:\WINDOWS\system32\NTMARTA.DLL
    0x71b80000 - 0x71b93000      C:\WINDOWS\system32\SAMLIB.dll
    0x76f20000 - 0x76f4d000      C:\WINDOWS\system32\WLDAP32.dll
    0x03380000 - 0x033ce000      C:\WINDOWS\system32\NVWRSNL.DLL
    0x746a0000 - 0x746ec000      C:\WINDOWS\system32\MSCTF.dll
    0x03410000 - 0x0346d000      C:\Program Files\Actual Window Minimizer\awmemb.dll
    0x75250000 - 0x7527e000      C:\WINDOWS\system32\msctfime.ime
    0x4fd10000 - 0x4feb6000      C:\WINDOWS\system32\d3d9.dll
    0x6deb0000 - 0x6deb6000      C:\WINDOWS\system32\d3d8thk.dll
    0x6d610000 - 0x6d623000      C:\Program Files\Java\jre6\bin\net.dll
    0x71a30000 - 0x71a47000      C:\WINDOWS\system32\WS2_32.dll
    0x71a20000 - 0x71a28000      C:\WINDOWS\system32\WS2HELP.dll
    0x6d630000 - 0x6d639000      C:\Program Files\Java\jre6\bin\nio.dll
    0x036d0000 - 0x036e5000      C:\WINDOWS\system32\nvwddi.dll
    0x719d0000 - 0x71a10000      C:\WINDOWS\System32\mswsock.dll
    0x76ee0000 - 0x76f07000      C:\WINDOWS\system32\DNSAPI.dll
    0x76f70000 - 0x76f78000      C:\WINDOWS\System32\winrnr.dll
    0x16080000 - 0x160a5000      C:\Program Files\Bonjour\mdnsNSP.dll
    0x76d20000 - 0x76d39000      C:\WINDOWS\system32\Iphlpapi.dll
    0x76f80000 - 0x76f86000      C:\WINDOWS\system32\rasadhlp.dll
    0x61200000 - 0x61259000      C:\WINDOWS\system32\hnetcfg.dll
    0x71a10000 - 0x71a18000      C:\WINDOWS\System32\wshtcpip.dll
    VM Arguments:
    jvm_args: -Xmx256m
    java_command: com.speljohan.rsbot.Application GUIController nonmembers
    Launcher Type: SUN_STANDARD
    Environment Variables:
    CLASSPATH=.;C:\Program Files\Java\jre6\lib\ext\QTJava.zip
    PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\TortoiseSVN\bin;C:\Program Files\QuickTime\QTSystem\
    USERNAME=gavin van der star
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=x86 Family 15 Model 6 Stepping 4, GenuineIntel
    --------------- S Y S T E M ---------------
    OS: Windows XP Build 2600 Service Pack 3
    CPU:total 2 (2 cores per cpu, 1 threads per core) family 15 model 6 stepping 4, cmov, cx8, fxsr, mmx, sse, sse2, sse3
    Memory: 4k page, physical 2095532k(1209308k free), swap 4032792k(3244508k free)
    vm_info: Java HotSpot(TM) Client VM (11.0-b12) for windows-x86 JRE (1.6.0_10-beta-b25), built on May 29 2008 00:51:46 by "java_re" with MS VC++ 7.1
    time: Thu Nov 20 17:54:40 2008
    elapsed time: 9 seconds

    prakashdewangan wrote:
    This is not a weird error... This is Java HotSpot... It comes when java is unable to continue run and it has to Exit. Like in windows you would have seen error box when program terminates.
    The posted trace is from a windows box.
    Java HotSpot generely I have seen because of Too High CPU usage (and memory too). Java does not get enough resource to run... Please check your code where is the Loop which needs high resource... try to refactor that code...No.
    Standard general causes of this.
    - Use of JNI or a third party library that uses JNI
    - A combination of video drivers, video card and fonts. This one is less prevalent than it used to be.
    - Bad environment, memory, installs, programs, etc.
    - Bug in the VM.
    Presuming in your reported case that none of the other causes applied then you found a bug in the VM. That doesn't mean that anyone else found the same one.

  • Strange Error using Flex Profiler

    Hi,
    I am trying to use the Flex Profiler to figure out where to put my time when optimizing the code of a .swf file generated in Flash CS4. In Flex, I select "Profile External Application" for the "Profile" menu item. Then I select "Launch the application manually from Ooutside Flex Builder" and set the timeout to 60000 milliseconds. I then go over to Flash CS4 and start a debug session of the application I want to profile. This should make the profiler pick up the session and give me the stats I need. But I get a couple of weird errors in the Flex Builder.
    The first error is a message box the pops up and says: "Profiling can only be performed on the debug version of an application."  I am definitely running the Flash application in debug mode... The only thing that I can think may be a problem is that I am using the Flash Facebook API and linking to the external .swc file for that API. Could that cause a problem?
    The second error is an exception that gets thrown in Flex Builder and is displayed in the Console. The exception is this:
    flash.swf.SwfFormatException: unrecognized fill style type: 202
        at flash.swf.TagDecoder.decodeMorphFillStyle(TagDecoder.java:982)
        at flash.swf.TagDecoder.decodeMorphLinestyles(TagDecoder.java:914)
        at flash.swf.TagDecoder.decodeDefineMorphShape(TagDecoder.java:868)
        at flash.swf.TagDecoder.decodeDefineMorphShape2(TagDecoder.java:849)
        at flash.swf.TagDecoder.decodeTag(TagDecoder.java:310)
        at flash.swf.TagDecoder.decodeTags(TagDecoder.java:170)
        at flash.swf.TagDecoder.parse(TagDecoder.java:119)
        at com.adobe.flash.profiler.internal.PlayerSession.swf(PlayerSession.java:570)
        at com.adobe.flash.profiler.internal.ProtocolHandler.readSwf(ProtocolHandler.java:353)
        at com.adobe.flash.profiler.internal.ProtocolHandler.process(ProtocolHandler.java:114)
        at com.adobe.flash.profiler.internal.PlayerSession.run(PlayerSession.java:383)
        at java.lang.Thread.run(Unknown Source)
    It looks like it has something to do with a fill style, but I am just doing standard Flash stuff... No version of Flash Player has had any problems with the .swf file, but somehow the profiler is not liking something.
    Does anyone have any idea about what is going on here? Apparently the profiler is a great tool to use to optimize ones code, and I would really love to use it.
    Thanks!!!

    I would not start a debug session in CS4.  I would just find the SWF generated by the last debug session and launch the standalone player with that SWF.  There might be some contention in having both CS4 and the FB profiler trying to hook up to the same SWF.
    Alex Harui
    Flex SDK Developer
    Adobe Systems Inc.
    Blog: http://blogs.adobe.com/aharui

  • Yosemite Server: Apache shm errors with proxy_balancer | SASL errors using user alias

    Dear OSX Server Ninjas,
    I recently upgraded my 10.9.5 Mac mini running Server 3.2.2 to Yosemite + Server v4, directly to v4.0.3. The box serves the whole Mail/Cal/Contacts/VPN palette as well as some websites, Git repos and some custom software. See below for network setup.
    After battling the most blatant issues (some easy to fix but hard to find, others hard on both), I'm almost back to a working server setup … but some things keep bugging me even after days of log-reading and OD tricks. In the last days, I have read countless discussions here as well as on stackoverflow/serverfault/apple.stackexchange and blogs, so I'll try to be as thorough and precise as possible to show what I have tried so far – sorry in advance for the long post
    … and since you might not read to the bottom: Thanks in advance for any help, especially with the Apache problem!
    My setup
    OSX Server v4.0.3 running on Yosemite 10.10.1 ➞ both latest official releases
    host + DNS
    Hostname configured for public domain mydomain.net, web traffic on selected ports comes in through router NAT
    Server has a static IP on the local subnet 192.168.178.0/24
    Server running local DNS and performing lookups for all clients in the local subnet, forwarding to the router at 192.168.178.1
    Primary zone for mydomain.net with records (A, NS, MX) pointing to said static IP
    changeip -checkhostname is successful
    Public IP is currently configured at the domain registrar through his name servers
    SSL
    Trusted third-party certificate installed for host.mydomain.net (Common Name + SAN for two subdomains)
    Used to secure all services
    Qualys SSL Test Grade B (capped due to OSX's openssl 0.9.x not being capable of TLS1.2 and Intermediate CA SHA-1 )
    TLS working both inbound and outbound according to CheckTLS.com
    OpenDirectory
    Recreated after upgrade (probably not necessary, since issue persists), re-imported groups + users from WGM backup files
    Only the server itself is bound to the directory, other devices just access services through network accounts (CRAM-MD5, MD5-Digest)
    Problems
    Apache shm errors: Apache fails to create slot memory when proxy module is enabled
    As soon as I start a service which requires the Apache proxy_balancer module (e.g. Cal/Contacts, ProfileManager), this starts filling up my Apache's error log:
    [Mon Jan 12 01:41:17.979882 2015] [proxy_balancer:emerg] [pid 2949] (28)No space left on device: AH01179: balancer slotmem_create failed for p26d9e669--1011640492
    [Mon Jan 12 01:41:17.979894 2015] [:emerg] [pid 2949] AH00020: Configuration Failed, exiting
    [Mon Jan 12 01:41:28.297127 2015] [slotmem_shm:error] [pid 3026] (28)No space left on device: AH02611: create: apr_shm_create(/private/var/run/slotmem-shm-p26d9e669--1001322955.shm) failed
    [Mon Jan 12 01:41:28.297347 2015] [proxy_balancer:emerg] [pid 3026] (28)No space left on device: AH01179: balancer slotmem_create failed for p26d9e669--1001322955
    [Mon Jan 12 01:41:28.297355 2015] [:emerg] [pid 3026] AH00020: Configuration Failed, exiting
    When I increase the Apache LogLevel to trace1, I get this as well:
    [Mon Jan 12 02:11:43.190303 2015] [slotmem_shm:debug] [pid 5501] mod_slotmem_shm.c(367): AH02602: create didn't find /private/var/run/slotmem-shm-p26d9e669-813569972.shm in global list
    This causes the Apache to crash constantly, which is … unnerving. After googling around for a while, I tried the following steps:
    Stop Services that use the Apache (Web, *DAV, ProfileManager)
    sudo apachectl stop
    Remove all orphan cache/slot files (.shm, ssl-cache, proxy.*) from /private/var/run
    Reboot the server
    Start up the Services again
    Curiously enough, this worked for a while! But I was getting several log messages about dropped proxy connections, and sometimes the ProfileManager page would time out. Then, the issue started to reappear and does not seem to be fixed again with the steps above. I looked through the Apache config files and config plists for the Services in question, as well as the default config files. The only thing I have so far is that as long as there are no active proxy connections, the Apache runs smoothly – but all goes awry when slotmem files are created (a lot of them). Sometimes, I am able to turn on the Calendar service, but switching on Contacts produces the error … one time, I even got Calendar + Contacts running, and all went well until I enabled Profile Manager.
    I found several error reports with similar or identical errors from other Apache 2.4.x users, but most of those were developer talk on mailing lists, or suggested steps that did not work for me (or were inapplicable on the OS X Server Apache environment).
    SASL errors using user alias for WebDAV-Digest authentication
    Short version: I am unable to authenticate through WebDAV-Digest with a user's alias (defined in Server Admin > Users > Context Menu > Advanced Options or WGM). Using the main short name of the same user works flawlessly. Password Server Error log just shows:
    AUTH2: {234023578237md5hash2384234, mainshortname} WEBDAV-DIGEST authentication failed, SASL error -13 (password incorrect).
    The password is 100% correct: When I set up a test CalDAV account and put in alias+PW, it did not work (OS X Dialog showed “could not be verified”, Server log as above). Leaving the password field filled and just switching the user to the main short name went through instantaneously, with the Server log showing
    AUTH2: {234023578237md5hash2384234, mainshortname} WEBDAV-DIGEST authentication succeeded.
    Notice the same MD5 hash and canonical short name, yet different results. I don't know if this is a new “feature”, a result of mail aliases being handled differently (at least I read that somewhere) …
    Additional Questions
    Should I configure the DNS for public use, instead of the Split-Brain configuration (local network gets local IP, outside traffic is directed by registrar NS)? I read several articles explaining that Split-Brain is common in large organizations, but might introduce weird networking issues. Entering the external IP as a Round Robin alternative for the internal does not seem sensible to me.
    I also have a question concerning LDAP log entries like this one below, but I'll put that in this already open discussion:
    => bdb_idl_delete_key: c_get failed: DB_LOCK_DEADLOCK: Locker killed to resolve a deadlock (-30994)

    Today the same error occurred on a customers server.
    We don't use Calendar or Contacts.
    We only have some websites configured and want use NetInstall for deployments.
    As soon as I disable the Profilemanager the httpd starts over and other websites and NetInstall via HTTP are working fine.
    When I reenable Profilemanager the httpd processes are gone and I see the same stuff in Apache's error log...

  • Weird error when clicking on instance- flow from the console

    When I have heavy volume coming in for the bpel server(ex: hundreds of instances generated at a time), I see the following weird error when I am trying to see the instance flow from console:
    Process state off. The process class "BugBAM" (revision "v2004_12_20__61032" ) has not been turned on. No operations on the process or any instances belonging to the process may be performed if the process is off. Please consult your administrator if this process has been turned off inadvertently.
    I didn't do anything to the process to turn the state off. What does this error message mean?
    Thanks, Jenny

    I am assuming that you are using 10.1.2 beta 1. Is that correct? I am wondering if in that version there is a switch that turns a process off when a new version of the process is deployed (this would be a bug because the active process should only be switched to retired).
    Next time you get this error, could you please go to the BPEL Console and check the state of the BPEL process.
    We will try to trace the error message in the source code and try to determine if there are other circumpstances which would generate the same error code.
    Edwin

  • Help Weird Error Messages Connecting Externals on USB

    Hi,
    For some reason very recently everytime I plug in a peripheral into the usb port I get a weird error message and the units (like an external HD, external DVD burner, etc.) won't work. The errors are something like:
    The system extensions/system/library/extensions/systems/kext plugins/libkern.kext was installed improperly and can not be used. Please reinstall ir or contact the products vendor for an update.
    Ohter error with the have the same message but file components change like:
    iousbfamily.kext
    bsdkernel.kext
    mach.kext
    udf.kext
    system.kext
    unsupported.kext
    Anybody have a clue? Thanks

    Yes, you should absolutely report it as a bug.
    But this is a problem in error reporting, not in valid code compilation, because the code
    cannot compile -- so don't expect to impart much momentum on a fix without additional community support.
    There's very clearly a coding problem that the static function f cannot access the non-static member
    g.
    To estimate the risk of more serious problems with the compiler, I investigated the two closest scenarios for making the code legal.  If you either:
    make g a static member (and give it storage), or
    make f a non-static function (and call it with an instance of A)
    ...then the code is valid and the compiler doesn't ICE in either case.
    So the severity of this problem is very low because, as you said, this ICE seems to occur only when there is an error in the code.

  • Weird error with taglib

    Hello, I'm getting this weird error. Sometimes when I'm using taglibs I get org.apache.jasper.JasperException: /mypage.jsp(11,4) According to TLD or attribute directive in tag file, attribute value does not accept any expressions. I refresh the page, and it displays, refresh again and the error is there again, this keeps happening randomly.
    In this post I found a solution http://forum.java.sun.com/thread.jspa?threadID=683007&messageID=9423383, changing the taglib to the "_rt" works, but some guy says this is not a preferred solution.
    This is my code without the "fix":
    <%@page contentType="text/html"%>
    <%@page pageEncoding="UTF-8"%>
    <%@taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
    <%@taglib uri="http://java.sun.com/jstl/fmt" prefix="fmt"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
        <head>
            <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
            <title><fmt:message key="appTitle"/></title> 
        </head>
        <body>      
            <h3><fmt:message key="news"/></h3>
            <c:forEach items="${model.news}" var="news">
                <p>
                    <strong><c:out value="${news.title}"/></strong> - <i> <fmt:formatDate value="${news.daten}" pattern="dd/MM/yyyy"/> </i> - <a href="<c:url value="deleteNews.htm?newsId="/><c:out value="${news.id}"/>">Delete</a> - <a href="<c:url value="editNews.htm?newsId="/><c:out value="${news.id}"/>">Edit</a> <br>
                    <c:out value="${news.content}"/><br>
                    <small>Source:<c:out value="${news.source}"/></small>
                </p>
            </c:forEach>       
            <a href="<c:url value="addNews.htm"/>">Add News</a>       
        </body>
    </html>How can I fix this issue using the normal taglibs?
    Thanks in advance

    You seem to be mixing the versions of JSTL taglibs in your page.
    For the c taglib you are using the JSTL1.1 URI
    For the fmt taglib you are using the JSTL1.0 URI
    Change the import line to use the JSTL1.1 URI, and you should be set
    <%@taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
    (note the subtle change with /jsp in there)
    As I mentioned in the other post, use of the _rt taglib should be restricted to JSP1.2 containers (eg Tomcat4)
    In JSP2.0 containers (Tomcat5+) you should use JSTL1.1, and it should work perfectly, provided your web.xml file is up to date.
    Some other posts on the subject you might find useful, that explain why the JSTL1.0 tags did not accept runtime expressions:
    http://forum.java.sun.com/thread.jspa?threadID=628740
    http://forum.java.sun.com/thread.jspa?threadID=629437&tstart=0
    Cheers,
    evnafets (some guy)

  • Weird error of load streaming sound

    I developed Listening Internet Radio Program.
    It`s very simple.
    var sound:Sound=new Sound();
    var url:String='http://211.43.215.158:8388'
    Security.loadPolicyFile(url+'/crossdomain.xml');
    sound.addEventListener('progress',sound_progress)
    function sound_progress(e:Event):void{
      sound.play();
              sound.removeEventListener('progress',sound_progress)
    sound.load( new URLRequest(url) )
    And this works very very fine.
    But I got some weird error.
    This program works in Local.
    This program works in Internet Explorer 6.
    But This program doesn`t work in Google Chrome.
    same swf file, same website, same html.....
    But why not works in Google Chrome???????????????????????????????????????

    hi
    u can configure enveroment variables using oracle entriprice manager
    try to add env "PAHT" to server properties and set this to ur libs
    Do not forgrt to add nessary paths to this env .Okay ......
    this may work ...
    Asnka

  • COEBR Unable to generate batch records - weird error!

    Hey Experts,
    I am trying to create Electronic Batch Records using COEBR. Unfortunately, I am getting a weird error. After a few batches get selected based on the selection criteria, when I click "Batch Record" I get the message "Unable to generate batch records". But when I reselect the same batch and click "Batch Record" again I get the following message: "Batch record(s) successfully generated". But actually no batch record gets created...SAP is lying to me!!!! The icing on the cake - no logs get created as well.
    The "Batch record required" indicator is set both on the Material Master (Work Scheduling) and the Order-Type dependant parameters.
    One more thing, I was able to generate one, just one Batch Record but thereafter the darn thing broke!!!
    I am stumped, really need some help.
    Thank you in advance.
    John
    Edited by: JohnS99 on Mar 18, 2010 11:35 AM

    Himani,
    If you want to just create PDFs from FM via the command line, then using one of the available FM batch utilities might be an easier route.
    Check out:
    DZbatcher at: http://www.miramo.com/english/overview/download.html
    runfm as part of mif2go and is fully functional in the mif2go demo. See: http://mif2go.com/xhtml/runfm_0002_363understandingrunfmcommandlinesyntax.htm#Rz134x44547

  • Weird Error When Verifying External HDDs

    Hello
    I'm getting a weird error when verifying my 2 external HDDs. Both give me an "invalid leaf record count" error. But only when I check them with the OSX install cd. If I check them in my user account, they come up OK. Both drives also gave me a "reserved fields in the catalog record have incorrect data" error. Disk Utility was able to fix that error, but not the invalid leaf error. I have tried multiple repairs, but DU says the volume cannot be repaired. The other weird thing is when I ran the first repair, it said 1 HFS Volume Repaired and 1 Volume could not be repaired. I have also tried using Disk Warrior, but it gives a "this volume appears to be formatted with a newer version of the OS" error.
    Both these drives I had plugged into my mom's iMac (running 10.5--my eMac is running 10.3.9) because I had firewire problems back in June. Did 10.5 modify something that has 10.3 mixed up?
    Is there something I can do to fix this or do I need to do another re-install?
    Music Luver
    "+I hear her playing music+..." ~ Barry Manilow

    OS X 10.5 does add additional attributes bits to the file descriptors, so using the drive under 10.5 would be expected to add those additional bits to at least the disk directory plus any modified files.
    When you then check the drives using utilities created prior to OS X 10.5, those older utilities don't understand the additional bits and report then as errors (DU), of the utilities check first and refuse to run if the disk is tagged as from a latter OS version (DW).
    There's a generic warning about mixing older utilities with newer OS versions in Only use Mac OS X 10.4-compatible disk utilities with Mac OS X 10.4 volumes.
    I'd be ready to shrug the error reports off as spurious; however, that DU "corrected" the reserved bits suggests the drive directories will be rewritten again should you again move the drives to a 10.5 computer. Are you seeing any actual problems wiuth reading or writing to the external drives? If not, write it off to 10.5 settings bits that earlier versions ignore; it shouldn't affect your data.

  • X11vnc gives weird errors

    Hi,
    I've been trying to get x11vnc working on my other box but if I start it I get weird errors, and I can't find anything on google about this, as many other things are causing these kinds of errors, while no results turn up if I add x11vnc to the search parameters...
    Here's the output:
    [medja@myhost ~]$ x11vnc -rfbauth -display :0
    14/02/2008 16:50:06 passing arg to libvncserver: -rfbauth
    14/02/2008 16:50:06 x11vnc version: 0.9.4 lastmod: 2007-12-21
    14/02/2008 16:50:06 Using X display :0
    14/02/2008 16:50:06
    14/02/2008 16:50:06 ------------------ USEFUL INFORMATION ------------------
    14/02/2008 16:50:07 X DAMAGE available on display, using it for polling hints.
    14/02/2008 16:50:07 To disable this behavior use: '-noxdamage'
    14/02/2008 16:50:07
    14/02/2008 16:50:07 Wireframing: -wireframe mode is in effect for window moves.
    14/02/2008 16:50:07 If this yields undesired behavior (poor response, painting
    14/02/2008 16:50:07 errors, etc) it may be disabled:
    14/02/2008 16:50:07 - use '-nowf' to disable wireframing completely.
    14/02/2008 16:50:07 - use '-nowcr' to disable the Copy Rectangle after the
    14/02/2008 16:50:07 moved window is released in the new position.
    14/02/2008 16:50:07 Also see the -help entry for tuning parameters.
    14/02/2008 16:50:07 You can press 3 Alt_L's (Left "Alt" key) in a row to
    14/02/2008 16:50:07 repaint the screen, also see the -fixscreen option for
    14/02/2008 16:50:07 periodic repaints.
    14/02/2008 16:50:07
    14/02/2008 16:50:07 XFIXES available on display, resetting cursor mode
    14/02/2008 16:50:07 to: '-cursor most'.
    14/02/2008 16:50:07 to disable this behavior use: '-cursor arrow'
    14/02/2008 16:50:07 or '-noxfixes'.
    14/02/2008 16:50:07 using XFIXES for cursor drawing.
    14/02/2008 16:50:07 GrabServer control via XTEST.
    14/02/2008 16:50:07
    14/02/2008 16:50:07 Scroll Detection: -scrollcopyrect mode is in effect to
    14/02/2008 16:50:07 use RECORD extension to try to detect scrolling windows
    14/02/2008 16:50:07 (induced by either user keystroke or mouse input).
    14/02/2008 16:50:07 If this yields undesired behavior (poor response, painting
    14/02/2008 16:50:07 errors, etc) it may be disabled via: '-noscr'
    14/02/2008 16:50:07 Also see the -help entry for tuning parameters.
    14/02/2008 16:50:07 You can press 3 Alt_L's (Left "Alt" key) in a row to
    14/02/2008 16:50:07 repaint the screen, also see the -fixscreen option for
    14/02/2008 16:50:07 periodic repaints.
    14/02/2008 16:50:07
    14/02/2008 16:50:07 XKEYBOARD: number of keysyms per keycode 6 is greater
    14/02/2008 16:50:07 than 4 and 91 keysyms are mapped above 4.
    14/02/2008 16:50:07 Automatically switching to -xkb mode.
    14/02/2008 16:50:07 If this makes the key mapping worse you can
    14/02/2008 16:50:07 disable it with the "-noxkb" option.
    14/02/2008 16:50:07 Also, remember "-remap DEAD" for accenting characters.
    14/02/2008 16:50:07 X FBPM extension not supported.
    14/02/2008 16:50:07 X display is capable of DPMS.
    14/02/2008 16:50:07 --------------------------------------------------------
    14/02/2008 16:50:07
    14/02/2008 16:50:07 Default visual ID: 0x21
    14/02/2008 16:50:07 Read initial data from X display into framebuffer.
    14/02/2008 16:50:07 initialize_screen: fb_depth/fb_bpp/fb_Bpl 24/32/9856
    14/02/2008 16:50:07 *** unrecognized option(s) ***
    14/02/2008 16:50:07 [1] 20
    14/02/2008 16:50:07 For a list of options run: x11vnc -opts
    14/02/2008 16:50:07 or for the full help: x11vnc -help
    14/02/2008 16:50:07
    14/02/2008 16:50:07 Here is a list of removed or obsolete options:
    14/02/2008 16:50:07
    14/02/2008 16:50:07 removed: -hints, -nohints
    14/02/2008 16:50:07 removed: -cursorposall
    14/02/2008 16:50:07 removed: -nofilexfer, now the default.
    14/02/2008 16:50:07
    14/02/2008 16:50:07 renamed: -old_copytile, use -onetile
    14/02/2008 16:50:07 renamed: -mouse, use -cursor
    14/02/2008 16:50:07 renamed: -mouseX, use -cursor X
    14/02/2008 16:50:07 renamed: -X, use -cursor X
    14/02/2008 16:50:07 renamed: -nomouse, use -nocursor
    14/02/2008 16:50:07 renamed: -old_pointer, use -pointer_mode 1
    X Error of failed request: BadShmSeg (invalid shared segment parameter)
    Major opcode of failed request: 148 (MIT-SHM)
    Minor opcode of failed request: 2 (X_ShmDetach)
    Segment id in failed request: 0x0
    Serial number of failed request: 35
    Current serial number in output stream: 39
    [medja@myhost ~]$
    vncserver (for virtual screens :1 and such) is working well btw and there is no firewall installed on that box. It's a twinview setup if that matters. I have no idea what's wrong...
    Any idea?

    To run x11vnc from ssh session you either have to "su" to root or run x11vnc from local console.
    AFAIK shared memory access from different virtual terminal is disabled by default so you have to have root priviliges to access it.
    Sorry this bit of necromancy, but i've searched the net about this problem and could't find any specific pointers so now hopefully google will find this solution

Maybe you are looking for

  • Can no longer sync Ipod.

    I was syncing my ipod after adding some new things to my library and it told me that there wasn't enough space on my ipod, should it create a playlist and just sync that instead. I clicked yes not really playing much attention, and then after looking

  • Movie Rentals and Purchases on IPad - What's wrong with this?

    Bought my very first Apple product...(IPad 64G WiFi only) last week. I intended to use it just to keep me busy reading, watching movies, playing games, on all the long flights to Europe and Asia that I take. So yesterday I excitedly set up an ITunes

  • I need an addon to extract music files from web pages like myspace.

    I'm running Firefox 23 on Ubuntu 12.04. I would like to be able to extract/download music files from web pages like MySpace. I searched through the addons but didn't find any. Is there and addon to download music from MySpace?

  • How to unhide navigation sidebar in Oracle documentation

    On download.oracle.com there is a sidebar that has a 'Hide Navigation' button. What has to be done to get the navigation sidebar redisplayed once this button has been pressed? David Edited by: djmartin_ACC on Jul 31, 2011 7:03 PM

  • Firefox keeps randomly shutting down

    Recently, I got a new laptop: windows 8. I downloaded firefox because that's the browser I'm accustomed to and I've never had any problem with it before. But now for some reason, I'll be scrolling through the internet, either doing something or doing