Azure mobile services error cannot find module 'azure-storage'

this is driving me nuts for past five days now and still no solution. After asking the questing at StackOverflow and azure-storage npm, I thought of now posting the same question here so that it reaches to more targeted 'microsoft azure' experts. 
in my AzureMobileService, I am using azure-storage npm module in one of my custom API. I have been using this for past couple of months and it was all working great, I was very happy. Until last moday it started throwing the error - 'cannot find module
'azure-storage'. It was strange, the code that was working till morning , started failing when I came back from work, with no change of a bit in the code. I get this error where I call 'require' for 'azure-module':
var azure = require('azure-storage');
var retryOperationFilter = new azure.ExponentialRetryPolicyFilter();
var tableService= azure.createTableService().withFilter(retryOperationFilter);
and in package.json, I have
"dependencies": {"tracer": "0.7.3", "colors" : "1.0.3", "lodash" :"2.4.1", "azure-storage": "0.4.1"},
Today, I also tried creating a new Mobile service from scratch in my azure account. Then I created the custom API and wrote the code again from scratch. Updated package.json to include azure-storage, updated my client code(HTML/JS) to use this new service
URL etc. and tested again, everything worked fine till it reached the same line (require('azure-storage') ) and failed again there with
same error.
I am at my wits end. please help. 

ok, got it working.
I did an npm install 'azure-storage'  to my mobile service's service directory and then it started working. 
As I remember reading, if I just include the npm module I want to use in my mobile service's package.json, it gets taken care, installed and I don't to install myself manually.
And thats what has been happening when my code was working till last week. 
Also, its feels odd because the other node modules I use - like tracer or lodash - work with no manual npm install. 
anyways, its working for now, but now I am thinking about the azure mobile's reliability

Similar Messages

  • BlankCordovaApp Error : Cannot find module 'q'

    Currently I'm using Visual Studio 2013 update 4 with Visual Studio Tools for Apache Cordova extension on Windows 8.1. I create a new Cordova JavaScript Blank project and then trigger a build, it turns out to be below building error:
    Error 2 Cannot find module 'q' C:\Users\penlv\documents\visual studio 2013\Projects\BlankCordovaApp1\BlankCordovaApp1\MDAVSCLI 1 1 BlankCordovaApp1
    Seems many other users run into the same issue. Any help on this? 

    Hi Penlv,
    Welcome to MSDN forum.
    Your issue is out of support range of VS General Question forum which mainly discusses the usage issue of Visual Studio IDE such as
    WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
    and Visual Studio Editor.
    From the bottom of this document about Apache Corodva tool:http://blogs.msdn.com/b/visualstudio/archive/2014/11/13/tools-for-apache-cordova-update-ios-debugging-amp-windows-8-1-support.aspx,
    Microsoft announced the following statement:
    If you’ve already installed the tools and are actively using it, thank you! The improvements we prioritize are based largely on your feedback, so please don’t feel shy in contacting us via
    UserVoice, Twitter,
    StackOverflow, and email.
    So for your issue, I doubt something necessary is not installed or something is corrupt on your machine, I suggest consulting here:
    http://stackoverflow.com/questions/tagged/multi-device-hybrid-apps which discusses Multi-Device Hybrid applications and Apache Cordova issues.
    Thank you for your understanding,
    Best regards,
    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.

  • [SOLVED] internal error Cannot find suitable emulator for x86_64

    Hi,
    After a reboot due to unrelated issues, virt-manager is not showing any of the VMs I had configured via qemu:
    I checked connection properties, and everything else is showing up correctly, like the networks and storage. I tried to create new VMs out of existing storage and got this message:
    Googling it suggested this happens when KVM module is not loaded. I modprobed kvm, kvm_intel and still got same result.
    Systemd gave me the following:
    % systemctl status libvirtd
    libvirtd.service - Virtualization daemon
    Loaded: loaded (/usr/lib/systemd/system/libvirtd.service; enabled)
    Active: active (running) since Sat 2013-06-08 08:55:19 IST; 29min ago
    Main PID: 1499 (libvirtd)
    CGroup: name=systemd:/system/libvirtd.service
    ├─ 834 /sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf
    ├─ 863 /sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/nat_static.conf
    ├─ 881 /sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/closed_dhcp.conf
    └─1499 /usr/bin/libvirtd -p /var/run/libvirtd.pid
    Jun 08 09:07:48 core libvirtd[1499]: internal error Cannot find suitable emulator for x86_64
    Jun 08 09:07:48 core libvirtd[1499]: internal error Cannot find suitable emulator for x86_64
    Jun 08 09:07:48 core libvirtd[1499]: internal error Cannot find suitable emulator for x86_64
    Jun 08 09:07:48 core libvirtd[1499]: internal error Cannot find suitable emulator for x86_64
    Jun 08 09:07:48 core libvirtd[1499]: internal error Cannot find suitable emulator for x86_64
    Jun 08 09:07:48 core libvirtd[1499]: internal error Cannot find suitable emulator for x86_64
    Jun 08 09:08:20 core libvirtd[1499]: internal error Cannot find suitable emulator for x86_64
    Jun 08 09:08:20 core libvirtd[1499]: internal error Cannot find suitable emulator for x86_64
    Jun 08 09:08:35 core libvirtd[1499]: internal error Cannot find suitable emulator for x86_64
    Jun 08 09:08:35 core libvirtd[1499]: internal error Cannot find suitable emulator for x86_64
    Googling that seems to indicate that this happens when virtualization is disabled by BIOS. But cpuinfo tells me that vm is supported:
    % grep vmx /proc/cpuinfo | uniq -c
    8 flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx lahf_lm ida arat epb xsaveopt pln pts dtherm tpr_shadow vnmi flexpriority ept vpid
    Can anyone help me? Has anyone else faced a similar problem?
    Here are some version info:
    local/libvirt 1.0.6-1
    API for controlling virtualization engines (openvz,kvm,qemu,virtualbox,xen,etc)
    local/qemu 1.4.2-1
    A generic and open source processor emulator which achieves a good emulation speed by using dynamic translation.
    Of which, qemu got updated just today. I will try rolling back to older version and post and update.
    Ninja edit: Looks to be qemu. Just running qemu gives me this error:
    % qemu-system-x86_64
    qemu-system-x86_64: error while loading shared libraries: libiscsi.so.1: cannot open shared object file: No such file or directory
    EDIT: The resolution was
    pacman -S libiscsi libaio
    systemctl restart libvirtd
    EDIT2: Made subject line better searchable
    Last edited by railmaniac (2013-06-08 04:19:24)

    HI,
    First of all thanks a lot for this post. I am facing the same issue since yest.
    After reboot, my VMs gone missing and even virt-manager was not working (as shown in the screenshots which you have pasted in your post).
    Now after trying out the workout which you had mentioned, I am able to get the virt-manager working.
    But I am not sure if I can get back my missing VMs .
    I am new to linux. Kindly guide me on how I can get back those VMs.
    [root@skoduri lib64]# ls /etc/libvirt/qemu/
    networks  rhel6-vm2.xml  rhel6.xml
    [root@skoduri lib64]#
    [root@skoduri lib64]# ls /etc/libvirt/storage/
    autostart  default.xml  storage_1.xml
    [root@skoduri lib64]#
    [root@skoduri lib64]#
    Thanks,
    Soumya

  • Configure: error: Cannot find php-config

    After security update 2008-002 for Leopard, the PHP module builder stops, because the PHP version running on the machine doesn't match the header files from the PHP-developer part. More info see: http://www.naquah.net/blog/dennis/2008/03/20/how-to-get-eaccelerator-working-aga in-after-installing-security-update-2008-0#comment-50
    After editing /usr/bin/php-config
    Change
    version="5.2.4" to version="5.2.5" and
    vernum="50204" to vernum="50205"
    and /usr/include/php/main/php_version.h
    Change
    #define PHPRELEASEVERSION 4 to #define PHPRELEASEVERSION 5
    #define PHP_VERSION "5.2.4" to #define PHP_VERSION "5.2.5" and
    #define PHPVERSIONID 50204 to #define PHPVERSIONID 50205
    the ./configure command stops with a:
    configure: error: Cannot find php-config. Please use --with-php-config=PATH
    even when explicitly specifying the php-config location, the ./configure --with-php-config=/usr/bin/php-config command still throws an identical error.
    The file is there, accessible and not empty:
    $ ls -l /usr/bin/php-config
    -r-xr-xr-x 1 root wheel 3031 22 mrt 21:44 /usr/bin/php-config
    $ head /usr/bin/php-config
    #! /bin/sh
    SED="/usr/bin/sed"
    prefix="/usr"
    exec_prefix="${prefix}"
    version="5.2.5"
    vernum="50205"
    include_dir="${prefix}/include/php"
    includes="-I$include_dir -I$include_dir/main -I$include_dir/TSRM -I$include_dir/Zend -I$include_dir/ext -I$include_dir/ext/date/lib"
    ldflags=" -L/usr/lib/mysql"
    Re installing Xcode 3.0 didn't solve the problem.
    What could be done to repair the (php) configure command, to allow me to build php modules again?

    On my installation I have both NVidia and mesa drivers installed, thus two sets of GL headers/libraries.
    For Mesa: SUNWxorg-mesa
    Nvidia: NVDAgraphics
    If you want to develop on your system you may want to install much more than just GL headers.
    Its a pity that Solaris packaging is not really flexible, so you better do a full install indeed...
    regards,
    __Fedor.

  • Logging Error Message in Console  [Servlet Error]-[Cannot find FacesContex]

    Hi,
    I am using Web Application with JSF . but when i log in into the web appl everthing is fine but in back end i mean the console of RAD Tool having some logging Error message:
    SRVE0026E: [Servlet Error]-[Cannot find FacesContext]: javax.servlet.jsp.JspException: Cannot find FacesContext
    at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java(Compiled Code))
    at com.sun.faces.taglib.jsf_core.ViewTag.doStartTag(ViewTag.java(Compiled Code))
    at org.apache.jsp._index._jspService(_index.java:86)
    at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java(Compiled Code))
    at javax.servlet.http.HttpServlet.service(HttpServlet.java(Compiled Code))
    at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java(Compiled Code))
    at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java(Compiled Code))
    at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java(Compiled Code))
    So could you please help me find out the solution for this :
    While i am using the code in jsp page:
    <%@taglib uri="http://java.sun.com/jsf/html" prefix="h"%>
    <%@taglib uri="http://www.ibm.com/jsf/html_extended" prefix="hx"%>
    <%@taglib uri="http://java.sun.com/jsf/core" prefix="f"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <HTML>
    <HEAD>
    <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <META http-equiv="Content-Style-Type" content="text/css">
    <TITLE>Web App
         <f:view>
              <h:outputText value="#{dataInfo.info}"/>
         </f:view>
    </TITLE>
    Suggest me the solution:
    Regards,
    Prabhat

    This usually means that you call the JSF page the wrong way. Try something like http://hostname:port/servletcontextroot/faces/page.jspx
    --olaf                                                                                                                                                                                                                                                                                                   

  • Xmlreader schema validation error: Cannot find the declaration of element

    I have multiple schemas with namespaces but I would like to validate an xml document without namespaces. The schemas all have elementFormDefault="unqualified" in the root element.
    I am encountering error below in my validation using xmlreader:
    ERROR:
    Cannot find the declaration of element 'NewTradenetDeclaration'.
    my code is:
    xmlReader = XMLReaderFactory.createXMLReader("org.apache.xerces.parsers.SAXParser");
    xmlReader.setFeature(VALIDATION_FEATURE_ID, true);
    xmlReader.setFeature(SCHEMA_VALIDATION_FEATURE_ID, true);
    xmlReader.setFeature(SCHEMA_FULL_CHECKING_FEATURE_ID, true);
    xmlReader.setFeature(SCHEMA_NAMESPACE_FEATURE_ID, true);
    xmlReader.setProperty(JAXP_SCHEMA_LANGUAGE, XMLConstants.W3C_XML_SCHEMA_NS_URI);
    String schemaURI = "NewTradenetDeclaration.xsd";
    // ive tried all of the ff but throws the same error
    //xmlReader.setProperty(EXTERNAL_SCHEMA_LOCATION, "urn:crimsonlogic:tn:schema:xsd:NewTradenetDeclaration NewTradenetDeclaration.xsd");
    //xmlReader.setProperty(EXTERNAL_SCHEMA_LOCATION, schemaURI);
    xmlReader.setProperty(JAXP_SCHEMA_SOURCE, schemaURI);
    // set entity resolver to resolve xsd locations
    MyResolver resolver = new MyResolver();
    xmlReader.setEntityResolver(resolver);the entity resolver has:
    public InputSource resolveEntity (String publicId, String systemId) {
      String filename =  "c:/workspace/TXParser/schema/"+ systemId.substring(systemId.lastIndexOf("/")+1);
      File f = new File(filename);
      InputSource source = null;
      try {
        source = new InputSource(new FileReader(f));
      } catch(Exception e) {
      System.out.println("InputSource exception: " + e.getMessage());                 
      return source;
    }Help please. Thanks.

    I fight with the same error, it is curious that the schema from schemaLocation can not be validated. If i set the schema manually through an attribute it works. What i try to do is overwriting the resolveEntity in the handler to get the schema from another location and validate the xml against the schema specified in the attribute schemaLocation rather than setting it manually :-(

  • Installation error:  Cannot find a J2SE SDK installed at path C:\Program Fi

    I am installing latest version of SQL Developer, Release 1.2. I have Sun Java 2 Standard Edition Version 1.5.0 (build 1.5.0_10-b03). When I browse and select the java.exe found it comes up with error: Cannot find a J2SE SDK installed at patch
    C:\Program Files\Java\jre1.5.0_10
    I am installing the version I downloaded for Windows systems with JDK1.5.
    I have tried on two different machines.
    Any ideas?

    This is going to seem loooong, but comprehensive.
    I'd initially always suggest using the bundled
    package, since that's supposed to be a tested and
    proven combination.You know what, I'm gonna be mighty surprised if you're implying that Oracle hasn't 'tested and proven' the releases at http://www.oracle.com./technology/software/products/sql/index.html other than the first 77 MB download labeled Oracle SQL Developer for Windows... :)
    After having problems with a graphics card for
    example, installing the latest JDK might be
    indicated.Huh?!? Not a clue what you're talkin' 'bout! :S
    It's also easy for users who don't know which Java
    version to download, or even where to find it! You
    guys have proven that: although it's stated you need
    .First of all, it says right there on the download page (http://www.oracle.com./technology/software/products/sql/index.html) that:
    "JDK 1.5 (JDK 5.0) is required. This is the minimum JDK version required"
    And we've "proven that [..] although it's stated you need the JDK, [we]'ve tried running with the JRE" and have NOT been able to run the application. It just presents the user a dialog box to locate the 'SDK' manually and exits gracefully if you try to dismiss it. So, conclusively proven, the JDK (or as SQL Developer puts it, Java SDK) is required- QED.
    And given users might have several versions running
    on the same machine (I have half a dozen), sqldev
    could easily pick up a wrong version.And every JRE installation (atleast all of Sun's) make sure they update the default (via PATH and other required system variables) JRE point to the latest one installed. So if you have anything 1.5+ you're good to go; if not, you've got an incompatile JRE. Doesn't sound that hard to me!
    As for being bulky, even without the bundled JDK, it
    still is.Ya missed the point. Developers are making Java applications bulkier by including the JRE/JDK with their distributions. A SQL Developer release sans JDK is about 46 MB; with JDK that climbs to 77 MB (sizes quoted from download page linked above).
    Imagine what happens when you have, besides SQL Developer (JDK 1.5 included), some-cool-java-app that also includes the JRE/JDK it was built on; and then another-java-app that also includes a JRE/JDK... I bet JDeveloper also comes with a JDK bundled in. So, now you have FOUR copies of JRE/JDK (aside from the "have half a dozen" that probably installed themselves via Java Update Checker)!
    Here's the big picture, the savings in disk space would only be the beginning of your benefits. Here's a few others:
    - Class Data Sharing (http://java.sun.com/javase/6/docs/technotes/guides/vm/class-data-sharing.html) introduced in Java SE 5.0 provides for storing definitions of commonly used classes in a representation closer to machine code, even closer than bytecode, this reducing load and startup time. Plus all VM's launced using that particular distribution get to share the cache- Performace+ !!
    Running each app offa' it's own VM just causes multiple caches to be loaded. You just multiplied your losses! :(
    - Sun is currently working on a way to have applications simply inject into a running JVM. That way, there is no load and startup time for the JVM, just the time to load you app classes. Using different distros would completely defeat this!
    (The reason why this feature isn't out yet is because they're still trying to make it possible to specify hitherto VM configurations like security and logging as application configurations. Then there's also the issue of setting up class loading boundaries between applications.
    You say you don't have to bring over the VB runtime
    for each app? I remember in the 90's doing it all the
    time. Of course, being MS, now that's not necessary
    anymore, since it's "magical" Windows. I don't have
    any machine from Sun, but for sure they've got Java
    bundled with it, right?I don't believe you had to do that since VB 5; and that's because MS realized that they messed up on this very point upto then! Sun worked the simple solution to that into their deployment strategy- install only ONE runtime and run all apps off that. As for you're half-a-dozen, I think you can safely uninstall the five older versions; because, even today, people are running apps developed using JDK1.1 on Java SE 6.0!
    Again, I find the most logical difference between JRE
    and JDK being the debugger. As you say it yourself:
    JRE for end-users, who don't need to do any
    debugging.
    Now, sqldev is not just a table browser, but also for
    debugging PL/SQL. 1 + 1 = 2.I think it's a little naive to differentiate between the JRE and JDK on just the debugger! Aside from the obvious inclusion of a compiler, the JDK has several other tools for monitoring/managing the heap, threads and logging on the fly. There's also the Doclet API and Sun's javadoc implementation, dev interfaces for instrumenting the VM, native interfaces, ...
    And I reiterate, we're talkin' PL/SQL developers here. Why would I want to give a PL/SQL developer a Java Development Kit?!? ;|
    Nevertheless, as said in the other thread, if the
    team discloses how to circumvent the SDK check at
    startup, you can go ahead and use the JRE. In any
    case, you'd have to agree that won't work as
    out-of-the-box solution...You're right, it won't work like a standard Windows OOTB app. But, it WILL work as a Java OOTB that only mandates that there be a JRE available; just like the scores of Java apps out there- from tiny little Pong clones to large IDE's like NetBeans.
    BTW, don't even think about quoting Websphere/Rational/Eclipse as counter-arguments. They are the biggest offenders as far as this issue goes. And jikes is an abomination, a curse Sun must carry as a result to opening the VM Spec. But, I digress...

  • Runtime Error "Cannot find system in table file"

    I need assistance!
    I have a Blackberry Curve 8310 and have recently installed Version 4.5
    I am trying to setup my synchronization.  I have followed the steps to setup my calendar to Outlook 2007.  It tells me Congratulations! You have successfully configured the product. However, when I press Finish, I get a Runtime Error "Cannot find system in table file"
    I have uninstalled the program and reinstalled it - the same error appears. 
    Any help would be appreciated!
    Solved!
    Go to Solution.

    FIGURED IT OUT!!!  
    The following steps, which are posted on the RIM Support will work; however, I had to do it a different way.  In Step 1, it states that the ilxolkCompanion.fil is located in C:\Program Files\Research In Motion\BlackBerry\Connectors\MS Outlook Connector path...however, when I searched for this file, it was actually located in C:\Program Files\Blackberry\Connectors\MS Outlook Connector.  (This could be because I upgraded from 4.2.2 to 4.5 w/o completing a clean uninstall...not too sure why)
    Once I located the file through the command prompt, I unregistered as per the instructions in Step 1.  I then followed step 2 exactly word for word...and VOILA!!!  I now have Version 4.5 working with MS Outlook 2007
     ResolutionIf the Connectors folder is still present in C\Program Files\Research In Motion\BlackBerry\Connectors\MS Outlook Connector, follow these steps:
    Unregister the old Microsoft Outlook connector ilxolkCompanion.fil.
    Open the command prompt.
    Navigate to C:\Program Files\Research In Motion\BlackBerry\Connectors\MS Outlook Connector.
    Type in the command regsvr32 -u ilxolkCompanion.fil.
    In Desktop Manager, Microsoft Outlook will no longer be listed as an available desktop application.
    Register the most current Microsoft Outlook connector.
    Navigate to C:\Program Files\Research In Motion\BlackBerry\IS71 Connectors\MS Outlook Connector.
    Type in the command regsvr32 msoutlookconnector.fil.
    In Desktop Manager, Microsoft Outlook will now be registered as an available desktop application.
    Once these steps have been completed, configure synchronization again.

  • Oracle 11gR1 on Windows Xp Error Cannot find J2SE SDK installed at path

    When I type in path for java.exe in SQL Dev. , I get error 'Cannot find J2SE SDK installed at path: C:\Program Files\Java\jre6.' when I entered the path C:\Program Files\Java\jre6\bin\java. What is the reason for this error? How can I correct it? Database installation said it was successful

    SQL Developer needs the Java JDK not the JRE to operate successfully. Your path looks like a path to the JRE. There is a windows download that comes complete with a Java Developer kit.
    regards
    Niall

  • Configure: error: Cannot find GLX header

    I install gtkglext from its source code and get an error after the 'configure' command.
    bash-3.00$ ./configure
    checking GL/glx.h usability... no
    checking GL/glx.h presence... no
    checking for GL/glx.h... no
    configure: error: Cannot find GLX header
    I guess the OpenGL files are not installed during Solaris 10 installation. Could someone tell me where can I get opengl files? Are they in the Solaris 10 installation disks? How to install opengl files?

    On my installation I have both NVidia and mesa drivers installed, thus two sets of GL headers/libraries.
    For Mesa: SUNWxorg-mesa
    Nvidia: NVDAgraphics
    If you want to develop on your system you may want to install much more than just GL headers.
    Its a pity that Solaris packaging is not really flexible, so you better do a full install indeed...
    regards,
    __Fedor.

  • Compiler error: "cannot find symbol" - constructor

    Dear all,
    I keep getting the compiler error "cannot find symbol" - constructor AWTEvent() for the following class. It's supposed to extend AWTEvent to give me my own event to be fired. What could be wrong?
    import java.awt.*;
    import java.awt.event.*;
    public class MyButtonEvent extends AWTEvent
         public MyButtonEvent()
    }Thanks a lot!
    N

    When you do this
    public MyButtonEvent()
    }you are implicitly calling the super class constructor with no parameters
    That is:
    AWTEvent();
    you can think of it as
    public MyButtonEvent()
         AWTEvent(); // <-- automatically generated for you
         //the rest of your stuff
    }the problem is that AWTEvent has no such constructor, so you need to explicitly put another constructor in your constructor as the first statement. This other constructor has to be one that exists in AWTEvent.

  • Error : 'cannot find symbol getText()'

    please check my java coding. when I compile it, the error: 'cannot find symbol
    getText() ' is appear. What wrong with this coding.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class buatAction
    public static void main(String[] args)
    JFrame f= new JFrame("Contoh Action");
    f.setSize(150,200);
    f.setLocation(200,200);
    f.addWindowListener(new WindowAdapter()
    public void windowClosing(WindowEvent we)
    System.exit(0);
    //setkan button
    final JPanel OK = new JPanel();
    JButton buttonOK = new JButton("OK");
    OK.add(buttonOK);
    final JPanel txt = new JPanel();
    JTextField inputText = new JTextField(15);
    inputText.setFont(new Font("Serif", Font.PLAIN, 12));
    txt.add(inputText);
    Container content = f.getContentPane( );
    content.setLayout(new GridLayout(1,1));
    content.add(txt);
    content.add(OK);
    buttonOK.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent ae)
    String ayat = txt.getText().getActionCommand();
    System.out.println(ayat);
    f.setVisible(true);
    }

    please check my java coding. when I compile it, the error: 'cannot find symbol
    getText() ' is appear. What wrong with this coding.
    final JPanel txt = new JPanel();...
    buttonOK.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent ae)
    String ayat = txt.getText().getActionCommand();
    System.out.println(ayat);
    });Final variable 'txt' is a JPanel. JPanels don't have a 'getText()' method; hence
    the compiler diagnostics message.
    kind regards,
    Jos
    ps. better stick your code between [code] ... [/code] tags for readability reasons.

  • Error: cannot find symbol implements..

    I have an interface and I'm trying to implement.
    package data_structures;
    public interface ListADT<E> extends Iterable<E> {
    //Method Signatures
    and
    package data_structures;
    public class LinkedListDS<E> implements ListADT<E> {
    //Code
    And when I try to compile the class I get
    LinkedListDS.java:3 error: cannot find symbol
    public class LinkedListDS<E> implements ListADT<E> {
    ____________________________________^
    symbol: class ListADT
    And I'm not really sure what I'm doing wrong here or what exactly Java wants me to do to correct this error.

    What are you using to compile?  If the command line, and not an IDE which will do this for you, then compile the interface, first.

  • Installation error: cannot find the data source checking utility (dbcheck)

    BO XI 3.0:
    During the process of installing "Dashboard and Analytics Servers", we've got this error.
    Installation error: cannot find the data source checking utility (dbcheck)
    Have anyone encountered this issue? We can't move on after this error.
    Thanks,

    I've fixed the problem.
    Lianjun.
    Lianjun (guest) wrote:
    : I've tried to run the latest beta version of OMWB to migrate
    from
    : MS SQLSERVER7.0 to Oracle8i. At step 4:Source Database Details,
    : every time I put in the data source name (which is in the
    control
    : panel-ODBC data source Administrator), it gave an error message
    : that Data source name not found and no default driver
    : specified).Anybody has any ideas?
    : Thanks for the help!
    : Lianjun.
    null

  • RoboHelp 10 Compile Error: Cannot find xml definition file Template Error

    Does anyone know how to resolve this error? I'm exhausted googling.
    I generated Webhelp and got the error below. When I View the Help, nothing displays; IE browser does not open the Help.
    Initializing compiler...
    Generating WebHelp 5.50 (10.0.0.287)...
    Error: Cannot find xml definition file C:\Program Files (x86)\Adobe\Adobe RoboHelp 10\RoboHTML\webhelp5Ext\template_skin\webhelp5skin.xml.
    Template Error: can not resolve macro: WEBHELP_TEMPLATE.pane.navpane.dhtml
    Template Error: can not resolve macro: WEBHELP_TEMPLATE.pane.navpane.list
    Template Error: can not resolve macro: WEBHELP_TEMPLATE.pane.toolbar
    Template Error: can not resolve macro: WEBHELP_TEMPLATE.pane.minibar
    Template Error: can not resolve macro: WT_DS_TOC_ICON_PAGE_REMOTE
    Template Error: can not resolve macro: WEBHELP_TEMPLATE.topic
    Template Error: can not resolve macro: WEBHELP_TEMPLATE.frame
    Processing TOC data...
    Processing Glossary data...
    Processing Context-sensitive-Help data...
    Updating HTML topics...
    Finished updating HTML topics in 5 sec(s) : total 431 topic(s).
    Processing Full-text-search data...
    Finished processing Full-Text-Search data in 41 sec(s)
    Applying WebHelp 5.50 Template...
    ..........................Template Error: can not resolve macro: WT_DS_SEARCHFORM_GO in C:\FuelsManager Primus\Web Application\Projects\FMHelp\Cirrus\whfform.htm
    Error: Fail to update Template file whskin_frmset010.htm
    Error: Fail to update Template file whskin_frmset01.htm
    Error: Fail to update Template file whskin_frmset0.htm
    Finished applying Template in 10 sec(s)
    Finished compiling WebHelp in 107 sec(s)
    Compilation complete.

    Why Robo 8 would remove RH10 files is beyond me.
    A reinstall of RH is sure to fix it. But if you PM me your email
    address, I can send you a copy of the file (might save you a reinstall).
    Kind regards,
    Willam

Maybe you are looking for

  • CIN configuration in TAXINJ and TAXINN !!

    Friends !! Please help in configuring TAXINJ and TAXINN for VAT, Higher Edn.cess.If possible send me screen shots for the same and how to maintain taxcodes. Thanks. Yours sincerely, sreedhar

  • PDF Printing with images

    Hello all- I was wondering if it is possible to create a PDF document with images from a report that has images, through the FOP. I have tried this on APEX 3.2.1 and APEX 4.0.1, but with no success. I installed FOP in a standalone OC4J that I have in

  • Computer thinks my shuffle 4 is an external drive

    Just purchased a new iPod shuffle 4. iTunes will not acknowledge it and my computer thinks it as an external drive.  I have shut it off, restarted, replugged, tried to reinstall still no luck.  Best bet, I'm thinking, is to return it and try again an

  • How to Update this T-SQL Table?

    Hello, I am having trouble finding the correct syntax for updating this T-SQL table. Here is my Query which is adding an additional ' at the beginning and end. Query:     Update [denodo].[dbo].[wrappers]   SET wrapperWhereClause = '''AND County_Input

  • Where is trex in the download link?

    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0576c7e-e306-2a10-37b8-a25d82e6f9d8 In this it says it contains TREX but there is no trex i can find in the unzipped folder? Was it missed out? George'