To access a package, the calling class must reside in the root/parent direc

My goal was to be able to access my package from anywhere within the
high level root folder (d:\zJava). But it seems the invoking class MUST
RESIDE IN THE TOP LEVEL PARENT DIRECTORY of the package. Was Java
designed to behave this way?
D:\zJava\zsamples\com\zswingpackage1>     <-- packages successfully compiled here
     swing_optgrp_eg1.{class/java}
          package com.zswingpackage1;
          public class swing_optgrp_eg1 extends JFrame implements ItemListener {
D:\zJava\zsamples\com> <-- classes residing here could NOT successfully                    access the package 'com.zswingpackage1'. The third                    level subfolder is 'com'.
     package_test4.java
          /* Following import stmt. causing RUN-TIME error "Exception in thread     "main" java.lang.NoClassDefFoundError: com/zswingpackage1/swing_optgrp_eg1". */
          import com.zswingpackage1;
     Package_Test4.class          
     /* Unsuccessful remedies:
     i) D:\zJava\zsamples\com>java Package_Test4
               -classpath .;d:\zJava\zsamples\com\zswingpackage1
               -classpath .;d:\zJava\zsamples\com
               -classpath .;d:\zJava\zsamples (also used in compile)
               -classpath .;d:\zJava
     ii) ran from the root/parent directory of the package d:\zJava\zsamples),with and without classpath i.e.
          D:\zJava\zsamples>java com\Package_Test4 [-classpath .;d:\zJava\zsamples]
     iii) ran from the top level directory (d:\zJava), with and without classpath i.e.
          D:\zJava>java zsamples\com\Package_Test4 [-classpath .;d:\zJava\zsamples]
     Possible causes:
          - maybe the above behaviours are by design i.e. the calling class/program CANNOT be stored within the package hierarchy?
D:\zJava\zsamples\net> <-- classes residing here could NOT successfully access the package 'com.zswingpackage1'. The third level subfolder is 'net'.
     package-test6.java
          /* Following import stmt. causing RUN-TIME error "Exception in thread "main" java.lang.NoClassDefFoundError: com/zswingpackage1/swing_optgrp_eg1". */
          import com.zswingpackage1;
     Package_Test6.class
     /* Unsuccessful remedies:
     i) D:\zJava\zsamples\net>java Package_Test6
               -classpath .;d:\zJava\zsamples\com\zswingpackage1
               -classpath .;d:\zJava\zsamples\com
               -classpath .;d:\zJava\zsamples (also used in compile)
               -classpath .;d:\zJava
     ii) ran from the root/parent directory of the package (d:\zJava\zsamples), with and without classpath i.e.
          D:\zJava\zsamples>java net\Package_Test6 [-classpath .;d:\zJava\zsamples]
     iii) ran from the top level directory (d:\zJava), with and without classpath i.e.
          D:\zJava>java zsamples\net\Package_Test6 [-classpath .;d:\zJava\zsamples]
     Possible causes:
          - maybe the above behaviours are by design i.e. the calling class/program MUST be stored in the parent folder of the package hierarchy?
**D:\zJava\zsamples>     <-- classes residing here SUCCESSFULLY accessed package 'com.zswingpackage1'. NO -classpath parms. were necessary!
D:\zJava\ <-- classes residing here could NOT successfully access the package 'com.zswingpackage1'. Similar scenarios as above.
D:\zJavaB\ <-- classes residing here could NOT successfully access the package 'com.zswingpackage1'. I purposely created another folder with the 'B' suffix. Similar scenarios as above.
My PC configuration:
     java version "1.4.0_01"
     Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0_01-b03)
     Java HotSpot(TM) Client VM (build 1.4.0_01-b03, mixed mode)
     JRun 4 (Build 47304)
     WinNT 4.0 SP5
     IE 5.50
     CLASSPATH=.;D:\jakarta-tomcat-3.3.1\lib\common\servlet.jar;
          C:\JRun4\servers\default\default-ear\default-war\WEB-INF\classes
     JAVA_HOME=C:\j2sdk1.4.0_01
     Path=C:\j2sdk1.4.0_01\bin;C:\WINNT\system32;C:\WINNT;
          C:\Program Files\Network Associates\PGPNT;C:\Program Files\MTS;d:\MSSQL7\BINN
Thank you so much for your expertise.

Hello,
I think that you use the import-declarations incorrectly.
Your code says:
import com.zswingpackage1;
... The meaning of the above declaration is the following: Import the class "zswingpackage1" from the package "com". The compiler cannot find that class, but it is probably never asked to find it in your code, so it won't report an error.
If you want to import the whole package use the following declaration instead:
import com.zswingpackage1.*;
... That means: import all classes from from the package "com.zswingpackage1".
You can also import just the classes needed, e.g.:
import com.zswingpackage1.swing_optgrp_eg1;
... I hope that does the job.
S&oslash;ren

Similar Messages

  • [svn:fx-4.0.0] 13665: remove the call to clean-temp before the package staging starts.

    Revision: 13665
    Revision: 13665
    Author:   [email protected]
    Date:     2010-01-20 10:17:54 -0800 (Wed, 20 Jan 2010)
    Log Message:
    remove the call to clean-temp before the package staging starts.  Removing the temp directory before the copy was removing the config updates that happen before this target is called.
    QE notes: make sure the flex and air configs have been updated.
    Doc notes:
    Bugs: https://bugs.adobe.com/jira/browse/SDK-25160
    Reviewer: gaurav
    Tests run:
    Is noteworthy for integration:
    Ticket Links:
        http://bugs.adobe.com/jira/browse/SDK-25160
    Modified Paths:
        flex/sdk/branches/4.0.0/build.xml

    Before compiling the architecture must be adjusted in the FFdecsa/Makefile (defaults to athlon-xp).
    The readme file in the src directory provides more details.

  • Automatically detect the caller class!

    Guys,
    I have a simple but "sounds-like-general-and-interesting" doubt..
    I have a class 'A' and another class 'B'. I have a method in 'A' called 'a' calling a method in class 'B' (which is 'b').
    suppose the control is inside the method 'b' of the class 'B'.
    Now, the doubt is
    how can I find out that it was class 'A' who called the method 'b' of class 'B' from within the method 'b'?
    the scenario is a simpe loging scenario where the class 'B' is a Logger class and I want to automatically detect the class calling this component from within this component so that it can be logged too.
    Hope my problem is clear. Thankx in advance for the replies.. am stuck and confused too.. and hop there's a solution for this
    regards
    Manesh

    mgumbs is right - typically a Logger class will accept a context (Object) to indicate where the message has come from. Sometimes people pass in "this", sometimes they pass in "this.class" or sometimes they'll log on behalf of another class. It's pretty much the same solution - if it's needed you should supply it.
    One method made possible in J2SDK-1.4 is using a stack trace to find out what the calling class/method is. Perhaps the only way to do that would be to throw a new Exception and get hold of its stack trace elements. I suspect that this would add significant overhead, though, and I certainly wouldn't recommend it!

  • I want to upgrade my old airport express to the new express. Can I just switch out the old for the new or must I delete the old network first and start from scratch with the new express?

    I want to upgrade my old airport express to the new express. Can I just switch out the old for the new or must I delete the old network first and start from scratch with the new express?

    It is not necessary to delete your old wireless networks first, but doing so may eliminate confusion. If you wish to do that, open System Preferences > Network, and select Wi-Fi from the left column. Click the Advanced... button, then select your old wireless networks and delete them with the "–" (minus) button. Make sure the "Remember networks this computer has joined" remains checked.
    OK then Apply.
    This prevents your Mac from searching for your previous network which will no longer exist.
    A new Express creates an open wireless network that you must select before you can configure it. It appears in your Wi-Fi menu like this:
    Select it. AirPort Utility will load and walk you through its configuration.
    Edit: If you are really using OS X 10.5.1 as shown in your profile, the above screenshot is not applicable. Instead, select the network called "Apple network nnnnnn" and then launch AirPort Utility.

  • Unhandled Exception: System.TimeoutException: The request channel timed out while waiting for a reply after 00:01:59.9139778.Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding.

    Hi, 
    I created a simple plugin and since i wanted to use Early Binding i added Xrm.cs file to my solution.After i tried registering the plugin (using the Plugin Registration Tool) the plugin does not gets registered and i get the below mentioned Exception.
    Unhandled Exception: System.TimeoutException: The request channel timed out while waiting for a reply after 00:01:59.9139778. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding. The time allotted to this
    operation may have been a portion of a longer timeout.
    Server stack trace: 
       at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
       at System.ServiceModel.Channels.SecurityChannelFactory`1.SecurityRequestChannel.Request(Message message, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
       at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
    Exception rethrown at [0]: 
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at Microsoft.Xrm.Sdk.IOrganizationService.Update(Entity entity)
       at Microsoft.Xrm.Sdk.Client.OrganizationServiceProxy.UpdateCore(Entity entity)
       at Microsoft.Crm.Tools.PluginRegistration.RegistrationHelper.UpdateAssembly(CrmOrganization org, String pathToAssembly, CrmPluginAssembly assembly, PluginType[] type)
       at Microsoft.Crm.Tools.PluginRegistration.PluginRegistrationForm.btnRegister_Click(Object sender, EventArgs e)
    Inner Exception: System.TimeoutException: The HTTP request to 'https://demoorg172.api.crm.dynamics.com/XRMServices/2011/Organization.svc' has exceeded the allotted timeout of 00:01:59.9430000. The time allotted to this operation may have been a portion of a
    longer timeout.
       at System.ServiceModel.Channels.HttpChannelUtilities.ProcessGetResponseWebException(WebException webException, HttpWebRequest request, HttpAbortReason abortReason)
       at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
       at System.ServiceModel.Channels.RequestChannel.Request(Message message, TimeSpan timeout)
    Inner Exception: System.Net.WebException: The operation has timed out
       at System.Net.HttpWebRequest.GetResponse()
       at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)
    And to my Surprise after i remove the Xrm.cs file from my solution the Plugin got registered!
    Not understanding what exactly is the issue.
    Any Suggestions are highly appreciated.
    Thanks,
    Shradha
      

    Hello Shardha,
                            I really appreciate that you have faced this issue.This is really very strange issue and basically it occurs because of big size of your early bound class and slow internet
    connection.
                            I would strictly recommend you to reduce the file size of your early bound class and then register.By default early bound class is created for all the entities which are
    present in CRM(System entities as well custom entities).Such kind of early bound classes takes lots of time to register on server and hence timeout exception comes.
                            There is some standard define to reduce the size of early bound class.Please follow the link to get rid from big size of early bound class.
    Create a new C# class library project in Visual Studio called SvcUtilFilter.
    In the project, add references to the following:
    CrmSvcUtil.exe(from sdk)   This exe has the interface we will implement.
    Microsoft.Xrm.Sdk.dll  (found in the CRM SDK).
    System.Runtime.Serialization.
      Add the following class to the project:
    using System;
    using System.Collections.Generic;
    using System.Xml.Linq;
    using Microsoft.Crm.Services.Utility;
    using Microsoft.Xrm.Sdk.Metadata;
    namespace SvcUtilFilter
        /// <summary>
        /// CodeWriterFilter for CrmSvcUtil that reads list of entities from an xml file to
        /// determine whether or not the entity class should be generated.
        /// </summary>
        public class CodeWriterFilter : ICodeWriterFilterService
            //list of entity names to generate classes for.
            private HashSet<string> _validEntities = new HashSet<string>();
            //reference to the default service.
            private ICodeWriterFilterService _defaultService = null;
            /// <summary>
            /// constructor
            /// </summary>
            /// <param name="defaultService">default
    implementation</param>
            public CodeWriterFilter( ICodeWriterFilterService defaultService )
                this._defaultService = defaultService;
                LoadFilterData();
            /// <summary>
            /// loads the entity filter data from the filter.xml file
            /// </summary>
            private void LoadFilterData()
                XElement xml = XElement.Load("filter.xml");
                XElement entitiesElement = xml.Element("entities");
                foreach (XElement entityElement in entitiesElement.Elements("entity"))
                    _validEntities.Add(entityElement.Value.ToLowerInvariant());
            /// <summary>
            /// /Use filter entity list to determine if the entity class should be generated.
            /// </summary>
            public bool GenerateEntity(EntityMetadata entityMetadata, IServiceProvider services)
                return (_validEntities.Contains(entityMetadata.LogicalName.ToLowerInvariant()));
            //All other methods just use default implementation:
            public bool GenerateAttribute(AttributeMetadata attributeMetadata, IServiceProvider services)
                return _defaultService.GenerateAttribute(attributeMetadata, services);
            public bool GenerateOption(OptionMetadata optionMetadata, IServiceProvider services)
                return _defaultService.GenerateOption(optionMetadata, services);
            public bool GenerateOptionSet(OptionSetMetadataBase optionSetMetadata, IServiceProvider services)
                return _defaultService.GenerateOptionSet(optionSetMetadata, services);
            public bool GenerateRelationship(RelationshipMetadataBase relationshipMetadata, EntityMetadata otherEntityMetadata, IServiceProviderservices)
                return _defaultService.GenerateRelationship(relationshipMetadata, otherEntityMetadata, services);
            public bool GenerateServiceContext(IServiceProvider services)
                return _defaultService.GenerateServiceContext(services);
    This class implements the ICodeWriterFilterService interface.  This interface is used by the class generation
    utility to determine which entities, attrributes, etc. should actually be generated.  The interface is very simple and just has seven methods that are passed metadata info and return a boolean indicating whether or not the metadata should be included
    in the generated code file.   
    For now I just want to be able to determine which entities are generated, so in the constructor I read from an XML
    file (filter.xml) that holds the list of entities to generate and put the list in a Hashset.  The format of the xml is this:
    <filter>
      <entities>
        <entity>systemuser</entity>
        <entity>team</entity>
        <entity>role</entity>
        <entity>businessunit</entity>
      </entities>
    </filter>
    Take a look at the methods in the class. In the GenerateEntity method, we can simply check the EntityMetadata parameter
    against our list of valid entities and return true if it's an entity that we want to generate.
    For all of the other methods we want to just do whatever the default implementation of the utility is.  Notice
    how the constructor of the class accepts a defaultService parameter.  We can just save a reference to this default service and use it whenever we want to stick with the default behavior.  All of the other methods in the class just call the default
    service.
    To use our extension when running the utility, we just have to make sure the compiled DLL and the filter.xml file
    are in the same folder as CrmSvcUtil.exe, and set the /codewriterfilter command-line argument when running the utility (as described in the SDK):
    crmsvcutil.exe /url:http://<server>/<org>/XrmServices/2011/Organization.svc /out:sdk.cs  /namespace:<namespace> /codewriterfilter:SvcUtilFilter.CodeWriterFilter,SvcUtilFilter
    /username:[email protected] /password:xxxx
    That's it! You now have a generated sdk.cs file that is only a few hundred kilobytes instead of 5MB. 
    One final note:  There is actually a lot more you can do with extensions to the code generation utility. 
    For example: if you return true in the GenerateOptionSet method, it will actually generated Enums for each CRM picklist (which it doesn't normally do by default).
    Also, the source code for this SvcUtilFilter example can be found here. 
    Use at your own risk, no warranties, etc. etc. 
    Please mark as a answer if this post is useful to you.

  • While talking to someone, I could lock the screen in iSO6 and continue the call, How could I do the same in iSO7?

    Dear Team,
    In iSO 6 while talking to some one I could lock the screen in the middle of the call and I could continue the call, this helps me in may ways
    1. I dont press the key board accidentally so that key presses wont be sent to IVR if Iam talking to a customer care or bank ect..
    2. once I lock the screen while talking to the other person, accidentally I could avoid pressing End button, as it is touch screen and an accidental skin touch ends the call?
    3. How could I reject the call if I dont want to receive the call using touch screen in iSO7 if possible?
    could you please answer these queries if am on right forum, if not let me know?
    thank you.
    Kul

    Hello Csound1
    The feature exists (and is clearly described in Numbers User Guide) in Numbers '09 but the thread is about the behavior of Numbers '08.
    Yvan KOENIG (VALLAURIS, France) mercredi 21 septembre 2011 21:59:50
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • When making a call, sometimes, my iPhone 5 , gets stuck on 'Calling' than I have to press END..but still nothing happens, than when I press HOME button, the call app keeps running in the background and it keeps saying CALLING... please help

    When making a call, sometimes, my iPhone 5 , gets stuck on 'Calling' than I have to press END..but still nothing happens, than when I press HOME button, the call app keeps running in the background and it keeps saying CALLING... than I have to wait 2 - 3 minutes and call again.
    please help

    Has nothing to do with the SIM or master reset.  This has been done to my phone.  The SIM once and the factory reset many times over.  You all just sold us a bad piece of equipment and have us by the tail with our contracts so none of us can get a new phone without paying full price or re-upping our contract.  I just got off the phone last night with your high up tech people (you know, the hidden number we get once we tear into your support people enough), they went into my phone again and still didn't find anything wrong.  I about got fired from my job for not getting my calls and texts.  The BBB has now been contacted, and I feel your end should shore this up for all of us!

  • The entity name must immediately follow the '&' in the entity reference.

    Hello Group,
    I have been receiving below such org.xml.sax.SAXParseException exceptions.
    Could you anyone please advise me what could be the reason for these issues and any probable solution thereby.
    NOTE:
    Eg1: Below string is causing error:
    USER Given: funnicity is funny. isn't it. true. well go to "funnicity" today.
    Escaped String : funnicity is funny. isn&#039;t it. true. well go to "funnicity" today.
    Eg2: Below string successfully generated spell suggestions:
    USER Given: funnicity is funny. isn ' t it. true. well go to " funnicity " today.
    Escaped String : funnicity is funny. isn &#039; t it. true. well go to " funnicity " today.
    The difference between above two example strings is, characters to be escaped were separated from other chars with a single whitespace.
    In the below notes "TEXT:" is the string sent by ERXGoogleSpell to org.w3c.dom.Document.parse(InputStream) method and "ERROR:" is the error received from ERXGoogleSpell:
    TEXT:
    funnicity is funny. isn't it. true. well go to " funnicity " today.
    ERROR:
    The entity name must immediately follow the '&' in the entity reference.
    00:43 DEBUG text is : funnicity is funny. isn t it. true. well go to "funnicity" today.
    [Fatal Error] :1:244: The reference to entity "quot" must end with the ';' delimiter.
    er.extensions.ERXGoogleSpell$CorrectionException: Failed to correct spelling of 'funnicity is funny. isn t it. true. well go to "funnicity" today.'.
    at er.extensions.ERXGoogleSpell.suggestions(ERXGoogleSpell.java:172)
    at er.extensions.ERXGoogleSpell.suggestions(ERXGoogleSpell.java:114)
    at er.extensions.ERXGoogleSpell.suggestions(ERXGoogleSpell.java:99)
    at com.mtj.DirectAction.checkSpellingAction(DirectAction.java:1872)
    at sun.reflect.GeneratedMethodAccessor68.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.webobjects.appserver.WODirectAction.performActionNamed(WODirectAction.java:128)
    at com.webobjects.appserver._private.WOActionRequestHandler._handleRequest(WOActionRequestHandler.java:240)
    at com.webobjects.appserver._private.WOActionRequestHandler.handleRequest(WOActionRequestHandler.java:145)
    at com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1306)
    at com.mtj.Application.dispatchRequest(Application.java:669)
    at com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:173)
    at com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:254)
    at java.lang.Thread.run(Thread.java:613)
    Caused by: org.xml.sax.SAXParseException: The reference to entity "quot" must end with the ';' delimiter.
    at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:267)
    at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:201)
    at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:98)
    at er.extensions.ERXGoogleSpell.suggestions(ERXGoogleSpell.java:148)
    ... 14 more
    TEXT:
    funnicity is funny. tell me isn't it true.
    ERROR:
    07:29 DEBUG text is : funnicity is funny. tell me isn't it true.
    [Fatal Error] :1:187: The entity name must immediately follow the '&' in the entity reference.
    er.extensions.ERXGoogleSpell$CorrectionException: Failed to correct spelling of 'funnicity is funny. tell me isn't it true.'.
    at er.extensions.ERXGoogleSpell.suggestions(ERXGoogleSpell.java:172)
    at er.extensions.ERXGoogleSpell.suggestions(ERXGoogleSpell.java:114)
    at er.extensions.ERXGoogleSpell.suggestions(ERXGoogleSpell.java:99)
    at com.mtj.DirectAction.checkSpellingAction(DirectAction.java:1872)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at com.webobjects.appserver.WODirectAction.performActionNamed(WODirectAction.java:128)
    at com.webobjects.appserver._private.WOActionRequestHandler._handleRequest(WOActionRequestHandler.java:240)
    at com.webobjects.appserver._private.WOActionRequestHandler.handleRequest(WOActionRequestHandler.java:145)
    at com.webobjects.appserver.WOApplication.dispatchRequest(WOApplication.java:1306)
    at com.mtj.Application.dispatchRequest(Application.java:669)
    at com.webobjects.appserver._private.WOWorkerThread.runOnce(WOWorkerThread.java:173)
    at com.webobjects.appserver._private.WOWorkerThread.run(WOWorkerThread.java:254)
    at java.lang.Thread.run(Thread.java:613)
    Caused by: org.xml.sax.SAXParseException: The entity name must immediately follow the '&' in the entity reference.
    at org.apache.xerces.parsers.DOMParser.parse(DOMParser.java:267)
    at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:201)
    at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:98)
    at er.extensions.ERXGoogleSpell.suggestions(ERXGoogleSpell.java:148)
    ... 15 more
    Please let me know, if this email is not clear or need any information.
    Thanks in advance.
    Thank You,
    Shravan

    Thanks so much for all your responses.
    I have actually passed-in properly escaped text to document parser, but it is behaving vaguely.
    I see the text I have posted in my initial post is parsed by forum.
    Here is the text that is reported as error:
    Actual Text: Hello "World"
    Escaped Text passed to parser: Hello & quot;World& quot; (note: & and quot are indeed not separated)
    Here is the text that is working fine:
    Actual Text: Hello " World "
    Escaped Text passed to parser: Hello & quot; World & quot; (note: & and quot are indeed not separated)
    The difference in above two versions of text input is: quotes and word are separated by a space to work fine.
    Please advise a solution.

  • How come 64 GB storage can hold only 100 entries in the call list. can anybody explain the reason?

    how come 64 GB storage can hold only 100 entries in the call list. can anybody explain the reason?

    Because the "Recents" is limited to exactly 100 calls, by design...nothing to do with the size of your phone. Tell Apple if you liked to see it increased:
    http://www.apple.com/feedback/iphone.html

  • Most of the calls are ended suddenly and the phone turhes off

    most of the calls are ended suddenly and the phone turnes off

    Are you using any accessories with the iPhone, like a  protective case or bluetooth headset? If you ar try testing the iPhone without the accessories.
    If that doesn't take care of it, try restoring the iPhone.

  • Can I package and call a java object in the swf? (on the client)

    Hello,
    Can I package and call/execute a java object within the
    swf/adobe flash player?
    I want to embed a java object in my swf, and then whne the
    swf executes have it call the java object......
    E.

    ..... there are few instances where it would be nice to
    develope a single java object that can be used on the server and
    the client..... let's say for the case of server side validation,
    that could also be used by the client application for validation,
    instead of having to maintain 2 sets of validation logic in two
    different languages (java and AS).....

  • Why does the child class need to implement the parent classes constructor?/

    As I was playing around with some code I came across this point :
    First Class
    public class A {
         public int x;
         A(int i){
              x=i;
              System.out.println("A is initialised");
    }Second Class extending it :
    public class B extends A{
         private int y;
       // Why do I need this constructor to call parents constructor?
      // My guess is so that when i make an object of class B referring to class A it should make sense?
         B(int i) {                     
              super(i); 
              y=test;
    public static void main(String args[]){
          A a = new A(1);
          A b = new B(1); make an object of class B referring to class A it should work!!
          B c = new B(2);
          B d =(B) new A(2);  --> gives class cast exception!
    }I am little confused here, Can someone throw more light on it.
    Thanks

    You don't override constructors. However, every class, in it's constructor, must call some constructor from the class it's extending. In most cases this is simply super(). However, if your class does not have a default constructor (i.e. you've declared any other constructor, or the sub class does not have access to it, I.E. you've declared it private) then you must include a call to some other constructor in the super class. The constructor in the subclass does not have to be the same as the super class one, but you do have to invoke a constructor from the super class. I.E.
    class A {
      A(int i) {}
    class B extends A {
      B(String b) {
        super(0);
    }

  • The call to New-AzureKeyVault in the tutorial fails

    I'm following this tutorial:
    http://azure.microsoft.com/en-us/documentation/articles/key-vault-get-started/
    When running the following statement:
    New-AzureKeyVault -VaultName 'MyTestKeyVault2' -ResourceGroupName 'MyTestResourceGroup2' -Location 'North Europe' 
    I get the following output (I've redacted our subscription/email/resource groups/vault name details):
    The user account that is used for this operation is: [email protected]
    The subscription that is used for this operation is: MySubscription
    Resource Group MyTestResourceGroup2 is created/selected
    VERBOSE: 17:25:23 - Resource group "MyTestResourceGroup2" is found.
    VERBOSE: 17:25:23 - Creating resource "MyTestKeyVault2" started.
    VERBOSE: 17:25:26 - Creating resource "MyTestKeyVault2" complete.
    The user account that is used for this operation is: [email protected]
    The subscription that is used for this operation is: MySubscription
    The user account that is used for this operation is: [email protected]
    No object ID is selected. The current user's object ID will be used by default
    Get-AzureADUser : {"odata.error":{"code":"Authorization_RequestDenied","message":{"lang":"en","value":"Insufficient pri
    vileges to complete the operation."}}}
    At C:\Dev\Azure Key Vault Powershell scripts\KeyVaultManager\Common.ps1:144 char:22
    + $userByUpn = Get-AzureADUser | where {$_.Mail -eq $UserPrincipalName}
    + ~~~~~~~~~~~~~~~
    + CategoryInfo : CloseError: (:) [Get-AzureADUser], CloudException
    + FullyQualifiedErrorId : Microsoft.Azure.Commands.ActiveDirectory.GetAzureADUserCommand
    No object ID for the input principal was not found
    At C:\Dev\Azure Key Vault Powershell scripts\KeyVaultManager\Common.ps1:129 char:9
    + Throw 'No object ID for the input principal was not found'
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo : OperationStopped: (No object ID fo...l was not found:String) [], RuntimeException
    + FullyQualifiedErrorId : No object ID for the input principal was not found
    It seems like New-AzureKeyVault calls Get-AzureADUser but that call fails. If I just execute Get-AzureADUser then 
    Get-AzureADUser : {"odata.error":{"code":"Authorization_RequestDenied","message":{"lang":"en","value":"Insufficient pri
    vileges to complete the operation."}}}
    At line:1 char:1
    + Get-AzureADUser
    + ~~~~~~~~~~~~~~~
    + CategoryInfo : CloseError: (:) [Get-AzureADUser], CloudException
    + FullyQualifiedErrorId : Microsoft.Azure.Commands.ActiveDirectory.GetAzureADUserCommand
    I'm following the tutorial from top to bottom. We have an Azure AD set up, but there's no mentioning of Active Directory up until this point in the tutorial.
    Is there something which I need to configure within Azure AD prior to running New-AzureKeyVault which is not mentioned in the tutorial?
    Nitramafve

    Hi All,
    Thank You for taking the interest in Key Vault, I am sorry to hear that you have run in to this particular incident and hopefully we can get you unblocked.
    If you currently have 'Limit Guest Access' on the directory set to 'YES' then you will need to read the statement below in order to move forward as in this scenario GUEST do not have the ability to enumerate Directory Objects when access has been limited
    which is what causes this to fail.
    If your administrator doesn't want to limit guest access, then they can toggle the setting on the Directory to state 'Limit Guest Access' to NO which will then allow User Accounts of User Type Guest to enumerate objects.
    If you are using a Microsoft Account that is over user type GUEST and the administrator has chosen to limit guest access then you need to ask an administrator of the directory to run the following command:
    Set-MsolUser -UserPrincipalName someone_outlook.com#EXT#@tenant.onmicrosoft.com -UserType Member
    Furthermore, If your a customer that has multiple Azure Subscriptions ensure that the subscription in question is the current subscription in-use when using the PowerShell Session
    Get-AzureSubscription
    This will give you a list of all your subscriptions, there is an attribute on each subscription called 'IsCurrent' you need to ensure that the relevant subscription your attempting to use has a value of True.
    If this is not the case, then you need to run the command
    Select-AzureSubscription -SubscriptionId GUID -Current
    I imagine most of you here will have multiple subscriptions & directories, and even more so as it is recommended to run this in production it probable that you have a different Azure Subscription you would want to use, and in-turn a different directory
    also. {please take care when checking this info}
    NOTE: If you login to manage.windowsazure.com with your account and go to Settings > Subscriptions from here you will be able to see the GUID translation in to the Directory Name and furthermore there is a last column called 'Default Directory'
    that is the directory your account needs to be a GA off.
    If you have any further questions please be sure to reach out.
    If your currently using Microsoft Accounts in Azure. if your a Microsoft Online Service customers (such as Office 365) and have not linked the Azure Subscription to this directory and want to, check out
    this article to help you out in doing that as Work Accounts are recommended when using Azure in most scenarios and saves you having to login with different creds across portals.
    also, if you want further information on how Azure AD Administrators and Subscription Administrators differ you should check out
    the following article also.
    Regards,
    James.

  • When trying to update my Apps I am being advised my account is not valid for the UK, I must switch to the Ireland store. How do I do this?

    When trying to update or purchase Apps I am being advised my account is not valid for the UK Store and I must switch to the IReland store. How do I do this?

    Change App Store
    1. Tap "Settings"
    2. Tap "iTunes & App Stores"
    3.Tap "View Apple ID"
    4. Enter your user name and password.
    5. Tap "Country/Region."
    6. Tap "Change Country/Region"
    7. Select the region where you will be located.
    8. Tap "Done".

  • Im from argentina and i got a problem with my earphone of the iphone 4s when i make a call i earphone or speaker make and strange noise or like an interference during the call and when i finish the call still doing the same noise and i dont know why?

    my eraphone of my iphone 4s white unlocked make strange noises during the call and still doing the noise like an interference or saturing the spekaer

    This is a common problem with iPhone 4s (and IOS 5)  There isn't ' anything you can do about it, so you're best bet is to go down to the store and get an exchange. If you have an older iPhone (3gs/4) roll back your update from IOS 5 to IOS 4.

Maybe you are looking for

  • Hang Man

    I am attempting to develop a hang man game but, I can't get the String Buffer to work in seperating my characters. When prompting input from the user(The word to be guessed) how do I put the individual characters of the inputted word into an array. D

  • HT4623 can i update to os 7 without installing the cartoonish icons?

    Can I install the new os7 operating system without the cartoonish looking icons.

  • Captivate freezing Error Message

    Hi, Captivate continues to freeze randomly through projects. I get the error "A fatal error has occured and the application is being terminated. Adobe Captivate has tried to save all your work in the respective project folders as ".cpbackup" files. P

  • Cloning Oracle 8 db using export

    Hi, I'm going to clone a database from export dump file. I haven't tried this yet. I found the instructions from link http://oradbapro.blogspot.com/2009/04/clone-using-export-dump.html. I 'm not sure how accurate it is. So my question is: are the ste

  • Dell Optiplex 780 standard size tower PC dual monitor display port graphic cards

    Yes, only my boss informed me that they have to be display ports, he didn't tell me why. I'm unable to buy from ebay or craiglist either & my local vendor doesn't have any in stock.