Error with compiling module
I have such folders structure in my Flex project:
components/classes/
components/modules/
In modules/ folder I have a module (<mx:Module>)
myModule.mxml.
That module imports class myConnector.as from classes/ folder
using statement:
import components.classes.myConnector;
I can work with class' properties and methods and there are
no errors. But when I try to compile myModule.mxml with mxmlc using
command:
mxmlc
pathToProject/components/modules/myModule.mxml
I get an error:
Type was not found or was not a compile-time constant:
myConnector.
private var myConn:myConnector;
As I see compiler cannot locate myConnector.as class, even
though it is located correctly while authoring.
How can specify path to that class for compiler?
Or there is anything else wrong?
Thanks in advance.
The answer is yes and no. Since your Modules are not in the
main application directory, the answer is no. Should they live in
the main application directory, then you can mark them as
Applications and Flex Builder will automatically compile them and
move them to the bin directory.
Similar Messages
-
CS2 Scanning Problem - error with acquisition module interface
Hi there,
I have an Epson Perfection 4180 scanner which has worked for years. I moved, plug everything back in, the scanner works one time, and from then on, I get this error: "Could not complete the Import command because of an error with acquisition module interface."
I've searched around, and seen others with this problem, but, no real solution. From what I've read, it's a Photoshop issue. I've downloaded the TWAIN drivers and re-installed the scanner, and deleted Photoshop's preferences file. The scanner does work through the Windows Scanner Wizard. I've turned off the Windows Image Acquisition thing in the control panel, and then turned it back on.
ARGH, I am really pulling my hair out. Please help!
Thanks so much!I'd try to avoid the hassle of messing with the PS installation if possible.
One other thing I have seen is to temporarily disable the Twain plug-in, with a ~ in front of the name, in
C:\Program Files\Adobe\Adobe Photoshop CS3\Plug-Ins\Import-Export -
Error with Function Module for Automatically Reversing FI Documents
We are trying to use BAPIACREV to automatically reverse a document as part of workflow but get an error with 2 of the import parameters stating they were never transferred:
1) OBJ_KEY_R
2) OBJ_SYS
Does anyone know how to resolve this?Hi,
OBJ_KEY : Reference Key
This key value must be created while posting the document and this key must be maintained in any of SAP tables
for example : If the it is Accounting document then all detail found in BKPF and BSEG table, you can find OBJ_KEY in BKPF-AWKEY field.
OBJ_SYS : Logical system of source document
Logical system may be maintained in some table.
for example : If the it is Accounting document then all detail found in BKPF and BSEG table, you can find OBJ_SYS in BKPF-AWSYS field.
or you can use following FM to get logical system
CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET'
IMPORTING
OWN_LOGICAL_SYSTEM = L_V_OWN_LOGICAL_SYSTEM
EXCEPTIONS
OWN_LOGICAL_SYSTEM_NOT_DEFINED = 1
OTHERS = 2 -
Hello,
I am trying to read from an Azure SQL database and write to an empty one with the same column schema. When I run the experiment it says
Error 0000
and says
Process exited with error code -2
is there something I am doing wrong or is this a problem with the writer module?Hi,
I created a new table with the exact output schema I want and a clustered index but now the issue I get when trying to write the data set to this table is:
[ModuleOutput] DllModuleHost Error: 1 : Program::Main encountered fatal exception: Microsoft.Analytics.Exceptions.ErrorMapping+ModuleException: Error 0000: Internal error ---> System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Data.SqlClient.SqlException: Incorrect syntax near 's'.
Module finished after a runtime of 00:00:04.9958146 with exit code -2
Module failed due to negative exit code of -2
seems like this is very difficult and confusing to write to a table and should be fixed -
Multiple errors with DSC modules modbus master and slave
Hi,
I've searched quite a lot of posts but haven't found solution for my problem. I'm playing with LabVIEW DSC module and it's modbus master and slave functionalities. Even the LabVIEWs own modbus examples (Modbus Simulator and Fundamentals) seem to work randomly or not at all: When checking the Variable Manager utility Modbus Simulator (i.e. modbus slave/server) seems to deploy variables correctly with good quality but Modbus Fundamentals (i.e. modbus master/client) most often shows unknown value or bad quality for all the variables. When running the VIs I get 'Error -1950679035 Unable to locate variable in the Shared Variable Engine' and sometimes some other errors too. If the Modbus Simulator (slave/server) is expected to work fine I guess I should get two slaves communicating, but this isn't happening either. So maybe Modbus Simulator example isn't working either.
I've tried undeploying and deploying the libraries, stopping and starting the SVE, booting PC, reinstalling DSC module, and setting firewall and antivirus software off. This problem is going on with two different computers, both of which have recently installed LabVIEW 2011, first PC with Win XP and second PC with Win 7. No other OPC servers should be installed to these computers. And what is really interesting, the problem seems to have nothing to do with my network since Simulator and Fundamentals examples are not working even if the network cable is unplugged!
Any suggestions? Replies are highly appreciated!V8 has the same feature, but the words are different.
The Generator typically uses the Driver time base, and the Gl. Var Write is writing once per block.
So, to see all values, you must have a block size of one.
I set up the Driver timebase to 10 Hz, block size of 1. The Generator and the Read Variable default to the Driver timebase.
The Generator is making a 2 Hz Rectangle waveform. YOu can see that it's shifted, but otherwise intact.
- cj
Measurement Computing (MCC) has free technical support. Visit www.mccdaq.com and click on the "Support" tab for all support options, including DASYLab. -
Hi Guys,
I have created a custom function module ,and transported to Production server,but the thing is am getting an error like "Error generating the test frame".What could be the reason?Give me your suggetions on the same.
Warm Regards,
Mohandoss P.Hi,
I you have complex type in the parameter list you will get this error for example generic types, xtrings, strings, object references.
But, function module can be called from programs.
Check for Oss notes if you want to solve this problem
Best regards.. -
Hi
I am using TS 4.0.1 and LV 7.1
When I start the TS first time and check for the specify module, it shows parameters details properly. After some times (after running the code once ), when I go to specify module window, it shows error " An error has occured. Please save your work and restart the sequence editior." !
Any idea how to solve this?
br,
vishal
Attachments:
TS_Error1.JPG 270 KB
TS_Error2.JPG 261 KBHi Ray, I have supplied the Instrument Handle parameters. It is not supplied as a container, it has been supplied individually. (image attached.)
br,
vishal
Attachments:
TS_Error3.JPG 20 KB -
Error with function module TABLE_COMPRESS?
Hi all,
What is the alternate function module for TABLE_COMPRESS?
This is going fine in 4.7 version.
But in ECC 6.0, if we use this function module we r getting SLIN error (Obsolate statements) .
How can we rectify this SLIN error?
So we have to use another funtion module for the same purpose.
Can any one help on this?
Rewards to all.
Thanks & Regards
Anu.Hi,
I you have complex type in the parameter list you will get this error for example generic types, xtrings, strings, object references.
But, function module can be called from programs.
Check for Oss notes if you want to solve this problem
Best regards.. -
UMFactory initialization error with login module
I've written a custom login module that has the following code:
IUserFactory userFactory = UMFactory.getUserFactory();
which causes an IllegalStateException with the following detailMessage: Could not initialize UMFactory! Please set property 'ume.cfg.path' or call UMFactory.initialize() first.
I've found a bunch of other postings relating to this problem but none seem to have discovered the answer. Does anyone know how to resolve this? I was under the impression the method getUserFactory() could be called without any initialization?
Cheers,
SteveHi Steve,
Please look at this.
/thread/3107 [original link is broken]
Regards,
Siva
P.S: Award points if you fidn this useful. -
[Solved] Strange error with sound modules
If i modprobe any sound modules, i get strange errors which tell me to lookup dmesg.
The error output looks like
WARNING: Error inserting snd_mixer_oss (/lib/modules/2.6.13-ARCH/kernel/sound/core/snd-pcm.ko): unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_pcm_oss (/lib/modules/2.6.13-ARCH/kernel/sound/core/oss/snd-pcm-oss.ko): Unknown symbol in modules or unknown parameter (see dmesg)
The same for my soundcard drivers etc, simply any alsa module.
My modprobe.conf looks as follows.
install snd-pcm modprobe -i snd-pcm; modprobe snd-pcm-oss; true
install snd-seq modprobe -i snd-seq; modprobe snd-seq-oss; true
options snd device_mode=666
alias snd-card-0 snd-ens1397
alias sound-slot-0 snd-ens1371
Well, this should work fine (as i know). Looking up dmesg i get the following:
snd_pcm_oss: Unknown symbol snd_info_unregister
snd_pcm_oss: Unknown symbol snd_info_get_line
snd_pcm_oss: Unknown symbol snd_pcm_format_width
I've got this problem since i updated to 2.6.13-ARCH.
Since this problem causes hotplug to take 10 minutes to start, it's annoying. I'd appreciate any hint what i could try.
Thank you,
STiATThat did solve my problem.
Thank you alot!
STiAT -
Use of "Archive Source Files with Errors" for BIC module error
Hi All,
I have Edi file to Idoc scenario , where i am using SEEBURGER BICXIADAPTER.MODULE.
My question is if the input file caught in error with BIC Module e.g
"MP: exception caught with cause Error in BICMODULE-module:Temporary error: BIC XI Adapter call failed. Reason: SegmentDescription: checkAndResetChildrenCounter() not enough repetitions of the segment UNH found: 0 instead of 1 offset :80 DESCRIPTION: SegmentDescription Warning: Not enough repetitions of the segment UNH ([not specified]/[not specified])."
can we move these errornous files to another directory using Processing parameter "Archive Source Files with Errors" available with Sender File Adapter?
In File Adpater my Module tab looks like :
1 localejbs/CallBicXIRaBean Local Enterprise Bean bic
2 localejbs/CallSapAdapter Local Enterprise Bean 0
In my scenario , its not working.. do we have any other option to achive this?Hi Jyoti,
I had a raised a similar case with SAP and came to know that archiving only works if the error raised by the module is so called "Permanent". However, bic doesn't raise permanent error due to which archiving of error files won't be possible. Seeburger haven't came up with a solution yet.
Regards,
Prateek -
VMWare Workstation not able to compile modules
I have an installation of vmware workstation that I don't use very often, and recently it hasn't been able to start due to an error with the module compiling process.
The specific error is:
2014-02-26T14:39:15.967-06:00| appLoader| W110: Unable to load libgcr.so.0 from /usr/lib/vmware/lib/libgcr.so.0/libgcr.so.0: /usr/lib/libgcrypt.so.11: version `GCRYPT_1.2' not found (required by /usr/lib/vmware/lib/libgcr.so.0/libgcr.so.0)
2014-02-26T14:39:15.967-06:00| appLoader| W110: Unable to load dependencies for /usr/lib/vmware/lib/libvmware-modconfig.so/libvmware-modconfig.so
2014-02-26T14:39:15.967-06:00| appLoader| W110: Unable to execute /usr/lib/vmware/bin/vmware-modconfig.
I noticed that gcrypt got updated to 1.6.1 from 1.6.0-2 on the Jan 31st, so I tried downgrading it to the previous version but the same error happened, so it is not an upgrade that has caused the problem.
Yes, the file does exist, and yes, I have reinstalled workstation.
Specs:
Arch Linux x64
Kernel: 3.12.13-1-ck
Processor: i7-3840QM
I have been wrangling with this for a couple of days now and I'm out of ideas.
Last edited by marca311 (2014-02-26 21:07:18)I had the same issue and i have modify the wiki
https://wiki.archlinux.org/index.php/VMware
Check this to apply some patch to compile again on your arch
https://wiki.archlinux.org/index.php/VM … Linux_3.13
if you use DKMS check the following session
https://wiki.archlinux.org/index.php/VM … he_modules
sorry for my poor english
PS: if you compile your module with "vmware-modconfig --console --install-all" you can have an issue due to the headers path change, to resolve it you can try this command
$ vmware-modconfig --console --install-all -k $(uname -r) $(vmware-modconfig --console --get-gcc) /usr/lib/modules/$(uname -r)/build/include
Last edited by bawaaaaah (2014-03-12 15:36:04) -
Hi,
I am getting below wrror while accesing the Ecel:
compile error in hidden module: Essbaselogon. This error commonly occurs when code is incompatible with the version, Platform, or architecture of this applicationIIRC essbase is a financial reporting add-in (Hyperion, or something similar?).
This message is telling you that the add-in is not compatible with your current software. You should check with the vendor who provided the essbase add-in. Tell them what version of windows and Excel (and maybe Hyperion) you are using, and get a compatible
version from them...
If you do not need or run essbase/hyperion/etc then you should just remove/disable the add-in. If it doesn't show in your add-in menu, then you may have to do a repair installation or re-install Excel -
The error message in excel 2003 : "compile error in hidden module AutoExecNew" could be caused by Adobe Acroate add ins, thats waht microsoft told me.I use windows xp service pack3.I have got reader newest version and photoshop 6.0. With this and also with an older reader version I got the error message when opening excel. what can I do?
Best regards RayIf you have Adobe Reader, you (probably) don't have Adobe Acrobat, a
commercial ($$) product. 5.0 is a very old release.
But you can check if the files are there anyway from long ago. See
http://support.microsoft.com/kb/307410
Aandi Inston -
Error with response object in Portal Application Module
Hi,
i have a portal application project in NWDS, with a JspDynpage component. I have a jsp that contains this code:
OutputStream os = componentResponse.getServletResponse().getOutputStream();
response.addHeader("Content-Disposition", "attachment;filename=" + sTITLE +".pdf");
response.setContentType("application/pdf");
os.write(contenido);
os.close();
this code open a pdf in new window. In web module project that app runs correctly but in portal application no, it fails in object response. the log (in default trace) doesn´t help me nothing, only sais:
Jun 6, 2011 3:19:55 PM com.sap.portal.prt.runtime.servlet_jsp [SAPEngine_Application_Thread[impl:3]_13] Error: >>> JSPCompiler >>> ERROR in Compiling :JSPFileInfo :314221189
JSP File : /usr/sap/DP4/DVEBMGS40/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/web-inf/portal/portalapps/appl.factdist.efact.por/pagelet/inicio.jsp
Class Name: sapportalsjspInicio
Java File : /usr/sap/DP4/DVEBMGS40/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/web-inf/portal/portalapps/appl.factdist.efact.por/work/pagelet/_sapportalsjsp_inicio.java
Package Name : pagelet
Class File : /usr/sap/DP4/DVEBMGS40/j2ee/cluster/server0/apps/sap.com/irj/servlet_jsp/irj/root/web-inf/portal/portalapps/appl.factdist.efact.por/work/pagelet/_sapportalsjsp_inicio.class
Is out dated : false [email protected]bbc2b
In addition, i can use the request object perfectly
somebody knows what's happening??
Thank you,
FernandoHi,
You shouldn't use the response object directly
Instead, create a new HttpServletResponse reference from the componentRequest object.
Try using the following:
long length = file.length(); // where 'file' is a File() object of your sTITLE +".pdf" file
// Create the byte array to hold the data
byte[] bytes = new byte[(int)length];
int offset = 0;
int numRead = 0;
while (offset < bytes.length && (numRead=is.read(bytes, offset, bytes.length-offset)) >= 0) {
offset += numRead;
//The most important part:
HttpServletResponse res = componentRequest.getServletResponse(true);
res.setContentType("application/pdf");
res.addHeader("Content-Disposition", "attachment;filename=" + sTITLE +".pdf");
res.getOutputStream().write(bytes);
Maybe you are looking for
-
Can I update directly from iPhoto 8.1.2 to 9.3.2 without problems?
I'm not sure whether to update from my iPhoto 8.1.2 straight to the update of iPhoto 9.3.2 or should I go update to update? The updates I found after my 8.1.2 are 9.1, 9.1.1 9.1.3 9.1.5 9.2.1 9.2.2 9.2.3 9.3 9.3.1 9.3.2
-
Standard ECC report RHCDOC_DISPLAY
Can anybody give an overview about Standard ECC report RHCDOC_DISPLAY ???
-
Password questions on new mac pro
Please forgive a very elementary question from a decades-long PC user. Just received my first Mac ever, a 2.66, 4 gigs,2/500, ati card Pro. Struggling with passwords. Loaded my admin password at initial startup with a "hint" in case I forgot it. The
-
How to restore the calsses I lost under oracle/jdeveloper/html?
I use class wizard to create a class which extends oracle.jdeveloper.html.HTMLFieldRendererImpl and can't find it under the oracle/jdeveloper/html package. There are only two classes there : HTMLForm and HTMLElement. I remember there were many calsse
-
New PKGBUILDs for calpp and cpyrit-calpp
Hello I wanted to try the calpp backend for pyrit (a WPA cracking utility), but couldn't find them in either the official repositiories or in AUR. There for I have created new PKGBUILDs for these, they work on my system (x86_64 3.1.0-4-ARCH), but as