Advise on debugging?

Hello,
Could I ask, does this error mean the Render method cannot loop through the frames of the avi?
Because the .avi could not be found?
Thank you
java.lang.NullPointerException
at MyCustomCanvas.render(FrameRenderer.java:90)
at MyCustomCanvas.paint(FrameRenderer.java:82)
at sun.awt.RepaintArea.paint(RepaintArea.java:177)
at sun.awt.windows.WComponentPeer.handleEvent(WComponentPeer.java:260)
at java.awt.Component.dispatchEventImpl(Component.java:3678)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
import java.io.*;
import java.awt.*;
import java.awt.event.*;
import java.awt.geom.*;
import javax.swing.*;
import javax.swing.event.*;
import java.util.*;
import javax.media.*;
import javax.media.control.*;
import javax.media.protocol.*;
import javax.media.util.*;
import javax.media.format.*;
public class FrameRenderer extends java.awt.Frame {
   public FrameRenderer() {
      super("");
      this.add(new MyCustomCanvas());
      this.setSize(500,500);
      this.show();
      addWindowListener(new WindowEventHandler());
   class WindowEventHandler extends WindowAdapter{
      public void windowClosing(WindowEvent e) {
         System.exit(0);
   public static void main(String[] args) {
      new FrameRenderer();
class MyCustomCanvas extends Canvas {
   MediaLocator videoSource = new
   MediaLocator("c:waiting.avi");
   Player p;
   FramePositioningControl positioner;
   FrameGrabbingControl grabber;
   VideoFormat vFormat;
   Buffer buffer;
   BufferToImage bToImage;
   java.awt.Image captured;
   public MyCustomCanvas() {
      try {
         Manager.setHint(Manager.PLUGIN_PLAYER, new Boolean(true));
         p = Manager.createRealizedPlayer(videoSource);
         positioner = (FramePositioningControl) p.getControl(
              "javax.media.control.FramePositioningControl");
         if(positioner == null) {
            System.err.println("Error in Getting Positioning Control");
            System.exit(1);
         grabber = (FrameGrabbingControl) p.getControl(
              "javax.media.control.FrameGrabbingControl");
         if(grabber == null) {
            System.err.println("Error in Getting Grabber Control");
            System.exit(1);
      } catch (IOException ioe) {
      } catch (NoPlayerException nple) {
      } catch (CannotRealizeException cre) {
   public void update(Graphics g) {
      paint(g);
   public void paint(Graphics g) {
      Graphics2D g2d = (Graphics2D) g;
      render(g2d);
      System.exit(1);
   public void render(Graphics2D g2d) {
      int i = 1;
      for(;i < 100;i++) {
         positioner.seek(i);
         buffer = grabber.grabFrame();
         vFormat = (VideoFormat) buffer.getFormat();
         bToImage = new BufferToImage(vFormat);
         captured = bToImage.createImage(buffer);
         g2d.drawImage(captured,0,0,null);
         synchronized (this) {
         try {
            wait(100);
         } catch (InterruptedException ie) {}
}

also replce the following line
MediaLocator videoSource = new
MediaLocator("c:waiting.avi");
with [
MediaLocator videoSource = new
   MediaLocator("c:\\waiting.avi");
/code]                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • How to debug a report in production server

    hello all,
    how to debug a report in production ...
    do i need to BREAK statement of that particular user.....
    thanks in advance....

    Vinay,
    Process of Debugging in Production will be same as in Development or Quality.
    But,it is not advisable to debug in Production because it may lead to inconsistency in data that's get saved to Database.So,based on the acitvity that you intend to debug you have to take some precautionary steps.Usually Debugging access will not be given in Production,even if they give debugging access you will not be having authorisation to change the values in runtime while debugging.You will not be able to put hardcoded BREAK-POINT because the Production client is meant only for display and not modifiable.
    If you can provide more details of what you intend to Debug,you will be getting more info here.
    K.Kiran

  • REGORDING DEBUGGING

    13.     If u set a break-point between select and endselect , a dump is likely to happen .Why
    A     Debugging forces a commit work while the LUW for the select is not complete until all the records for the where clause is not fetched. Hence a LUW clash happens
    B     SAP is not designed to debug select statements
    C     select-endselect being very slow, it is not advisable to debug them
    D     no dump would happen if we set a breakpoint between select –endselect

    becouse it hade some error

  • Create cl_crm_bol_entity and commit doesn't work!

    When i select a row in my first tableview the my second tableview will be filled.
    In my second tableview i have a insert button to insert an extra record in the tableview. I redefined the EH_ONINSERT event with the following code:
    DATA: lr_wrapper   TYPE REF TO cl_bsp_wd_collection_wrapper,
            lr_wrapperParent TYPE REF TO cl_bsp_wd_collection_wrapper,
            lr_parent    TYPE REF TO cl_crm_bol_entity,
            lr_currentEntity    TYPE REF TO cl_crm_bol_entity,
            lr_newEntity TYPE REF TO cl_crm_bol_entity,
            lr_firstEntity TYPE REF TO cl_crm_bol_entity,
            lr_core     TYPE REF TO cl_crm_bol_core,
            lr_transaction TYPE REF TO if_bol_transaction_context,
            lv_event     TYPE REF TO cl_htmlb_event_button.
      DATA: lr_bo_prop   TYPE REF TO if_bol_bo_property_access.
       TRY.
         "get the core object out of the factory
          lr_core = cl_crm_bol_core=>get_instance( ).
         "Method starts Business Object Layer
          lr_core->start_up( '/CERNUM/SURVEY' ).
        CATCH cx_crm_genil_general_error.
          RETURN.
      ENDTRY.
      TRY.
          lr_wrapper ?= typed_context->ELEMENTS->collection_wrapper.
          lr_currentEntity ?= lr_wrapper->get_first( ).
          lr_parent = lr_currentEntity->get_parent( ).
          "Create a new entity
          lr_newEntity = lr_parent->create_related_entity( iv_relation_name = 'DynElementsRel' ).
          CHECK lr_newEntity IS BOUND.
          DATA property TYPE string.
          "Set some default values
          property = lr_currentEntity->if_bol_bo_property_access~get_property_as_string( IV_ATTR_NAME = 'APPLICATION_ID' ).
          lr_newEntity->if_bol_bo_property_access~set_property( IV_ATTR_NAME = 'APPLICATION_ID'
                                                             IV_VALUE     = property ).
          property = lr_currentEntity->if_bol_bo_property_access~get_property_as_string( IV_ATTR_NAME = 'SURVEY_ID' ).
          lr_newEntity->if_bol_bo_property_access~set_property( IV_ATTR_NAME = 'SURVEY_ID'
                                                             IV_VALUE     = property ).
          lr_newEntity->if_bol_bo_property_access~set_property( IV_ATTR_NAME = 'ID'
                                                             IV_VALUE     = '7000' ).
          "Add the created entity to the collection.
          lr_wrapper->add( lr_newEntity ).
          me->typed_context->ELEMENTS->visible_first_row_index = me->typed_context->ELEMENTS->collection_wrapper->size( ).
          lr_core = cl_crm_bol_core=>get_instance( ).
          lr_transaction ?= lr_core->get_transaction( lr_newEntity ).
          if lr_transaction->check_save_possible( ) eq abap_true.
            if lr_transaction->save( ) eq abap_true.
              lr_transaction->commit( ).
            else.
              lr_transaction->rollback( ).
            endif.
          endif.
        CATCH cx_root.
          RETURN.
      ENDTRY.
    This code works works perfect, but no record is added to my tableview and also not added to de db. what is wrong with it?

    Hi,
    that means that there is an error at saving, and I assume the error is not propagated to the bol layer, so you do not receive an error. I advise you debug the commit.
    Best regards,
    Erika

  • Max (log_Sequence) not  increasing

    Max(log_sequence) is not increasing even after enabling the profile option for debugging
    SQL> select max (log_Sequence) from fnd_log_messages;
    MAX(LOG_SEQUENCE)
    993232471
    What could be the issue here...?

    You did not provide details about the profile options that you changed and the values.
    Check whether the following are set at user level(Setting these at site level is not advisable):
    FND: Debug Log Enabled - Yes
    FND: Debug Log Level - Statement
    FND: Debug Log Module - %
    and then check the log_sequence.

  • Still having navigation problems and need help with how to debug

    Hi,
    I've been porting over a servlet project to JSF and I'm still having navigation problems. I thought the problem might have been because the original project used HTML frames and so the "from-view-id" JSP defined the frame/framesets and the specific JSP that does the submit (and so is named in the "from-view-id" is never defined in a "to-view-id" attribute). I've now switched to using an IFRAME, and that resolves that problem. So now the JSP is defined in a "to-view-id" attribute and it includes an named IFRAME that can be used as a target. I press the submit button and I get not the JSP expected butinstead the same JSP displayed inside its own IFRAME.
    Here is the code for the submit. I've simplified it as much as possible with a static action (originally it was a call to a method) just to try and get things to work. This is the current version:
    <h:commandButton value="View Alias" action="foo" styleClass="select" type="submit" />Here is the navigation rule in faces-config.xml. Again, the problem is that SelectManager get redisplayed in the IFRAME instead of display.jsp.
    <navigation-rule>
       <from-view-id>/SelectManager.jsp</from-view-id>
       <navigation-case>
          <from-outcome>foo</from-outcome>
          <to-view-id>/display.jsp</to-view-id>
       </navigation-case>
    </navigation-rule>I have also tried it without the "from-outcome-value" which I presume means that the "to-view-id" gets displayed unconditionally and it still fails. Any ideas on how I can debug this? (I'm using GlassFish if that's important to know)
    Rob Tanner
    Linfield College

    Raymond, The real trick is avoid doing technical things when coming down with the flu (I should also add that I'm a JSF newbie). Reading your original message this time I see what you're suggesting and found a conversion error although I don't understand it. Here's the code (including the <h:message/>):
                <h:selectOneMenu value="#{members.dcodes}"
                  style="color: #7f0000" id="selector">
                  <f:selectItems value="#{members.departmentList}" />
                </h:selectOneMenu> 
                <h:message for="selector" style="color:white"/>And here's a snippet of the generated HTML:
    <select id="j_id_id26:selector" name="j_id_id26:selector" size="1" style="color: #7f0000">
             <option value="aad" selected="selected">Academic Advising</option>
         <option value="aaf">Academic Affairs</option>
         <option value="adm">Admission</option>
         <option value="up">Upward Bound</option>
    </select>If I select "Admission" for example, the error I get is:
    Conversion Error setting value 'adm' for 'null Converter'.Since everything is a String value, I don't get the error. Could someone please enlighten me.
    Thanks.

  • Kernel panics & grey debug screen at startup

    Tiger (10.4.10) on a 2 GHz Mac mini (Intel) and Airport as well as IPv6 disabled.
    Not sure which torrent client I installed first but I think it was Transmission and everything was fine. Then I installed Azureus on the advise of a friend and started getting kernel panics. Switched back to Transmission and KPs continued. Soon I started getting them with just running Safari or even Firefox.
    Next there was a Mac OS upgrade (10.4.11 and a couple other things) and the machine would not even start up anymore. Always got a grey debug screen with msg to press powerbutton.
    Tried doing an archive and install and it failed twice.
    Tried doing a clean install (OS only) on external 30GB USB 2.0 HD and it failed as well.
    Apple Support and Apple store were clueless.
    At least the genius was able to boot with their troubleshooting HD and run Disk Warrior which found a couple minor issues and I was able to see that my data was stull there. Unfortunately the 30gb HD was too small to copy my user folder (86gb).
    Went and bought an external 320gb firewire disk and tried to do a clean install and it failed.
    Called Apple again and suspected bad DVD media. They sent replacement disks and they failed as well.
    Ran Apple Hardware Test and it found bad memory (?) with 2x 1GB Corsair sticks. I even tried them individually. That memory has worked since August 2007 until I started seeing the kernel panics in December. What are the odds of both SODIMMs going bad at the same time ? Could a bad app cause memory to go bad ? I doubt it.
    with 2 GB Corsair memory: 4MEM/4/40000000:2c02fd60
    Swapped original 2x 512 MB Apple sticks in and AHT found another error.
    with 1 GB Apple memory: 4SNS/1/40000000:TAOP
    From other forum posts I found that 4MEM usually indicates a memory or system board issue while 4SNS seems to indicate a sensor issue, but that could have been due to unplugged (termal?) cable in front of mini due to the need to swap memory in and out for testing.
    What gives ?
    I was however, able to install now on external FW disk and copy my user folder to it as well.
    So this indicates a problem with 3rd party mem but there may be something else wrong with mini system board or Apple mem as well.
    TX

    ::UPDATE::
    Okay, I eventually got my iMac to start up successfully, without crashing after logging in. But I still thought there was something wrong so I booted from the Apple Hardware Test CD that came with my computer and I got yet ANOTHER Kernel Panic! Here is what it said:
    Kernel Panic Message:
    DEFAULT CATCH!, code=300 at %SRR0: 000352d4 %SRR1: 00003030
    Apple PowerMac4,2 4.3.5f1 BootROM built on 03/16/02 at 21:45:18
    Copyright 1994-2002 Apple Computer, Inc.
    All Ri
    DEFAULT CATCH!, code=300 at %SRR0: ff84750c %SSR1: 0000b030
    ok
    0>
    DEFAULT CATCH!, code=300 at SSR0: ff84750c %SSR1:_
    This message appeared soon after it began testing the memory. The result of the test were as follows:
    Test Results:
    Airport Passed
    Logic Board Passed
    Mass Storage Passed
    Memory In Progress
    Modem Device Found
    Video RAM Has not been run yet
    And now it is back to not booting up at all!
    Does anyone have any suggestions based on the new kernel panic message?
    Thank you for your help.
    Message was edited by: rrm74001

  • How to debug a form (servlet) in the Forms and Reports Server

    Hi:
    I have a new install of an application that ran perfectly on a different host using the Forms and Reports Server.
    I have installed the FRS on the new host and it is working fine. I can run the test form.
    When I run my actual forms app, I only get a blank screen in the browser and on the status bar it reports "Applet Started'.
    Is there a way I can turn on debugging or something so I can see at what point it is failing or why the form is not opening properly?
    Any advise would be appreciated.
    Many thanks.
    Bruce

    Thanks for the reply Frank. I have looked all through the Start menu but see no "Configuration and Migration". I assume it's because I only installed the Forms and Reports option, so I only have Forms Services, Reports Services, and the Universal Installer. No big deal - I've already setup tnsnames manually. I just like to use the Net Assistant when I can.

  • Unable to use debug mode for x64 application and debug doesn't work when target cpu set to x86

    I am attempting to familiarize myself with Visual Basic programming in Visual Studio 2008, using the Visual Basic Guided Tour in Microsoft Visual Studio 2008 Documentation, and have run into a bit of a road-block.  When following the lesson "It
    Doesn't Work! Finding and Eliminating Run-Time Errors", the IDE does not allow me to edit the code when the debugger hits the intentionally programmed runtime error (divisor set to 0).  It gives me an error that "Changes to 64 bit applications
    are not allowed".  I found some forum postings advising to set the project's Target CPU from "Any CPU" to "x86".  However, when I do that, and re-execute the debug process, the debug fails to stop on the overflow/divide by
    zero error.
    How can I debug my programs when Any CPU/x64 target doesn't allow me to edit the code, and x86 target doesn't appear to recognize obvious runtime errors.

    Hi Tim,
    >>the IDE does not allow me to edit the code when the debugger hits the intentionally programmed runtime error (divisor set to 0).  It gives me an error that "Changes to 64 bit applications are not allowed". 
    I'm afraid that the VS2008 has a limitation for this feature, I mean that Edit and Continue isn't supported on 64-bit.
    Reference:
    http://stackoverflow.com/questions/1498464/changes-to-64-bit-applications-are-not-allowed-when-debugging-in-visual-studio
    http://blogs.msdn.com/b/habibh/archive/2009/10/12/how-to-edit-code-when-debugging-a-64-bit-application.aspx
    But this feature has a improvement in VS2013 now:
    http://blogs.msdn.com/b/visualstudioalm/archive/2013/06/26/debugging-support-for-64-bit-edit-and-continue-in-visual-studio-2013.aspx
    So if possible, you could test it in the latest VS2013 version.
    Best Regards,
    Jack
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How do you choose a particular Channel from an Advise.vi to perform an Array Max & Min.vi on that particular channel only?

    Reading all the channels for a FP-AI-100 through an Advise.vi but I need to read the Max & Min from channels 0 & 1. How is this done?
    Thanks

    The easiest way is to use two copies of the Index Array function. You would wire the output from FP Advise.vi to the n-dimension array input of both Index Array functions. For channel 0, you would use the an index value of 0 (on the first Index Array) and for channel 1, you would use an index value of 1 (on the second Index Array). Alternatively, the Index Array function is what is called a growable array function, you can drag the bottom of the node downwards, adding outputs. In this case, you can set it for two outputs and only use one copy of the Index Array.
    Considering that you are relatively new to FieldPoint and LabVIEW, I recommend that you consider using the FP Read.vi instead of the FP Advise.vi. The FP Advise.vi is a more advanced version of the
    FP Read.vi and has more "gotcha's" in its use. To save yourself some debugging headaches it may be easier to use the FP Read.vi. The single biggest difference in coding between the two is that an FP Advise.vi in a loop, automatically times the loop, whereas an FP Read.vi in a loop requires a timer such as Wait Until Next ms Multiple.vi.
    Regards,
    Aaron

  • How to collect debug logs for custom module only in EBS by AppsLog.write?

    Hi,
    Customer is trying to retrieve logs for their custom module (XXKCZ) and
    put it to /log/kcz.log by using AppsLog.write() method. (refer to sample code below)
    Customer has set these profile values in the application level and removed the values
    in the site level. But the file /log/kcz.log is created but does not have any lines in it.
    Is there something wrong to the coding of AppsLog.write?
    Application Name "xxkcz"
     FND: Debug Log Enabled "Y"
     FND: Debug Log Module "xxkcz%"
     FND: Debug Log Level "UNEXPECTED"
     FND: Debug Log Filename "/log/kcz.log"
     ---- [Sample Code starts] ----
     Package jp.kaikei.oracle.apps.xxkcz.util.server;
     import oracle.apps.fnd.common.AppsContext;
     import oracle.apps.fnd.common.AppsLog;
     import oracle.apps.fnd.common.Log;
     public class CommonLog{
     public void initLog() {
     AppsContext appsCtx = new AppsContext();
     AppsLog appsLog = appsCtx.getAppsLog();
     appShortname = "xxkcz"
     message ="Message started"
     CLASS_NAME = "jp.kaikei.oracle.apps.xxkcz.util.server.CommonLog";
     String moduleName = appShortName + "." + CLASS_NAME + ".initlLog;
     appsLog.write(moduleName, message, Log.UNEXPECTED)
     ---- [Sample Code ends] ----
    Any advise?
    Thanks.

    May be some initialization is missing,
    I have created my own writetoFile method,
    if you want you can try this,
    * Method to write the debug messages into a File
    public void writeFile(String debugMsg, String userName)
    String logDir = (String)this.getOADBTransaction().getProfile("XXPO_OA_PDT_PDT_DEBUG_DIR");
    BufferedWriter out;
    //DateFormat dateFormat = new SimpleDateFormat("dd-MM-yyyy HH:mm:ss");
    Date date = new Date();
    // if(logDir ==null)
    // logDir = "/ebsgld/ebsgldcomn/temp/";
    String fileName = logDir+userName+"-pdt_log.log";
    //createDiag(XXPO_APP_SHORT_NAME,"[AM]fileName "+fileName);
    try
    out = new BufferedWriter(new FileWriter(fileName,true));
    out.write("\n\n" + debugMsg);
    out.close();
    } catch (IOException e)
    //System.out.println("exception in Writing the log file "+e.toString());
    //createDiag(XXPO_APP_SHORT_NAME,"[AM] Exception in Writing the log file "+e.toString());
    //Only start and end file
    if(debugMsg.indexOf("##########")!=-1)
    String impFileName = logDir+userName+"-pdt_imp_log.log";
    // System.out.println("File Name is "+fileName);
    try
    out = new BufferedWriter(new FileWriter(impFileName,true));
    out.write("\n\n" + debugMsg);
    out.close();
    } catch (IOException e)
    createDiag(XXPO_APP_SHORT_NAME,"[AM] exception in Writing the log imp file "+e.toString());
    With regards,
    Kali.
    OSSI.

  • Personas: General topic: Will it be possible to trace/debug along the UI flow?

    Hi Personas experts,
    This may be a general question - as developers implement Personas UIs, there are often cases where the new UI does not work as expected, and we don't know what is actually going on along the UI flow. This is even difficult when we use a lot of scripting which causes complex UI actions such as pressing script buttons, copy/paste values among fields etc.
    Would it be possible to do kind of tracing/debugging/loging while executing UI in Personas, so that we can see which value is copied/pasted, or which button is pressed by the scripts?
    This would greatly help developers to work more efficiently. Please advise about this. Thanks.
    Br,
    Dong Zhu

    Debugging scripts isn't possible in Personas 2. This is one of the things I find most frustrating with the scripting functionality. Small scripts are fairly easy to build and debug. Large scripts are not. There are some things you can do to make it easier.
    The first rule is to build and test scripts is small pieces. Make sure each works before moving on to the next. Put each piece on a separate script button and chain them together by having a script push the button for the next piece. This makes it easy to break a long script in the middle for debugging, without having to delete the whole thing - just remove the appropriate Press step. You can merge all the scripts together once you are done, to avoid all the script buttons. Personally I generally just hide them, so that I easily debug later when something unexpected happens after go-live.
    Create temporary text fields to paste data into if you need to see the values being copied around. Combine this with the above technique to watch values as you run through the scripts.
    Debugging will get easier in Personas 3.
    Steve.

  • Unable to debug the application in RAD

    Hi All,
    I am unable to run the application in debug mode (. i .e debug mode is not working).
    Even after running the server mode it is giving erroe saying that
    " Unable to install breakpoint . Please modify your compiler options to genarate the line number attributes."
    Please advise me on this. what options do i need to set inorder to run the server in the debug mode.

    Did you try this?
    h:\>javac
    Usage: javac <options> <source files>
    where possible options include:
      -g                         Generate all debugging info
      -g:none                    Generate no debugging info
      -g:{lines,vars,source}     Generate only some debugging info
      -nowarn                    Generate no warnings
      -verbose                   Output messages about what the compiler is doing
      -deprecation               Output source locations where deprecated APIs are used
      -classpath <path>          Specify where to find user class files and annotation processors
      -cp <path>                 Specify where to find user class files and annotation processors
      -sourcepath <path>         Specify where to find input source files
      -bootclasspath <path>      Override location of bootstrap class files
      -extdirs <dirs>            Override location of installed extensions
      -endorseddirs <dirs>       Override location of endorsed standards path
      -proc:{none,only}          Control whether annotation processing and/or compilation is done.
      -processor <class1>[,<class2>,<class3>...]Names of the annotation processors to run; bypasses defa
    ult discovery process
      -processorpath <path>      Specify where to find annotation processors
      -d <directory>             Specify where to place generated class files
      -s <directory>             Specify where to place generated source files
      -implicit:{none,class}     Specify whether or not to generate class files for implicitly reference
    d files
      -encoding <encoding>       Specify character encoding used by source files
      -source <release>          Provide source compatibility with specified release
      -target <release>          Generate class files for specific VM version
      -version                   Version information
      -help                      Print a synopsis of standard options
      -Akey[=value]              Options to pass to annotation processors
      -X                         Print a synopsis of nonstandard options
      -J<flag>                   Pass <flag> directly to the runtime systemBruce

  • Connect with different server for debugging

    hi to all,
    is it possible to connect to a different server for debugging? this is to share the development environment !!
    please advise.

    Hi,
    Thanks for your question
    You can create SharePoint 2013 project in your Visual studio 2013 without installing SharePoint on your local machine.
    Please follow below steps : Go to the server where SharePoint 2013 is installed and follow steps from 1 to 3
    Go to Run and type "regedit"
    Navigate towards HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office
    Right click on 15.0 and click Export. Save the exported file
    Now go to your machine where sharepoint is not installed and follow below steps:
    Now open Registry on your machine
    Import the 15 directory which was exported from SharePoint server
    Open Powershell
    Run this command
    Set-ItemProperty -Path "HKLM:\Software\Microsoft\Shared Tools\web server extensions\15.0\" -Name "Location" -Value "C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\"
    Now open visual studio 2013 and you will be able to create SharePoint 2013 project without error.
    I hope this is helpful to you. If this works, Please mark it as Answered.
    Regards,
    Dharmendra Singh (MCPD-EA | MCTS)
    Blog : http://sharepoint-community.net/profile/DharmendraSingh

  • SQL Developer v 1.1 - Debug

    SQL Developer on Windows XP desktop
    Connected to Unix server Oracle9i Enterprise Edition Release 9.2.0.6.0
    Problem:
    I cannot get debug working in the new download of SQL Developer ver 1.1
    I compile for debug
    That works
    But then none of the items in the "Debug" menu drop down list are selectable
    I am missing something....
    What should I do step-by-step?
    Please advise.....

    If it's a package you want to debug, make sure you're inside the spec (in edit mode), since there's a bug preventing to start debug in the body. It was confirmed a couple of months ago, so let's hope it gets in the next patch.
    The only item available until you really have started to debug is the first one (Debug). Alternatively you can hit the lady bug from the toolbar inside the editor. If I remember correctly they even promised a context menu entry on the node in the tree view.
    For more info on debugging, take a look in sqldev's help under the tutorial "Debugging a PL/SQL Procedure" (RTFM).
    K.

Maybe you are looking for