DocumentFilter Ignored when using Formatter?

I am shooting myself in the foot but I can't see the bullet.
I can't use a Formatter and a DocumentFilter in the same class. I want the pattern of the Formatter but want to constrain the individual numbers as well. I can get one or the other but not both.
The filter works if I comment out the super call in the constructor.
The mask works if I leave it in but then the filter code doesn't effect GUI output.
Seems like when I extend JFormattedTextField and use
JFormattedTextField(JFormattedTextField.AbstractFormatter formatter)
I lose the ability to get the right Document later.
The code is something like this:
public class MyFormattedField extends JFormattedTextField{
MyFormattedField() {
super(new MyMaskFormatter().getFormatter());
AbstractDocument doc = (AbstractDocument) getDocument();
doc.setDocumentFilter(new myFilter());
class MyMaskFormatter {
private MaskFormatter formatter;
MyMaskFormatter() {
try {
formatter = new MaskFormatter("###.###");
}catch(ParseException pe) {
          // deal with it
public AbstractFormatter getFormatter() { return formatter; }
class MyFilter extends DocumentFilter {
public void replace(DocumentFilter.FilterBypass fb,
int offset,
int length,
String str,
AttributeSet attr)
throws BadLocationException {
str = "1"; // smoke test (do anything, see if it sticks)....
     fb.replace(offset, length, str, attr);

You could try creating a custom paste action:
class MyPasteAction extends DefaultEditorKit.PasteAction
    public void actionPerformed(ActionEvent e)
        try
            //  Get clipboard contents
            Clipboard c = Toolkit.getDefaultToolkit().getSystemClipboard();
            Transferable t = c.getContents( null );
            String data = (String)t.getTransferData( DataFlavor.stringFlavor );
            //  Do your stuff
            data = "<" + data + ">";
            //  Paste your new data
            getFocusedComponent().replaceSelection( data );
            //  If above doesn't work then maybe this will
            StringSelection changedData = new StringSelection( data );
            c.setContents(changedData, changedData);
            //  Invoke default paste Action
            super.actionPerformed(e);
        catch (Exception x) {}
}You install the Action on the text pane using:
Object key = pasteAction.getValue(Action.NAME);
KeyStroke ks = KeyStroke.getKeyStroke(KeyEvent.VK_V, KeyEvent.CTRL_MASK);
textPane.getInputMap().put(ks, key);
textPane.getActionMap().put(key, pasteAction);

Similar Messages

  • PostProcessingMethod and serverLocationDir ignored when using fileUploadTag

    I'm puzzled by this one and have been racking my brain for a couple days now, so if anyone can help me I would greatly appreciate it!
    I started by downloading the petstore app and testing the file upload feature. It works with no problems. I can see the postProcessingMethod being called on the server.
    I copied all the relevant pieces into a small test app. When I try to upload a file, it uploads it, but always to the default directory and the postProcessingMethod is never called.
    Here is what I have:
    My .jsp page contains:
                    <f:view>
                        <h1>Test of File Upload</h1>
                        <ui:fileUploadTag id="myFileUploadForm" serverLocationDir="c:/upload" postProcessingMethod="#{FileUploadBB.postProcessingMethod}" progressBarDivId="progress" progressBarSubmitId="submit1x" progressBarSize="40" retMimeType="text/xml" retFunction="testRetFunction">
                            <input type="file" size="40" name="file1" id="file1"/><br />
                            <input type="file" size="40" name="file2" id="file2"/><br />
                            <input type="file" size="40" name="file3" id="file3"/><br />
                            <input type="submit" name="submit1x" value="Submit"/>
                            <div id="progress"></div><br />
                        </ui:fileUploadTag>
                    </f:view>faces.config.xml contains:
      <managed-bean>
        <managed-bean-name>FileUploadBB</managed-bean-name>
        <managed-bean-class>com.mywebsitename.FileUploadBB</managed-bean-class>
        <managed-bean-scope>session</managed-bean-scope>
      </managed-bean>and com.mywebsitename.FileUploadBB contains:
    public class FileUploadBB
        public FileUploadBB()
            System.out.println("FileUploadBB() called.");
        public void postProcessingMethod(FacesContext context, Hashtable htUpload, FileUploadStatus status)
            System.out.println("IN Custom Post Processing method");
    }The progress bar works fine, the file is uploaded properly, and the testRetFunction executes. But my postProcessingMethod doesn't execute and I can't change the upload directory.
    As a side note which might help someone help me...I tried putting a non-existent bean name in the postProcessingMethod
    (for example, setting postProcessingMethod="#iliketurtlesFileUploadBB.postProcessingMethod}" and I don't get any errors...it just appears to be ignored.
    When I do the same with the petstore app, I get the error "The FileUpload process encountered an exception while trying to delegate to a custom post processing method."
    What am I missing here that causes this difference in behavior?
    Please oh masters of JSF, Ajax, and the fileUploadTag component...help me!!!
    Thanks!

    Ok. I finally figured this out myself since no one could help and I had no other choice. I will post the answer here to hopefully save someone the frustration that I experienced.
    Basically, this was my first JSF project. After reading a book on JSF that suggested it is best to use XHTML, I was using XHTML. For some reason using XHTML instead of HTML caused the postProcessingMethod and serverLocationDir attributes to be ignored. I changed
    <?xml version='1.0' encoding='UTF-8'?>
    <jsp:root version="2.0" xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:c="http://java.sun.com/jstl/core" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:ui="http://java.sun.com/blueprints/ui">
        <jsp:directive.page contentType="text/html" pageEncoding="UTF-8" />
        <jsp:output omit-xml-declaration="no" doctype-root-element="html" doctype-public="-//W3C//DTD XHTML 1.0 Transitional//EN" doctype-system="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" />
        <html xmlns="http://www.w3.org/1999/xhtml">to
    <%@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/jsf/html" prefix="h" %>
    <%@taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
    <%@taglib prefix="ui" uri="http://java.sun.com/blueprints/ui" %>and that immediately fixed the problem. I've seen other wierd behavior when using XHTML but was able to work around the problems. I guess in this case I will be forced to fall back to HTML for my whole project. Sort of disappointing and it makes me wonder if XHTML will ever catch on with these sort of problems. Anyway, hope this helps someone out in the future.

  • Will the indexes be ignored when using IMPDP...TABLE_EXISTS_ACTION=SKIP?

    Hi guys,
    11gr2
    suppose that i have a .dmp file which has tables, indexes, and data,
    and i also have a schema A which already contains tables and data, without indexes
    is it possible to use IMPDP to import(or say create) all indexes from .dmp to schema A?
    the relevant question is, when using IMPDP...TABLE_EXISTS_ACTION=SKIP, if the table already exists, will IMPDP ignores the relevant indexes creation?
    thank you!!!

    thanks for the reply.
    actually, i have imported over 100G data to the new server, but after look into the new server, most of the indexes are missing somehow, i don't want to drop the schemas and re-import, it will cost me a whole day to finish, any suggestions?
    many thanks.

  • Default Mail Font ignored when using "Mail this webpage" in Safari

    This is not really a problem but more of a puzzling irritant.  I often use the "Mail this webpage" option in Safari (the small envelope icon in the tool bar) which opens a draft email with the then-current webpage's URL already embedded in the text area.  Prior to Mavericks when using this option the draft note triggered by Safari reverted to my default Mail font already selected via Mail's preferences pane.  Just as I would want it.  Ever since Mavericks though, when I click the envelope icon it brings up the draft email with the URL as before, but the text font for that note defaults to Times, not my previously-selected default Mail font (Lucinde Grande just for clarity).  So to stay consistent with my other email styling I have to manually click the draft email's Format button, select Lucinde Grande, and then begin typing.  I can find no place in either Safari's or Mail's preferences or options where I can change the default "send an email triggered in Safari" font. Emails originated in Mail properly use the default Lucinde Grande font.
    Once I go through the above and send the note, if I later repeat the same "mail via Safari" acion, the new note is again defulting to Times and I have to go through all of the above again.
    A companion oddity is that when I go through this and click the Format button once, nothing happens.  I click it a second time and then the font selection options are presented.  This happens consistently on 3 separate installs of Mavericks in our house (two iMacs and a MBP), and it has been this way from OS 10.9.0 through the updates to the current 10.9.2.  Any ideas, or anyone else experiencing this?  Thanks.

    This is very annoying behavior.
    I have a sudo work-around, although it's really just a different set of steps. If you use the new Share button (square with arrow icon) than the resulting email consists of a url at the top and text from the page below that. The first line of the email (empty) and the url are in the default mail font. Now just delete the text that was added from the page.
    I use this method because it seems like if I do it the other way the new message will sometimes go back to Times when I hit Return a couple times.

  • Form onsubmit ignored when using h:commandLink

    Hi
    I was looking for a way to catch all form submission in javascript by automatically setting a method to each form.onsubmit. But I ran into trouble with h:commandLink.
    I tested using a simple example:
    <h:form onsubmit="alert(123);">
    <h:commandButton value="commandButton"/>
    <h:commandLink value="commandLink"/>
    </h:form>Using this code, clicking the commandButton will display and alert with 123. But when clicking the commandLink, the onsubmit is ignored. The commandLink submit the form by javascript code using the form.submit() method. I tested it out (with firefox) and it seem to be the normal behavior... the onsubmit event is not triggered, unliked at normal <input type="submit"/> (like the commandButton).
    Looking at the javascript used the commandLink, I could see that it is completely ignoring the possibility that the user specified a onsubmit:
    //com/sun/faces/sunjsf.js
    function jsfcljs(f, pvp, t) {   
        apf(f, pvp);
        var ft = f.target;
        if (t) {
            f.target = t;
        f.submit();  
        f.target = ft;
        dpf(f);   
    };Wouldn't it make more sense to verify if a onsubmit method was set on the form and execute it before submitting the form?
    function jsfcljs(f, pvp, t) {   
        apf(f, pvp);
        var ft = f.target;
        if (t) {
            f.target = t;
         if (typeof(f.onsubmit) == "function") {
              var os = f.onsubmit();
              if (os != undefined && os == false) {
                   return false
        f.submit();  
        f.target = ft;
        dpf(f);   
    };The behavior of the commandLink would then match the JSF-API description:
    Tag commandLink : "Render an HTML "a" anchor element that acts like a form submit button when clicked."

    Wow! That worked when I removed the include directive. The only problem is that the include directive for the page is needed. When I use <c:import> or <jsp:include> it doesn't really include it correctly.
    Is there some special way I'm supposed to import JSF pages?
    Thanks again!

  • CR2008: parameters ignored when using the PrintToPrinter method

    Hi all,
    Currently I'm using Crystal Reports in all my add-ons and my algorithm is has follows:
    - Create a New Report object;
    - Load the Reports;
    - Set the reports Parameters and SelectionFormula;
    - Set the server/database connection info and login into every table;
    - Load Form OR Send to Printer
        - Load Form procedure:
            - Create a New Windows Form with a ReportViewer control;
            - Set the ReportViewer's ReportSource;
            - Invoke the Refresh method of the ReportViewer control;
            - Invoke the ShowDialog method of the Report object.
        - Send To Printer procedure
            - Invoke the PrintToPrinter method of the Report object...
    When I use the Load Form procedure, everything works has it should: the SelectionFormula filters the correct records and the Parameters hide/show the fields that they are supposed to.
    If I use the Send To Printer procedure, the SelectionFormula works correctly but some Parameters are ignored. I've checked the object properties at runtime, and all the parameters I define are correct...
    My question is: is there some sort of Refresh method that I can call before calling the PrintToPrinter method that forces the report to check the parameter fields values? Or am I doing something wrong?
    My code is posted bellow.
    Thanks in advanced,
    Regards,
    Vítor Vieira

    ' procedure that creates a new ConnectionInfo object with the login credentials to the SQL server.
        Private Sub SetDBConnection()
            Try
                rptConnectionInfo = New ConnectionInfo()
                rptConnectionInfo.DatabaseName = OONE_CompanyDB
                rptConnectionInfo.UserID = OONE_CompanySQLUserId
                rptConnectionInfo.Password = OONE_CompanySQLPass
                rptConnectionInfo.ServerName = OONE_CompanyServer
            Catch ex As Exception
                System.Windows.Forms.MessageBox.Show("Error(SetDBConnection): " & ex.ToString)
            End Try
        End Sub
        ''' procedure that creates a new ReportDocument object
        Private Sub SetReportDocument()
            Try
                rptDocument = New ReportDocument
                rptDocument.Load(rptPath)
                SetParameters()
                rptDocument.DataDefinition.RecordSelectionFormula = SelectionString
            Catch ex As Exception
                System.Windows.Forms.MessageBox.Show("Error(SetReportDocument): " & ex.ToString)
            End Try
        End Sub
        ' procedure that makes the login to the table in the ReportDocument object
        Private Sub SetDBLogonForReport()
            Try
                Dim myTables As Tables = rptDocument.Database.Tables
                Dim myTableLogonInfo As TableLogOnInfo
                For Each myTable As Table In myTables
                    myTableLogonInfo = myTable.LogOnInfo
                    myTableLogonInfo.ConnectionInfo = rptConnectionInfo
                    myTable.ApplyLogOnInfo(myTableLogonInfo)
                Next
            Catch ex As Exception
                System.Windows.Forms.MessageBox.Show("Error(SetDBLogonForReport): " & ex.ToString)
            End Try
        End Sub
        ' procedure that loads a windows form with the report
        Private Sub SetCrystalForm(ByRef Titulo As String)
            Try
                rptCrystalForm = New CrystalForm()
                rptCrystalForm.Text = Titulo
                rptCrystalForm.oCrystalReportViewer.ReportSource = rptDocument
                rptCrystalForm.TopMost = True
                rptCrystalForm.oCrystalReportViewer.Refresh()
                If rptSendToPrinter Then
                    rptCrystalForm.oCrystalReportViewer.PrintReport()
                Else
                    rptCrystalForm.ShowDialog()
                End If
            Catch ex As Exception
                System.Windows.Forms.MessageBox.Show("Error(SetCrystalForm): " & ex.ToString)
            Finally
                ReleaseMemory()
            End Try
        End Sub
        ' Send the report directly to a printer without showing it.
        Private Sub SendReportToPrinter()
            Try
                rptDocument.PrintToPrinter(rptPageSettings.PrinterSettings, rptPageSettings, False)
            Catch ex As Exception
                System.Windows.Forms.MessageBox.Show("Error(SendReportToPrinter): " & ex.ToString)
            Finally
                ReleaseMemory()
            End Try
        End Sub
        ' Procedure that releases memory.
        Private Sub ReleaseMemory()
            Try
                rptParameterField = Nothing
                For Each oTable As Table In rptDocument.Database.Tables
                    oTable.Dispose()
                Next
                If rptSendToPrinter Then
                    rptPageSettings.PrinterSettings = Nothing
                    rptPageSettings = Nothing
                End If
                rptConnectionInfo = Nothing
                rptDocument.Database.Tables.Dispose()
                rptDocument.Database.Tables.Reset()
                rptDocument.Database.Dispose()
                rptDocument.Close()
                rptDocument.Dispose()
            Catch ex As Exception
                System.Windows.Forms.MessageBox.Show("ReleaseMemory: " & ex.ToString)
            End Try
        End Sub

  • Format precision apparently ignored when using read from spreadsheet file

    I hope there is ridiculously simple solution to this problem but so far I can't find it. Using the Read from Spreadsheet File function in LabVIEW7.1, I can't get the floating point format (%f) to work; the decimal (%d) seems to work fine. For example, the first value in the attached file is 399.5853. When I read it in using %.2f format I would think I should get 399.58 but instead I get 399.58529663... Oddly if I use %d as the format, I get an as expected value of 399. Can anyone see what I am missing?
    Attachments:
    ReadFileTEST.vi ‏23 KB
    test.txt ‏1 KB

    The solution to the problem is the internal representation of floating point numbers: with a limited number of bytes only a limited number of the (infinitely many) real numbers can be represented. The nearest representable number to 399.5853 is 399.58529663 if the so-called single precision representation (abbr. SGL in Labview) is used.
    It seems that (ridiculously!) NI has chosen to use SGL as the data format in the Read from Spreadsheet VI which causes the unexpected behaviour you observed.
    You can change the representation from SGL (which uses 4 bytes) to DBL (double precision, using 8 bytes) in the Read from Spreadsheet VI and you will observe a better approximation then, but still not 'exact' since the number now reads 399.585300000000018. (With t
    he EXT representation, 10 bytes, you could go to even higher precision)
    I hope someone from NI reads this and they fix the unnecessary limitation of the precision in the Read from Spreadsheet VI.

  • When using java -jar does -cp have any significance?

    So we have a classpath that's set from the Manifest but I want to augment that with -cp
    From what I can tell -cp is ignored when you are using the classpath from a Manifest.

    >
    From what I can tell -cp is ignored when you are using the classpath from a Manifest.>No. The -cp option is ignored when using the -jar option.
    So if you do something like..
    REM: old way of launching
    REM: java -jar the.jar arg1 arg2
    java -cp the.jar;...;another.jar the.main.class arg1 arg2..it should work as expected.

  • Is it possible to ignore "Rigid relationships between attributes cannot be changed" when using ProcessUpdate for Dimension?

    As per the title is it possible to ignore "Rigid relationships between attributes cannot be changed" when using ProcessUpdate for Dimension?
    We have a case where very rarely an item might have been miscategorised so the brand is manually changed.  We want this dimension to be rigid to speed up ProcessUpdate.
    We do a ProcessFull each night, so it will get corrected then, but during the hourly updates we would just like to ignore this error if possible?

    Hello,
    The rigid relationship should be defined when the members will not change over time. Here are some threads regarding rigid relationship for your reference, please see:
    Processing OLAP Cube: http://social.technet.microsoft.com/Forums/sqlserver/en-US/17a55593-9543-404e-a579-0a011965585d/processing-olap-cube?forum=sqlanalysisservices
    Flexible and rigid relationship: http://social.msdn.microsoft.com/Forums/sqlserver/en-US/2d8f5443-065d-4485-9385-6f0b5fa417da/flexible-and-rigid-relationship?forum=sqlanalysisservices
    If you have any feedback on our support, please click
    here.
    Regards,
    Elvis Long
    TechNet Community Support

  • [SOLVED] NetworkManager ignores MTU size when using PPTP

    I'm using PPTP to connect to my working network.
    I've configured connection to use with pon/poff and it works well, but I want to use NetworkManager to manage all connections.
    I created VPN PPTP connection. But after successful authentification NM drops connection with next message:
    pptp[18526]: nm-pptp-service-18522 warn[decaps_gre:pptp_gre.c:331]: short read (-1): Message too long
    This message usually means that MTU in PPTP connection is too large.
    I've changed next options in /etc/ppp/options
    mtu 1000
    mru 1000
    like values in the working pptp connection when using pon/poff.
    Then I run
    watch ip link show
    and I noticed that ppp0 was created with MTU=996 (it's great!) but then MTU size was changed to 1400 (bad) and connection dropped.
    So I think it's NM's fault. Do you have any ideas how to resolve this issue?
    Last edited by Shtsh (2012-06-27 11:50:17)

    Resolved using http://archlinux.org.ru/forum/viewtopic.php?f=16&t=8721
    # cat /etc/NetworkManager/dispatcher.d/20-mtu_change
    #!/bin/bash
    INTERFACE=$1
    STATUS=$2
    VPN_ID="5d4ee387-3171-4006-bda1-231b249690b9"
    if [ "$STATUS" = "vpn-up" -a "$CONNECTION_UUID" = "$VPN_ID" ]; then
    ip link set "$INTERFACE" mtu 1000
    fi

  • I am totally ignorant when it comes to these products.  How can I put music on my shuffle without paying for it on itunes?  Can't I find a song somewhere and where and then transfer it to my shuffle somehow.  I have been trying for 3 hours.

    I am totally ignorant when it comes to these products and devices.  I have a ipod shuffle, 4th generation.  I want to find music, without purchasing a song on itunes  and then copy it to my shuffle.  Is this possible.  If so, where do I find the music and how do I get it to my shuffle.  I have been trying for 3 hours and about to give up. Please help me.

    Yes, of course.  iTunes was around before there was an iTunes Store.  And I think Apple cares MORE that you purchased an iPod, and LESS about where you get your music to play on the iPod.
    You can buy music the "old school" way, on CD, and "rip" them into your iTunes library using iTunes.
    You can download/buy music from other sources, as longs as the format is MP3 or AAC, and don't use copy protection (DRM).  NOTE:  iTunes Store music downloads do not use any DRM. 
    One example is Amazon.com. 
    http://www.amazon.com/MP3-Music-Download/b/ref=sa_menu_mp3_str1?ie=UTF8&node=163 856011
    They offer a utility called Amazon MP3 Downloader, which automatically places your downloads into your iTunes library.
    If the source just provides you with the downloaded song files, all you need to do is open a window showing the files or the folder containing the files.  Run iTunes and select Music in the sidebar, under LIBRARY.  Then drag the songs files or the folder containing the files from its window to the iTunes window, and drop them there.  iTunes will add the songs to your iTunes library.
    Once the songs are in your iTunes library, you can automatically sync or manually load them onto your shuffle.
    http://www.apple.com/support/ipodshuffle/syncing/

  • Java Heap Error when using Stateless Session Timer Bean deployed in Oracle

    Hi,
    Am getting following Java Heap Error when using Stateless Session Timer Bean deployed in Oracle 10g AS R3 (Oracle Containers for J2EE 10g (10.1.3.0.0) (build 060119.1546.05277) ):
    06/08/02 14:58:43 javax.ejb.EJBException: java.lang.OutOfMemoryError: Java heap space
    06/08/02 14:58:43 at com.evermind.server.ejb.EJBUtils.getLocalUserException(EJBUtils.java:304)
    06/08/02 14:58:43 at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:67)
    06/08/02 14:58:43 at com.evermind.server.ejb.interceptor.system.TxNotSupportedInterceptor.invoke(TxNotSupportedInterceptor.java:45)
    06/08/02 14:58:43 at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:69)
    06/08/02 14:58:43 at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:86)
    06/08/02 14:58:43 at com.evermind.server.ejb.StatelessSessionEJBHome.invokeTimer(StatelessSessionEJBHome.java:71)
    06/08/02 14:58:43 at com.evermind.server.ejb.EJBContainer.invokeTimer(EJBContainer.java:1624)
    06/08/02 14:58:43 at oracle.ias.container.scheduler.TimerTask.runBeanTimer(TimerTask.java:92)
    06/08/02 14:58:43 at oracle.ias.container.scheduler.TimerTask.run(TimerTask.java:184)
    06/08/02 14:58:43 at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:819)
    06/08/02 14:58:43 at java.lang.Thread.run(Thread.java:595)
    06/08/02 14:58:43 Caused by: java.lang.OutOfMemoryError: Java heap space
    I had tried using -Xms / -Xmx options (upto 1 GB).
    The trace of exception gets delayed (from being displayed on the console) as the memory size is increased; but after sometime it starts getting displayed on the console.
    Even though this exception is displayed on the console, the Timer Bean continues to execute upto sometime before it finally crashes!
    If anyone has encountered such problem; would appreciate if you could share the solution.
    Regards, Vidyadhar

    Hi guys, I have the same problem. I have an application EAR file with two modules (EJB and WAR starting in this order). The application can schedule a process via EJB timer. In this case restarting the server I receive the error above. If I change the modules start order --> WAR - EJB the server start correctly, but the application scheduler fails (the persistency is not working) with this error:
    07/10/09 10:30:54 FINISSIMO: TimerTask.runBeanTimer java.lang.NullPointerException; nested exception is: java.lang.NullPointerExceptionjavax.ejb.TransactionRolledbackLocalException: java.lang.NullPointerException; nested exception is: java.lang.NullPointerException
    java.lang.NullPointerException
         at java.util.ListResourceBundle.handleGetObject(ListResourceBundle.java:107)
         at java.util.ResourceBundle.getObject(ResourceBundle.java:319)
         at java.util.ResourceBundle.getString(ResourceBundle.java:285)
         at java.util.logging.Formatter.formatMessage(Formatter.java:108)
         at oracle.j2ee.util.TraceLogFormatter.format(TraceLogger.java:124)
         at oracle.j2ee.util.TraceLogger$TraceLoggerHandler.publish(TraceLogger.java:105)
         at java.util.logging.Logger.log(Logger.java:428)
         at java.util.logging.Logger.doLog(Logger.java:450)
         at java.util.logging.Logger.log(Logger.java:539)
         at oracle.ias.container.timer.TimerEntry.readObjFromBytes(TimerEntry.java:308)
         at oracle.ias.container.timer.TimerEntry.getInfo(TimerEntry.java:107)
         at oracle.ias.container.timer.Timer.getInfo(Timer.java:367)
         at oracle.ias.container.timer.EJBTimerImpl.getInfo(EJBTimerImpl.java:89)
         at com.finantix.foundation.integration.ejbtimer.EJBTimerServiceExecutorBean.ejbTimeout(EJBTimerServiceExecutorBean.java:42)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBTimeoutJoinPoint.invoke(EJBTimeoutJoinPoint.java:20)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:53)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at com.evermind.server.ejb.StatelessSessionEJBHome.invokeTimer(StatelessSessionEJBHome.java:38)
         at com.evermind.server.ejb.EJBContainer.invokeTimer(EJBContainer.java:1714)
         at oracle.ias.container.scheduler.TimerTask.runBeanTimer(TimerTask.java:106)
         at oracle.ias.container.scheduler.TimerTask.run(TimerTask.java:220)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    javax.ejb.TransactionRolledbackLocalException: java.lang.NullPointerException; nested exception is: java.lang.NullPointerException
         at com.evermind.server.ejb.EJBUtils.getLocalUserException(EJBUtils.java:309)
         at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:73)
         at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:55)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
         at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
         at com.evermind.server.ejb.StatelessSessionEJBHome.invokeTimer(StatelessSessionEJBHome.java:38)
         at com.evermind.server.ejb.EJBContainer.invokeTimer(EJBContainer.java:1714)
         at oracle.ias.container.scheduler.TimerTask.runBeanTimer(TimerTask.java:106)
         at oracle.ias.container.scheduler.TimerTask.run(TimerTask.java:220)
         at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: java.lang.NullPointerException
         at java.util.ListResourceBundle.handleGetObject(ListResourceBundle.java:107)
         at java.util.ResourceBundle.getObject(ResourceBundle.java:319)
         at java.util.ResourceBundle.getString(ResourceBundle.java:285)
         at java.util.logging.Formatter.formatMessage(Formatter.java:108)
         at oracle.j2ee.util.TraceLogFormatter.format(TraceLogger.java:124)
         at oracle.j2ee.util.TraceLogger$TraceLoggerHandler.publish(TraceLogger.java:105)
         at java.util.logging.Logger.log(Logger.java:428)
         at java.util.logging.Logger.doLog(Logger.java:450)
         at java.util.logging.Logger.log(Logger.java:539)
         at oracle.ias.container.timer.TimerEntry.readObjFromBytes(TimerEntry.java:308)
         at oracle.ias.container.timer.TimerEntry.getInfo(TimerEntry.java:107)
         at oracle.ias.container.timer.Timer.getInfo(Timer.java:367)
         at oracle.ias.container.timer.EJBTimerImpl.getInfo(EJBTimerImpl.java:89)
         at com.finantix.foundation.integration.ejbtimer.EJBTimerServiceExecutorBean.ejbTimeout(EJBTimerServiceExecutorBean.java:42)
         at com.evermind.server.ejb.interceptor.joinpoint.EJBTimeoutJoinPoint.invoke(EJBTimeoutJoinPoint.java:20)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
         at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
         at com.evermind.server.ejb.interceptor.system.TxBeanManagedInterceptor.invoke(TxBeanManagedInterceptor.java:53)
         ... 9 more
    Any idea?
    Thx Auro

  • [SOLVED]Xorg crash with some applications when using double screen

    Hi,
    I have a TV that I often use to watch dvd from my computer, and to do that I've set it up as a second screen in my xorg.conf, but on a daily basis I use a xorg.conf file with only my main screen. Up until last week I was able to use my second screen without problem, but yesterday I tried and it crashed instantly.
    So I ran a few tests, amsn and vlc seems to be 2 applications that makes X crash (though there might be other, but I seem to be able to use chromium firefox and ktorrent just fine).
    My WM is not to blame, I've launched X without any WM and vlc still makes X crash.
    The problem does not happen when using a single screen.
    I thought that my xorg.conf might be the problem, so I used nvidia-settings to create a new one, but that didn't change anything.
    Here are my xorg.conf used for dual screen, and the logfile from the Xorg crash:
    # nvidia-xconfig: X configuration file generated by nvidia-xconfig
    # nvidia-xconfig: version 1.0 (buildmeister@builder62) Wed May 27 01:58:49 PDT 2009
    Section "ServerLayout"
    Identifier "Layout0"
    Screen 0 "Screen0" 0 0
    Screen 1 "Screen1" RightOf "Screen0"
    InputDevice "Keyboard0" "CoreKeyboard"
    InputDevice "Mouse0" "CorePointer"
    Option "Xinerama" "1"
    EndSection
    Section "Files"
    EndSection
    Section "ServerFlags"
    Option "Xinerama" "1"
    EndSection
    Section "InputDevice"
    # generated from default
    Identifier "Mouse0"
    Driver "mouse"
    Option "Protocol" "auto"
    Option "Device" "/dev/psaux"
    Option "Emulate3Buttons" "no"
    Option "ZAxisMapping" "4 5"
    EndSection
    Section "InputDevice"
    # generated from default
    Identifier "Keyboard0"
    Driver "kbd"
    EndSection
    Section "InputClass"
    Identifier "Keyboard Defaults"
    MatchIsKeyboard "yes"
    Option "XkbLayout" "fr"
    EndSection
    Section "Monitor"
    Identifier "Monitor0"
    VendorName "Unknown"
    ModelName "Lite-On e1770NSL/T"
    HorizSync 30.0 - 70.0
    VertRefresh 50.0 - 160.0
    Option "DPMS"
    EndSection
    Section "Monitor"
    Identifier "Monitor1"
    VendorName "Unknown"
    ModelName "CRT-1"
    HorizSync 31.5 - 64.0
    VertRefresh 56.0 - 75.0
    EndSection
    Section "Device"
    Identifier "Device0"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BoardName "GeForce 8800 GT"
    BusID "PCI:1:0:0"
    Screen 0
    EndSection
    Section "Device"
    Identifier "Device1"
    Driver "nvidia"
    VendorName "NVIDIA Corporation"
    BoardName "GeForce 8800 GT"
    BusID "PCI:1:0:0"
    Screen 1
    EndSection
    Section "Screen"
    Identifier "Screen0"
    Device "Device0"
    Monitor "Monitor0"
    DefaultDepth 24
    Option "TwinView" "0"
    Option "TwinViewXineramaInfoOrder" "CRT-0"
    Option "metamodes" "CRT-0: 1280x1024 +0+0"
    SubSection "Display"
    Depth 24
    EndSubSection
    EndSection
    Section "Screen"
    Identifier "Screen1"
    Device "Device1"
    Monitor "Monitor1"
    DefaultDepth 24
    Option "TwinView" "0"
    Option "metamodes" "CRT-1: 1360x768 +0+0"
    SubSection "Display"
    Depth 24
    EndSubSection
    EndSection
    [ 12049.854]
    X.Org X Server 1.9.0
    Release Date: 2010-08-20
    [ 12049.855] X Protocol Version 11, Revision 0
    [ 12049.855] Build Operating System: Linux 2.6.34-ARCH x86_64
    [ 12049.855] Current Operating System: Linux Arch 2.6.35-ARCH #1 SMP PREEMPT Wed Sep 29 08:45:18 CEST 2010 x86_64
    [ 12049.855] Kernel command line: root=/dev/disk/by-uuid/132b76f3-06e9-4838-944f-43ac4deccebb ro
    [ 12049.855] Build Date: 24 August 2010 01:44:37PM
    [ 12049.855]
    [ 12049.855] Current version of pixman: 0.18.4
    [ 12049.856] Before reporting problems, check http://wiki.x.org
    to make sure that you have the latest version.
    [ 12049.856] Markers: (--) probed, (**) from config file, (==) default setting,
    (++) from command line, (!!) notice, (II) informational,
    (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
    [ 12049.856] (==) Log file: "/var/log/Xorg.0.log", Time: Tue Oct 5 17:25:50 2010
    [ 12049.857] (==) Using config file: "/etc/X11/xorg.conf"
    [ 12049.857] (==) Using config directory: "/etc/X11/xorg.conf.d"
    [ 12049.857] (==) ServerLayout "Layout0"
    [ 12049.857] (**) |-->Screen "Screen0" (0)
    [ 12049.857] (**) | |-->Monitor "Monitor0"
    [ 12049.857] (**) | |-->Device "Device0"
    [ 12049.857] (**) |-->Screen "Screen1" (1)
    [ 12049.857] (**) | |-->Monitor "Monitor1"
    [ 12049.857] (**) | |-->Device "Device1"
    [ 12049.857] (**) |-->Input Device "Keyboard0"
    [ 12049.857] (**) |-->Input Device "Mouse0"
    [ 12049.857] (**) Option "Xinerama" "1"
    [ 12049.857] (==) Automatically adding devices
    [ 12049.857] (==) Automatically enabling devices
    [ 12049.857] (**) Xinerama: enabled
    [ 12049.857] (WW) The directory "/usr/share/fonts/OTF/" does not exist.
    [ 12049.857] Entry deleted from font path.
    [ 12049.857] (==) FontPath set to:
    /usr/share/fonts/misc/,
    /usr/share/fonts/TTF/,
    /usr/share/fonts/Type1/,
    /usr/share/fonts/100dpi/,
    /usr/share/fonts/75dpi/
    [ 12049.857] (==) ModulePath set to "/usr/lib/xorg/modules"
    [ 12049.857] (WW) AllowEmptyInput is on, devices using drivers 'kbd', 'mouse' or 'vmmouse' will be disabled.
    [ 12049.857] (WW) Disabling Keyboard0
    [ 12049.857] (WW) Disabling Mouse0
    [ 12049.857] (II) Loader magic: 0x7d4880
    [ 12049.857] (II) Module ABI versions:
    [ 12049.857] X.Org ANSI C Emulation: 0.4
    [ 12049.857] X.Org Video Driver: 8.0
    [ 12049.857] X.Org XInput driver : 11.0
    [ 12049.857] X.Org Server Extension : 4.0
    [ 12049.858] (--) PCI:*(0:1:0:0) 10de:0611:1462:1170 rev 162, Mem @ 0xfd000000/16777216, 0xd0000000/268435456, 0xfa000000/33554432, I/O @ 0x0000cc00/128, BIOS @ 0x????????/131072
    [ 12049.858] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
    [ 12049.858] (II) LoadModule: "extmod"
    [ 12049.858] (II) Loading /usr/lib/xorg/modules/extensions/libextmod.so
    [ 12049.858] (II) Module extmod: vendor="X.Org Foundation"
    [ 12049.858] compiled for 1.9.0, module version = 1.0.0
    [ 12049.858] Module class: X.Org Server Extension
    [ 12049.858] ABI class: X.Org Server Extension, version 4.0
    [ 12049.858] (II) Loading extension MIT-SCREEN-SAVER
    [ 12049.858] (II) Loading extension XFree86-VidModeExtension
    [ 12049.858] (II) Loading extension XFree86-DGA
    [ 12049.858] (II) Loading extension DPMS
    [ 12049.858] (II) Loading extension XVideo
    [ 12049.858] (II) Loading extension XVideo-MotionCompensation
    [ 12049.858] (II) Loading extension X-Resource
    [ 12049.858] (II) LoadModule: "dbe"
    [ 12049.859] (II) Loading /usr/lib/xorg/modules/extensions/libdbe.so
    [ 12049.859] (II) Module dbe: vendor="X.Org Foundation"
    [ 12049.859] compiled for 1.9.0, module version = 1.0.0
    [ 12049.859] Module class: X.Org Server Extension
    [ 12049.859] ABI class: X.Org Server Extension, version 4.0
    [ 12049.859] (II) Loading extension DOUBLE-BUFFER
    [ 12049.859] (II) LoadModule: "glx"
    [ 12049.859] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
    [ 12049.866] (II) Module glx: vendor="NVIDIA Corporation"
    [ 12049.867] compiled for 4.0.2, module version = 1.0.0
    [ 12049.867] Module class: X.Org Server Extension
    [ 12049.867] (II) NVIDIA GLX Module 256.53 Fri Aug 27 20:50:26 PDT 2010
    [ 12049.867] (II) Loading extension GLX
    [ 12049.867] (II) LoadModule: "record"
    [ 12049.867] (II) Loading /usr/lib/xorg/modules/extensions/librecord.so
    [ 12049.867] (II) Module record: vendor="X.Org Foundation"
    [ 12049.867] compiled for 1.9.0, module version = 1.13.0
    [ 12049.867] Module class: X.Org Server Extension
    [ 12049.867] ABI class: X.Org Server Extension, version 4.0
    [ 12049.867] (II) Loading extension RECORD
    [ 12049.867] (II) LoadModule: "dri"
    [ 12049.867] (II) Loading /usr/lib/xorg/modules/extensions/libdri.so
    [ 12049.867] (II) Module dri: vendor="X.Org Foundation"
    [ 12049.867] compiled for 1.9.0, module version = 1.0.0
    [ 12049.867] ABI class: X.Org Server Extension, version 4.0
    [ 12049.867] (II) Loading extension XFree86-DRI
    [ 12049.867] (II) LoadModule: "dri2"
    [ 12049.867] (II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
    [ 12049.867] (II) Module dri2: vendor="X.Org Foundation"
    [ 12049.867] compiled for 1.9.0, module version = 1.2.0
    [ 12049.867] ABI class: X.Org Server Extension, version 4.0
    [ 12049.867] (II) Loading extension DRI2
    [ 12049.867] (II) LoadModule: "nvidia"
    [ 12049.867] (II) Loading /usr/lib/xorg/modules/drivers/nvidia_drv.so
    [ 12049.868] (II) Module nvidia: vendor="NVIDIA Corporation"
    [ 12049.868] compiled for 4.0.2, module version = 1.0.0
    [ 12049.868] Module class: X.Org Video Driver
    [ 12049.868] (II) NVIDIA dlloader X Driver 256.53 Fri Aug 27 20:29:45 PDT 2010
    [ 12049.868] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs
    [ 12049.868] (--) using VT number 7
    [ 12049.869] (II) Loading sub module "fb"
    [ 12049.869] (II) LoadModule: "fb"
    [ 12049.869] (II) Loading /usr/lib/xorg/modules/libfb.so
    [ 12049.870] (II) Module fb: vendor="X.Org Foundation"
    [ 12049.870] compiled for 1.9.0, module version = 1.0.0
    [ 12049.870] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 12049.870] (II) Loading sub module "wfb"
    [ 12049.870] (II) LoadModule: "wfb"
    [ 12049.870] (II) Loading /usr/lib/xorg/modules/libwfb.so
    [ 12049.870] (II) Module wfb: vendor="X.Org Foundation"
    [ 12049.870] compiled for 1.9.0, module version = 1.0.0
    [ 12049.870] ABI class: X.Org ANSI C Emulation, version 0.4
    [ 12049.870] (II) Loading sub module "ramdac"
    [ 12049.870] (II) LoadModule: "ramdac"
    [ 12049.870] (II) Module "ramdac" already built-in
    [ 12049.870] (**) NVIDIA(0): Depth 24, (--) framebuffer bpp 32
    [ 12049.870] (==) NVIDIA(0): RGB weight 888
    [ 12049.870] (==) NVIDIA(0): Default visual is TrueColor
    [ 12049.870] (==) NVIDIA(0): Using gamma correction (1.0, 1.0, 1.0)
    [ 12049.870] (**) NVIDIA(0): Option "TwinView" "0"
    [ 12049.870] (**) NVIDIA(0): Option "MetaModes" "CRT-0: 1280x1024 +0+0"
    [ 12049.870] (**) NVIDIA(0): Option "TwinViewXineramaInfoOrder" "CRT-0"
    [ 12049.870] (**) NVIDIA(0): Enabling RENDER acceleration
    [ 12049.870] (II) NVIDIA(0): Support for GLX with the Damage and Composite X extensions is
    [ 12049.870] (II) NVIDIA(0): enabled.
    [ 12049.955] (WW) NVIDIA(GPU-0): Unable to read EDID for display device CRT-1
    [ 12049.957] (II) NVIDIA(0): NVIDIA GPU GeForce 8800 GT (G92) at PCI:1:0:0 (GPU-0)
    [ 12049.957] (--) NVIDIA(0): Memory: 524288 kBytes
    [ 12049.957] (--) NVIDIA(0): VideoBIOS: 62.92.23.00.00
    [ 12049.957] (II) NVIDIA(0): Detected PCI Express Link width: 16X
    [ 12049.957] (--) NVIDIA(0): Interlaced video modes are supported on this GPU
    [ 12049.957] (--) NVIDIA(0): Connected display device(s) on GeForce 8800 GT at PCI:1:0:0:
    [ 12049.957] (--) NVIDIA(0): Lite-On e1770NSL/T (CRT-0)
    [ 12049.957] (--) NVIDIA(0): CRT-1
    [ 12049.957] (--) NVIDIA(0): Lite-On e1770NSL/T (CRT-0): 400.0 MHz maximum pixel clock
    [ 12049.957] (--) NVIDIA(0): CRT-1: 400.0 MHz maximum pixel clock
    [ 12049.960] (II) NVIDIA(0): Display Device found referenced in MetaMode: CRT-0
    [ 12049.967] (II) NVIDIA(0): Assigned Display Device: CRT-0
    [ 12049.967] (II) NVIDIA(0): Validated modes:
    [ 12049.967] (II) NVIDIA(0): "CRT-0:1280x1024+0+0"
    [ 12049.967] (II) NVIDIA(0): Virtual screen size determined to be 1280 x 1024
    [ 12049.999] (--) NVIDIA(0): DPI set to (101, 108); computed from "UseEdidDpi" X config
    [ 12049.999] (--) NVIDIA(0): option
    [ 12049.999] (WW) NVIDIA(0): 32-bit ARGB GLX visuals are not currently supported with the
    [ 12049.999] (WW) NVIDIA(0): Xinerama extension.
    [ 12049.999] (WW) NVIDIA(0): Disabling 32-bit ARGB GLX visuals.
    [ 12049.999] (**) NVIDIA(1): Depth 24, (--) framebuffer bpp 32
    [ 12049.999] (==) NVIDIA(1): RGB weight 888
    [ 12049.999] (==) NVIDIA(1): Default visual is TrueColor
    [ 12049.999] (==) NVIDIA(1): Using gamma correction (1.0, 1.0, 1.0)
    [ 12049.999] (**) NVIDIA(1): Option "TwinView" "0"
    [ 12049.999] (**) NVIDIA(1): Option "MetaModes" "CRT-1: 1360x768 +0+0"
    [ 12049.999] (**) NVIDIA(1): Enabling RENDER acceleration
    [ 12049.999] (II) NVIDIA(1): NVIDIA GPU GeForce 8800 GT (G92) at PCI:1:0:0 (GPU-0)
    [ 12049.999] (--) NVIDIA(1): Memory: 524288 kBytes
    [ 12049.999] (--) NVIDIA(1): VideoBIOS: 62.92.23.00.00
    [ 12049.999] (II) NVIDIA(1): Detected PCI Express Link width: 16X
    [ 12049.999] (--) NVIDIA(1): Interlaced video modes are supported on this GPU
    [ 12049.999] (--) NVIDIA(1): Connected display device(s) on GeForce 8800 GT at PCI:1:0:0:
    [ 12049.999] (--) NVIDIA(1): Lite-On e1770NSL/T (CRT-0)
    [ 12049.999] (--) NVIDIA(1): CRT-1
    [ 12049.999] (--) NVIDIA(1): Lite-On e1770NSL/T (CRT-0): 400.0 MHz maximum pixel clock
    [ 12049.999] (--) NVIDIA(1): CRT-1: 400.0 MHz maximum pixel clock
    [ 12050.002] (II) NVIDIA(1): Display Device found referenced in MetaMode: CRT-1
    [ 12050.006] (II) NVIDIA(1): Assigned Display Device: CRT-1
    [ 12050.006] (WW) NVIDIA(1): No valid modes for "CRT-1:1360x768+0+0"; removing.
    [ 12050.006] (WW) NVIDIA(1):
    [ 12050.006] (WW) NVIDIA(1): Unable to validate any modes; falling back to the default mode
    [ 12050.006] (WW) NVIDIA(1): "nvidia-auto-select".
    [ 12050.006] (WW) NVIDIA(1):
    [ 12050.006] (II) NVIDIA(1): Validated modes:
    [ 12050.006] (II) NVIDIA(1): "nvidia-auto-select"
    [ 12050.006] (II) NVIDIA(1): Virtual screen size determined to be 1024 x 768
    [ 12050.009] (WW) NVIDIA(1): Unable to get display device CRT-1's EDID; cannot compute DPI
    [ 12050.009] (WW) NVIDIA(1): from CRT-1's EDID.
    [ 12050.009] (==) NVIDIA(1): DPI set to (75, 75); computed from built-in default
    [ 12050.009] (WW) NVIDIA(1): 32-bit ARGB GLX visuals are not currently supported with the
    [ 12050.009] (WW) NVIDIA(1): Xinerama extension.
    [ 12050.009] (WW) NVIDIA(1): Disabling 32-bit ARGB GLX visuals.
    [ 12050.009] (--) Depth 24 pixmap format is 32 bpp
    [ 12050.009] (II) NVIDIA: Using 768.00 MB of virtual memory for indirect memory access.
    [ 12050.010] (II) NVIDIA(0): Initialized GPU GART.
    [ 12050.014] (II) NVIDIA(0): ACPI: failed to connect to the ACPI event daemon; the daemon
    [ 12050.014] (II) NVIDIA(0): may not be running or the "AcpidSocketPath" X
    [ 12050.014] (II) NVIDIA(0): configuration option may not be set correctly. When the
    [ 12050.014] (II) NVIDIA(0): ACPI event daemon is available, the NVIDIA X driver will
    [ 12050.014] (II) NVIDIA(0): try to use it to receive ACPI event notifications. For
    [ 12050.014] (II) NVIDIA(0): details, please see the "ConnectToAcpid" and
    [ 12050.014] (II) NVIDIA(0): "AcpidSocketPath" X configuration options in Appendix B: X
    [ 12050.014] (II) NVIDIA(0): Config Options in the README.
    [ 12050.017] (II) NVIDIA(0): Setting mode "CRT-0:1280x1024+0+0"
    [ 12050.049] (II) Loading extension NV-GLX
    [ 12050.064] (II) NVIDIA(0): Initialized OpenGL Acceleration
    [ 12050.071] (==) NVIDIA(0): Disabling shared memory pixmaps
    [ 12050.071] (II) NVIDIA(0): Initialized X Rendering Acceleration
    [ 12050.071] (==) NVIDIA(0): Backing store disabled
    [ 12050.071] (==) NVIDIA(0): Silken mouse enabled
    [ 12050.085] (**) NVIDIA(0): DPMS enabled
    [ 12050.085] (II) Loading extension NV-CONTROL
    [ 12050.085] (II) Loading sub module "dri2"
    [ 12050.085] (II) LoadModule: "dri2"
    [ 12050.085] (II) Reloading /usr/lib/xorg/modules/extensions/libdri2.so
    [ 12050.085] (II) NVIDIA(0): [DRI2] Setup complete
    [ 12050.085] (==) RandR enabled
    [ 12050.086] (II) NVIDIA(1): Initialized GPU GART.
    [ 12050.090] (II) NVIDIA(1): ACPI: failed to connect to the ACPI event daemon; the daemon
    [ 12050.090] (II) NVIDIA(1): may not be running or the "AcpidSocketPath" X
    [ 12050.090] (II) NVIDIA(1): configuration option may not be set correctly. When the
    [ 12050.090] (II) NVIDIA(1): ACPI event daemon is available, the NVIDIA X driver will
    [ 12050.090] (II) NVIDIA(1): try to use it to receive ACPI event notifications. For
    [ 12050.090] (II) NVIDIA(1): details, please see the "ConnectToAcpid" and
    [ 12050.090] (II) NVIDIA(1): "AcpidSocketPath" X configuration options in Appendix B: X
    [ 12050.090] (II) NVIDIA(1): Config Options in the README.
    [ 12050.090] (II) NVIDIA(1): Setting mode "nvidia-auto-select"
    [ 12050.145] (II) NVIDIA(1): Initialized OpenGL Acceleration
    [ 12050.149] (==) NVIDIA(1): Disabling shared memory pixmaps
    [ 12050.149] (II) NVIDIA(1): Initialized X Rendering Acceleration
    [ 12050.149] (==) NVIDIA(1): Backing store disabled
    [ 12050.149] (==) NVIDIA(1): Silken mouse enabled
    [ 12050.157] (==) NVIDIA(1): DPMS enabled
    [ 12050.158] (II) Loading sub module "dri2"
    [ 12050.158] (II) LoadModule: "dri2"
    [ 12050.158] (II) Reloading /usr/lib/xorg/modules/extensions/libdri2.so
    [ 12050.158] (II) NVIDIA(1): [DRI2] Setup complete
    [ 12050.158] (==) RandR enabled
    [ 12050.158] (II) Initializing built-in extension Generic Event Extension
    [ 12050.158] (II) Initializing built-in extension SHAPE
    [ 12050.158] (II) Initializing built-in extension MIT-SHM
    [ 12050.158] (II) Initializing built-in extension XInputExtension
    [ 12050.158] (II) Initializing built-in extension XTEST
    [ 12050.158] (II) Initializing built-in extension BIG-REQUESTS
    [ 12050.158] (II) Initializing built-in extension SYNC
    [ 12050.158] (II) Initializing built-in extension XKEYBOARD
    [ 12050.158] (II) Initializing built-in extension XC-MISC
    [ 12050.158] (II) Initializing built-in extension SECURITY
    [ 12050.158] (II) Initializing built-in extension XINERAMA
    [ 12050.158] (II) Initializing built-in extension XFIXES
    [ 12050.158] (II) Initializing built-in extension RENDER
    [ 12050.158] (II) Initializing built-in extension RANDR
    [ 12050.158] (II) Initializing built-in extension COMPOSITE
    [ 12050.158] (II) Initializing built-in extension DAMAGE
    [ 12050.160] (II) Initializing extension GLX
    [ 12050.367] (II) config/udev: Adding input device Power Button (/dev/input/event3)
    [ 12050.367] (**) Power Button: Applying InputClass "evdev keyboard catchall"
    [ 12050.367] (II) LoadModule: "evdev"
    [ 12050.367] (II) Loading /usr/lib/xorg/modules/input/evdev_drv.so
    [ 12050.367] (II) Module evdev: vendor="X.Org Foundation"
    [ 12050.367] compiled for 1.9.0, module version = 2.5.0
    [ 12050.367] Module class: X.Org XInput Driver
    [ 12050.367] ABI class: X.Org XInput driver, version 11.0
    [ 12050.367] (**) Power Button: always reports core events
    [ 12050.367] (**) Power Button: Device: "/dev/input/event3"
    [ 12050.375] (--) Power Button: Found keys
    [ 12050.375] (II) Power Button: Configuring as keyboard
    [ 12050.376] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
    [ 12050.376] (**) Option "xkb_rules" "evdev"
    [ 12050.376] (**) Option "xkb_model" "evdev"
    [ 12050.376] (**) Option "xkb_layout" "us"
    [ 12050.399] (II) config/udev: Adding input device Power Button (/dev/input/event2)
    [ 12050.399] (**) Power Button: Applying InputClass "evdev keyboard catchall"
    [ 12050.399] (**) Power Button: always reports core events
    [ 12050.399] (**) Power Button: Device: "/dev/input/event2"
    [ 12050.415] (--) Power Button: Found keys
    [ 12050.415] (II) Power Button: Configuring as keyboard
    [ 12050.415] (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD)
    [ 12050.415] (**) Option "xkb_rules" "evdev"
    [ 12050.415] (**) Option "xkb_model" "evdev"
    [ 12050.415] (**) Option "xkb_layout" "us"
    [ 12050.416] (II) config/udev: Adding input device UVC Camera (046d:0802) (/dev/input/event4)
    [ 12050.416] (**) UVC Camera (046d:0802): Applying InputClass "evdev keyboard catchall"
    [ 12050.416] (**) UVC Camera (046d:0802): always reports core events
    [ 12050.416] (**) UVC Camera (046d:0802): Device: "/dev/input/event4"
    [ 12050.428] (--) UVC Camera (046d:0802): Found keys
    [ 12050.428] (II) UVC Camera (046d:0802): Configuring as keyboard
    [ 12050.428] (II) XINPUT: Adding extended input device "UVC Camera (046d:0802)" (type: KEYBOARD)
    [ 12050.428] (**) Option "xkb_rules" "evdev"
    [ 12050.428] (**) Option "xkb_model" "evdev"
    [ 12050.428] (**) Option "xkb_layout" "us"
    [ 12050.430] (II) config/udev: Adding input device Microsoft Microsoft 3-Button Mouse with IntelliEye(TM) (/dev/input/event5)
    [ 12050.431] (**) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): Applying InputClass "evdev pointer catchall"
    [ 12050.431] (**) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): always reports core events
    [ 12050.431] (**) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): Device: "/dev/input/event5"
    [ 12050.442] (--) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): Found 3 mouse buttons
    [ 12050.442] (--) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): Found scroll wheel(s)
    [ 12050.442] (--) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): Found relative axes
    [ 12050.442] (--) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): Found x and y relative axes
    [ 12050.442] (II) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): Configuring as mouse
    [ 12050.442] (**) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): YAxisMapping: buttons 4 and 5
    [ 12050.442] (**) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200
    [ 12050.442] (II) XINPUT: Adding extended input device "Microsoft Microsoft 3-Button Mouse with IntelliEye(TM)" (type: MOUSE)
    [ 12050.442] (**) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): (accel) keeping acceleration scheme 1
    [ 12050.442] (**) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): (accel) acceleration profile 0
    [ 12050.442] (**) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): (accel) acceleration factor: 2.000
    [ 12050.442] (**) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): (accel) acceleration threshold: 4
    [ 12050.442] (II) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): initialized for relative axes.
    [ 12050.442] (II) config/udev: Adding input device Microsoft Microsoft 3-Button Mouse with IntelliEye(TM) (/dev/input/mouse0)
    [ 12050.442] (II) No input driver/identifier specified (ignoring)
    [ 12050.444] (II) config/udev: Adding input device AT Translated Set 2 keyboard (/dev/input/event0)
    [ 12050.444] (**) AT Translated Set 2 keyboard: Applying InputClass "evdev keyboard catchall"
    [ 12050.444] (**) AT Translated Set 2 keyboard: always reports core events
    [ 12050.444] (**) AT Translated Set 2 keyboard: Device: "/dev/input/event0"
    [ 12050.458] (--) AT Translated Set 2 keyboard: Found keys
    [ 12050.458] (II) AT Translated Set 2 keyboard: Configuring as keyboard
    [ 12050.458] (II) XINPUT: Adding extended input device "AT Translated Set 2 keyboard" (type: KEYBOARD)
    [ 12050.458] (**) Option "xkb_rules" "evdev"
    [ 12050.458] (**) Option "xkb_model" "evdev"
    [ 12050.458] (**) Option "xkb_layout" "us"
    [ 12050.459] (II) config/udev: Adding input device PC Speaker (/dev/input/event1)
    [ 12050.459] (II) No input driver/identifier specified (ignoring)
    [ 12057.008]
    Backtrace:
    [ 12057.008] 0: X (xorg_backtrace+0x28) [0x49f558]
    [ 12057.008] 1: X (0x400000+0x67939) [0x467939]
    [ 12057.008] 2: /lib/libpthread.so.0 (0x7f6c851f4000+0xf1c0) [0x7f6c852031c0]
    [ 12057.008] 3: X (0x400000+0x130355) [0x530355]
    [ 12057.008] 4: X (0x400000+0x2a2e1) [0x42a2e1]
    [ 12057.008] 5: X (0x400000+0x2123e) [0x42123e]
    [ 12057.008] 6: /lib/libc.so.6 (__libc_start_main+0xfd) [0x7f6c84187c4d]
    [ 12057.008] 7: X (0x400000+0x20de9) [0x420de9]
    [ 12057.008] Segmentation fault at address 0x4
    [ 12057.008]
    Fatal server error:
    [ 12057.008] Caught signal 11 (Segmentation fault). Server aborting
    [ 12057.008]
    [ 12057.008]
    Please consult the The X.Org Foundation support
    at http://wiki.x.org
    for help.
    [ 12057.008] Please also check the log file at "/var/log/Xorg.0.log" for additional information.
    [ 12057.008]
    [ 12057.019] (II) Power Button: Close
    [ 12057.019] (II) UnloadModule: "evdev"
    [ 12057.032] (II) Power Button: Close
    [ 12057.032] (II) UnloadModule: "evdev"
    [ 12057.045] (II) UVC Camera (046d:0802): Close
    [ 12057.045] (II) UnloadModule: "evdev"
    [ 12057.069] (II) Microsoft Microsoft 3-Button Mouse with IntelliEye(TM): Close
    [ 12057.069] (II) UnloadModule: "evdev"
    [ 12057.082] (II) AT Translated Set 2 keyboard: Close
    [ 12057.082] (II) UnloadModule: "evdev"
    Last edited by Azriel (2010-10-06 15:09:27)

    Sorry this doesn't really help with the Xinerama problem, but since you are using the nvidia driver, have you considered using Twinview instead? You could do composite stuff too with Twinview - last I knew, Xinerama had problems with things that want to use compositing. I don't know how your setup is but if you're not set on using Xinerama, it might be an option to consider.

  • Last week I downloaded Lion and iCloud on y iMac that I bought new in May.  When I plug in my 3gs iPhone and iPad 1 I get the message "the iphone  software update server could not be contacted'. Can anyone help me? I am VERY ignorant when it comes to Macs

    I downloaded Lion and icloud last week on my iMac that I purchased in May.  When I plug in my iphone 3gs or ipad 1 I get the message "the iphone (ipad) software server could not be contacted." Can anyone advise me what to do? I am very ignorant when it comes to using my my Mac and don't know how to do much of anything and not familiar with the lingo do please be patient with me! I bought my mac when I began a second career as a teacher and have not had any spare time to become familiar with it.  Thanks, Melindakm

    I downloaded Lion and icloud last week on my iMac that I purchased in May.  When I plug in my iphone 3gs or ipad 1 I get the message "the iphone (ipad) software server could not be contacted." Can anyone advise me what to do? I am very ignorant when it comes to using my my Mac and don't know how to do much of anything and not familiar with the lingo do please be patient with me! I bought my mac when I began a second career as a teacher and have not had any spare time to become familiar with it.  Thanks, Melindakm

  • The problem is with the new operating system  and sending photo via email when used in my iPad.   From photo I selected 3 photos to send via email. I choose the upload key and choose to send by email. Typing text on the email is very slow.

    The problem is with the new operating system  and sending photo via email when used in my iPad.
    From photo I selected 3 photos to send via email. I choose the upload key and choose to send by email. Typing text on the email is very slow. This is solved by saving the email as a draft and opening the email again from mail.
    Can you amend he system to allow emails to be sent from photo as previously.

    Have you tried restarting or resetting your iPad?
    Restart: Press On/Off button until the Slide to Power Off slider appears, select Slide to Power Off and, after the iPad shuts down, then press the On/Off button until the Apple logo appears.
    Reset: Press the Home and On/Off buttons at the same time and hold them until the Apple logo appears (about 10 seconds). Ignore the "Slide to power off"

Maybe you are looking for