ES Builder error with SLD - COULD_NOT_READ_SWCV
Hello,
I have SAP EHP1 For SAP NW CE7.1. Im trying to Display the list of "software component versions" of the SLD in the ES Builder, but it shows me the following error: "Coud not read list of software component versions from SLD - COULD_NOT_READ_SWCV - User credentials are invalid or users is denied access".
Please, any idea?
Thanks
MG
Edited by: Mario Galvis Guerrero on Dec 24, 2009 12:09 AM
Hello,
Here is the complete log trace of the problem,
====================================================================
= Root Exception ===================================================
====================================================================
Thrown:
com.sap.aii.ib.core.sldAccess.SldProcessException: Could not read list of software component versions from SLD
at com.sap.aii.ibrep.server.sldaccess.interfaces.RepSldAccessServiceImpl.getSwcvLinks(RepSldAccessServiceImpl.java:92)
at com.sap.aii.ib.server.sldaccess.SldAccessServiceBean.getSwcvLinks(SldAccessServiceBean.java:62)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:46)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:71)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:38)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:22)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:189)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatelessInstanceGetter.invoke(Interceptors_StatelessInstanceGetter.java:16)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:21)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:16)
at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:177)
at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:133)
at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:164)
at $Proxy1858.getSwcvLinks(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sap.engine.services.rmi_p4.P4DynamicSkeleton.dispatch(P4DynamicSkeleton.java:234)
at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:355)
at com.sap.engine.services.rmi_p4.server.ServerDispatchImpl.run(ServerDispatchImpl.java:69)
at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:67)
at com.sap.engine.services.rmi_p4.P4Message.execute(P4Message.java:41)
at com.sap.engine.services.cross.fca.FCAConnectorImpl.executeRequest(FCAConnectorImpl.java:977)
at com.sap.engine.services.rmi_p4.P4Message.process(P4Message.java:57)
at com.sap.engine.services.cross.fca.MessageReader.run(MessageReader.java:55)
at com.sap.engine.core.thread.execution.Executable.run(Executable.java:109)
at com.sap.engine.core.thread.execution.CentralExecutor$SingleThread.run(CentralExecutor.java:314)
Serialized cause: com.sap.lcr.api.cimclient.LcrException: User credentials are invalid or user is denied access
at com.sap.lcr.api.sapmodel.JavaCIMObjectAccessor.enumerateInstances(JavaCIMObjectAccessor.java:224)
at com.sap.lcr.api.sapmodel.SAP_SoftwareComponentAccessor.enumerateInstances(SAP_SoftwareComponentAccessor.java:201)
at com.sap.lcr.api.sapmodel.SAP_SoftwareComponentAccessor.enumerateSAP_SoftwareComponentInstances(SAP_SoftwareComponentAccessor.java:234)
at com.sap.aii.ibrep.server.sldaccess.interfaces.RepSldAccessServiceImpl.getSwcvLinks(RepSldAccessServiceImpl.java:40)
... 38 more
Thanks
MG
Similar Messages
-
Random FB build errors with FXGs
I'm having issues with random build errors. When one of these errors occurs, it always says it has trouble with an FXG class.
Error text is this:
"In initializer for 'mxmlContent', type FXGClass is not assignable to target Array element type mx.core.IVisualElement."
This seems to be a similar problem that someone else posted: http://forums.adobe.com/thread/929171 but their solution didn't work for me.
The solution from the linked thread, renaming/creating a duplicate of the file with the FXGs in it, didn't work. Renaming ANOTHER file in my code base did. One that did not contain FXGs. (We use subversion and I systematically rolled back until the code base built error free and slowly deduced the affecting file).
Now occasionally we are having the errors with a completely new file with an FXG icon. The first file had FXGs delared in MXML, this new one declares it in AS. Both FXGs are put into the layout via MXML. Sometimes commenting it out, building, commenting back in, building works....but not always. If we go edit some code in another file elsewhere, it will sometimes clear the error and build fine.
This error is driving us nuts as we have no idea what the trigger is. We have a fair number of FXGs in the code base for visual elements. We use common code accross Web, Desktop and Mobile projects. Sometimes they all build fine, sometimes they all error, sometimes only some projects error. There seems to be no consistancy when the build errors occur.
Using Flash Builder 4.6 (on Windows 7)
Flex SDK 4.6
AIR SDK 3.3 (though errors occur on a Web build too)
We've made new Workspaces and brought in the sub-versioned code and it still occurs (on two seperate machines), so it seems to point to a code base trigger. I'm stumped where to start. When it first started occuring, no extra FXG files or classes that refer to them were created.
Any help would be greatly appreciated.I've seemed to have narrowed it down the file with the FXG Icon in it. It seems that when I disclude the file from the project it renders correctly. If used I get the weird compile errors. I'm not sure why this specific file is causing this. I'm concluding it may be a corrupted in some way and I will have to rebuild it from scratch to narrow down the issues.
Removing the FXG from the file itself doesn't help. -
Dear Experts,
when I am calling ctc installer (template installer) with /nwa , i become the following error message and the install dont start.
"Validation Error: Test SLD connection:It was not possible to test the
SLD system (SLD_HOST) with the user (SLD_ADMIN) and its password given
in the property sheet. Please verify and retype the values in the
corresponding fields. You can also go to visual administrator -> "SID" -> Server xx -> Services -> Configuration adaptor -> CTC ->
Propertysheet SystemProperties, make sure that the parameters related
to SLD are correctly typed and rerun the template."
but in the visual administrator the parameters are correct.
what can be the reason herefore? maybe the password for this slddsuser??
Regards
Engin ImalHello Engin,
Check if Note 923359
and following link are useful :
http://help.sap.com/saphelp_nw70/helpdata/en/25/5AEE4242217076E10000000A1550B0/frameset.htm
Regards,
Snehal -
Webdynpro application errors with SLD,J2EE Engine - JCOs probelem
Hi,
I have developed a small webdynpro application
1. Passing 2 values to RFC
2. Getting result contents from RFC and displayed in a table.
I am getting following errors:
u2022 SLD is not accessible. Check SLD Data Supplier service settings.
u2022 Insufficient permissions for getting SLD access information. You can add permissions for your application via the SLD service in the 'Visual Administrator'.
u2022 ACCESS.ERROR: Authorization check for caller assignment to J2EE security role [SAP-J2EE-Engine : administrators].
u2022 application [webdynpro/dispatcher] Processing HTTP request to servlet [dispatcher] finished with error.
The error is: com.sap.tc.webdynpro.clientserver.session.CloseResponseException: An attempt to write after the stream had been closed.
Exception id: [0002559A6FCB0077000000A0000CF0E8000460EC9406F721]
u2022 application [webdynpro/dispatcher] Processing HTTP request to servlet [dispatcher] finished with error. The error is: com.sap.tc.webdynpro.clientserver.session.CloseResponseException: An attempt to write after the stream had been closed.
at
Please suggest me.Hi Kiran,
You need configure SLD and JCo destinations in your j2ee engine..
Check this [article |https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c0c1d495-048e-2b10-babd-924a136f56b5] to create the SLD and JCo destinations.
regards,
Siva -
C++ build error with LabVIEW DLL
Hi, I'm a student at UC Irvine learning to use LabVIEW. I am working on a practice project for which I have to use a PID system to control the temperature of an object. Things are starting to get a little messy with nested control statements, loops, etc., so I figured I'd export a LabVIEW DLL with all the hard to code stuff, such as interfacing with my instruments, and plotting data or whatever, and do the number crunching and keeping track of stuff in C++.
The DLL file I made in LabVIEW went off without a hitch as far as I can tell, but when linking it to my C++ test program (which at this point is just including the LabVIEW's .h file for the DLL and an empty main() function), I get a lot of build errors. I am using Dev-C++ which uses g++ to compile the code.
Here is a pic of my build errors:
Solved!
Go to Solution.
Attachments:
LabVIEW_compile_error.JPG 184 KBNormal windows apps are not as forgiving about where you can put your DLL as LabVIEW. You have to have a DLL either in the direcotry where the executable file itself resides (that would be your build directory, not the source directory), the windows or system directory, or any directory that is set in the PATH environment variable. Anythin else will most likely not work, or at least not reliably.
No need to add the cintools directory into your include file paths nor the library file paths. you would only need that if you decided to let the DLL export native LabVIEW data types in which case you would need the LabVIEW manager functions to prepare the correct data buffers.
Rolf Kalbermatter
Message Edited by rolfk on 07-30-2009 07:49 AM
Rolf Kalbermatter
CIT Engineering Netherlands
a division of Test & Measurement Solutions -
Hi, I was trying to build and emulate a PhoneGap project with following environment, but it failed:
OS X Lion 10.7.2
Adobe Dreamweaver CS5.5 (11.5 Build 5344)
PhoneGap 1.2 (I updated from DW's original version following this instruction)
The build of application failed to complete successfully. This is the link of the log file I got: log file
Following is my screenshot on Application Setting:
I wonder this may involve in updating PhoneGap to latest version. But could you help me pass this problem?Hi Peter, Thank you for your solution.
First of all, it is very good that your error log and mine one is same. But I found the line you mentioned in Camera.h file already code like this:
@property (nonatomic) enum DestinationType returnType;
So I wonder do I need to remove 'enum' or not. Could you give me any suggestion? -
DC Build Error with Web Dynpro Project
Hi,
I have created a DC Project and migrated all the local Web Dynpro project to the DC project which is connected to NWDI.
When I performed a Development Component Build, I am getting tons of errors like this :
C:\Documents and Settings\mlee20\.dtc\1\t\E9C452A69844E0F9849D478F81878AB9\gwd\packages\com\bhpb\totalcomp\TestConnect.java:26: package com.sap.ip.bi.sdk.dac.result.model does not exist
import com.sap.ip.bi.sdk.dac.result.model.BITableItem;
^
C:\Documents and Settings\mlee20\.dtc\1\t\E9C452A69844E0F9849D478F81878AB9\gwd\packages\com\bhpb\totalcomp\TestConnect.java:27: package com.sapportals.connector.connection does not exist
import com.sapportals.connector.connection.IConnectionFactory;
^
C:\Documents and Settings\mlee20\.dtc\1\t\E9C452A69844E0F9849D478F81878AB9\gwd\packages\com\bhpb\totalcomp\TestConnect.java:28: package com.sapportals.connector.connection does not exist
import com.sapportals.connector.connection.IConnectionSpec;
^
C:\Documents and Settings\mlee20\.dtc\1\t\E9C452A69844E0F9849D478F81878AB9\gwd\packages\com\bhpb\totalcomp\WealthView.java:25: package com.sap.security.api does not exist
import com.sap.security.api.;*
^
C:\Documents and Settings\mlee20\.dtc\1\t\E9C452A69844E0F9849D478F81878AB9\gwd\packages\com\bhpb\totalcomp\WealthView.java:29: package com.bhpb.bi does not exist
import com.bhpb.bi.BITable;
^
I have included a jar file BIWrapper.jar in the lib folder....
Does it mean that some of the dependencies jar files is needed in the NWDI?
For anyone help please.
Thanks.Hi,
Create an Dc of type external library which contains the BI Wrapper
and refer this dc from your WD.
This blog will help you in creating external /people/valery.silaev/blog/2005/09/14/a-bit-of-impractical-scripting-for-web-dynpro
Regards
Ayyapparaj -
JDeveloper Build Error with JDK1.3beta
Dear JDev Team,
I have a project that uses SQLJ and has been compiling fine with both JDK1.2.2 and 1.3beta. This morning it stopped working. There have been no great code changes. Once it fails using 1.3beta it will also fail using 1.2.2.
There error message in the window is as follows. Your help would be very much appreciated, as this project cannot be built.
Many thanks,
Richard
JniPortal for D:\Program Files\JDeveloper 3.0\java1.2\jre\bin\ferrari\jvm.dll reported
InnerClasses attribute
java.lang.IncompatibleClassChangeError: InnerClasses attribute
int sqlj.runtime.profile.util.CustomizerHarness.customizeProfile(sqlj.runtime.profile.util.ProfileIOContext)
void oracle.jdeveloper.sqlj.TranslatorInternal.customizeProfiles(borland.compiler.interfaces.Log)
void oracle.jdeveloper.sqlj.TranslatorSystemImpl.customizeProfiles(borland.jbuilder.jipcbmj.portal.ComLog)
void oracle.jdeveloper.sqlj.TranslatorSystem_JavaDispatch.invoke(int, borland.javaport.JavaCallStack)Richard,
SQLJ is not supported with JDK1.2 in JDev 3.0:
(from the release notes)
Using SQLJ under JDK 1.2
The 8.1.5 SQLJ version distributed with this release of JDeveloper only supports JDK 1.1.X, it does not run under JDK 1.2. A future version of SQLJ will support JDK 1.2
Having said that it looks like you have it working anyway :-)
There have been no great code changes. Once >it fails using 1.3beta it will also fail >using 1.2.2.Try the following :
-Locate the output directory from Project|Project Properties
-Close JDeveloper
-Go to the output directory and delete all the classes and profiles related to your SQLJ project
-Restart JDev and recompile
Hope this helps.
Regards,
Arun
null -
App Builder error with app icons
never seen this error before…
all the icon names are unique, I've always named then 29x29.png 512x512.png etc
I'm also only building this for iPad, so also confused about the iPhone ref. Anyone seen this error before??
Cheers
AlistairCustom slot labels are the optional navigation buttons (such as "Store," "FAQ," etc.) that enterprise publishers can add to their apps. It's not related to the standard app icons.
Are you building an app using an Enterprise account? If not, there's a bug we'll need to look at. If so, check the Customized XML Strings (?) option in the advanced settings of the App Details pane. Delete or re-create the XML file. -
I have just set up wlserver 6.1 on Linux. I am trying to get one of the examples
working. I am using ant to build the example. I do the following:
cd /opt/bea/wlserver6.1/config/examples
. ./setExamplesEnv.sh
cd /opt/bea/wlserver6.1/samples/examples/ejb20/basic/containerManaged
/opt/bea/wlserver6.1/bin/ant all
Skipping over the intial output which is successful, I then get:
ejbc:
[java] <Nov 11, 2001 10:23:00 PM EST> <Warning> <EJB> <EJB Deployment: cont
ainerManaged has a class examples.ejb20.basic.containerManaged.AccountHome which
is in the classpath. This class should only be located in the ejb-jar file.>
[java] <Nov 11, 2001 10:23:00 PM EST> <Warning> <EJB> <EJB Deployment: cont
ainerManaged has a class examples.ejb20.basic.containerManaged.Account which is
in the classpath. This class should only be located in the ejb-jar file.>
[java]
[java] ERROR: Error from ejbc: Installation file /lib/persistence/persisten
ce.install does not exist. Could not initialize EJB container managed persistenc
e.
[java] ERROR: ejbc found errors
[java] Java Result: 1
compile_webapp:
BUILD FAILED
/opt/bea/wlserver6.1/samples/examples/ejb20/basic/containerManaged/build.xml:62:
destination directory "/config/examples/applications/examplesWebApp/WEB-INF/cla
sses" does not exist or is not a directory
Total time: 27 seconds
Anyone have any ideas what's going on?
chrisUsing "env.<VARIABLE>" is not needed because <property
file="../../../../examples.properties"/> sources in the appropriately
assigned variables need within the build script. Although it looks like the
proper steps were taken, I'm not so sure the examples environment was set up
completely.
Another thought is that within examples.properties, the ${WL_HOME} is not
properly substituted in a Linux environment.
-Chris
"Chris Cobb" <[email protected]> wrote in message
news:[email protected]...
>
To answer my own question, build.xml is broken because it is not
putting an env. prefix on the environmental variables. This
patch fixes it:
--- begin patch ---
*** build.xml Sun Nov 11 23:14:17 2001
--- build.xml.orig Sun Nov 11 23:12:31 2001
*** 43,52 ****
<!-- Run ejbc to create the deployable jar file -->
<target name="ejbc" depends="jar_ejb">
<java classname="weblogic.ejbc" fork="yes">
! <sysproperty key="weblogic.home" value="${env.WL_HOME}"/>
! <arg line="-compiler javac${dist}/std_ejb20_basic_containerManaged.jar
${env.APPLICATIONS}/ejb20_basic_containerManaged.jar"/>
<classpath>
! <pathelementpath="${env.WL_HOME}/lib/weblogic_sp.jar;${env.WL_HOME}/lib/weblogic.jar"/>
</classpath>
</java>
</target>
--- 43,52 ----
<!-- Run ejbc to create the deployable jar file -->
<target name="ejbc" depends="jar_ejb">
<java classname="weblogic.ejbc" fork="yes">
! <sysproperty key="weblogic.home" value="${WL_HOME}"/>
! <arg line="-compiler javac${dist}/std_ejb20_basic_containerManaged.jar
${APPLICATIONS}/ejb20_basic_containerManaged.jar"/>
<classpath>
! <pathelementpath="${WL_HOME}/lib/weblogic_sp.jar;${WL_HOME}/lib/weblogic.jar"/>
</classpath>
</java>
</target>
*** 56,62 ****
App-->
<target name="compile_webapp">
<javac srcdir="${source}"
! destdir="${env.EX_WEBAPP_CLASSES}"
includes="Servlet.java, Account.java, AccountHome.java,
ProcessingErrorException.java"
/>
--- 56,62 ----
App-->
<target name="compile_webapp">
<javac srcdir="${source}"
! destdir="${EX_WEBAPP_CLASSES}"
includes="Servlet.java, Account.java, AccountHome.java,
ProcessingErrorException.java"
/>
*** 65,71 ****
<!-- Compile EJB interfaces & client app into the clientclassesdirectory
-->
<target name="compile_client">
<javac srcdir="${source}"
! destdir="${env.CLIENT_CLASSES}"
includes="Account.java, AccountHome.java,ProcessingErrorException.java,
Client.java"
/>
--- 65,71 ----
<!-- Compile EJB interfaces & client app into the clientclassesdirectory
-->
<target name="compile_client">
<javac srcdir="${source}"
! destdir="${CLIENT_CLASSES}"
includes="Account.java, AccountHome.java,ProcessingErrorException.java,
Client.java"
/>
--- end patch ---
Chris
"Chris Cobb" <[email protected]> wrote:
I have just set up wlserver 6.1 on Linux. I am trying to get one of
the examples
working. I am using ant to build the example. I do the following:
cd /opt/bea/wlserver6.1/config/examples
. ./setExamplesEnv.sh
cd /opt/bea/wlserver6.1/samples/examples/ejb20/basic/containerManaged
/opt/bea/wlserver6.1/bin/ant all
Skipping over the intial output which is successful, I then get:
ejbc:
[java] <Nov 11, 2001 10:23:00 PM EST> <Warning> <EJB> <EJB
Deployment:
cont
ainerManaged has a classexamples.ejb20.basic.containerManaged.AccountHome
which
is in the classpath. This class should only be located in the ejb-jar
file.>
[java] <Nov 11, 2001 10:23:00 PM EST> <Warning> <EJB> <EJBDeployment:
cont
ainerManaged has a class examples.ejb20.basic.containerManaged.Account
which is
in the classpath. This class should only be located in the ejb-jar file.>
[java]
[java] ERROR: Error from ejbc: Installation file/lib/persistence/persisten
ce.install does not exist. Could not initialize EJB container managed
persistenc
e.
[java] ERROR: ejbc found errors
[java] Java Result: 1
compile_webapp:
BUILD FAILED
/opt/bea/wlserver6.1/samples/examples/ejb20/basic/containerManaged/build.xml:62:
destination directory"/config/examples/applications/examplesWebApp/WEB-INF/cla
sses" does not exist or is not a directory
Total time: 27 seconds
Anyone have any ideas what's going on?
chris -
Release build error with ANE "AOT Compilation has failed while optimizing function"
I'm trying to use the ChartBoost ANE which can be downloaded here https://github.com/freshplanet/ANE-Chartboost
When I do an Ad-hoc release build It keeps crashing and giving me the error below when packaging for iOS. But if I do a debug build that's a "fast" or "standard" build it compiles fine, and I can even see the ads.
Why would it crash when doing a release build? Does this ANE need an update?
I'm using FB 4.7 and AIR 3.8. Specifically, Apache Flex 4.10 Air 3.8
If I remove this 1 line of the Chartboost ANE code "AirChartboost.getInstance().showInterstitial();", the release build compiles fine and I can put it on the test iOS device.
"Error occurred while packaging the application:
AOT Compilation has failed while optimizing function public::AdsHelper.showFullscreenAd
Exception in thread "main" java.lang.NullPointerException
at java.util.TreeMap.getEntry(TreeMap.java:324)
at java.util.TreeMap.containsKey(TreeMap.java:209)
at adobe.abc.GlobalOptimizer.sccp_eval(GlobalOptimizer.java:6150)
at adobe.abc.GlobalOptimizer.sccp_analyze(GlobalOptimizer.java:6019)
at adobe.abc.GlobalOptimizer.sccp(GlobalOptimizer.java:4733)
at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:3615)
at adobe.abc.GlobalOptimizer.optimize(GlobalOptimizer.java:2309)
at adobe.abc.LLVMEmitter.optimizeABCs(LLVMEmitter.java:534)
at adobe.abc.LLVMEmitter.generateBitcode(LLVMEmitter.java:343)
at com.adobe.air.ipa.AOTCompiler.convertAbcToLlvmBitcodeImpl(AOTCompiler.java:611)
at com.adobe.air.ipa.BitcodeGenerator.main(BitcodeGenerator.java:104)
Compilation failed while executing : ADT"I just encountered this error when building ad-hoc package, say that:
Error occurred while packaging the application:
AOT Compilation has failed while optimizing function apackage::AClass.aFunction
After several tries It turns out that the error was because the function aFunction has a return before some other code (for testing). I commented the code after the return then the packaging works fine.
FYI. -
Tab Control Property Node gives a build error when used in a VI for LabVIEW PDA
Hello,
Iam new to LabVIEW development & need help regarding this:
We are trying to port a LabVIEW application from desktop to a Windows Mobile PDA. Please note that the LabVIEW application works fine on the desktop. In one of the VIs, a Tab control property node is used which gives a build error with LabVIEW PDA project. A sample VI which shows the problem & the error list snapshot is attached with this post. Can anyone please suggest an alternate approach to achieve the same functionality with LabVIEW PDA? Waiting for an early response from anyone...
Thanks & Regards,
Subhashini
Attachments:
VI_Error.zip 31 KBHello Ton,
Am glad that i got a response, thanks. The following links indicate that Tab control is supported on PDA target:
http://digital.ni.com/public.nsf/allkb/CBA335641E27B858862571490015EA88?OpenDocument
http://forums.ni.com/ni/board/message?board.id=170&message.id=221507&requireLogin=False
I feel that the Tab control property node that has been used in the VI (which is attached earlier) may not be supported on the PDA target. Can u (or any LabVIEW expert) suggest an alternate approach to achieve the same goal with LabVIEW PDA (changing colour of Tab control pages programatically)??
I had missed out some details earlier: We are using LabVIEW 8.5 PDA module on a Windows Mobile PDA.
Thanks & Regards,
Subhashini -
Error while building sln with CMake
I am working on kinect for developing application. I am using CMake and visual studio 2010 for development. According to some website I recently installed Service Pack 1 and it's update also. Since then there are loads of error in visual studio cpp programs.
I'm not able to build projects with CMake. It says c and CXX compiler identification is unknown.
I am not able to run simple cpp programs too. Log says
>InitializeBuildStatus:
1> Creating "Win32\Debug\ZERO_CHECK\ZERO_CHECK.unsuccessfulbuild" because "AlwaysCreate" was specified.
1>FinalizeBuildStatus:
1> Deleting file "Win32\Debug\ZERO_CHECK\ZERO_CHECK.unsuccessfulbuild".
1> Touching "Win32\Debug\ZERO_CHECK\ZERO_CHECK.lastbuildstate".
1>
1>Build succeeded.
1>
1>Time Elapsed 00:00:01.25
2>------ Build started: Project: openni_grabber, Configuration: Debug Win32 ------
2>Build started 11-03-2015 19:04:35.
2>InitializeBuildStatus:
2> Touching "openni_grabber.dir\Debug\openni_grabber.unsuccessfulbuild".
2>CustomBuild:
2> All outputs are up-to-date.
2>ClCompile:
2> openni_grabber.cpp
2>C:\Program Files\Microsoft Visual Studio 10.0\VC\include\xlocale(323): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc
2>C:/Program Files/PCL 1.6.0/3rdParty/Boost/include\boost/exception/detail/clone_current_exception.hpp(10): fatal error C1189: #error : This header requires exception handling to be enabled.
2>
2>Build FAILED.
Please help me through this!Hi Sayalee8333,
Thank you for posting in MSDN forum.
Since this CMake is involved to the Extensions tool
CMake - Cross Platform Make , this extension tool is
out of support range of this forum.
In order to resolve your issue better, I suggest you post this issue here,
click “Q AND A”, you will get better support there.
Thanks 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. -
Runtime Error building Installer with NI-VISA Runtime
Greetings, I'm getting this error whenever I check the "NI-VISA Runtime" option in the installer app builder.
Everything builds fine when I check only the Runtime Engine. Shown below is what causes the RUNTIME ERROR and closes Labview Unexpectedly.
Any help you could provide would be very much appreciated.
Regards,
JDHi JD,
This is a relatively common error with the Application Builder that can happen for several different reasons, namely registry keys pointing to installations that no longer exist. The easiest way to identify the problem is to get detailed information about the installer build. Here are directions:
LabVIEW has the
ability to create a very detailed log of the events that occur when
building an application or installer. To enable this feature, open up
the LabVIEW.ini file and copy "CDK.EnableLog=true" to the bottom
of the file. Save the changes and close the ini file. The LabVIEW.ini
file is usually located in C:\Program Files\National
Instruments\LabVIEW X.X
Enabling this feature will create a log file in the %temp% directory of your computer (%...% means a computer variable) .
To
find out where this temp directory is located, go to Start>>Run.
Type in "cmd". Then type "set". This will return all of your computer's
variable names.
Look for TEMP in the list of variable names. You should see something like "TEMP=C:\DOCUME~1\user\LOCALS~1\Temp".
Navigate to this directory using Windows Explorer.
You
should see a file named "Name.log" where "name" is the name of your
build specification. For example, you might see "My Installer.log" if
the name of your build specification is "My Installer".
This will give you a more detailed log of the attempted build and, if I'm correct about why this particular build failed, show you which installer is expected at that registry. If the registry points to a directory without the necessary installer (i.e. VISA), simply delete the registry and allow the App Builder to prompt you to to point to the correct location.
Michael K.
| Michael K | Project Manager | LabVIEW R&D | National Instruments | -
Build finished with ERROR - Failed to pack public part
Hi,
I am getting an error when I try to build a Development Component in CBS. This is what the build log says:
Ant build finished with ERRORS
Failed to pack public part: Failed to get InputStream for resource D:\usr\sap\PVD\JC01\j2ee\cluster\server0\temp\CBS\2\7\.B\3570\DCs\vecnet.co.nz\general\rimp\preq\preqform\preqcreate\_comp\src\configuration\Components\nz.co.vecnet.general.rimp.preq.preqform.preqcreate.CreatePurchReqComp\CreatePurchReqCompView_Create_Purch_Req_IF.xdp
Error: Build stopped due to an error: Failed to pack public part: Failed to get InputStream for resource D:\usr\sap\PVD\JC01\j2ee\cluster\server0\temp\CBS\2\7\.B\3570\DCs\vecnet.co.nz\general\rimp\preq\preqform\preqcreate\_comp\src\configuration\Components\nz.co.vecnet.general.rimp.preq.preqform.preqcreate.CreatePurchReqComp\CreatePurchReqCompView_Create_Purch_Req_IF.xdp
Build plugin finished at 2008-10-02 15:31:45 GMT12:00 (NZDT)+
Total build plugin runtime: 31.769 seconds
Build finished with ERROR
Could you please tell me why I am getting this error, and how do I resolve this one?
Thanks,
AjayWas never able to find an answer for this on SDN and haven't had the issue in a long time so I'm closing question.
Maybe you are looking for
-
This is the error message I receive; "SQL Server setup media does not support the language of the OS or does not have the SQL Server-English language version installation files. Use the matching language-specific SQL Server media, or install both the
-
GetDeviceList() works in an Application, but not in an Applet.
When running in a local application, getDeviceList() successfully returns 1 capture device, that's all good. However, when running in a self-signed applet on the same computer, getDeviceList() returns NULL; it cannot find any devices. Does the applet
-
Cannot use GET_FILE_NAME in Form Server
Hi, I'm writing webform using form60 running on application server (IAS9i ), and I have some problems. Is there anyone can help me ? 1. I cannot use built-in function GET_FILE_NAME on webform. Why and what function can I use instead ? 2. I'd like to
-
AirPort Utility "wizard" setup resets my password
Hi, I've been having a bizarre problem setting up my Airport network and would appreciate any advice! Basically, after I set up my express to extend a wireless network created by my extreme, the Express's configuration password gets reset. Here's the
-
In the payslip 9008 deduction is not displayed
Hi , 9008 is a custom deduction created . it is being getting deducted but not in displaying in the pay slip regards, Rajesh