Trying to outline a rectange.

Hi, I have some very simple code that draws a filled rectangle. I would like to outline this rectangle, but can't figure out how.
import java.awt.*;
import javax.swing.*;
import java.awt.geom.*;
public class Rectangle extends JFrame{
     public Rectangle(){
          super ("Rectangle");
          setSize (410, 435);
          setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
          ShapePanel shape = new ShapePanel();
          Container content = getContentPane();
          content.add(shape);
          setContentPane(content);
          setVisible(true);
     public static void main (String[] arguments){
          Rectangle  rectangle = new Rectangle();
class ShapePanel extends JPanel{
     public void paintComponent(Graphics comp){
     super.paintComponent(comp);
     Graphics2D comp2D = (Graphics2D) comp;
     comp2D.setColor(Color.white);
     comp2D.fillRect(150,150,100,200);
}

Actually, I guess I wanted both. Draw the rectangle
and then fill it so the rectangle has a black line
around the perimiterWell, fillRect the thing first, change the drawing color to Color.BLACK and then
drawRect the thing.
kind regards,
Jos

Similar Messages

  • Getting a dotted line around .swf files in my flash site now. this is new as of Firefox 3. Using 4 on a MacBookPro. tried "style outline none" fix. doesn't work. any help?

    Question
    getting a dotted line around .swf files in my flash site now. this is new as of Firefox 3. Using 4 on a MacBookPro. tried "style outline none" fix. doesn't work. any help?

    /* stops annoying focus-selection boxes in FF3 */
    *:active, object:focus, embed:focus
    outline: none;
    }

  • Outlining a shape

    I am trying to outline a shape (and a few more things while creating a logo).  To try to keep it simple, I'll restrict this discussion to this. First some background: I scanned an object (my shape) sucessfully changed the color.  I have the shape plus the background (the white from the paper behind the object)  What I have done so far:  I have done the following with the help of an Adobe representative who hung up on me before completing the instructions to do this. His instuctions were: Double click to open blending option, click Window, control click, click lock on layer & drag to trash, Change to layers ) Double click on layer (to trace the shape) control c, Select shape, use Quick Select tool, increase brush size.  Click around the shape until the running ants selects the whole shapeThen go to Layer: New Layer Via Copy.  Now we have the new layer with just the shapDouble click on layer 1to open the Blending option.  choose outer glow.  (choose color) Now there was no way to choose the color but there was a drop down menu to where I could Blend if blue (which was the color of the shape) At this point I was excited and thought maybe we could get this to work, when he hung up.  Where do I go from here? I have a Mac computer.  Thanks for any help anyone can give.

    First a question how do you want to use your logo. If you want to resize it up and down to place or different size image consider using vector graphics like text and Pen tool. Save as a custom Shape,  PSD or PNG they support transparency. GIF can also be used for the web but GIF only supports 255 mapped colors and one level of transparency a pixel  is either Transparent or its opaque.  A GIF can also be automated for Browsers support animated gif format. As pointed out GIF only supports 1 level of transparency make things like drop shadows feathered multiply blending not Posible. However you can somewhat do it by creating your logo large and scaling it down with HTML. Also layer mask and animation palette twend options help.
    TutorialsLinked Letters [Logo or Monogram ]
    The above gray background was added using HTML background-color: #808080;  and the logo centered using align=center"
    Link to full size animated gif http://www.mouseprints.net/JJMackAniShadow.gif  open link in new window or Tab to view...
    My crafting actions packages contains an action that show you how to create and action the can watermark ant size image and scale the watermarks for their size.
    Crafting Actions Package Contains
    Action Actions Palette Tips.txt
    Action Creation Guidelines.txt
    Action Dealing with Image Size.txt
    Action Enhanced via Scripted Photoshop Functions.txt
    CraftedActions.atn Sample Action set includes an example Watermarking action
    Sample Actions.txt Photoshop CraftedActions set saved as a text file.
    12 Scripts for actions
    Download

  • Outline Stroke Problem

    I am trying to outline the stroke of a custom brush line. When I go to Object>Path>Outline Stroke instead of keeping the same appearance and simply outlining the stroke into a filled shape, the stroke transforms to a very thin hairline.
    Any ideas?

    Use Object>Expand Appearance instead of Outline Stroke.

  • Create Font Outline

    I am working with AI CS version 11.0.0 on a mac powerbook with OS 10.4.11.
    I have worked up a postcard using AI and am trying to outline all the fonts. I tried using Type > Create Outlines as well as Effect > Path > Outline Object but both Create Outlines and Outline Object are "grey" (will not respond). I tried changing the font to every kind of font in my font file, but the choices remain "grey".
    What could be wrong?
    By the way, I am trying to outline the fonts at the request in order to send the file to an online printer. If I make a PDF of the AI file, do I still need to outline the fonts?
    Marc

    > Also, I notice when I Save As PDF, if I turn off "Preserve Illustrator Editing Capabilities" the PDF file size gets dramatically smaller...
    Saving a PDF with that option on actually embeds a complete second version of the file in native Illustrator format inside the PDF. That's why it's larger.
    Similarly, if you save an .ai file, and have Acrobat Compatibility turned on, a full second copy of the file, this time in Acrobat format, gets embedded in the file, and again the file is larger.
    > Is there any problem with turning this off?
    If you save the PDF with Illustrator editability off, and then open it later with Illustrator, you will find that the native objects have been "dumbed down" to the simpler objects that PDF understands. Live Blends and Brushes will be "expanded" to simple paths, text will be broken into multiple objects, etc., etc.
    I save my AI files with Acrobat Compatibility on. That lets me Place them in InDesign. InDesign doesn't really use the .ai content. It uses the PDF content. But if you use the Edit Original command, Illustrator will be launched, the native Illustrator content will be opened, and when you save it, it gets updated in InD.
    I almost always save my PDFs with Illustrator Editability off. That's because I don't treat PDF as an editable format (except for PDF forms). If I want a recipient to be able to edit a PDF in Illustrator, I'll not send him a PDF; I'll send him an .ai file.
    Adobe's marketing used to promote this scheme with claims like "PDF is now Illustrator's native format." I say that's baloney. The fact that A can contain B does not mean that A equals B. I'm not saying the scheme is useless; I'm just saying the claims were overstated.
    Acrobat's format was changed to include a tagged-off area inside of which the authoring program can write its native content. That content is ignored by Acrobat. So, as I understand it, there is nothing preventing CorelDraw or any other program that exports to PDF from similarly embedding its native content in the PDF. (Except maybe licensing fees?) But I'd bet unnecessarily bloated PDF files are now almost as commonplace on the web as oversampled raster images.
    JET

  • Want to border/outline polygon icon

    I'm trying to outline/border this entire icon, but so far all I can do is use the rectangle marquee and get this image.  Is there a way that I can automatically outline the image including the triangle marker at the bottom?
    Thanks for your time!
    S

    One way since the image has transparency around it is to use a layer style>stroke.
    MTSTUNER

  • Visible square outline on iMac 27" display

    This is a tricky one to explain but here goes. I got my 27" iMac a few weeks ago - love it. However, there's one small issue. About a week after I bought it, I noticed that there's an outline of a square on one half of the display - it's very faint but it's definitely there. It can be seen against any background ranging from white to dark grey and can be seen during videos and games if you focus on the area around it.
    I tried to take a picture of what I can see and have attached it and tried to outline the issue (it was taken on my iPhone 4 so apologises for the poor quality). It gets even more curious when I found out that this outline is in the same place and size for the Google Chrome app to fit perfectly inside of it and I think the plug may have come out while this app was displayed, but I doubt that would cause this issue.
    I have tried Googling this issue but cannot find a single issue to match - I don't really want to go to Apple and explain the issue because they messed up my iPad 2 replacement (even though I now have Apple Care). This issue doesn't ruin my latest Apple purchase because it's a beautiful thing, it would just be nice to know the cause of this issue and if there's a solution.
    I would appreciate any advice, help or history on this issue. Thank you, Steven.
    iMac Specifications
    27" iMac (Mid 2011)
    Mac OS X Lion (Pre-installed with Snow Leopard)
    3.1Ghz QuadCore CPU
    4GB DDR3 RAM
    AMD Radeon HD 6970M (1GB)
    1TB HD

    Hi Stevey,
    Your issue sounds quite similar to mine, except mine fades away again after a short while.
    Please see my thread on my issue here: https://discussions.apple.com/message/16260001#16260001
    Best,
    Luke

  • Illustrator CS6 - Image Trace (Outline)

    I'm trying to outline an image. In photoshop, I did find edges (save), then opened the image in illustrator and did image trace. I obtained a perfectly outlined image.
    The problem: I can't obtain the same results using illustrator image trace alone.
    I've adjusted the advance settings a few times to get the same result but with no luck. Threshhold and corner settings are ok, but I'm getting more paths and noise than I want, with the settings at low/1 respectively.
    I also tried the gray scale setting since the image is mostly gray, expand, etc, but no dice).
    Can you help?

    The top donut-like shape is your original image, correct?
    Hm...since you're not getting the results you want with Image Trace, I would try another approach. I don't usually use Image Trace alone since it isn't a perfect translation to vector. It can be very touchy with some images, this one being among them apparently.
    Since it's a pretty simple shape, I would just manually trace it using the pen tool. That way you could also get that middle section filled with gray, and have a lot more control over how your image is traced. It will take a longer time however, so you might just want to stick with your Photoshop to Image Trace technique.

  • Error: OSEG when Outlining Strokes

    I have a problem that consistently occurs in Illustrator CS4 on Leopard that only presents itself when I try to outline paths in dxf files opened in Illustrator that I think have been supplied from and Autocad type software.
    I get the unknown Error: OSEG and only some paths outline.
    The only way I have found to fix it is to outline paths individually till I find the culprit path or paths and and either find the point in the path that is causing the error and remove it (which can be time consuming), or just delete the path all together and re-create a replacement. It seems to me there is a problem with Illustrator being able to handle certain path information it encounters that is causing the error.
    I have been doing the same thing in all versions of Illustrator since the very first version that supported opening dxf files (so quite a few generations of Illustrator, pre CS I think) and this is the first time Illustrator has presented the problem with these types of files specifically.
    Any suggestions?

    I'm new to this forum, but I found this thread while googling the OSEG error I was getting when I tried to outline all of the strokes in an AI file (I'm using a Dell laptop, running CS4). All of my strokes were the same width, color, join (corner/smooth), miter limit, etc. Some of them had fill colors, the rest did not.
    I was finally able to pinpoint why this error was popping up for me:
    After successfully outlining the strokes layer by layer, and then path by path (once I found the problem layer), I discovered that my problem was just a few lone anchor points. Once I deleted those, the rest of the paths did just fine converting to outlines.
    I guess the "outline stroke" function didn't like the single points, and they made it act all weird. Maybe it was because they weren't really lines or closed shapes, and therefore not "stroke-able"?
    Also (not sure if this would have anything to do with it), the problem layer was the bottom layer, which Wade seemed to indicate was part of the problem.
    Anyway, hope this helps.

  • External Web Service - User and password in HTTP header

    Hi!
    How is it possible to add user and password in the HTTP header in a external web service call? 
    I have created a "Portal Service from WSDL file - Client side" with the wizard in SAP Developer Studio.  I following the Java Development Guide - Web Service Security, and use the <i>secured service connection</i>.  I have also created a new <i>System Landscape</i>, but should the new system be based on HTTP, my own PAR or what?
    How can I check that the user and password is added to the HTTP header or the SOAP envelope? Do I have to scan http traffic with a proxy as Paros or can I find the request sent from SAP EP in the logs?
    Cheers
    Asle

    Hello All,
    I have been struggling a bit while putting a reasonable security framework on a jax-rpc style web service. I'm using JWSDP1.2 to set up the webservice. I've tried to outline my problem below. Please correct me where I'm wrong.
    I've been through the Sun's WS tutorials, but they are not really clear on security. However, from them I surmised that there are two decent authentication techniques. HTTP Basic and mutual authentication (MA) . Both have their drawbacks though. HTTP Basic suffers from poor encryption while MA is a bit difficult to set up on both client and server sides. Another problem with MA is that there is no central repository for users/passwords.
    OK, what I would really like to do is use my own user database to verify users/passwords i.e. use a HTTP Basic like authentication (but at application level) but run it over SSL for encryption. It seems simple, but is it possible?
    Also, I have noted that when I use HTTP Basic on the service side, and use a java client, then setting username/password has no effect. In other words, I can always access the web-service, even with wrong username/password.
    Sorry for the long post. Hope someone can help. Thanks.

  • Export for PDF and items disapear from the page...

    Hello Big Masters,
    please give me a solution to the fact that:
    I lose some items (a text box and a graphic) at the export from Indesign to PDF.
    -The file is 6 pages long. Simple. Some text and small pictures.
    -The missing items are close to the right bottom of the page. It is allways on the same page. In my case on the last page.
    -The missing item is exactly the same like some others. (it is like an object I could put on master page, but I wanted only to COPY/ PASTE IN PLACE)
    -I tried countless solutions, but no one passed successfully. I tried to ungroup/regroup (it is an object made of letters and outlined letters), I tried to outline all of the object, I tried recopy the object, I tried to put the page in a different order (thinking that the bug always came on the last page), I closed down indesign, I tried different PDF quality options, I tried renaming and overwriting, I checked all the layers (they are all printable). NOTHING worked.
    I start worring about the quality of Indesign, that I thought being the perfect software for multipage layouts, but I experienced this bug that wasted me 2 hours. In the researches for solutions I also found out that more problems are ahead in big ePubs or when you bring old big files, with Masterpages, it seems that is a real mess what comes out.
    Do you experience these troubles with Bermuda-effect in Indesign (dissapearing items surprisingly unexpected...)???

    The answer for you is YES.
    But Still didn't get the bug solved.
    The first pic as you see, is from ID before I export to PDF
    and the last image is the crazy pdf file, I am getting.
    If the adobe guys need my file for investigation, I can send it to them somehow.
    But then again, I got a compromise solution by putting the "missing" object on a separate masterpage.

  • PDF with special characters (é, ñ) needs to be legible cross-platform(mac & pc)

    I am using Illustrator to design a PDF. Because it's in Spanish, accent marks and other special characters are needed (á, ñ).
    When I export the PDF from the ai file and view it on my mac it looks fine. However, when I open it on a pc some of the special characters are completely missing.
    I tried Creating Outlines with the text, although it will make it harder to update in the future and so less preferable to leaving the text editable. Creating Outlines works fine on the mac, however on the pc the L's appear thicker than they actually are.
    Does anyone know how to make special characters legible cross-platform when creating a PDF using Illustrator?
    Thanks!!

    Does anyone know how to make special characters legible cross-platform when creating a PDF using Illustrator?
    Yes. You use a correct OpenType font that has the glyphs in the place where they belong and can be embedded without limitations. Older TrueType or PostScript fonts are simply unsuitable as are fonts that cannot be emebdded and require to be installed locally. It all comes down to system language settings vs. the unified environment inside acrobat. This also requires any PDF to be created on systems with the language settings correct in the first place, i.e. creating Spanish text with a Japanese version of AI would be pretty desastrous due to how foreign language fonts are accessed... check these things and then try again. If possible, enforce embedding of the full font in the PDF settings, not just a subset and choose a suitable font.
    Mylenium

  • Integrating Portal Server with MS Exchange Server

    I am trying to outline a solution for integrating MS Exchange with Portal
    Server. I realize that this can be done through the Exchange Netlet in iPS
    3.0, but this will enable Outlook client access on the users machine through
    the portal, and is not what we are looking for. What we would like to
    provide is calendar (appointments, tasks, etc.) and mail information within
    a channel on the portal. We would then provide a link to the web-based
    interface for Exchange within the channel. The interface is simple, since
    web-Exchange provides a URL, although any insight on providing SSO to the
    application would be helpful.
    Is there a way we can interface with Exchange using Java-based wrappers to
    retrieve the calendar and mail information for a specific user? It seems
    like the NetMail and iPlanet Calendar Server implementations would be
    overkill for what we are looking for.
    Any help with this would be greatly appreciated. Here are some of my
    thoughts:
    1. Since Outlook has a web-interface(provides a URL), we can obviously serve
    the web application up through the portal.
    2. iPlanet Portal Server 3.0 NetMail. This will provide us with an IMAP
    interface to the contents of the mail server, allow a user to send emails,
    read emails, create folders, change folders, etc. This seems to provide a
    full-fledge email application, which may be more than we actually need. Is
    there any way to use the Java NetMail Servlet or the NetMail Lite version to
    get what we are looking for?
    3. Using iPlanet Calendar Server for the appointments and schedule, although
    I believe that Exchange does not conform to the iCalendar protocol
    specification? Again, this is a full-fledge calendar application, and seems
    to be overkill for what we may need.
    4. Using a netlet to connect to Microsoft Exchange server, which can be done
    with Portal Server 3.0 because it implements the Microsoft Exchange/DCE
    protocol. Again, this provides Outlook client access, and I am not sure if
    this is what we want. Can we use the NetLet to capture the information
    being retrieved from exchange and display it using JSP rather than s
    5. Writing a Java wrapper to the contents of the mail server using the Java
    Mail API, although this does not solve the calendar problem. We can then
    display whatever info we want on our JSP pages using the wrapper classes.
    Sean.
    [email protected]

    4. Using a netlet to connect to Microsoft Exchange server, which can bedone
    with Portal Server 3.0 because it implements the Microsoft Exchange/DCE
    protocol. Again, this provides Outlook client access, and I am not sure if
    this is what we want. Can we use the NetLet to capture the information
    being retrieved from exchange and display it using JSP rather than sHave you actually gotten this to work? Would you mind sharing this part of
    your configuration with us?
    /Steve

  • Odd lines around text in dissolve

    Hi Folks,
    I have been experiencing some odd lines around text when I am dissolving and can't figure out why. The text is generated from FCP and these lines only appear after rendering. Prior to rendering I can step through the dissolve and all is well. I have tried changing the compressor setting for the sequence to all flavors of ProRes, and even uncompressed, and it has no effect. The only thing that did have an effect was to change to an additive dissolve from a cross dissolve. However this makes the dissolve less linear and unacceptable.
    All of the effects handling is being done by Final Cut so there's no third party hardware in the mix. I am running on a 17" MacBook Pro, OS 10.5.8 and FCP 7.0.1 with motion filtering set to best.
    Additionally here is a link to an image grabbed from the timeline showing what I am experiencing.
    http://s629.photobucket.com/albums/uu20/BTVmike/?action=view&current=Dissolvelin es.png
    Thanks in advance,
    Mike
    M2 Digital Post Inc.
    San Diego, CA.

    I tried the Outlined Text generator and still have the issue. If I add an outline it actually gets worse. I did however try Boris and with that it goes away. This is really odd and I wish I knew what was causing it. For now though I guess I stick with Boris.
    Thanks
    Mike

  • WebAnalysis/WebAdminServicesConsole very slow (because of java applet)

    Hello,
    Context: Hyperion System 9.3.1
    server1, Windows -> installed Administration Services e BI+ (Workspace, Web Analysis ecc)
    server2, AIX -> installed Essbase
    The client has externalized the software/hardware so we have:
    network A =client's network
    network B = Internet Service provider network
    network C =network of the society to which client has externalized the hardware
    The communication path is: network A -> network B -> network C
    server1 and server2 are on network C.
    From the client's computers in network A, Web Analysis Studio and Web Administration Services Console (both using java applets)
    have very very slow response times. To give you an idea, an blank report in Web Analysis needs 10min to open. With Web Admin Console I can't do anything: in an empty outline, I added 2 dimensions with 1 member each, when I tried 'Save outline' after 20mins of waiting a response the system also freezed.
    When I work in remote control directly on server1, Web Analysis studio and Web Admin Console are very very fast.
    This happens only with these two components, the other web components not using java applet (Workspace ecc) don't have this problem.
    That made me think there is a network issue. But ping and tracert to both servers (1,2) from the client machines gave me positive results.
    I don't know what else to test/try.
    Any help will be appreciated!
    Thank you!
    Daniela

    Ciao,
    It seems Web Analysis works well only with jre 1.5.0 update 11. I had java 1.6.0 update 4. I had disintalled java 1.6.0_4, installed 1.5.0_11 and now web analysis applet won't even load.
    The java console makes me see the following messages (I replaced by hand the real server name with the server_name):
    Java Plug-in 1.5.0_11
    Uso della versione JRE 1.5.0_11 Java HotSpot(TM) Client VM
    Directory principale utente = C:\Documents and Settings\Administrator
    c: cancella finestra console
    f: finalizza oggetti nella coda di finalizzazione
    g: recupera spazio
    h: visualizza questo messaggio di aiuto
    l: esegui dump dell'elenco classloader
    m: stampa utilizzo memoria
    o: attiva registrazione eventi
    p: ricarica configurazione proxy
    q: nascondi console
    r: ricarica configurazione criteri
    s: esegui dump delle proprietà del sistema e dell'installazione
    t: esegui dump dell'elenco thread
    v: esegui dump dello stack del thread
    x: cancella cache classloader
    0-5: imposta livello di traccia su <n>
    [WARN] HYABaseClient - -Analyzer Client Version=9.3.1.0.0.248
    [WARN] HYABaseClient - -ServerURL=http://server_name/WebAnalysis/processor
    [INFO] ProxyHttpClientHelper - -[PROXY_INIT] - Detect proxy settings using JavaPlugin Proxy Service...
    [INFO] ProxyHttpClientHelper - -[PROXY_INIT] - Proxy settings missed or bypassed. Go to sever directly
    [INFO] ProxyHttpClientHelper - -[PROXY_INIT] - Proxy settings are detected successfully.
    java.net.UnknownHostException: server_name
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.SocksSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.<init>(Unknown Source)
         at java.net.Socket.<init>(Unknown Source)
         at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(Unknown Source)
         at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(Unknown Source)
         at org.apache.commons.httpclient.HttpConnection.open(Unknown Source)
         at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Unknown Source)
         at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(Unknown Source)
         at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
         at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
         at com.hyperion.atf.services.distributed.http.HttpRequestProcessor.checkProxySettings(HttpRequestProcessor.java:269)
         at com.hyperion.atf.services.distributed.http.HttpRequestProcessor.checkProxySettings(HttpRequestProcessor.java:234)
         at com.hyperion.analyzer.usersession_base.HYABaseClient.obtainProxySettings(Unknown Source)
         at com.hyperion.analyzer.usersession_base.HYABaseClient.initATF(Unknown Source)
         at com.hyperion.analyzer.usersession_base.HYABaseClient.init(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    [WARN] HYABaseClient - -Using Config: config_client.xml
    [INFO] SessionScopeBindingToJVM - -Releasing services for session: Unbound/Undefined SessionId
    [ERROR] ServiceManager - -Creating dummy lock.
    [INFO] SessionScopeBindingToJVM - -Creating token for session: INITIALIZATION
    [INFO] HttpRequestProcessor - -ServerURL=http://server_name/WebAnalysis/processor
    [INFO] HttpRequestProcessor - -Connect to server DIRECTLY
    [INFO] EventHandlerAsynchronous - -Created 3 worker threads.
    [ERROR] NamingServiceProxy - -Could not retrieve root entry. <org.apache.commons.lang.exception.NestableRuntimeException: org.apache.commons.lang.exception.NestableException: An error occurred during network communications.>org.apache.commons.lang.exception.NestableRuntimeException: org.apache.commons.lang.exception.NestableException: An error occurred during network communications.
         at com.hyperion.atf.services.distributed.clientproxies.NamingServiceProxy.getRootEntry(NamingServiceProxy.java:1008)
         at com.hyperion.atf.internal.services.naming.NamingServiceProxy.getRootEntry(NamingServiceProxy.java:119)
         at com.hyperion.atf.internal.services.naming.NamingServiceProxy.initialize(NamingServiceProxy.java:102)
         at com.hyperion.atf.internal.services.containers.UserSessionContainer.initialize(UserSessionContainer.java:119)
         at com.hyperion.atf.services.ServiceManager.setServiceContainer(ServiceManager.java:526)
         at com.hyperion.atf.services.ServiceManager.getService(ServiceManager.java:271)
         at com.hyperion.atf.services.ServiceManager.setServiceContainer(ServiceManager.java:503)
         at com.hyperion.atf.services.ServiceManager.initServiceContainer(ServiceManager.java:463)
         at com.hyperion.atf.services.ServiceManager.initialize(ServiceManager.java:661)
         at com.hyperion.atf.services.ServiceRegistry.initialize(ServiceRegistry.java:126)
         at com.hyperion.analyzer.usersession_base.HYABaseClient.initATF(Unknown Source)
         at com.hyperion.analyzer.usersession_base.HYABaseClient.init(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: org.apache.commons.lang.exception.NestableException: An error occurred during network communications.
         at com.hyperion.atf.services.distributed.http.HttpRequestProcessor.internalProcess(HttpRequestProcessor.java:480)
         at com.hyperion.atf.services.distributed.DistributedRequestProcessorClient.process(DistributedRequestProcessorClient.java:115)
         at com.hyperion.atf.services.distributed.clientproxies.NamingServiceProxy.getRootEntry(NamingServiceProxy.java:999)
         ... 13 more
    Caused by: java.net.UnknownHostException: server_name
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.SocksSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.<init>(Unknown Source)
         at java.net.Socket.<init>(Unknown Source)
         at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(Unknown Source)
         at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(Unknown Source)
         at org.apache.commons.httpclient.HttpConnection.open(Unknown Source)
         at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(Unknown Source)
         at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Unknown Source)
         at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(Unknown Source)
         at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
         at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
         at com.hyperion.atf.services.distributed.http.HttpRequestProcessor.internalProcess(HttpRequestProcessor.java:466)
         ... 15 more
    [ERROR] UserSessionContainer - -java.lang.IllegalStateException: Root entry is null
    [ERROR] UserSessionContainer - -Could not destroy container instance properly "com.hyperion.atf.internal.services.naming.NamingServiceProxy". <java.lang.NullPointerException>java.lang.NullPointerException
         at com.hyperion.atf.internal.services.containers.UserSessionContainer.destroy(UserSessionContainer.java:336)
         at com.hyperion.atf.internal.services.containers.UserSessionContainer.initialize(UserSessionContainer.java:127)
         at com.hyperion.atf.services.ServiceManager.setServiceContainer(ServiceManager.java:526)
         at com.hyperion.atf.services.ServiceManager.getService(ServiceManager.java:271)
         at com.hyperion.atf.services.ServiceManager.setServiceContainer(ServiceManager.java:503)
         at com.hyperion.atf.services.ServiceManager.initServiceContainer(ServiceManager.java:463)
         at com.hyperion.atf.services.ServiceManager.initialize(ServiceManager.java:661)
         at com.hyperion.atf.services.ServiceRegistry.initialize(ServiceRegistry.java:126)
         at com.hyperion.analyzer.usersession_base.HYABaseClient.initATF(Unknown Source)
         at com.hyperion.analyzer.usersession_base.HYABaseClient.init(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    [ERROR] ServiceManager - --------------------------
    [ERROR] ServiceManager - -Service "naming" was not initialized. Removed from registry.
    [ERROR] ServiceManager - -java.lang.IllegalStateException: Could not initalize container for: ServiceRegistration (name=naming, scope=user_session, priority=99, class=com.hyperion.atf.internal.services.naming.NamingServiceProxy, cronned=null)
    [ERROR] ServiceManager - --------------------------
    [INFO] SessionScopeBindingToJVM - -Releasing services for session: INITIALIZATION
    [WARN] SecurityContextManagerProxy - -Could not verify login...will try again. <org.apache.commons.lang.exception.NestableRuntimeException: org.apache.commons.lang.exception.NestableException: An error occurred during network communications.>org.apache.commons.lang.exception.NestableRuntimeException: org.apache.commons.lang.exception.NestableException: An error occurred during network communications.
         at com.hyperion.atf.services.distributed.clientproxies.SecurityContextManagerProxy.hasValidSecurityContext(SecurityContextManagerProxy.java:286)
         at com.hyperion.atf.security.authentication.SecurityContextManagerProxy.refresh(SecurityContextManagerProxy.java:73)
         at com.hyperion.atf.security.authentication.SecurityContextManagerProxy.hasValidSecurityContext(SecurityContextManagerProxy.java:162)
         at com.hyperion.atf.security.authentication.SecurityContextManagerProxy.getUser(SecurityContextManagerProxy.java:149)
         at com.hyperion.atf.security.authentication.SecurityContextManagerProxy.toString(SecurityContextManagerProxy.java:195)
         at java.lang.String.valueOf(Unknown Source)
         at java.lang.StringBuffer.append(Unknown Source)
         at com.hyperion.atf.internal.services.containers.UserSessionContainer.internalRelease(UserSessionContainer.java:259)
         at com.hyperion.atf.internal.services.containers.UserSessionContainer.release(UserSessionContainer.java:219)
         at com.hyperion.atf.internal.services.containers.UserSessionContainer.release(UserSessionContainer.java:229)
         at com.hyperion.atf.services.ServiceManager.releaseServices(ServiceManager.java:354)
         at com.hyperion.atf.services.SessionScopeBindingToJVM.destroy(SessionScopeBindingToJVM.java:34)
         at com.hyperion.atf.services.ServiceManager.initialize(ServiceManager.java:682)
         at com.hyperion.atf.services.ServiceRegistry.initialize(ServiceRegistry.java:126)
         at com.hyperion.analyzer.usersession_base.HYABaseClient.initATF(Unknown Source)
         at com.hyperion.analyzer.usersession_base.HYABaseClient.init(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: org.apache.commons.lang.exception.NestableException: An error occurred during network communications.
         at com.hyperion.atf.services.distributed.http.HttpRequestProcessor.internalProcess(HttpRequestProcessor.java:480)
         at com.hyperion.atf.services.distributed.DistributedRequestProcessorClient.process(DistributedRequestProcessorClient.java:115)
         at com.hyperion.atf.services.distributed.clientproxies.SecurityContextManagerProxy.hasValidSecurityContext(SecurityContextManagerProxy.java:277)
         ... 17 more
    Caused by: java.net.UnknownHostException: server_name
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.SocksSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.<init>(Unknown Source)
         at java.net.Socket.<init>(Unknown Source)
         at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(Unknown Source)
         at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(Unknown Source)
         at org.apache.commons.httpclient.HttpConnection.open(Unknown Source)
         at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(Unknown Source)
         at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Unknown Source)
         at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(Unknown Source)
         at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
         at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
         at com.hyperion.atf.services.distributed.http.HttpRequestProcessor.internalProcess(HttpRequestProcessor.java:466)
         ... 19 more
    [ERROR] HYABaseClient - -Error while initializing ATF <com.hyperion.atf.services.InitializationException: Could not initialize service manager: 1224512931093>com.hyperion.atf.services.InitializationException: Could not initialize service manager: 1224512931093
         at com.hyperion.atf.services.ServiceManager.initialize(ServiceManager.java:678)
         at com.hyperion.atf.services.ServiceRegistry.initialize(ServiceRegistry.java:126)
         at com.hyperion.analyzer.usersession_base.HYABaseClient.initATF(Unknown Source)
         at com.hyperion.analyzer.usersession_base.HYABaseClient.init(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: com.hyperion.atf.services.ServiceManager$ServiceRecursiveInitException: Could not start critical service: "appinit.tasks", all services are being rolled back.
         at com.hyperion.atf.services.ServiceManager.setServiceContainer(ServiceManager.java:546)
         at com.hyperion.atf.services.ServiceManager.initServiceContainer(ServiceManager.java:463)
         at com.hyperion.atf.services.ServiceManager.initialize(ServiceManager.java:661)
         ... 5 more
    org.apache.commons.lang.exception.NestableRuntimeException: org.apache.commons.lang.exception.NestableException: An error occurred during network communications.
         at com.hyperion.analyzer.atf.service.clientproxies.HYALicensingServiceProxy.isFeatureEnabled(Unknown Source)
         at com.hyperion.analyzer.usersession_base.AnalyzerClient.initShowHideParams(Unknown Source)
         at com.hyperion.analyzer.usersession_base.AnalyzerClient.createGUI(Unknown Source)
         at com.hyperion.analyzer.usersession_base.HYABaseClient.init(Unknown Source)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: org.apache.commons.lang.exception.NestableException: An error occurred during network communications.
         at com.hyperion.atf.services.distributed.http.HttpRequestProcessor.internalProcess(HttpRequestProcessor.java:480)
         at com.hyperion.atf.services.distributed.DistributedRequestProcessorClient.process(DistributedRequestProcessorClient.java:115)
         ... 6 more
    Caused by: java.net.UnknownHostException: server_name
         at java.net.PlainSocketImpl.connect(Unknown Source)
         at java.net.SocksSocketImpl.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.connect(Unknown Source)
         at java.net.Socket.<init>(Unknown Source)
         at java.net.Socket.<init>(Unknown Source)
         at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(Unknown Source)
         at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(Unknown Source)
         at org.apache.commons.httpclient.HttpConnection.open(Unknown Source)
         at org.apache.commons.httpclient.MultiThreadedHttpConnectionManager$HttpConnectionAdapter.open(Unknown Source)
         at org.apache.commons.httpclient.HttpMethodDirector.executeWithRetry(Unknown Source)
         at org.apache.commons.httpclient.HttpMethodDirector.executeMethod(Unknown Source)
         at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
         at org.apache.commons.httpclient.HttpClient.executeMethod(Unknown Source)
         at com.hyperion.atf.services.distributed.http.HttpRequestProcessor.internalProcess(HttpRequestProcessor.java:466)
         ... 7 more
    Any help will be appreciated!

Maybe you are looking for