2 users with same User ID, Big Problems

I currently have User A from macbook 1 (old user I no longer use) and User B from macbook 2 and 3 (new user I've been using for ~4 years).
I had upgraded from macbook 1 to 2 to 3 and am currently running 10.9.5
I thought I had deleted User A through Finder a couple months ago. Since then I've been having mild annoying issues
- ppt crashes in slideshow
- quicktime player won't open
- installer doesn't work most of the time
- sometimes, my current user B will randomly switch to user A while my computer is on
- Some applications will randomly complain they can't open because they can't find User A's directory.
I ran dscacheutil -q user | grep -A 3 -B 2 -e uid:\ 5'[0-9][0-9]' and found
name: A
password: ************
uid: 501
gid: 20
dir: /Users/A
shell: /bin/bash
name: B
password: ************
uid: 501
gid: 20
dir: /Users/B
Running the command . -list /groups GroupMembership | grep user
returns nothing for user A and returns the following for user B:
_appserveradm            B
_appserverusr              B
_lpadmin                       B
admin                          root B
com.apple.sharepoint.group.1   B
I'm at my wit's end here. I tried using console to debug the reason behind why certain applications crash and the common theme seems to be "com.apple.launchd.peruser.501: (......................................) Could not setup Mach task special port 8: (os/kern) invalid argument"

agarcia59 wrote:
Hi Drew and Linc
Drew, I see what you were going for, but I only wanted 1 user. I tried doing both your methods and am unfortunately still having the same issue.
I found a old working backup on an computer of mine and am comparing the users on that computer and this one. After running dscacheutil -q user | grep -A 3 -B 2 -e uid:\ 5'[0-9][0-9]'
my current computer shows:
… (not relevant info)
I could move the working backup to my current computer, but It's over a year old (lots of new info on my current computer, it would be a huge pain to manually move everything over.
Does the appearance of macports and messagebus users in my current glitchy computer an issue? Why don't these users show up in my old functional computer?
Thanks for your help.
You tried both methods? So when you tried my method of erasing & reinstalling the OS it failed did it? You then restored this old broken OS back to the Mac? Be honest – you didn't erase & reinstall did you?
Stop messing around in Terminal, backup, erase, reinstall, migrate the users you need by hand. It is incredibly simple if you stop getting distracted by Terminal.
I don't see why you have to bring another computer with an old backup that you do not want to use into this issue! Stop 'thinking around' the issue at hand.
Linc's method should have resolved this unless the OS was in a complete mess (which seems likely considering your desire to fool around in Terminal).
The Macports user is from the software you installed, message bus is also likely to be from something else you installed (possibly via macports). Neither should effect the logged in user.
It's looking like you are intent on playing with the OS (or more specifically playing in Terminal until things work), I can't bear to watch.
Backup, erase the internal disk & move the users home folders to /Users in Finder (NO TERMINAL NEEDED) & re-add that user in Users & groups.
If you need help with that I will explain (again), but you can continue messing in Terminal with things you already broke & don't understand in your own time.

Similar Messages

  • Bug with Lightroom 4? - Big problem in the keyword list!!

    Hello guys,
    I am Rafael Rojas, a nature and landscape photographer. This is my first post, trigered by a quite bothering problem I am having with my LR...So hello everybody!
    I upgraded to LR 4 a week ago. Today I realized many of the keywords I have installed in Lightroom do not appear on the keyword list (basically all keywords after the letter S). Moreover, half of the keywords which appear on the list are not editable: that is, I cannot assign them to the selected image (by clicking on the left box), or I cannot double click them or right click them to get the Edit panel. All the rest of keywords (those which appear on the list on top), can be edited and there is no problem.
    When I export the keywords as a .txt file (in metadata, export keywords) I can see that all the keywords are there. When I try to write some of them on the box LR recognize them and adds them automatically. However, I just cannot see them on my keyword list or just cannot edit them.
    The reason I want to edit the keywords is because many of them got desactivated while upgrading (something more people have reported). Right now, I cannot send my images to my stock galleries, since many of my important keywords are not active, and I just cannot edit them...
    Can you help me please?
    thanks so much!!
    rafael

    Well, 64 bits.
    And yes, it seems when I erase one keyword, the list "shows" one more below...so it seems the problem is related to a certain limit in number.
    That would be still a problem I could live with, the big problem tough is that many of the keywords got "deactivated" alone by Lightroom (see problem here described http://www.backyardsilver.com/2012/02/strange-behavior-with-capitalized-keywords/) and that means I NEED to edit some keywords which are really important and which are not active. Otherwise, when I export the images those keywords are not embedded...
    Any thoughts?
    Rafa

  • Sharing imovie with idvd. Having big problems!!!!

    I have tried to "share" my imovie project (13.76GB in size, approx 48 minutes duration) with idvd and nothing seems to be happening.
    I understand that it will take a long time but it has been exporting for the last 24 hours. I have opened the "project info" window to keep track of the encoding process. After a 24 hour period the encoding bar hasn't filled with any blue to indicate the stage it is at.
    I have also made sure the is plenty of space. I read that I need 15-20GB free space. I have 18GB of free space)
    Please help me. I thought this part would be hassel free.
    ibook superdrive & imac G4   Mac OS X (10.4.7)  

    Hi again wwww...,
    The reason I recommend using the import video command from the file menu is so there is no chance of mistakenly dropping your 48 minute video into the drop box or background of your DVD menu. It is very easily done.
    So, on with the show..... I can't say what is going on exactly, but please follow these steps and you should be up and running again in no time.
    Firstly, restart your computer. Now install and run Onyx (it's a free disc maintenance app, link attached). Open Onyx and run 'Automation'. It will take about 10-15 minutes to do it's thing. While Onyx is running, open a finder window and type idvd.plist into the search box and delete this file. It is the preference file for iDVD. Be sure to delete this file ONLY. And repeat the process for imovieHD.plist and empty the trash. When Onyx has finished you will be promted to restart your computer.
    After restart, open your iMovie project and go to the file menu>export or share>Quicktime and change the setting to Full Quality DV. Change the destination to the desktop for ease of finding. It will probably take an hour or so to export as a full quality dv movie and will be around the same size (GB) as your project. If you have 30Gb of free space this won't be a problem.
    Now you have a self-contained, uneditable Quicktime version of your project. Now, open iDVD select your theme and then select 'import video' from the file menu and import the Quicktime movie. It should only take a few seconds to import. Then got to the file menu again and save the project (or apple command key + 'S'). And go back to the file menu and select 'save as disc image' and let it run. Don't use the computer while it's encoding the iDVD project and make sure you quit any other apps running and the screen saver too.
    Just a final note. After you have exported your project to Quicktime you no longer need the iMovie file. You can delete it, however, you should also export your project back to your camera as another back up copy of your project. I have had some glitches with iMovie projects not seating into iDVD, which were solved by exporting to Quicktime. I never went into why, only how!
    These steps should get you going again. It does seem like a lot of mucking around, but after you have it going again it will seem worth it.
    Good luck and please post back with your results.
    SR.
    Onyx - http://www.titanium.free.fr/pgs/english.html
    G4 iMac, 15 Flat panel. 800MHz, 1GB RAM, 60GB HD, Super drive. Mac OS X (10.4.6) iLife 06, LaCie Ext F/W DVD-R/W & 160GB Ext HD, TiBook DVI, iPod Nano & Photo

  • Msi P965 Platinum with Vista Premium 64bit big problem

    hi i cant run vista properly, i get blue screen dumps that dumps memory.
    Some time it can run 5min sometimes 2hours
    Vista says that there is a hardware incompatiblity something with memory.
    I have run memtest x86 it passed, and Vistas memtest fail.
    tryed to run with only one memory and changed place to them
    core duo center doesent work either.
    now i run windows Xp with latest drivers and everything works just fine.
    I want to run my computer on windows vista 64bit, whats my problem

    Sad to hear about those problems, especially since I am going to upgrade to Vista myself in the nearest future.
    I have no guarantee that this will work, but try using manual settings for RAM. And set RAM to 5-5-5-15, not 4-4-4-12. And run RAM at stock speed, and the same goes for FSB etc.
    And try using 2,1V for the RAM.
    If you have runned on manual settings, set the to "Auto" if you haven't tried that.
    I have read abuot one guy that got bluescreens all the time when he overclocked in Vista. You haven't overclocked, have you? :P
    EDIT: I see you use BIOS v1.3. Try flashing to v1.2.
    I flashed from a bluescreenfree system at high overclocks (v1.2), to a instable system vith plenty of bluescreens when exeding 340-350FSB.
    With BIOS 1.2, I have booted with FSB 389, and been able to run SuperPI, CPU-Z and some other small programs. Now, with BIOS 1.3, I can't get into windows, get bluescreen before logon is complete.
    I think there is something "wrong" with the northbrigde in P965 Platinum, because the errors are allways memory related.

  • Excel with powershell and this big problem of locale

    Hi Folks, I'm getting C R A Z Y with this Excel/Powershell Stuff...
    MY display language is EN
    My input language is fr_CH
    the following code : 
    function Invoke([object]$m, [string]$method, $parameters)
    $m.PSBase.GetType().InvokeMember(
    $method, [Reflection.BindingFlags]::InvokeMethod, $null, $m, $parameters,$ciUS)
    $ciUS = [System.Globalization.CultureInfo]'fr-CH'
    $objExcel = New-object -com Excel.Application
    $objExcel.visible = $True
    $ci = [System.Globalization.CultureInfo]'fr-CH'
    $objWorkbook = Invoke $objExcel.Workbooks Add
    $objWorksheet = $objWorkbook.Worksheets.Item(1)
    $objWorksheet.Cells.Item(1,1).FormulaLocal = "A value in cell A1."
    Invoke $objWorkbook SaveAs "C:ScriptsTest.xls" > $null
    Invoke $objWorkbook Close 0 > $null
    $objExcel.Quit()
    throw me the error : 
    Exception calling "InvokeMember" with "6" argument(s): "Object does not match target type."
    At line:3 char:1
    + $m.PSBase.GetType().InvokeMember(
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : NotSpecified: (:) [], MethodInvocationException
        + FullyQualifiedErrorId : TargetException
    You cannot call a method on a null-valued expression.
    At line:11 char:1
    + $objWorksheet = $objWorkbook.Worksheets.Item(1)
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidOperation: (:) [], RuntimeException
        + FullyQualifiedErrorId : InvokeMethodOnNull
    Basically this happend when you have english Excel with non english locale.
    My OS is in english but my Keyboard is in French-Swiss.
    Please help me I'm getting crazy...
    MCITP Enterprise Administrator / Server Administrator

    This might be helpful.
    http://dmitrysotnikov.wordpress.com/2008/02/22/powershell-help-broken-on-localized-versions-of-windows/
    The problem seems to be that PowerShell v1 for Windows Vista and PowerShell v2 CTP for all systems are storing the language neutral (English) help system in the en-US subfolder of the PowerShell folder.
    On a localized versions of Windows, PowerShell seems to be looking for a subfolder with its own locale (e.g. de-DE for Germany, ru-RU for Russia, and so on) and does not fail over to en-US if the folder is not found.
    RESOLUTION
    Apply the language pack for your language so your local version of help gets added to the system.
    If the language pack is not available, copy or rename the en-US folder to match your Windows locale. To learn your locale run the following command in the PowerShell prompt:
    [System.Globalization.CultureInfo]::CurrentUICulture
    Thanks Azam When you see answers please Mark as Answer if Helpful..vote as helpful.

  • 2 VO with same entity, without  pool problem

    I have 2 ViewObjects with sabe entity (ChairmanView, AllEmployeesView). Structure of entity (Id, Code, Name, Surname....)
    VOs are in same Application module.
    VOs are linked by a ViewLink 1 to 1 (ChairmanView.Id to AllEmployeesView.Id)
    When i create a new Chairman, automaticaly apair in AllEmployeess and work fine, but when i remove de AMPooling (-Djbo.ampool.doampooling=true) it create perfect but when i modify the name appears this error. (JBO-33035: Row currency has changed. The expected row key was null.)
    What can I do?
    Thank you for all

    Yes, you can use them on up to five devices. You can also download apps you lost or deleted again for free: http://support.apple.com/kb/HT2519

  • HT1206 Lots of info about one user using multiple computers. What about multiple users with separate Apple IDs using same computer? Having problems getting my wifes new iPhone talking to her apple account on the computer we share (2 users)

    Lots of info about one user using multiple computers. What about multiple users with separate Apple IDs using same computer? Having problems getting my wifes new iPhone talking to her apple account on the computer we share (2 users)

    You need to create a user account for your wife (or yourself depending on who has the current user account). When syncing, each of you should sign in as a separate user, login to iTunes and then sync. I had this problem when my sister got an iPhone. When we did her initial sync, everything on my iPhone showed up on hers. Apple gave me this solution.

  • There appear to be big problems with Mavericks Mail, particularly if it's used for Gmail. Have other users noticed that it slows to a crawl and can't reload the contents of a folder instantly....Is there a fix coming?

    There appear to be big problems with Mavericks Mail, particularly if it's used for Gmail. Have other users noticed that it slows to a crawl and can't reload the contents of a folder instantly....Is there a fix coming?

    There is a large thread relating to Gmail, but nothing that sounds like that.
    Nobody here knows what Apple is going to do.
    You might try removing the Gmail account and then add it back in.

  • Are there any other left eye dominant (or left handed) iPhone users that experience problems with the touch screen keyboard selecting the letter next to the one you'd intended..?

    Are there any other left eye dominant (or left handed) iPhone users that experience problems with the touch screen keyboard selecting the letter next to the one you'd intended..?

    It's either hand right or left.
    I have the same issue myself.  Not sure if it's b/c my fingers are too big or if I'm really missed the letter on the keyboard.

  • Big problem with put the same received dataSource on two different panels

    Hello All!
    I have a big problem, but first what have I done:
    I am writting application that is based on AVReceiver2 and AVTransmit2 from Sun help.
    I have modified AVReceiver2 to only receive one stream - video stream.
    I show received video on scrollPane, but I want to show the same video on second scrollPane in the same time. I have read about cloning dataSource, but I don't know how to modify that code to make it work.
    This is my receiver class (logger is my own class that have listbox, so don't watch on it. This is not important):
    public class Połączenie implements ReceiveStreamListener, SessionListener,
         ControllerListener
        String session = null;
        RTPManager manager = null;
        public Player player1 = null;
        boolean dataReceived = false;
        Object dataSync = new Object();
        private Logger logger;
        private JPanelŹródłoPołączone panelOgólny;
        private JPanelŹródłoSzczegóły panelSzczegóły;
        private Date dataRozpoczęcia;
        public Połączenie(String session, JPanelŹródłoSzczegóły panelSzczegóły, JPanelŹródłoPołączone panelOgólny, Logger logger) {
            this.session = session;
            this.logger = logger;
            this.panelOgólny = panelOgólny;
            this.panelSzczegóły = panelSzczegóły;
        public void Start()
            if (!initialize())
                System.err.println("Failed to initialize the sessions.");
                System.exit(-1);
                System.err.println("Odbiór rozpoczęty");
        public boolean initialize() {
            try {
             InetAddress ipAddr;
             SessionAddress localAddr = new SessionAddress();
             SessionAddress destAddr;
             SessionLabel sessionLabel;
             // Open the RTP sessions.
               // Parse the session addresses.
              try {
                  sessionLabel = new SessionLabel(session);
              } catch (IllegalArgumentException e) {
                  System.err.println("Failed to parse the session address given: " + session);
                  return false;
              System.err.println("  - Otwarcie sesji RTP: addr: " + sessionLabel.addr + " port: " + sessionLabel.port + " ttl: " + sessionLabel.ttl);
              manager = (RTPManager) RTPManager.newInstance();
              manager.addSessionListener(this);
              manager.addReceiveStreamListener(this);
              ipAddr = InetAddress.getByName(sessionLabel.addr);
              if( ipAddr.isMulticastAddress()) {
                  // local and remote address pairs are identical:
                  localAddr= new SessionAddress( ipAddr,
                                     sessionLabel.port,
                                     sessionLabel.ttl);
                  destAddr = new SessionAddress( ipAddr,
                                     sessionLabel.port,
                                     sessionLabel.ttl);
              } else {
                  localAddr= new SessionAddress( InetAddress.getLocalHost(),
                                          sessionLabel.port);
                        destAddr = new SessionAddress( ipAddr, sessionLabel.port);
              manager.initialize( localAddr);
              // You can try out some other buffer size to see
              // if you can get better smoothness.
              BufferControl bc = (BufferControl)manager.getControl("javax.media.control.BufferControl");
              if (bc != null)
                  bc.setBufferLength(350);
                  manager.addTarget(destAddr);
            } catch (Exception e){
                System.err.println("Cannot create the RTP Session: " + e.getMessage());
                return false;
         // Wait for data to arrive before moving on.
         long then = System.currentTimeMillis();
         long waitingPeriod = 30000;  // wait for a maximum of 30 secs.
         try{
             synchronized (dataSync) {
              while (!dataReceived &&
                   System.currentTimeMillis() - then < waitingPeriod) {
                  if (!dataReceived)
                   System.err.println("  - Oczekiwanie na transmisj&#281; danych...");
                  dataSync.wait(1000);
         } catch (Exception e) {}
         if (!dataReceived) {
             System.err.println("No RTP data was received.");
             close();
             return false;
            return true;
         * Close the players and the session managers.
        protected void close() {
             try {
                player1.close();
             } catch (Exception e) {}
         // close the RTP session.
             if (manager != null) {
                    manager.removeTargets( "Closing session from AVReceive2");
                    manager.dispose();
                    manager = null;
         * SessionListener.
        public synchronized void update(SessionEvent evt) {
         if (evt instanceof NewParticipantEvent) {
             Participant p = ((NewParticipantEvent)evt).getParticipant();
             System.err.println("  - Do&#322;&#261;czy&#322; nowy u&#380;ytkownik: " + p.getCNAME());
         * ReceiveStreamListener
        public synchronized void update( ReceiveStreamEvent evt) {
         RTPManager mgr = (RTPManager)evt.getSource();
         Participant participant = evt.getParticipant();     // could be null.
         ReceiveStream stream = evt.getReceiveStream();  // could be null.
         if (evt instanceof RemotePayloadChangeEvent) {
             System.err.println("  - Received an RTP PayloadChangeEvent.");
             System.err.println("Sorry, cannot handle payload change.");
             System.exit(0);
         else if (evt instanceof NewReceiveStreamEvent) {
             try {
              stream = ((NewReceiveStreamEvent)evt).getReceiveStream();
              DataSource ds = stream.getDataSource();
    //=========important thing:
                            DataSource cloneableDS = Manager.createCloneableDataSource( ds );
                            DataSource clonedDS = ((SourceCloneable)cloneableDS).createClone();
    //========
              // Find out the formats.
              RTPControl ctl = (RTPControl)ds.getControl("javax.media.rtp.RTPControl");
              if (ctl != null){
                  System.err.println("  - Recevied new RTP stream: " + ctl.getFormat());
              } else {
                  System.err.println("  - Recevied new RTP stream");
              if (participant == null)
                  System.err.println("      The sender of this stream had yet to be identified.");
              else {
                  System.err.println("      The stream comes from: " + participant.getCNAME());
              // create a player by passing datasource to the Media Manager
    //=====important thing:
                            player1 = javax.media.Manager.createPlayer(clonedDS);
    //=====
              if (player1 == null)
                  return;
              player1.addControllerListener(this);
              player1.realize();
              // Notify intialize() that a new stream had arrived.
              synchronized (dataSync) {
                  dataReceived = true;
                  dataSync.notifyAll();
             } catch (Exception e) {
              System.err.println("NewReceiveStreamEvent exception " + e.getMessage());
              return;
         else if (evt instanceof StreamMappedEvent) {
              if (stream != null && stream.getDataSource() != null) {
              DataSource ds = stream.getDataSource();
              // Find out the formats.
              RTPControl ctl = (RTPControl)ds.getControl("javax.media.rtp.RTPControl");
              System.err.println("  - The previously unidentified stream ");
              if (ctl != null)
                  System.err.println("      " + ctl.getFormat());
              System.err.println("      had now been identified as sent by: " + participant.getCNAME());
         else if (evt instanceof ByeEvent) {
              System.err.println("  - Got \"bye\" from: " + participant.getCNAME());
          player1.close();
            manager.dispose();
        }

    I wanted to show the same video stream on 2 panels at the same time. The panels are on 2 different Tabs of TabbedPane.
    So I done some kind of switch:
    - when user change tab, I change vievport from one panel to another. This works gr8, but I need to record some received video on the same time when user watch it.
    I find some code to record - this works on single machine, but now, when I have cloned dataSource I supposed to be able to record received video, but guess what: it doesn't work.
    Code of recording part:
               DataSource ds2; // I cloned this the same as I posted earlier
                PushBufferStream pbs;
         Vector camImgSize = new Vector();
         Vector camCapDevice = new Vector();
         Vector camCapFormat = new Vector();
         int camFPS;
         int camImgSel;
         Processor processor = null;
         DataSink datasink = null;
        public void record()
            fetchDeviceFormats();
              camImgSel=0;     // first format, or otherwise as desired
              camFPS = 30;     // framerate
              // Setup data source
              fetchDeviceDataSource();
              createPBDSource();
              createProcessor(ds2); // i'm using cloned datasource
              startCapture();
              try{Thread.sleep(20000);}catch(Exception e){}     // 20 seconds
              stopCapture();
         boolean fetchDeviceFormats()
              Vector deviceList = CaptureDeviceManager.getDeviceList(new VideoFormat(null));
              CaptureDeviceInfo CapDevice = null;
              Format CapFormat = null;
              String type = "N/A";
              CaptureDeviceInfo deviceInfo=null;boolean VideoFormatMatch=false;
              for(int i=0;i<deviceList.size();i++)
                   // search for video device
                   deviceInfo = (CaptureDeviceInfo)deviceList.elementAt(i);
                   if(deviceInfo.getName().indexOf("vfw:")<0)continue;
                   Format deviceFormat[] = deviceInfo.getFormats();
                   for (int f=0;f<deviceFormat.length;f++)
                        if(deviceFormat[f] instanceof RGBFormat)type="RGB";
                        if(deviceFormat[f] instanceof YUVFormat)type="YUV";
                        if(deviceFormat[f] instanceof JPEGFormat)type="JPG";
                        Dimension size = ((VideoFormat)deviceFormat[f]).getSize();
                        camImgSize.addElement(type+" "+size.width+"x"+size.height);
                        CapDevice = deviceInfo;
                        camCapDevice.addElement(CapDevice);
                        //System.out.println("Video device = " + deviceInfo.getName());
                        CapFormat = (VideoFormat)deviceFormat[f];
                        camCapFormat.addElement(CapFormat);
                        //System.out.println("Video format = " + deviceFormat[f].toString());
                        VideoFormatMatch=true;     // at least one
              if(VideoFormatMatch==false)
                   if(deviceInfo!=null)System.out.println(deviceInfo);
                   System.out.println("Video Format not found");
                   return false;
              return true;
         * Finds a camera and sets it up
         void fetchDeviceDataSource() //I test it on localhost so I don't change it
              CaptureDeviceInfo CapDevice = (CaptureDeviceInfo)camCapDevice.elementAt(camImgSel);
              System.out.println("Video device = " + CapDevice.getName());
              Format CapFormat = (Format)camCapFormat.elementAt(camImgSel);
              System.out.println("Video format = " + CapFormat.toString());
              try
                   // ensures 30 fps or as otherwise preferred, subject to available cam rates but this is frequency of windows request to stream
                   FormatControl formCont=((CaptureDevice)ds2).getFormatControls()[0];
                   VideoFormat formatVideoNew = new VideoFormat(null,null,-1,null,(float)camFPS);
                   formCont.setFormat(CapFormat.intersects(formatVideoNew));
              catch(Exception e){}
         * Gets a stream from the camera (and sets debug)
         void createPBDSource()
              try
                   pbs=((PushBufferDataSource)ds2).getStreams()[0];
              catch(Exception e){}
         public void createProcessor(DataSource datasource)
              FileTypeDescriptor ftd = new FileTypeDescriptor(FileTypeDescriptor.MSVIDEO);
              Format[] formats = new Format[] {new VideoFormat(VideoFormat.INDEO50)};
              ProcessorModel pm = new ProcessorModel(datasource, formats, ftd);
              try
                   processor = Manager.createRealizedProcessor(pm);
              catch(Exception me)
                   System.out.println(me);
                   // Make sure the capture devices are released
                   datasource.disconnect();
                   return;
         private void startCapture()
              // Get the processor's output, create a DataSink and connect the two.
              DataSource outputDS = processor.getDataOutput();
              try
                   MediaLocator ml = new MediaLocator("file:capture.avi");
                   datasink = Manager.createDataSink(outputDS, ml);
                   datasink.open();
                   datasink.start();
              }catch (Exception e)
                   System.out.println(e);
              processor.start();
              System.out.println("Started saving...");
         private void pauseCapture()
              processor.stop();
         private void resumeCapture()
              processor.start();
         private void stopCapture()
              // Stop the capture and the file writer (DataSink)
              processor.stop();
              processor.close();
              datasink.close();
              processor = null;
              System.out.println("Done saving.");
         }I run method record() from gui, after I received stream.
    IMPORTANT:
         on:           processor.close();
    I have an exception:
    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    at com.sun.media.multiplexer.video.AVIMux.writeFooter(AVIMux.java:827)
    at com.sun.media.multiplexer.BasicMux.close(BasicMux.java:142)
    at com.sun.media.BasicMuxModule.doClose(BasicMuxModule.java:172)
    at com.sun.media.PlaybackEngine.doClose(PlaybackEngine.java:872)
    at com.sun.media.BasicController.close(BasicController.java:261)
    at com.sun.media.BasicPlayer.doClose(BasicPlayer.java:229)
    at com.sun.media.BasicController.close(BasicController.java:261)
    at jmonitorserver.engine.Po&#322;&#261;czenie.stopCapture(Po&#322;&#261;czenie.java:684)
    And the video file have 0kb, even during recording
    datasource ds2 is not null.
    any idea?

  • Multiple users accessing entity bean with same PK

    Hi,
    Some body please clarify the below issue.
    (EJB 1.1, WAS3.5)
    I have two app servers and two clones each clone is running in each app server.
    Stateful session bean access Entity beans to update/read record in the database.
    According to my requirement multiple users can access the same entity data (same primary key). Suppose user A created a Stateful session bean SB1 and the SB1 created Entity1 with PK1, this is happening at clone1.
    User B accessed the site and the request went to Clone2 and a new SB2 created, but the SB2 need to access the database with Same PK1.
    For the above situation, I guess container can not create a new Entity bean with PK1 because EB with PK1 is already there and it tries to allocate same EB1 with SB2, so if two requests are concurrent do the SB2 wait to get the handle of the EB1?
    Is there any way to create two Entity beans with same Primary Key at the same time but in different clone?
    Thanks,
    Sagar

    Hi,
    The concurrency level has to be set at the level of database and the database will take care of consistency & integrity of the data. So specity the concurrency level on the database connection in each appserver.

  • Email accounts with same user id

    Hi,
    how can we create 2 different email accounts in different domains with the same user id's . When i try to create an email account with a username thats already exist it shows the message that, 'user already exist'
    Is it not possible to create 2 different accounts with same user id ? please help me to solvwe this issue
    Regards

    She can't. She needs to setup her own AppleID and then create an iCloud account using that.
    You can still continue to share your existing AppleID for iTunes and App Store purchases.

  • User Account Control Problems with Premier Elements 7 32 bit in 64 Bit Windows 7

    I found User Account Control Problems in other forums but didn't see much in Premiere Elements, so I hope this helps others who may be having problems with 32 bit programs in a 64 bit computor. When I first got my 64 bit I didn't have problems.
    Back in February I bought a Quad Core Desktop with Windows 7 64 bit. Haven't been on the forum for 7 months since I wrote in regarding importing video with the Pyro AV Link (Premiere Elements Tips and Tricks). I was having problems importing video which started after March 28 sometime, as that was the last time I didn't have a problem importing VHS. Took me a few months off and on to find out what worked.
    I started uninstalling Windows updates and any programs I had installed back to that point in time. Checked after uninstalling each item. The capture screen would come up on a delayed basis but clicking on capture did nothing. Although no driver is required for IE1394 (so they say) I read where some people using the Legacy driver had fixed some problems, so I switched to the Legacy. Seemed to work great (for a few minutes).
    I had even uninstalled and reinstalled PE7 but no difference. Finally I noticed a shield in the PE7 Desktop icon. Thats weird. Never had that before. Just decided to show up after I had done all of the stuff I mentioned. Turns out at some point in time since I've had the computor Windows 7 decided to flag my 32 bit program as misusing the 64 bit system. User Account Control. I never bothered too much with UAC and just clicked on the yes box wen it popped up asking if I wanted this or that to take control of my computor. I tried using the minimum setting for safety reasons, and then finally turned User Account Control off. Bingo! PE7 capture works again and still working.
    While I am not recommending that people arbitrarily turn UAC off, this appeared to be my problem. I would recommed that they try turning it off before uninstallin a bunch of stuff. Having a restore point may or may not have been a fix for me. I think one of the Windows Updates caused the problem but I am not going to uninstall any more stuff at this point, I have not been back on the internet or installed any more updates in my desktop. I am going to use my laptop for internet and used the desktop for video.
    I am guessing this could be a problem for any 64 bit systems trying to use 32 bit programs. IE: XP,Vista,Windows 7 64 bit. In Vista there is also Data Execution Prevention (DEP) which you can turn on or off, supposedly to prevent misuse of memory (as I understand it), but Win7 either doesn't have it or I haven't found where it's located.
    Maybe this has been covered in the forum somewhere and I missed reading it. Hope I am not too confusing. Anyway, whatever feedback you guys have would be great.  

    John,
        Thanks for your answer, and I did check out the link you suggested. However, I have Windows 7 Home Premium as most people have I think, and the XP program was not available. I started with Vista and now have Win 7. I never could navigate around in XP anyway so am content to just leave User Account Control off.
        Interesting side note to turning UAC off is that my desktop seemed to be using more of the CPUs, where half of them were "Parked" as I wrote in also about 7 months ago when I 1st got my desktop. I am pleased to say that video processing seems to go quicker with UAC off. Have to observe things some more to confirm.
        I just thought if others were having problems after installing Windows Updates and leaving UAC off worked then they could possibly pinpoint a problem.

  • How to get Unique calid for users with same name in multiple domain env..

    I found we need to use "-k legacy" option for creating users in non-hosted setup..
    I had two domains default as xxxx.com and the one that I created as yyyy.com
    When I have users with same name in two of the domains as user1..
    The calid for both of them is... user1 ....so they share the same calendar
    When Im in valid SSO of yyyy.com I get the mail account for user1 as [email protected] .....but the calid .. common as user1
    How I can get unique calid for users under two domains..
    whether I need to set Hosted domain support...Then how the mailid's differ with out using hosted domain support..
    And I need to login UWC without using @domain.com...
    Help me on this...
    Ashik

    Do you have UWC and Cal configured at least for virtual domain support?
    basically.. for discussion.. let's say you have three domains on your server.. 1st domain is the default domain. other 2 domains are virtual domains.
    if all domains were created with mail and cal support (-S mail,cal).. you would use the following options when creating users:
    1) for the default domain.. you must use the "-k legacy" option when adding users.
    2) for the other two domains.. when you create the user.. do NOT use a "-k" option.
    If you do not use the "-k" option.. it defaults to "hosted" which will cause the user's calid to be [email protected]
    If you Do use the "-k legacy" option.. it will create the calid as just "userid"
    With regard to logging into UWC without the @domain.com part of a username in a hosted domain.. the easiest way to avoid this.. is to point a host name under the hosted domain to the server.
    if you point webmail.xxxx.com to the server... and then access it via:
    http://webmail.xxxx.com/uwc/
    any users in the xxxx.com hosted domain will NOT need to use @xxxx.com when logging in... they can just use "userid"
    This feature does not take any special configuration (aside from adding a DNS entry for the hosted domain)
    Hopefully that helps.

  • 2 users with same user id in OIM!

    hi,
    can you please help me with this production environment issue!
    there are 2 users with same userid, same first name and last name in OIM but are only one is present in all of the target resources. i just dont know how to delete such user, as the two are in active state.
    Any suggestions are welcome!!
    Thanks!

    This can only happen if something went wrong with your trusted reconciliation settings. Mostly with the settings of recon rule. Please check whether in the rule definition, whether it is set to case sensitive. Even that, it shouldn't create 2 users with the same user id in OIM as user id is unique in OIM enforced in the database table.

Maybe you are looking for

  • Mysterious sound appears in my movie after burning

    I originally posted this in the iDVD forum, since it seems to be an iDVD issue, but since no one answered I thought I would try here: I made a 10-minute video in iMovie '09 and burned it to a disc using iDVD 7.0.4. The movie itself is completely sile

  • How To Setup A Local Exchange Server Integrated With Office365 For A Single Mailbox

    Hello, We recently migrated to Office365 but had an issue since we need more than 16 simultaneous connections to a single mailbox. Because of this, we need to deploy a local Exchange Server that will be used to host a single mailbox that requires up

  • How can I change the external editor in iphoto?

    When I go to Preferences, the only option that pops up in General Edit is Graphic Converter (formerly used). How can I change the external editor to Photoshop Elements 6? Also, can I drag and drop a photo from iPhoto onto the Photoshop elements 6 ico

  • Jbuilder, RMI, ServerException, UnmarshallException, CommitSuicideExc....

    Hi Hero's I have posted one message before about RMI and JBuilder, but no answers there. I have browsed through following previous topics: http://forum.java.sun.com/thread.jspa?forumID=58&threadID=142221 http://forum.java.sun.com/thread.jspa?forumID=

  • Create a view on Oracle that points to a table on Sqlserver

    Need to make the contents of a table in Sqlserver visible to Oracle users through a view. Any idea how this could be done? I have read about Open Client Adaptor for ODBC, but the document keeps stressing that this can be done through a SqlForms, BUT