Clean up of objects created using NewObject()

Hello
I've just started playing around with JNI in order to create a Java API layer on top of an existing C++ library. I figured out how to create an instance of a Java class in native code using env->NewObject() method. My question is who takes care of cleaning up this object? Is it my responsibility ?
jclass cl = env->FindClass("MyJavaClass");
jmethodID ctorId = env->GetMethodID(cl, "<init>", "()V");
jobject obj = env->NewObject(cl, ctorId);
// set member field (int)
jfieldID fid = env->GetFieldID(cl, "i", "I");
env->SetIntField(obj, fid, 5);
// set member field (string)
fid = env->GetFieldID(cl, "buffer", "Ljava/lang/String;");
jstring jstr = env->NewStringUTF("hello from cpp");
env->SetObjectField(obj, fid, jstr);
// return object back to Java
return obj;Thanks
Amit

See the [JNI Reference|http://java.sun.com/j2se/1.5.0/docs/guide/jni/spec/design.html#wp529], section 'Implementing local references'.
Notes:
(a) If you are constructing an object to return to the Java code obviously you don't want to free it yourself.
(b) Anything you construct inside a JNI method apart from the return value and anything reachable from it can be released by the JVM when the JNI method returns.
(c) You can use DeleteLocalRef() or Push/PopLocalFrame() to manage objects you create yourself if you like, but unless you do large amounts of object creation, or you have callbacks into Java code, it's not really necessary.
(d) All this also applies to references that you acquire via JNI calls (e.g. jclass references).
(e) Another thing often overlooked is that the result of GetStringChars() or GetStringUTFChars() also needs to be released, with ReleaseStringChars() or ReleaseStringUTFChars().

Similar Messages

  • Can a object created using static keyword be recreated? Singleton Pattern

    Hi All
    To implement a Singleton I can use the following code
    public Singleton {
    private Singleton(){
    private static final s_instance = new Singleton();
    public Singleton getInstance(){
    return s_instance;
    Now if the Class Singleton gets unloaded during a program execution and again get loaded won't s_instance be recreated? If my question is correct this would lead to be leading to a new Singleton class instance with all the original variables.
    Having answered the above question if I lazily initialize my Singleton using the following code won't the above problem still occur.
    public Singleton {
    private Singleton(){}
    private final volatile Singleton s_instance = null;
    public Singleton () {
    if(s_instance != null) {
    synchronized (s_instance) {
    s_instance = new Singleton();
    return s_instance;
    Having answered all the above questions what is the best way to write a Singleton?

    Would the class get unloaded even if the Singleton object has some valid/reachable references pointing to it?
    On a different note, will all the objects/instances of a class get destroyed if the class gets unloaded.That's the other way round, really: instances cannot be garbage-collected as long as they are strongly reachable (at least one reference pointing to them), and classes cannot be unloaded as long as such an instance exists.
    To support tschodt's point, see the JVM specifications: http://java.sun.com/docs/books/jvms/second_edition/html/Concepts.doc.html#32202
    *2.17.8 Unloading of Classes and Interfaces*
    A class or interface may be unloaded if and only if its class loader is unreachable. The bootstrap class loader is always reachable; as a result, system classes may never be unloaded.
    Will the same case (Custom ClassLoader getting unloaded) occur if I write the singleton using the code wherein we lazily initialize the Singleton (and actually create a Singleton instance rather than it being a Class/static variable).You should check the meaning of this vocabulary ("object", "instance", "reference"): http://download.oracle.com/javase/tutorial/java/javaOO/summaryclasses.html
    The difference between the lazy vs eager initializations is the time when an instance is created. Once it is created, it will not be garbage collected as long as it is reachable.
    Now I'm wondering, whether being referenced by a static attribute of a class guarantees being reachabe. I'm afraid not (see the JLS definition of reachable: http://java.sun.com/docs/books/jls/third_edition/html/execution.html#44762). That is, again, unless the class has been loaded by the system class loader.

  • Serialazation of objects created using jaxb

    I am using jaxb to create java classes from a dtd. Problem is that I am not able to serialize these objects. We are using JMS queues and want to compare the cost (performance) of marshal/unmarshal and serialize/deserialize of these objects. Jaxb faq provides a example http://java.sun.com/xml/jaxb/CheckbookBalance.java but it uses marshal and unmarshal methods to do serialization. I have tried changing the classes generated by jaxb to implement serializable but i get runtime "Object couldnot be serialized" exception. Is there any way to make the objects of classes generated by jaxb serializable?
    Thanks,
    -Rakesh

    IMHO these classes are not meant to be serialised, the XML produced is the medium that is tranmitted between programs. The XMLB classes are available at both ends to do the marshalling/unmarshalling.I dissagree, xml is just an interface to the outside world, so to speak. I'm working with a project that uses jini and rmi, I really don't need the extra hasle of writting custom serialization classes.

  • Exporting 3D Objects for use in Photoshop

    As Photoshop CS3 has the ability to handle 3D layers and Illustrator CS3 has the ability the create 3D objects i do not see any reason why there is no possibility in Illustrator to Export the 3D objects that then can be used in Photoshop. It would be a very appreciated feature.
    Andreas

    > I happen to know for sure that the plug-in does create a 3D model...
    How do you know this? While I Don't know for sure that it doesn't I strongly doubt that it would. The object created using the effect is merely a 2D object extruded to add the illusion of depth. A true 3D model contains far more information, such as features on all sides. Since Illustrator is only a 2D drawing program, there's no need for it to support 3D modeling, so no need for the programmers to spend time storing 3D data in the database of object data.
    So, if you "know for sure" that the plug-in created a 3D model, how do you know this? Can you link to some proof?

  • Runtime error 429, activeX component cant create object while using netbet pro on windows 7 & 8.1 HELP!!!

    runtime error 429, activeX component cant create object while using netbet pro
    does anyone know what I could do to fix this problem??? netbet pro was't available for a while then it's back but has yet to run

    What's netbet pro?
    I'd recommend asking questions about third party applications in the vendor's forum, not a Microsoft forum meant for admin scripting.
    EDIT: Ah, some gambling website...
    Don't retire TechNet! -
    (Don't give up yet - 12,950+ strong and growing)

  • Create object name using a String variable

    Hi,
    I�m making a jsp page and I need to add several objects to a vector. The vector's name is arrayGrupo, and the object is Grupo. The problem is that when I create the instance of the object, I cant �give him different names, so the add in the Vector will always be of the same object instance. Is there anyway to create an object name using a variable?
    Something like this:
    <% if (request.getParameter("grupoNome") != null ) {
                                       nomeG=request.getParameter("grupoNome");
                                       descG=request.getParameter("grupoDesc");
                                       int nG=arrayGrupo.getTamanho(); //size of the array
                                       String xpto=String.valueOf(nG);
                                       Grupo "xpto"= new Grupo(); //here is the problem
                                       xpto.setNomeGrupo(nomeG);
                                       xpto.setDescricao(descG);
                                       xpto.setIdgrupo(arrayGrupo.getTamanho()+1);
                                       arrayGrupo.addGrupo(xpto);
    }%>
    Thanks
    Rui Gon�alves

    I want to show a list of objects that are stored in a vector. But I also want to add objects to that vector. If I just want to add one object, I can use this code:
    <% if (request.getParameter("grupoNome") != null ) {
                                       nomeG=request.getParameter("grupoNome");
                                       descG=request.getParameter("grupoDesc");
                                       Grupo newGrupo = new Grupo(nomeG,descG,arrayGrupo.getTamanho()+1);
                                       arrayGrupo.addGrupo(newGrupo);
    %>
    What should I do if I want to add more than one object to the vector?
    I don�t know if I made myself clear but is quite hard to explain my problem.
    Thanks

  • Tool to create Java Object classes using the Database Tables

    Hi,
    Is their any tools or utility available to create the Java Object Classes using the Database Tables as input.
    Lets Say I am having the Employee, Employee_Salary tables in the Database.The utility has to create the Java Object classes with the relation.
    Please Help...
    Thx..

    Hm, for generating regular Java classes I wouldn't know one from memory. But I suggest you start searching in for example the Eclipse marketspace for a third party plugin that can do it. If all fail, you could always use Hibernate Tools from the Jboss Tools Eclipse plugin set to generate Hibernate/JPA entities and then strip the annotations from them to turn them into regular POJO classes.
    How many tables are we talking about anyway? It might be less effort to just create the classes with properties and then use an IDE to generate getters and setters for them.

  • Serializing objects that use Loggers

    i am trying to clean-up a lot of java code i have written. so please allow me one more post:
    the issue is objects that use Loggers :
    public class MyClass implements Serializable {
      private static Logger logger = Logger.getLogger("baselib.utilities"); // <-- must be marked transient
    }no serializable objects can use Loggers , right? in my imagination i see that:
    (1) Logger settings are global to a jvm . [read out of a "logging.properies" at start-time].
    (2) so, a MyClass object is created in jvm1 and gets its log settings.
    (3) it is serialized and sent to jvm2.
    (4) it pops-up after de-deserialization, and the jvm2 global log settings are different.
    the Logger in the MyClass object is hopelessly confused.
    so, by hook or crook,
    its fair to say that you cannot use Loggers with serializable objects, right?
    (i don't like Loggers anyway).
    please just answer this one last question, then i can get back to writing code rather
    than cleaning it. thanks to all.

    i am running at least 4 threads (and sometimes as many as 20) leading to chaotic
    asynchronous output. and this Logger output is very hard to look at. in production, then it makes sense.
    CONFIG: Main::_loadConfigSettings()__checking config file :: remoteRunnPort = #7002
    Jun 8, 2008 11:31:48 AM kuai.Main loadConfigSettings
    CONFIG: Main::_loadConfigSettings()__checking config file :: fileSharePort = #7001
    Jun 8, 2008 11:31:48 AM maui.engine.FileShareService run
    FINER: ----FileShareService::_run()___running....
    Jun 8, 2008 11:31:48 AM maui.engine.DataService openNewConnections
    FINER: ____----DataService::_openConnections()___opening 3 new connections___pool size = 0__idle = 0
    Jun 8, 2008 11:31:48 AM maui.engine.FileShareService run
    FINEST: ----FileShareService::_run()___LISTENING on port #7001....
    Jun 8, 2008 11:31:48 AM maui.engine.DataService openNewConnections
    FINEST: ____----DataService::_openConnections()___new connection___pool size = 1__idle = 1
    Jun 8, 2008 11:31:48 AM maui.engine.DataService openNewConnections
    FINEST: ____----DataService::_openConnections()___new connection___pool size = 2__idle = 2
    what i want to see:
    Main::_loadConfigSettings()__checking config file :: resultsHandlerPort = #7002
    Main::_loadConfigSettings()__checking config file :: fileSharePort = #7001
    ----FileShareService::_run()___running....
    ____----DataService::_openConnections()___opening 3 new connections___pool size = 0__idle = 0
    ----FileShareService::_run()___LISTENING on port #7001....
    ____----DataService::_openConnections()___new connection___pool size = 1__idle = 1
    ____====____====________ResultsHandler::_run()__starting....
    _______________________________UserThread-01::_run()__starting....
    ____----DataService::_openConnections()___new connection___pool size = 2__idle = 2
    ____----DataService::_openConnections()___new connection___pool size = 3__idle = 3
    ____====____====________ResultsHandler::_run()__LISTENING on port #7002
    i don't know how to use the NetBeans debugger with so much threading (or really at all).
    so, i use the good-old: " +System.out.println():+ "
    and, once i get a thread working ok, i comment out all the print lines:
    // ____----DataService::_openConnections()___new connection___pool size = 2__idle = 2
    // ____----DataService::_openConnections()___new connection___pool size = 3__idle = 3
    the Logger gives way too much output, and i need to do like:
    "thread #1 = nothing ; thread #2 = *FINEST* ; thread #3 = *INFO* ; ...."
    if some can tell me a better way to debug heavily threaded code, that would be the
    greatest gift of all. i get confused too often and waste so much time.
    JUnit testing threaded code.. its just not possible with so much asynchronousity (right?).
    Edited by: pdFrog on Jun 8, 2008 5:14 PM

  • Help on using NewObject with constructors!

    Hi,All:
    I want to create an object in a native method. The object is an instance of an inner class. The inner class has two constructors: one default and one with two arguments. There is no problem if I use NewObject with the default construtor. But if I use NewObject with the constructor taking two int arguments. The JVM crashes.
    Can anybody give me some idea what the problem is?
    Thanks!
    Tao
    Here is the native method, the inner class and error message:
    JNIEXPORT jobject JNICALL Java_Prompt_createtp(JNIEnv *env, jobject obj)
         jobject test_ttt= 0;
         jclass cls2;
         jmethodID cid;     
         jint a,b;
         jfieldID fid;
         a = 10; b = 20;
         cls2 = (*env)->FindClass(env,"LPrompt$tp;");          
         cid = (*env)->GetMethodID(env,cls2,"<init>","(LPrompt;II)V");     
    test_ttt = (*env)->NewObject(env,cls2,cid,a,b);
    // However, the following codes using default constructor works well
    //cid = (*env)->GetMethodID(env,cls2,"<init>","(LPrompt;)V");     
    //test_ttt = (*env)->NewObject(env,cls2,cid);
    (*env)->DeleteLocalRef(env,cls2);
         return test_ttt;
    // here is the inner class     
    class tp{
    int a;
    int b;
    tp(){
    a = 100;
    b = 0;
    tp(int x,int y){
    a = x; b = y;
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # Internal Error (53484152454432554E54494D450E43505001A3), pid=276, tid=640
    # Java VM: Java HotSpot(TM) Client VM (1.5.0_06-b05 mixed mode)
    # An error report file with more information is saved as hs_err_pid276.log
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    #

    You are getting the constructor id on a signature that looks like:
    Prompt(Prompt p, int n1, int n2)I guess that your constructor signature is:
    Prompt(int n1, int n2)So it should ne:
    cid = (*env)->GetMethodID(env,cls2,"<init>","(II)V");Next time please paste your code between code tags exactly like this:
    &#91;code&#93;
    your code
    &#91;/code&#93;
    You may read the [url http://forum.java.sun.com/help.jspa?sec=formatting]Formatting tips for more information.
    Regards

  • Error on clicking "Report Data Source" in library created using power pivot template

    Hi,
    On clicking on "Report Data Source"  in library created using power pivot template i am getting below exception. Can some one help me in understanding the root cause / fix it.
    Error being shown: Microsoft.ReportingServices.SharePoint.SharedService.Client.RecoverableCommunicationException: The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (application/soap+msbin1).
    If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024 bytes of the response were: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
     <html xmlns="http://www.w3.org/1999/xhtml">  <head>  <title>IIS 8.0 Detailed Error - 500.19 - Internal Server Error</title>  <style type="text/css">  <!--  body{margin:0;font-size:.7em;font-family:Verdana,Arial,Helvetica,sans-serif;}
     code{margin:0;color:#006600;font-size:1.1em;font-weight:bold;}  .config_source code{font-size:.8em;color:#000000;}  pre{margin:0;font-size:1.4em;word-wrap:break-word;}  ul,ol{margin:10px 0 10px 5px;}  ul.first,ol.first{margin-top:5px;}
     fieldset{padding:0 15px 10px 15px;word-break:break-all;}  .summary-container fieldset{padding-bottom:5px;margin-top:4px;}  legend.no-expand-all{padding:2px 15px 4px 10px;margin:0 0 0 -12px;}  legend{color:#333333;;margin:4px 0 8px -12px;_margin-top:0px;
     font-weight:bold;font-size:1em;}  a:link,a:visited{color:#007EFF;font-weight:bold;}  a:hover{text-decoration:none;}  h1{font-size:2.4em;margin:0;color:#FFF;}  h2{font-size:1.7em;margin:0'. ---> System.ServiceModel.ProtocolException:
    The content type text/html; charset=utf-8 of the response message does not match the content type of the binding (application/soap+msbin1). If using a custom encoder, be sure that the IsContentTypeSupported method is implemented properly. The first 1024
    bytes of the response were: '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">  <html xmlns="http://www.w3.org/1999/xhtml">  <head>  <title>IIS
    8.0 Detailed Error - 500.19 - Internal Server Error</title>  <style type="text/css">  <!--  body{margin:0;font-size:.7em;font-family:Verdana,Arial,Helvetica,sans-serif;}  code{margin:0;color:#006600;font-size:1.1em;font-weight:bold;}
     .config_source code{font-size:.8em;color:#000000;}  pre{margin:0;font-size:1.4em;word-wrap:break-word;}  ul,ol{margin:10px 0 10px 5px;}  ul.first,ol.first{margin-top:5px;}  fieldset{padding:0 15px 10px 15px;word-break:break-all;}
     .summary-container fieldset{padding-bottom:5px;margin-top:4px;}  legend.no-expand-all{padding:2px 15px 4px 10px;margin:0 0 0 -12px;}  legend{color:#333333;;margin:4px 0 8px -12px;_margin-top:0px;  font-weight:bold;font-size:1em;}  a:link,a:visited{color:#007EFF;font-weight:bold;}
     a:hover{text-decoration:none;}  h1{font-size:2.4em;margin:0;color:#FFF;}  h2{font-size:1.7em;margin:0'. ---> System.Net.WebException: The remote server returned an error: (500) Internal Server Error.    
     at System.Net.HttpWebRequest.GetResponse()    
     at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)     -
     -- End of inner exception stack trace ---    Server stack trace:     
     at System.ServiceModel.Channels.HttpChannelUtilities.ValidateRequestReplyResponse(HttpWebRequest request, HttpWebResponse response, HttpChannelFactory`1 factory, WebException responseException, ChannelBinding channelBinding)    
     at System.ServiceModel.Channels.HttpChannelFactory`1.HttpRequestChannel.HttpChannelRequest.WaitForReply(TimeSpan timeout)    
     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.ReportingServices.ServiceContract.IReportServiceManagement.get_IsWebServiceEnabled()    
     at Microsoft.ReportingServices.SharePoint.SharedService.Client.ReportingWebServiceApplicationProxy.<>c__DisplayClass8`1.<ExecuteOnApplication>b__6(IReportServiceManagement proxy, Int32 dummy)    
     at Microsoft.ReportingServices.SharePoint.SharedService.Client.ReportingWebServiceApplicationProxy.ExecuteOnChannel[T](String siteUrl, String xmlNamespace, Action`2 method, IChannel channel, Int32 maxFaultSize)    
     at Microsoft.ReportingServices.SharePoint.SharedService.Client.ReportingWebServiceApplicationProxy.HandleExecuteOnChannel[T](String siteUrl, String xmlNamespace, Action`2 method, SPServiceLoadBalancerContext loadBalancerContext)     -
     -- End of inner exception stack trace ---    
     at Microsoft.ReportingServices.SharePoint.SharedService.Client.ReportingWebServiceApplicationProxy.HandleExecuteOnChannel[T](String siteUrl, String xmlNamespace, Action`2 method, SPServiceLoadBalancerContext loadBalancerContext)    
     at Microsoft.ReportingServices.SharePoint.SharedService.Client.ReportingWebServiceApplicationProxy.ExecuteOnApplication[T](String operationName, String siteUrl, String xmlNamespace, Action`2 method)    
     at Microsoft.ReportingServices.SharePoint.SharedService.Client.ReportingWebServiceApplicationProxy.Invoke[T](SPServiceContext serviceContext, String operationName, String siteUrl, String xmlNamespace, Guid serviceInstanceId, Action`2 method)    
     at Microsoft.ReportingServices.SharePoint.SharedService.Client.ReportingWebServiceClient.Execute[TResult](String methodName, Func`2 action)    
     at Microsoft.ReportingServices.SharePoint.UI.BaseRSLayoutPage.ValidateReportServerConnection(SrvProxy rsProxy)
    Followed steps from below link :
    http://www.mssqltips.com/sqlservertip/3004/getting-started-with-power-view-reports-with-sharepoint-excel-and-sql-server/
    Thanks,
    Venugopal

    Hi Venugopal,
    Please refer to the blogs below and see if it works for your case:
    http://sharepointerthilosh.blogspot.com/2013/10/sharepoint-2013-reports-unexpected.html
    http://badalratra.wordpress.com/2014/03/13/error-the-content-type-texthtml/
    To create a Power View report, start Power View from a
    data model file in SharePoint Server 2010 or 2013. Models, or connections to models, can be in a SharePoint Server document library or in a
    Power Pivot Gallery, a special purpose SharePoint Server document library that provides rich preview and document management for published Microsoft Excel workbooks that contain data models.
    Please refer to the links below to get report in Power View in SharePoint server:
    http://office.microsoft.com/en-in/excel-help/power-view-in-sharepoint-server-create-save-and-print-reports-HA102834736.aspx
    http://office.microsoft.com/en-in/excel-help/create-a-connection-to-a-data-model-for-power-view-HA102835737.aspx
    Regards,
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected] .
    Rebecca Tu
    TechNet Community Support

  • I have a mac book pro with Boot Camp that also runs windows.  I upgraded to Lion and somehow it crashes the mac side peridoically.  I am told I need to "clean" it and reinstall lion using the recovery drive.  will that delete the windows partition too??

    I have a mac book pro with Boot Camp that also runs windows.  I upgraded to Lion and now the mac side crashes/freezes periodically, especially iphoto.  I am told by the genius' that I probably need to "clean" it and reinstall lion using the "recovery drive" which resets everything back to default and reinstalls the lion operating system.  My question is will this also delete the "windows" partition drive and all that data too.  If so that will be a huge pain in the ___ to back up and reinstall boot camp and windows. I want to shoot the lion.

    There is no system like Acronis for the Mac platform. You can try using the buiilt in Disk Utility to create an Image of the complete Mac drive but I have found that this does not work very well as on tryiing to restore it gives errors sometimes.
    You can use SuperDuper or Carbon Copy Cloner to create a bootable Clone of your system partition. But that is only for the System partition and not the complete drive.
    If you use Boot Camp to install Windows on your Mac neither of those two programs will clone the Windows side.
    Neither will Disk utility as Mac's can not create or write to a NTFS partition. So some other program is need for that.

  • How to Execute the Business objects created in ABAP from webDynpro applicat

    Wht is the steps , or where the help documents are available for accessing the Business objects created in ABAP or R/3 systems from webDynpro project.

    Hello Vishal,
    I couldn't find any useful documents for your purpose.
    However i had a similar requirement and had implemented the same using GCP APIs. But before i send you the code help, i would like to know your exact requirement. What are you trying to achieve? Are you just wanting to execute the BO and get the result? Or is your requirement has got something more to do?
    Regards,
    Sudeep.

  • Does the Bone tool work with strokes created using the pencil or line tools?

    I have a working bone rig in a document(CS4) that I created using a SINGLE pencil stroke, and applying the armature to it.  Object drawing was off and it was a single piece with no part being a  symbol.  This was accomplished TWICE for two stick figure arms.
    However, when I tried the same thing in a new document, I couldn't apply bone to the pencil stroke or the line stroke.  After going back into the earlier document(where it was still functional) I tried creating a new armature using the exact same technique.  But this time Flash wouldn't allow it.
    Having failed every additional attempt, I'm wondering if Flash may have glitched somehow the first time, allowing this to work when, typically, it doesn't.  Or could I have possibly missed a step somewhere that caused it to fail each attempt at a recreation.

    I agree, it is sometimes difficult to click the sweet spot. Here are 3 suggestions:
    Pay close attention to the cursor icon. It will change when you're over an anchor or direction point.
    Try turning on "Smart Guides". They can be a nuisance, but sometimes they're helpful.
    Use the "Convert Buttons" on the Options bar. They may take a bit longer but they're full-proof, plus, you can convert or delete multiple selected points simultaneously using this method.

  • Menus created using manual won't link to other Pages

    Created a site and had a menu created using manual which was linked to sub pages within the site. The menu was for specific pages not requiring access from the sites top level menu.
    The menu was working but now it is not possible to edit or replace the menu as there does not seem to be any way of adding the link to the required page. The dropdown box to the side of hyperlink stays greyed out and can't be accessed. This is only happening to links added using the menu widget under manual, ordinary text links seem to be OK.

    Welcome to the Apple Discussions. Confirm that there are no objects overlaying the navbar. How did you change the background, from the Inspector/Page/Layout pane?
    Happy New Year

  • Insert Object (create from pdf file) in wordpad fails

    Problem:
    I am unable to insert object (create from existing pdf file) in wordpad application.
    Environment:
    OS: Windows 7 Professional + SP1 (64-bit)
    Acrobat X (32-bit installer)
    Procedure:
    Open Wordpad application, click on 'Insert Object', choose 'Create from File', Browse and Select exsting pdf file, click 'Display As Icon' and Click 'Ok'
    Expexted Result:
    PDF should get inserted as OLE object to wordpad
    Actual Result:
    Error message "Failed to create object. Make sure the application is entered in the system registry."
    Addition Notes:
    I noticed that while insterting PDF (OLE object) it seach for certain registry key (AutoConvertTo) which is not available hence it fails.

    Yes, I am aware. But this problem appears only when I insert PDF file (which is Adobe file).
    I guess this has nothing to do specifically with 'wordpad' but I referenced known application from standard offiering. It happens with any 64-bit application using 'rich-edit' control (this is Microsoft too ) and allowing user to insert OLE objects.
    I guess somewhere Adobe Acrobat installation fails to create required registry entries which are being referred by 64-bit applications while inserting PDF files as OLE objects.

Maybe you are looking for

  • Excise Invoice output

    Hi Experts, If you could please lead me in this scenario. I have created an output type Z001 for which I have maintained VV31. In the Commercial Invoice it is rightly appearing with all the requirements. But when I am refferencing the same Invoice to

  • How can I install a Designer 6.0 pre-configured repository ?

    Hi: I am trying to install Oracle Designer 6.0 to my client machine (Windows 2000) and server machine (Windows NT 4.0), what I did was: [1]install Designer 6.0 client side on my client machine. [2]install Oracle 8i Enterprise Edition (version 8.1.7)

  • Accounts payable invoices (fv50) - duplicate invoices hard warning

    Currently we only receive a soft warning when we try to enter a duplicate invoice. Is there a way to reconfigure to make the warning a hard warning that can be overwritten it necessary. We are running ECC 6.0. Thanks, Jon

  • CALL_FUNCTION_CONFLICT_LENG Dump error

    Dear gurus Please help me.. my problem is located on the links below [REPORT ERROR|http://www.geocities.com/saadnisarahmedkhatib/ABAP/Report.zip] Regards Saad

  • Satellite A500-1GL - some single FN keys not working properly

    hi I have Toshiba Satellite A500-1GL, and i have a problem with the FN key (Actually not the FN key itself, its the other related keys, the keys that have the commands) for example: FN + ESC = Mute, and it work fine! But.. FN + F8, should enable/disa