StyledDocument error in one instance, but not another.

Hey all, i've tried to iron this bug out for the last 2 days, but no luck as yet.
I've tried to shorten the code down to the functional error bits, but I can't recreate the error. I'm sure i'm doing something wrong somewhere, but I cant see where.
I'm reluctant to post the code becuase it's mostly verbose, and it's easier to describe the problem.
I have a log file generating class (LogFileGen), that collates information in a (private) DefaultStyledDocument (accessable with getter getDSD()), with different Styles in it (using multiple insertString(offset, "text to insert", AttributeSet) statements along the line, called from various other classes.
This is sometimes displayed by a LogFile, which will have a JTextPane/JEditorPane (infoDisplay) (both display the error), and when the LogFile is shown to the user, I update it's infoDisplay with infoDisplay.setDocument(logFileGen.getDSD()).
I have had this work in certain cases before, but in this once case I get
Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: javax.swing.text.DefaultStyledDocument cannot be cast to javax.swing.text.html.HTMLDocument.
The Thread points to the line infoDisplay.setDocument(logFileGen.getDSD()). If I replace it with infoDisplay.setText(logFileGen.getTextFromDSD()), I get the content, but without the styling (obviously), and in other classes with their own JTextPanes, it works fine, formatting and everything.
Can anyone tell me why I get the error on some classes and not on others? I'm going mental here :s
Many, Many thanks in advance. In the meantime, i'll try and get a working example that actually reproduces teh err0r :(

xD Many apologies. you read fast.
Exception in thread "AWT-EventQueue-0" java.lang.ClassCastException: javax.swing.text.DefaultStyledDocument cannot be cast to javax.swing.text.html.HTMLDocument
     at javax.swing.text.html.ParagraphView.getStyleSheet(Unknown Source)
     at javax.swing.text.html.ParagraphView.setPropertiesFromAttributes(Unknown Source)
     at javax.swing.text.ParagraphView.<init>(Unknown Source)
     at javax.swing.text.html.ParagraphView.<init>(Unknown Source)
     at javax.swing.text.html.HTMLEditorKit$HTMLFactory.create(Unknown Source)
     at javax.swing.text.CompositeView.loadChildren(Unknown Source)
     at javax.swing.text.CompositeView.setParent(Unknown Source)
     at javax.swing.plaf.basic.BasicTextUI$RootView.setView(Unknown Source)
     at javax.swing.plaf.basic.BasicTextUI.setView(Unknown Source)
     at javax.swing.plaf.basic.BasicTextUI.modelChanged(Unknown Source)
     at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.propertyChange(Unknown Source)
     at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
     at java.beans.PropertyChangeSupport.firePropertyChange(Unknown Source)
     at java.awt.Component.firePropertyChange(Unknown Source)
     at javax.swing.text.JTextComponent.setDocument(Unknown Source)
     at javax.swing.JTextPane.setDocument(Unknown Source)
     at _infoDisplay.setDocument(logFileGen.getDSD())(LogFile.java:85)_
        at java.awt.AWTEventMulticaster.mouseClicked(Unknown Source)
     at java.awt.Component.processMouseEvent(Unknown Source)
     at javax.swing.JComponent.processMouseEvent(Unknown Source)
     at java.awt.Component.processEvent(Unknown Source)
     at java.awt.Container.processEvent(Unknown Source)
     at java.awt.Component.dispatchEventImpl(Unknown Source)
     at java.awt.Container.dispatchEventImpl(Unknown Source)
     at java.awt.Component.dispatchEvent(Unknown Source)
     at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
     at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
     at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
     at java.awt.Container.dispatchEventImpl(Unknown Source)
     at java.awt.Window.dispatchEventImpl(Unknown Source)
     at java.awt.Component.dispatchEvent(Unknown Source)
     at java.awt.EventQueue.dispatchEvent(Unknown Source)
     at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
     at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
     at java.awt.EventDispatchThread.run(Unknown Source)Edited by: Hemmels on May 11, 2009 7:31 AM
Edited by: Hemmels on May 11, 2009 7:31 AM
- Guess underline fails.

Similar Messages

  • Jabber 4.4 "Graphics card or driver not supported" error on one machine but not another.

    Hi, I looked at the KB document but the email link on it no longer works.
    I have two end-users using Jabber 4.4 on identical machines, same specs, same driver build and OS image. One gets the  "Graphics card or driver not supported" error, the other does not.
    We have two DellOptiPlex 7010's,
    Both had 2 instances of AMD Radeon HD 7470 - they are dual monitor machines.
    In both cases the driver version 8.922.0.0, Driver Date 12/6/2011. This is the latest Dell has on their website.
    On one machine when I run a fresh install for Jabber for TelePresence 4.4 it works fine. But on another the user first gets
    "supportabilitytest.exe has stopped working
    A oriblem cause the program to stop working correctly. Please close the program."
    Then when that's closed out we get:
    "Graphics card or driver not supported!
    New features in this version of Jabber Video are not supported by your computer's graphics driver.
    Update to the newest graphics driver available and run Jabber Video again."
    I can't believe it's just a matter of upgrading the drivers because in this case one machine with identical drivers works.
    I appreciate any insights, thanks !

    Hi ksouthall,
    It sounds like the openGL supported version did not install on the one that is failing.  There isn't much we can do regarding that error.  Best practice is to always upgrade to the latest manufacturer's available driver.  Client requirements are below.
    Windows 7 (32-bit or 64-bit), Vista, or XP (SP 2 or newer), with OpenGL 1.2 or newer.
    For 720p HD video calls, Intel Core2Duo @ 1.2GHz or better.
    For VGA video calls, Intel Atom @ 1.6GHz or better.
    Webcam, built-in or external. You need an HD webcam if you want other callers to see you in HD.
    Broadband Internet connection with a recommended bandwidth of 768kbps upstream and downstream. You need about 1.2Mbps upstream and downstream for 720p HD video calls.
    Regards,
    Jason

  • Implicit read with assembly module instance working on one computer, but not another

    Hi,
    I'm trying to set up an on-site computer to run a VI which uses assembly instances for data communication, but for some reason I'm unable to establish a connection to the PLC.
    I'm running the example vi "CreateAssemblyInstance.vi" to try and get the communication set up before I start using my actual program.
    When I run this code on my development machine, I'm able to establish a connection to the PLC and read data. I then go into RSLogix 5000 and change the IP address to the on-site machine and try to run the test VI there, but I'm unable to make a connection. LabVIEW-side, the program thinks that it's established a connection and is reading/writing data, but PLC-side I'm getting a "Connection Failed" message in RSLogix.
    I find it weird that LabVIEW thinks the connection was established just fine, which the RSLogix says it can't connect to the VI.
    Just wondering if anyone else has had this happen. We aren't sure why the same VI runs on one machine but not another. We used RSLogix to change the IP address of the target machine, so we don't think that's the issue. And both computers are on the same network, so we don't think it's a firewall issue either.
    LabVIEW-side, things should be identical. I'm running the same example VI that came with the Ethernet/IP module. PLC-side, we're changing the target IP of the module within RSLogix 5000 (and we're sending the updated information to the PLC) to match the machine we're trying to make a connection with. Are we missing any steps? This is the first time we've tried using an assembly module, so we're having a hard time troubleshooting.
    Any ideas on why this is happening?

    I'm pretty sure we're using a generic ethernet module:
    I can communicate explicitly with the problem computer, it's able to use 'Tag Read' and 'Tag Write' to communicate with the PLC.
    We started having another problem just recently too. The Tag Read and Write commands are almost always timing out. I keep getting the error message -251723752:
    Detailed error info: Error -251723752 occurred at EthernetIP Tag Read REAL.vi;Details: The request response was not received in the requested timeout period    Possible reason(s):  Ethernet/IP Industrial Protocol: (Hex 0xF0FF0018) The request response was not received in the requested timeout period
    I can't figure out what's causing this all of a sudden, could these issues be related?

  • On one PC but not another I am getting an error message: Exception: java.la

    There is an applet on my site which is not loading for some users and not others.
    On one PC but not another I am getting an error message: Exception: java.lang.ClassNotFound.Exception:CheckboxApp.class
    The name of the applet is CheckboxApp
    some other user of my site are also getting similar messages
    Is there something from sun that can be downloaded by the users or is there some problem at the server level?
    Thanks

    It's probably because of the way the html that's calling the applet is coded, in conjunction with the vendor (Sun or MS) and version of the Plugin/JRE. This will help you ger started with diagnosis:
    http://java.sun.com/products/plugin/

  • "No connectivity with the server" error for one document but not the other, in the same document library

    We have a number of users all of a sudden getting "No connectivity with the server.  The file 'xxx' can't be opened because the server couldn't be contacted." errors trying to open MS Office docs (Word, Excel, etc.) in SharePoint with IE,
    just by clicking the link and selecting the "Read Only" option.  If they select the "Check Out and Edit" option, they can open the document no problem.  One of my customers gets the error on one document but not the other, in
    the same document library!  The older document (a weekly report) was copied and renamed as per standard procedure.  She can read the older document, but not the new one.
    It is definitely a profile issue, as other people have logged onto the machines of the users with problems and do not get the error.  We have also renamed people's c:\user profile folders and the corresponding Profilelist registry entry and the newly
    created profile does not experience the error for these people.  Renaming the profile back restores all their personal settings but the error reappears.  When we copied the old profile's folder structure into the new profile, many of the user settings
    were restored (but not all, like Dreamweaver settings) but the error did not appear.  We think that the system folders files (like AppData) weren't totally copied over so we're going to run another test using xcopy.  We are rebooting between
    logons to make sure all files are unlocked.
    The laptops and computers are mainly 32bit, Win7 Enterprise running IE9 and Office 2010 Professional Plus, but there's a few 64bit machines as well. The SharePoint farm has 1 WFE, 1 App Server running search and CA, and a shared database server running SQL
    2005 SP4.  SharePoint is 64bit MOSS 2007 with the latest CU.
    We've checked the logs on the client as well as on the server and there aren't any helpful entries.  We've also run Process Monitor, also with no helpful entries.  We're planning to run something like Fiddler next.
    It's not everyone, because there are many people are accessing the SharePoint system and the same files.  It is also not a permission thing, as we've tested by giving the users elevated permissions with no changes.  One person experiencing
    the errors is a Site Collection Admin.  That same person ran a test where I coped a simple Excel file into a Document Library which contained a problem file.  They were able to open it Read Only no problems that day, but the next day, the same
    file gave them an error.   In their case, they usually get a "xxx is not checked out" error and only occasionally get the "No connectivity with the server" error.
    We've tried lots of things including:
    Deleting IE cache
    Deleting SharePoint Drafts and webcache folder contents
    Running IE without add-ons
    Upgrading and Downgrading IE
    Uninstalling and re-installing IE
    Reinstalling our SSL certs
    Repairing Office
    Removing and then adding back in the Microsoft Office "Microsoft SharePoint Foundation Support" Office Tool 
    Deleting all HKLM and HKLU Office registry settings
    Toggling IE Compatibility Settings
    Toggling the IE Automatic Logon option
    Toggling the location of checked out files
    Adding the site in the trusted sites list
    Adding the site to the WebClient\Parameters registry locations
    Making sure the WebClient service is started
    Rebooting the machine (lol :)
    This is becoming a serious issue, not just because of the inconvenience for the users having to check out every document they want to read, but we have some files with macros that open up other documents to run which are now failing.  There aren't
    "check out" workarounds for some of those macros.
    We're planning to open a ticket with Microsoft, but I'm throwing it out here first in case someone has run into this before, or may have some suggestions on what to try next.  Thanks!
    -Richard.
    PS  I think this needs to be in the "General" forum instead?

    It took three days of dedicated troubleshooting, but I have found the cause of the errors, and a couple of fixes.  It helped tremendously that my own machine was throwing the error.  I have scheduled a couple of users to work with me to test the
    various fixes, to see which one works best, so the story isn't over yet.
    I had backed up my c:\users profile folder and HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList registry key so I could restore my profile after I was done.  I made a copy of the profile folder and was using that for awhile,
    but then made another copy where I had deleted a lot of content out of it so that the copies would go faster.  Since a newly created profile did not have errors, I was trying to copy back as much of the profile as possible to make it easier for our users
    to get back to work.  Instead of blowing away their profile and starting from scratch (which we know worked) I wanted to narrow down what was causing the error and just skip that from the restore.  The concept was to keep as much as the users profile
    in tact (application settings, etc.) not just restoring their desktop and My Documents folders.
    When we first tested a few weeks ago, simply copying the folder contents didn't reproduce the error.  I then tried xcopy, but got the "can't read file" error.  Then I tried robocopy, and ran into the "junction" problem. 
    I went back to xcopy, and found that placing the excludes.txt file in the windows/system32 folder eliminated the error.
    So the process went as follows: 
    Reboot and log into the machine as another user
    Delete the profile and associated registry key
    Reboot and log into the machine as the affected user, creating a new profile, and there is no error
    Reboot and log in as the other user
    xcopy the contents of the skinned-down backed-up profile to the newly created profile
    Reboot and log in as the affected user, and the error occurs
    Repeat the above, but add items in the excludes.txt file to see what, when eliminated, causes the error not to appear in the last step
    I eventually found that skipping the c:\users\<profile folder>\appdata\local\Microsoft\office\14.0 folder allowed the entire profile to be copied over without the error occurring.  That was strange, because we've cleaned out the cache folders
    before which didn't fix the issue. 
    So I went about it the opposite way, and tried to delete the 14.0 folder from the restored profile, and after reboot, the error still occurred.
    What eventually worked was deleting the 14.0 folder and copying over a 14.0 folder from a newly created profile!
    One way to do this was to:
    Reboot and log in as another user
    Rename the c:\users profile folder
    Rename the appropriate [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\ProfileList] registry key
    Reboot and log in as the affected user, confirm that there is no error
    Reboot and log in as the other user
    Copy the C:\Users\<profile folder>\AppData\Local\microsoft\Office\14.0 folder to the other user's desktop
    Delete new profile folder, and rename the backup to be the production folder
    Delete the C:\Users\<profile folder>\AppData\Local\microsoft\Office\14.0 folder and then paste the 14.0 copy from the desktop
    Reboot and log in as the affected user, confirm that there is no error
    We've tried this on a couple machines and it works.  I had to run Windows Explorer as Administrator to access the other profile's folders.
    We've also successfully copied a 14.0 folder created by one profile on one affected computer over another profile's folder on another computer, eliminating the error, so we're trying that first, as that is fewer steps.
    We may attempt to script this, but the self-help instructions are only 5 lines long:
    Reboot and log into the affected computer with another account
    Go to <link to location of 14.0 folder on network> and copy the 14.0 folder
    Run Windows Explorer as Administrator
    Go to c:\users\<profile folder>\appdata\local\microsoft\office and delete the 14.0 folder, and paste the copied 14.0 folder (trying to overwrite it makes Win7 want to merge the folders)
    Reboot and log into your normal account, and confirm the error is gone
    I'll come back and report after we go into the field with this fix, but after the few tests, I am cautiously optimistic that this is it.

  • After installing Mountain Lion, why is there Yahoo access for one user but not another?--both are administrators.

    After installing Mountain Lion, why is there Yahoo access for one user but not another?--both are administrators.

    We've had several instances where we have had to run chkdsk on arrays with over 1m files. Average completion time is approximately 72 hours. The maximum downtime window they have available is the 64 hour weekend window. File sizes and number of files were
    much smaller then than they are now.
    The idea, in theory, was to use VHDs to compartmentalize the data into smaller volumes which could be more easily managed. It would also improve performance when transferring these compartments of data as they would use sequential read/write rather than
    fragmented/random. This idea was never fleshed out in entirety, they don't split data up into little containers, but simply into big ones per project. Hence the 11m files in one container that I am currently trying to diagnose.
    Some other important facts: The VHD in question is mounted in B:/project/ as this server also allows remote workers to log in, but they are restricted to see only data in E:. Disks A-D are hidden via group policy.
    Update: icacls is failing on a large number of files within this dataset. I counted the path characters to ensure it wasn't the 255 character limit I was encountering and verified that the paths being blocked are only about 150 characters long. Once it finishes,
    I'll have to try taking ownership and then re-running it. At this point I still have no idea how long to expect. I'm running out of time as the environment will be in use again at 9AM tomorrow morning.

  • Firefox crashes on start up for one user but not another

    Crash ID: bp-df3a48d7-363c-4d2f-87d3-f73902140723
    Version: 31
    Crashes on start up for one user but not another. Both are administrators.
    I have uninstalled and re-installed. No change with each user.
    Crashes in safe mode as well (holding down shift)
    No addons present in other user.
    Have ran Malwarebytes and cleaned
    Have ran CCCleaner and cleane all including registry entries with Firefox uninstalled.

    Create a new profile as a test to check if your current profile is causing the problems. <br>
    See '''Creating a profile''':
    *https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues
    If the new profile works then you can transfer files from a previously used profile to the new profile, but be cautious not to copy corrupted files to avoid carrying over the problem <br>
    '''Profile Backup and Restore'''
    *http://kb.mozillazine.org/Profile_backup
    *https://support.mozilla.org/en-US/kb/back-and-restore-information-firefox-profiles
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox

  • Bubble Event firing in one company but not another

    Having spent the past 2 days trying to get the installer working (which it finally does thanks to people on this forum!), I've finally pushed my add-in out to people this morning.
    Unfortunately, the bubbleevent seems to be being ignored in all companies bar the test company.
    The code is below. The nominal codes do not begin with "720", so that section is not being fired in either company.
    So, my question is, why would a bubble event work in one company but not another?
    Private Sub oApp_ItemEvent(ByVal FormUID As String, ByRef pVal As SAPbouiCOM.ItemEvent, ByRef BubbleEvent As Boolean) Handles oApp.ItemEvent
            Dim NumberRows As Long
            Dim oMatrix As SAPbouiCOM.Matrix
            Dim oRowCount As Integer
            Dim oCheck As SAPbouiCOM.EditText
            Dim oCheck2 As SAPbouiCOM.EditText
            REM Check for Profit Centre and Project Code on each line of Purchase Transactions
            If pVal.FormTypeEx = "142" Or pVal.FormTypeEx = "141" Or pVal.FormTypeEx = "181" Or _
            pVal.FormTypeEx = "139" Or pVal.FormTypeEx = "133" Or pVal.FormTypeEx = "179" Then
                REM Set to active form and Sales/Purchase transaction matrix
                oForm = oApp.Forms.ActiveForm
                oItem = oApp.Forms.Item(FormUID).Items.Item("38")
                oMatrix = oItem.Specific
                If pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED And _
                  pVal.Before_Action Then
                    If pVal.ItemUID = "1" Then
                        NumberRows = oMatrix.RowCount
                        For oRowCount = 1 To NumberRows - 1
                            oCheck = oMatrix.Columns.Item("30").Cells.Item(oRowCount).Specific
                            If oCheck.Value = "" Then
                                oApp.MessageBox("Please enter a Profit Centre on row " & oRowCount)
                                BubbleEvent = False
                            End If
                            oCheck = oMatrix.Columns.Item("31").Cells.Item(oRowCount).Specific
                            If oCheck.Value = "" Then
                                oApp.MessageBox("Please enter a Project on row " & oRowCount)
                                BubbleEvent = False
                            End If
                            oCheck = oMatrix.Columns.Item("U_CarReg").Cells.Item(oRowCount).Specific
                            oCheck2 = oMatrix.Columns.Item("1").Cells.Item(oRowCount).Specific
                            If oApp.Company.DatabaseName = "FOLLIS_LIVE" Or oApp.Company.DatabaseName = "FOLLUK_TEST" Then
                                If oCheck.Value = "" And Left(oCheck2.Value, 3) = "720" Then
                                    oApp.MessageBox("Please enter a Car Registration on row " & oRowCount)
                                    BubbleEvent = False
                                    Exit For
                                End If
                            End If
                        Next oRowCount
                    End If
                End If
            End If
            REM Check for Profit Centre and Project Code on each line of Nominal Transactions
            If pVal.FormTypeEx = "392" Or pVal.FormTypeEx = "393" Then
                REM Set to active form, journal matrix
                oItem = oApp.Forms.Item(FormUID).Items.Item("76")
                oMatrix = oItem.Specific
                If pVal.EventType = SAPbouiCOM.BoEventTypes.et_ITEM_PRESSED And _
                  pVal.Before_Action Then
                    If pVal.ItemUID = "1" Then
                        NumberRows = oMatrix.RowCount
                        For oRowCount = 1 To NumberRows - 1
                            oCheck = oMatrix.Columns.Item("23").Cells.Item(oRowCount).Specific
                            If oCheck.Value = "" Then
                                oApp.MessageBox("Please enter a Profit Centre on row " & oRowCount)
                                BubbleEvent = False
                            End If
                            oCheck = oMatrix.Columns.Item("16").Cells.Item(oRowCount).Specific
                            If oCheck.Value = "" Then
                                oApp.MessageBox("Please enter a Project on row " & oRowCount)
                                BubbleEvent = False
                            End If
                        Next oRowCount
                    End If
                End If
            End If
        End Sub

    Hi Daniel,
    Then the only option I see is that the If statement is true in one database, and false on the others.
    If oApp.Company.DatabaseName = "FOLLIS_LIVE" Or oApp.Company.DatabaseName = "FOLLUK_TEST" Then
    If oCheck.Value = "" And Left(oCheck2.Value, 3) = "720" Then
    oApp.MessageBox("Please enter a Car Registration on row " & oRowCount)
    BubbleEvent = False
    Exit For
    End If
    End If
    If oCheck.Value = "" Then
    oApp.MessageBox("Please enter a Project on row " & oRowCount)
    BubbleEvent = False
    End If
    One of this is should be different on the companies.
    Nothing else comes to my mind.
    Regards,
    Ibai Peñ

  • Problem with SMTP from one computer but not another

    I have an iMac connected directly to my network via Ethernet and a MacBook Pro which connects via wireless. I have a program installed on my iMac that sends me alerts via e-mail, and it works just fine. When I try and use Mail, however, on my MBP with the exact same settings and credentials, it fails. To make this even more perplexing, Mail works fine from my office on a different network.
    To work around this, I use Comcast's SMTP server on my laptop, but why would my regular e-mail provider's SMTP work on one machine and not another on the same network? The only difference is one is connected via Ethernet and the other by wireless.
    I use a Time Capsule as my router and wireless access point. Has anyone got an idea about what's causing this?

    Please report the relationship, if any, of the "regular e-mail provider's SMTP" and your ISP? If Comcast is your ISP, they regularly block use of Port 25, but if you have selected Use Default Port in Mail Preferences/Accounts/Account Information for the Outgoing Server, then it may be making the wrong choice to work with Comcast. Regardless of the ISP, for this regular account click on the arrows beside the name of the SMTP, choose Edit Server List, then click on the Advanced Tab that will then be seen and choose Use Custom Port, then enter the proper port directly -- that port is probably Port 587, but that could depend on the advisory of the email provider for using their SMTP.
    Ernie

  • Store credit shows up on one computer, but not another

    Happy Easter everyone,
    I was wondering why my store credit shows up on one authorized computer, but not another? Is there a way to fix this? Or will I just have to make my purchases on that computer?
    Thanks
    Jason

    An account's balance should show wherever you use the account (computer's iTunes, and in the App Store, iTunes store and iBookstore on iOS devices). Have you tried logging out and back into the account on the computer that it's not showing : Store > Sign Out menu option, that will then change to a Store > Sign In option (my balance has sometimes been slow to update on my computers/devices)

  • Safari works for one user but not another on same computer

    MacBook with multiple user accounts. Safari (and Firefox) work fine for one user but are unable to open web pages when the other user is logged in. The error in Safar is "Safari can't open the page "http://xxxxxxxxx/" because it could not connect to the server "/xxxxxxx/" . DNS is working for this user. I am able to ping any number of sites from Terminal. Network Preference pane is configured to not require any proxy. This is a case of it was working but now it's not.
    Can anybody help with this? I know I can fix this by simply creating another user and transfering the affected user's data to the new account but I would rather not. TIA

    HI Bob,
    You can test your settings by clicking the big "Test My DNS" button at <https://www.dns-oarc.net/oarc/services/dnsentropy>. If you see "Poor" on any of the tests, don't use that domain name server! Remove it from Apple Menu => System Preferences =>Network =>DNS Servers or similar location in your router if you've got a 'home network'. If all you have is "poor" DNS servers in your list, call your ISP and insist that they give you the address of a name server which is protected against the recently exposed DNS cache-poisoning threat.
    Also, open System Preferences/Network. Click the DNS tab. Add these numbers in the DNS Servers box.
    208.67.222.222
    208.67.220.220
    See if that helps.
    Carolyn

  • Identical actionscript works in one frame but not another...?

    Hi all,
    I'm working on this electronic sheep creator for my Masters
    degree (don't ask haha..) which is online at
    [url]www.aegreen.co.uk/creativetech/[/url] . The problem I'm having
    is that a piece of actionscript I'm using for saving the sheep as a
    jpg using BitmapData works in one frame with one movie clip but not
    in another frame..
    In frame 1 I create two movie clips - mc_modifysheep and
    mc_dna:
    [CODE]on(release) {
    _root.createEmptyMovieClip("mc_modifysheep", 1)
    mc_modifysheep._x = 150;
    mc_modifysheep._y = 70;
    mc_modifysheep.attachMovie("sheep_body", "body", 1, {_x:42,
    _y:65});
    mc_modifysheep.attachMovie("sheep_head", "head", 2, {_x:0,
    _y:0});
    mc_modifysheep.attachMovie("sheep_legs", "legs", 3, {_x:77,
    _y:215});
    _global.bodycolour = "default";
    _global.headcolour = "default";
    _global.legscolour = "default";
    _root.createEmptyMovieClip("mc_dna", 2)
    mc_dna._x = 0;
    mc_dna._y = 0;
    mc_dna.attachMovie("mc_DNA_empty", "DNA empty", 1, {_x:8,
    _y:360});
    mc_dna.attachMovie("mc_dna_default_default_top", "top", 2,
    {_x:45, _y:374});
    mc_dna.attachMovie("mc_dna_default_default_right", "right",
    3, {_x:65, _y:400});
    mc_dna.attachMovie("mc_dna_default_default_left", "left", 4,
    {_x:32, _y:401});
    gotoandstop(2);
    }[/CODE]
    the sheep in 'mc_modifysheep' and the dna in 'mc_dna' are
    built up over frames 2 and 3 and then in frame 4 the user decides
    whether the sheep is given freedom or captivity. If freedom is
    chosen then the user is prompted to name their sheep and the movie
    clip mc_modifysheep is saved as a jpg on the server using
    BitmapData and PHP. If captivity is chosen then the user is
    prompted to name the dna and the movie clip mc_dna is meant to be
    saved as a jpg on the server but only a white blank jpg is
    produced, not what is contained in mc_dna.. I've tried all sorts
    but I can't figure out why it's doing this..
    Here's the code I'm using, that works, to save the
    mc_modifysheep:
    [CODE]import flash.display.BitmapData;
    btn_freedom.onPress = function() {
    freedom();
    function freedom() {
    snap_sheep = new BitmapData(305, 290);
    snap_sheep.draw(mc_modifysheep);
    var pixels:Array = new Array();
    var w:Number = snap_sheep.width;
    var h:Number = snap_sheep.height;
    var a:Number = 0;
    var sn:String = txt_Freedom.text;
    high = 99999;
    low = 00000;
    ran =
    Math.floor(Math.random()*(Number(high)+1-Number(low)))+Number(low);
    var rn:Number = ran
    var filename:String = dn+sn;
    for (var a = 0; a <= w; a++) {
    for (var b = 0; b <= h; b++) {
    var tmp = snap_sheep.getPixel(a, b).toString(16);
    pixels.push(tmp);
    var freedomoutput:LoadVars = new LoadVars();
    freedomoutput.img = pixels.toString();
    freedomoutput.height = h;
    freedomoutput.width = w;
    freedomoutput.filename_sheep = filename;
    freedomoutput.send("save_sheep.php", "_self", "POST");
    stop();[/CODE]
    and here's the near identical code apart from different
    variable/movieclip names I'm using to try and save (but failing)
    mc_dna:
    [CODE]import flash.display.BitmapData;
    btn_capt.onPress = function() {
    capt();
    function capt() {
    snap_dna = new BitmapData(305, 290);
    snap_dna.draw(mc_dna);
    var pixels:Array = new Array();
    var w:Number = snap_dna.width;
    var h:Number = snap_dna.height;
    var a:Number = 0;
    var dn:String = txt_Capt.text;
    high = 99999;
    low = 00000;
    ran =
    Math.floor(Math.random()*(Number(high)+1-Number(low)))+Number(low);
    var rn:Number = ran
    var filename:String = dn+rn;
    for (var a = 0; a <= w; a++) {
    for (var b = 0; b <= h; b++) {
    var tmp = snap_dna.getPixel(a, b).toString(16);
    pixels.push(tmp);
    var captoutput:LoadVars = new LoadVars();
    captoutput.img = pixels.toString();
    captoutput.height = h;
    captoutput.width = w;
    captoutput.filename_dna = filename;
    captoutput.send("save_dna.php", "_self", "POST");
    stop();[/CODE]
    I know it's a problem with the flash and not the PHP as I've
    tested for that, definately in the flash. I just don't understand
    how the same code can capture mc_modifysheep, but not mc_dna.
    argh!!!
    If you need to take a look at the FLA file it's up at
    [url]www.aegreen.co.uk/creativetech/dohumansdream.fla[/url]
    Thanks everyone!!

    If you dont find anything specific, a lot of the problems i
    encounter like this are because one little thing is spelled wrong.
    like it doesnt match whats in your php file, ect. my suggestion,
    though a long one, if you know its supposed to work, and theres no
    syntax error, re type it, not copy and paste, and just be careful.
    keep tripple checking. you might not even find what was spelled
    wrong, but it might fix the situation,

  • Why will DVD play on one player but not another??

    Hi,
    I made an ISO file using devede and then burnt it to a DVD using K3B.  The finished DVD will work on a Magnavox player but not a JVC.  Is there anything I can do about this???  Do some players have a "must be produced commercially" filter or something???
    Jim
    Last edited by MillTek (2008-04-20 20:45:12)

    First, I am assuming you recorded your iso on +R type media.  Next, I'm guessing that the player that won't play your DVD is the older of the two players.  Some DVD players, especially older ones don't like +R media.  If this is the case, here is a possible fix.
    Here is a thread on another forum which discuses changing the booktype on your DVD burner.  Here is a quote from the original post:
    There have been many questions asked about how to booktype +R media to DVD-ROM
    Many standalone Players, HDD recorders/players and games consoles don't like +R media but they are happy enough to play -R or DVD-ROM.
    Some drive brands have tools to change this option but others don't. I have found that the easiest way to change your BOOKTYPE setting is to use a small burning tool called IMGBurn which can be found doing a Google search.
    Below you can see some screen shots which guide you through changing your BOOKTYPE setting. For this I have used my NEC4551 but IMGBurn supports NU-Tech, Plextor, Ricoh, Samsung, BenQ, LG, Lite-on and NEC.
    Once you have changed your BOOKTYPE setting, when you burn a +R/+RW disc it will be burned as a DVD-ROM which is the same as a bought movie and most players are happy to play these.
    Since my DVD players are happy with +R media, I haven't tried this.  Both of my players are fairly new, and I made sure that +R was listed on the box as one of the formats accepted by that player.
    As usual, try this at your own risk.
    Pudge

  • In one country but not another?

    Hi I'm new to all of this, But i was desperately wanting to perchase an EP from one of my favourite artists, Marcus Foster, which was released today, However it is available on the UK iTunes, but not the Australian, where I am.
    Is any one able to help?
    Thank-you!!

    unfortunately, what you can purchase in any given iTunes store is controlled by the rights-owners of the content. you could try downloading that EP from amazon or another online music store.

  • Public Folders Permissions Tab Missing on one pc but not another

    this has to be pc related but i just can't find any info anywhere. when i log into a pc and startup outlook and go to public folders, i cannot see the permissions tab on the folders at all. but if i go to another pc, same OS and office version, i CAN see
    and edit the permissions on public folders! has anyone else run across this problem?
    Exchange Server 2007
    Desktops Win7
    Outlook 2013

    Hi,
    Since the issue only happens to specific client, the issue should be related to client side. I suggest we can do the following method to narrow down the issue:
    1. Start Outlook in safe mode(Start > Run >type “Outlook /safe”> Enter) to check whether the issue persists.
    2. Perform a clean boot for Windows to have a try.
    If the issue doesn’t happen in safe mode, the issue may be caused by any third-party add-ins. We can disable third-party add-ins one by one to find out the root cause.
    If the issue persists in Outlook safe mode but not occurs after performing a clean boot, please disable the related third-party program in Windows to resolve the issue. For more information about clean boot, please refer to:
    http://support.microsoft.com/kb/929135/en-us
    Regards,
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Winnie Liang
    TechNet Community Support

Maybe you are looking for