Compilation Errors: operations on getters
while making my session bean, i get two erreors that i dont understand:
1-
Error(124,42): method +(java.lang.Long, int) not found in class model.SessionEJBMySessionBean
-----my code is:
id.setIdvalue(id.getIdvalue()+1); //increment the value of the id
----i tried to correct it like that
id.setIdvalue(id.getIdvalue()+new Long(1));
----but i got the error:
Error(229,34): method +(java.lang.Long, java.lang.Long) not found in class model.SessionEJBMySessionBean
2-
Error(182,106): method <= (java.lang.Long, java.lang.Long) not found in class model.SessionEJBMySessionBean
---my code is:
if (MyObject.getAttribut() >= MySecObject.getAttributminimale() && MyObject.getAttribut() <= MySecObject.getAttributmaximale())
//compare the value of an attribut to two others in a second object
---i dont understand if there is a problem with the getters or what??
i need help.
thank u.
regards.
Concerning question 1: if id.getIdvalue() returns a Long object you should use the longValue() to get the primitive value and then you can add an int to it.
Ronald
Similar Messages
-
Compilation Error - Operation != is illegal with Forte 6 U1
when I compiled the following source code, I get the error below. I believe i am missing something basic. I ompile on Solaris 8/Forte 6Update1.
Compilation Error message:
"tmp.C", line 73: Error: The operation "PhoneBook != PhoneBook" is illegal.
1 Error(s) detected.
//Source Code
#include <map>
#include <string>
#include <iostream>
#include <utility>
struct PhoneBook
//constructors
PhoneBook(long number, std::string address) ;
PhoneBook(const PhoneBook& rPB) ;
//assignment operator
PhoneBook& operator=(const PhoneBook& rPB) ;
//destructor
~PhoneBook() ;
//comparison operators
bool operator<(const PhoneBook& rPB) ;
bool operator==(const PhoneBook& rPB) const;
//friend function
friend std::ostream& operator<<(std::ostream& os, const PhoneBook& rPB) ;
//data
long m_Number ;
std::string m_Address ;
PhoneBook::PhoneBook(long number, std::string address)
m_Number = number ;
m_Address = address ;
PhoneBook::PhoneBook(const PhoneBook& rPB)
m_Number = rPB.m_Number ;
m_Address = rPB.m_Address ;
PhoneBook::~PhoneBook()
bool PhoneBook::operator==(const PhoneBook& rPB) const
return (m_Number == rPB.m_Number) ;
PhoneBook& PhoneBook::operator=(const PhoneBook& rPB)
m_Number = rPB.m_Number ;
m_Address = rPB.m_Address ;
return *this ;
bool PhoneBook::operator<(const PhoneBook& rPB)
return (m_Number < rPB.m_Number) ;
using namespace std;
using namespace std::rel_ops;
int main()
PhoneBook p1(1234, "foobar");
PhoneBook p2(2341, "oobarf");
if (p2 != p1)
cout<<"Not equal" <<endl;
} else {
cout<<"Not equal" <<endl;
return 0;
//Source Code
thanks
easwarThis has been fixed in Sun One Studio 8, Compiler Collection.
- Rose -
Getting Compilation error when used SET or MULTISET operator on nested tabl
Dear All,
I am getting Compilation error when used SET or MULTISET operator on nested tables inside a procedure.
This is working fine in other DB installations of 10g but does not work in another 10g DB.
it says "wrong number of parameter or datatype used in SET"
Can any one suggest what went wrong here?
Thanks in advance.Can any one suggest what went wrong here?Only if you would post the query and Oracle versions on both databases.
Besides, this forum deals with issues in Oracle product installation. So post this query in SQL PL/SQL forum for better response. -
Compilation error when used SET or MULTISET operator on nested tables
Dear All,
I am getting Compilation error when used SET or MULTISET operator on nested tables inside a procedure.
This is working fine in other DB installations of 10g but does not work in another 10g DB.
it says "wrong number of parameter or datatype used in SET"
Can any one suggest what went wrong here?
Thanks in advance.Hi,
Thanks for ur reply...
Since MULTISET and SET operators are the new additions in base 10g release for manipulation of nested tables data, I am surprised that same is working in similar 5 DBs installations with 10.2.0.1.0 version, but does not work in the sixth.
SET and MULTISET operators are used inside the PL/SQL procedure which is getting compiled in the above mentioned 5 DBs but not in sixth DB.
it gives
On line: 3112
PLS-00306: wrong number or types of arguments in call to 'SET'
Hope this clarifies the issue... -
This is a weird problem with the VBE 6.5 in Office 2011, running natively on a Mac.
Sometimes, yet often, when I select a word by double clicking on it or a line by highlighting that line in the editor and then copy/paste it somewhere else in the code, the compiler throws the error "Compile error: Invalid character"
The thing is, what I see has been pasted is exactly the same as the source text. However, if I then paste the same clipboard item to a text editor, I can see that there is an 'invisible' character at the end of the string which is counted in the text editor
where the cursor is shifted past it but does not shown on the screen!!!
Back in the VBE, if I select a line that is dubious and drag it, the semi transparent dragged text has a '>' character on a new line.
In some copy/paste cases, the compiler doesn't see an error but the code doesn't work as expected and I have spent hours debugging stuff that has invisible characters in it (the hardest debugging I've ever had to do!).
I'm not sure if this example will paste correctly into the forum but this looks like 19 characters but is in fact 20 as there is the offending copy/paste invisible character between 'Test' and '.'
<code>Test.Value = False</code>
This seems to be a major oversight in the code of the VBE 6.5 so are Microsoft aware of this and when is it due to be fixed?
Jamie.I had this exact issue. This is a terrible bug. The code looks perfect, but there are hidden characters that throw compiler errors. Thanks for the quick fix, Microsoft.
-
Compiled Error in Xcode for iphone game and other questions
Dear all,
Hi, I am a newbie of xcode and objective-c and I have a few questions regarding to the code sample of a game attached below. It is written in objective C, Xcode for iphone4 simulator. It is part of the code of 'ball bounce against brick" game. Instead of creating the image by IB, the code supposes to create (programmatically) 5 X 4 bricks using 4 different kinds of bricks pictures (bricktype1.png...). I have the bricks defined in .h file properly and method written in .m.
My questions are for the following code:
- (void)initializeBricks
brickTypes[0] = @"bricktype1.png";
brickTypes[1] = @"bricktype2.png";
brickTypes[2] = @"bricktype3.png";
brickTypes[3] = @"bricktype4.png";
int count = 0;`
for (int y = 0; y < BRICKS_HEIGHT; y++)
for (int x = 0; x < BRICKS_WIDTH; x++)
- Line1 UIImage *image = [ImageCache loadImage:brickTypes[count++ % 4]];
- Line2 bricks[x][y] = [[[UIImageView alloc] initWithImage:image] autorelease];
- Line3 CGRect newFrame = bricks[x][y].frame;
- Line4 newFrame.origin = CGPointMake(x * 64, (y * 40) + 50);
- Line5 bricks[x][y].frame = newFrame;
- Line6 [self.view addSubview:bricks[x][y]]
1) When it is compiled, error "ImageCache undeclared" in Line 1. But I have already added the png to the project. What is the problem and how to fix it? (If possible, please suggest code and explain what it does and where to put it.)
2) How does the following in Line 1 work? Does it assign the element (name of .png) of brickType to image?
brickTypes[count ++ % 4]
For instance, returns one of the file name bricktype1.png to the image object? If true, what is the max value of "count", ends at 5? (as X increments 5 times for each Y). But then "count" will exceed the max 'index value' of brickTypes which is 3!
3) In Line2, does the image object which is being allocated has a name and linked with the .png already at this line *before* it is assigned to brick[x][y]?
4) What do Line3 and Line5 do? Why newFrame on left in line3 but appears on right in Line5?
5) What does Line 4 do?
Thanks
NorthHi North -
macbie wrote:
1) When it is compiled, error "ImageCache undeclared" in Line 1. ...
UIImage *image = [ImageCache loadImage:brickTypes[count++ % 4]]; // Line 1
The compiler is telling you it doesn't know what ImageCache refers to. Is ImageCache the name of a custom class? In that case you may have omitted #import "ImageCache.h". Else if ImageCache refers to an instance of some class, where is that declaration made? I can't tell you how to code the missing piece(s) because I can't guess the answers to these questions.
Btw, if the png file images were already the correct size, it looks like you could substitute this for Line 1:
UIImage *image = [UIImage imageNamed:brickTypes[count++ % 4]]; // Line 1
2) How does the following in Line 1 work? Does it assign the element (name of .png) of brickType to image?
brickTypes[count ++ % 4]
Though you don't show the declaration of brickTypes, it appears to be a "C" array of NSString object pointers. Thus brickTypes[0] is the first string, and brickTypes[3] is the last string.
The expression (count++ % 4) does two things. Firstly, the trailing ++ operator means the variable 'count' will be incremented as soon as the current expression is evaluated. Thus 'count' is zero (its initial value) the first time through the inner loop, its value is one the second time, and two the third time. The following two code blocks do exactly the same thing::
int index = 0;
NSString *filename = brickTypes[index++];
int index = 0;
NSString *filename = brickTypes[index];
index = index + 1;
The percent sign is the "modulus operator" so x%4 means "x modulo 4", which evaluates to the remainder after x is divided by 4. If x starts at 0, and is incremented once everytime through a loop, we'll get the following sequence of values for x%4: 0, 1, 2, 3, 0, 1, 2, 3, 0, 1, ...
So repeated evaluation of (brickTypes[count++ % 4]) produces the sequence: @"bricktype1.png", @"bricktype2.png", @"bricktype3.png", @"bricktype4.png", @"bricktype1.png", @"bricktype2.png", @"bricktype3.png", @"bricktype4.png", @"bricktype1.png", @"bricktype2.png", ...
3) In Line2, does the image object which is being allocated has a name and linked with the .png already at this line *before* it is assigned to brick[x][y]?
Line 2 allocs an object of type UIImageView and specifies the data at 'image' as the picture to be displayed by the new object. Since we immediately assign the address of the new UIImageView object to an element of the 'bricks' array, that address isn't stored in any named variable.
The new UIImageView object is not associated with the name of the png file from which its picture originated. In fact the UIImage object which inited the UIImageView object is also not associated with that png filename. In other words, once a UIImage object is initialized from the contents of an image file, it's not possible to obtain the name of that file from the UIImage object. Note when you add a png media object to a UIImageView object in IB, the filename of the png resource will be retained and used to identify the image view object. But AFAIK, unless you explicitly save it somewhere in your code, that filename will not be available at run time.
4) What do Line3 and Line5 do? Why newFrame on left in line3 but appears on right in Line5?
5) What does Line 4 do?
In Line 2 we've set the current element of 'bricks' to the address of a new UIImageView object which will display one of the 4 brick types. By default, the frame of a UIImageView object is set to the size of the image which initialized it. So after Line 2, we know that frame.size for the current array element is correct (assuming the image size of the original png file was what we want to display, or assuming that the purpose of [ImageCache loadImage:...] is to adjust the png size).
Then in Line 3, we set the rectangle named newFrame to the frame of the current array element, i.e. to the frame of the UIImageView object whose address is stored in the current array element. So now we have a rectangle whose size (width, height) is correct for the image to be displayed. But where will this rectangle be placed on the superview? The placement of this rectangle is determined by its origin.
Line 4 computes the origin we want. Now we have a rectangle with both the correct size and the correct origin.
Line 5 sets the frame of the new UIImageView object to the rectangle we constructed in Lines 3 and 4. When that object is then added to the superview in Line 6, it will display an image of the correct size at the correct position.
- Ray -
Compilation is ok, but the deployment is giving this error messages:
Error in executing a process for Flex compilation, Error 1004: Operator '%' must be followed by an operand
(D:usrsapJ2EJC01j2eeclusterserverGUIMachine_Business_PackagesTest_59674FLEX_COMPILATION_FOLEDRAAD8G.mxml:154)
Error 1004: Operator '%' must be followed by an operand
(D:usrsapJ2EJC01j2eeclusterserverGUIMachine_Business_PackagesTest_59674FLEX_COMPILATION_FOLEDRAAD8G.mxml:154)
Error 1004: Operator '%' must be followed by an operand
(D:usrsapJ2EJC01j2eeclusterserverGUIMachine_Business_PackagesTest_59674FLEX_COMPILATION_FOLEDRAAD8G.mxml:154)
Error 1033: ')' expected
(D:usrsapJ2EJC01j2eeclusterserverGUIMachine_Business_PackagesTest_59674FLEX_COMPILATION_FOLEDRAAD8G.mxml:154)
Error 1033: ')' expected
(D:usrsapJ2EJC01j2eeclusterserverGUIMachine_Business_PackagesTest_59674FLEX_COMPILATION_FOLEDRAAD8G.mxml:154)
Failed to compile AAD8G.mxml
I do not succeed in finding the cause of this errorCompilation is ok, but the deployment is giving this error messages:
Error in compiling Flex application: Error 1004: Operator '=' must be followed by an operand
(/usr/sap/NW7/DVEBMGS00/j2ee/cluster/server0/GUIMachine_Business_Packages/Poc_59929/FLEX_COMPILATION_FOLDER/AADHE1_P.mxml:374)
Error 1142: The class 'vc.custom.SkinAssetDependency' could not be loaded.
(/usr/sap/NW7/DVEBMGS00/j2ee/cluster/server0/GUIMachine_Business_Packages/Poc__59929/FLEX_COMPILATION_FOLDER/AADHDR.mxml)
Failed to compile AADHDR.mxml
Edited by: Rafael Ovidio on Feb 15, 2008 10:28 AM -
Getting a compilation error when deploying a web service to OC4J.
The following are the error that I got from Oracle AS server console:
[Feb 5, 2007 11:31:14 AM] Application Deployer for edsssaws STARTS.
[Feb 5, 2007 11:31:14 AM] Copy the archive to D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws.ear
[Feb 5, 2007 11:31:14 AM] Initialize D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws.ear begins...
[Feb 5, 2007 11:31:14 AM] Unpacking edsssaws.ear
[Feb 5, 2007 11:31:14 AM] Done unpacking edsssaws.ear
[Feb 5, 2007 11:31:14 AM] Unpacking edsssaws-web.war
[Feb 5, 2007 11:31:16 AM] Done unpacking edsssaws-web.war
[Feb 5, 2007 11:31:16 AM] Initialize D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws.ear ends...
[Feb 5, 2007 11:31:16 AM] Starting application : edsssaws
[Feb 5, 2007 11:31:16 AM] Initializing ClassLoader(s)
[Feb 5, 2007 11:31:16 AM] Initializing EJB container
[Feb 5, 2007 11:31:16 AM] Loading connector(s)
[Feb 5, 2007 11:31:16 AM] Starting up resource adapters
[Feb 5, 2007 11:31:16 AM] Initializing EJB sessions
[Feb 5, 2007 11:31:16 AM] Committing ClassLoader(s)
[Feb 5, 2007 11:31:16 AM] Initialize edsssaws-web begins...
[Feb 5, 2007 11:31:16 AM] Initialize edsssaws-web ends...
[Feb 5, 2007 11:31:16 AM] Started application : edsssaws
[Feb 5, 2007 11:31:16 AM] Binding web application(s) to site default-web-site begins...
[Feb 5, 2007 11:31:16 AM] Binding edsssaws-web web-module for application edsssaws to site default-web-site under context root edsssaws
[Feb 5, 2007 11:31:35 AM] Operation failed with error: Error compiling :D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws\edsssaws-web: compilation error occurred
I don't have any problem to build the webservice using oracle:assemble command in ant script, nor compilation error in the build time.
The error log shows as the following:
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2007-02-05T11:31:35.392-06:00</TSTZ_ORIGINATING>
<COMPONENT_ID>oc4j</COMPONENT_ID>
<MSG_TYPE TYPE="TRACE"></MSG_TYPE>
<MSG_LEVEL>16</MSG_LEVEL>
<HOST_ID>w2gzfdx801</HOST_ID>
<HOST_NWADDR>148.94.36.32</HOST_NWADDR>
<MODULE_ID>admin.jmx.client.EventManager</MODULE_ID>
<THREAD_ID>26</THREAD_ID>
<USER_ID>SYSTEM</USER_ID>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>148.94.36.32:33615:1170696695392:16</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>1 events to be dispatched for: oracle.oc4j.admin.management.mejb.MEjb@a8c31b and domain: oc4j-w2gzfdx801.amer.corp.eds.com-12401-default</MSG_TEXT>
</PAYLOAD>
</MESSAGE>
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2007-02-05T11:31:35.392-06:00</TSTZ_ORIGINATING>
<COMPONENT_ID>oc4j</COMPONENT_ID>
<MSG_TYPE TYPE="TRACE"></MSG_TYPE>
<MSG_LEVEL>1</MSG_LEVEL>
<HOST_ID>w2gzfdx801</HOST_ID>
<HOST_NWADDR>148.94.36.32</HOST_NWADDR>
<MODULE_ID>admin.jmx.client.CoreRemoteMBeanServer</MODULE_ID>
<THREAD_ID>26</THREAD_ID>
<USER_ID>SYSTEM</USER_ID>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>148.94.36.32:33615:1170696695392:16</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>Dispatching event type: deploy.edsssaws and message: Application Deployer for edsssaws FAILED. to listener with id: 0 on MBeanServer proxy: oracle.oc4j.admin.management.mejb.MEjb@a8c31b</MSG_TEXT>
</PAYLOAD>
</MESSAGE>
<MESSAGE>
<HEADER>
<TSTZ_ORIGINATING>2007-02-05T11:31:35.392-06:00</TSTZ_ORIGINATING>
<COMPONENT_ID>oc4j</COMPONENT_ID>
<MSG_TYPE TYPE="ERROR"></MSG_TYPE>
<MSG_LEVEL>1</MSG_LEVEL>
<HOST_ID>w2gzfdx801</HOST_ID>
<HOST_NWADDR>148.94.36.32</HOST_NWADDR>
<MODULE_ID>admin.deploy.spi.status.ProgressObjectImpl</MODULE_ID>
<THREAD_ID>26</THREAD_ID>
<USER_ID>SYSTEM</USER_ID>
</HEADER>
<CORRELATION_DATA>
<EXEC_CONTEXT_ID><UNIQUE_ID>148.94.36.32:33615:1170696695392:16</UNIQUE_ID><SEQ>0</SEQ></EXEC_CONTEXT_ID>
</CORRELATION_DATA>
<PAYLOAD>
<MSG_TEXT>java.lang.InstantiationException: Error compiling :D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws\edsssaws-web: compilation error occurred</MSG_TEXT>
<SUPPL_DETAIL><![CDATA[oracle.oc4j.admin.jmx.shared.exceptions.InternalException: java.lang.InstantiationException: Error compiling :D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws\edsssaws-web: compilation error occurred
at oracle.oc4j.admin.jmx.shared.deploy.NotificationUserData.<init>(NotificationUserData.java:107)
at oracle.oc4j.admin.internal.Notifier.reportError(Notifier.java:429)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:123)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
at oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:819)
at java.lang.Thread.run(Thread.java:595)
Caused by: oracle.oc4j.admin.internal.DeployerException: java.lang.InstantiationException: Error compiling :D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws\edsssaws-web: compilation error occurred
at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:214)
at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:96)
at oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:541)
at oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:197)
at oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
... 4 more
Caused by: java.lang.InstantiationException: Error compiling :D:\product\10.1.3\OracleAS_1\j2ee\home\applications\edsssaws\edsssaws-web: compilation error occurred
at com.evermind.server.http.WrapperClassGenerator.generateWebServiceArts(WrapperClassGenerator.java:98)
at com.evermind.server.http.HttpApplication.generateWebServiceArtifacts(HttpApplication.java:8403)
at com.evermind.server.http.HttpApplication.populateLoaderWithWebServicesDeploymentCache(HttpApplication.java:5465)
at com.evermind.server.http.HttpApplication.populateLoader(HttpApplication.java:5394)
at com.evermind.server.http.HttpApplication.initClassLoader(HttpApplication.java:5333)
at com.evermind.server.http.HttpApplication.<init>(HttpApplication.java:645)
at com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:428)
at com.evermind.server.Application.getHttpApplication(Application.java:512)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1975)
at com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.<init>(HttpSite.java:1894)
at com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1591)
at oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:206)
... 8 more
]]></SUPPL_DETAIL>
</PAYLOAD>
</MESSAGE>
Any idea why it happened?
Thanks,
JasonHello,
I do not see why you have this error, is it the only log entry that you have? Anything in the application.log?
Can you send me the ear? tugdual [dot] grall [at] oracle [dot] com
Regards
Tugdual Grall -
Compilation Error while trying to Deploy my Web Service
My main problem right now is that I can build my classes without error but when it is time to deploy the web service with Jdeveloper I am getting a compilation error without to get info about what is the error itself:
Started application : RTAService-RTAService-WS
Binding web application(s) to site default-web-site begins...
Binding WebServices web-module for application RTAService-RTAService-WS to site default-web-site under context root RTAService-RTAService-context-root
Operation failed with error:
Error compiling :C:\Stephane\Jdeveloper\jdevstudio10131\j2ee\home\applications\RTAService-RTAService-WS\WebServices: compilation error occurred
I don’t know where to look at for this issue. I don't get information about what compilation error it is.
I am using the embedded oc4J application server coming with Jdeveloper Studio Edition 10.1.3.1.0_NT_0610009.1404.3984.
I was able with the same configuration to deploy a very simple Web Service you have in your tutorials named GetDates
This is the Class I try to deploy has a web service:
package rtaservice;
import javax.jws.WebService;
@WebService(serviceName = "RTAWebService")
public class RTAWebService {
public RTAWebService() {
public TransactionResult Process(Transaction Trans) {
TransactionResult TransResult;
TransResult = new TransactionResult();
TransResult.Account_type ="";
TransResult.Address_Line1 ="";
TransResult.Amount ="";
TransResult.Approval_Cd ="";
TransResult.Approval_Cd_returned ="";
TransResult.Approved ="";
TransResult.Avs_Response_C ="";
TransResult.Avs_Response_M ="";
TransResult.BCFerries_Error_description ="";
TransResult.BCFerries_Processing_Mode =true;
TransResult.BCFerries_Resp_Code ="";
TransResult.BCFerries_Trans_approved =true;
TransResult.CardType ="";
TransResult.CVV_Code ="";
TransResult.CVV_response ="";
TransResult.DateTime ="";
TransResult.Display_Msg ="";
TransResult.ExtendedOPId ="";
TransResult.ID_Seq_Number ="";
TransResult.Invoice_num ="";
TransResult.Invoice_num_returned ="";
TransResult.ISOResponseCode ="";
TransResult.OperatorID ="";
TransResult.OperatorLanguage ="";
TransResult.OperatorMessage ="";
TransResult.Receipt_Msg ="";
TransResult.Receipt_Msg_Account ="";
TransResult.ReceiptRefNum ="";
TransResult.Response_Code ="";
TransResult.RFU1 ="";
TransResult.RFU2 ="";
TransResult.Statement_Desc ="";
TransResult.Term_ID ="";
TransResult.Term_ID_Group ="";
TransResult.Track2_Acc ="";
TransResult.Trans_Code ="";
TransResult.Transaction_Handle ="";
TransResult.TransactionCounter ="";
TransResult.TransactionHandle ="";
TransResult.Zip ="";
TransResult.Account_type_returned ="";
return TransResult;
There are 2 others classes to define the objects Transaction and Transaction Result
package rtaservice;
public class Transaction {
public Transaction() {
// Eigen parameters
public String Invoice_num; // format AA XXXXXXXX with AA application name and XXXXXXXX unique invoice num
public String Term_ID; // should be the merchant ID
public String Term_ID_Group; // not used
public String Trans_Code; // should be all the time 27 right now
public String Track2_Acc; // ! there is a specific format to respect here
// Track2_Acc contains the data as read by a card reader from track 2 starting by ;
// for manually entered card the format is M<Credit card number>=<Expiry Date(YYMM)>0?
public String Amount; // in Cents
public String Approval_Cd;
public String DateTime; // format is YYYYMMDDHHMMSS
public String OperatorID; // Optional
public String ExtendedOPId; // Optional
public String OperatorLanguage; // Optional
public String Account_type; // not use for now
public String Statement_Desc; // not use for now
public String CVV_Code;
public String Address_Line1; // Optional
public String Zip; // Optional
public String TransactionHandle; // Optional
// additional parameters for future use
public String RFU1; // Reserved for future use
public String RFU2; // Reserved for future use
package rtaservice;
public class TransactionResult extends Transaction {
public TransactionResult() {
public String BCFerries_Resp_Code;
public String BCFerries_Error_description;
public Boolean BCFerries_Trans_approved;
public Boolean BCFerries_Processing_Mode;
// Eigen parameters
public String ID_Seq_Number;
public String Display_Msg; // Optional
public String Receipt_Msg; // Optional
public String Response_Code;
public String Approval_Cd_returned; // Optional
public String ISOResponseCode;
public String ReceiptRefNum;
public String TransactionCounter;
public String Approved;
public String OperatorMessage;
public String Receipt_Msg_Action; // Optional
public String Receipt_Msg_Account;
public String CardType;
public String Invoice_num_returned; // Optional
public String Account_type_returned;
public String CVV_response;
public String Avs_Response_C;
public String Avs_Response_M;
public String Transaction_Handle; // Optional
Thanks for your timeHi mythri.
Did you find a way out of this error? Could you share the solution with me? Because I am facing a problem that looks just like the one you had.
Thanks in advance.
Renan -
Compilation error when deploying EAR file on standalone OC4J...
Hi All,
I am getting the following error when trying to deploy an EAR File describing a web service from the Jdeveloper IDE to the stanalone OC4J server instance.
==========================================================
Uploading file JavaWebServiceEmp-GetDates-WS.ear ...
Application Deployer for JavaWebServiceEmp-GetDates-WS STARTS.
Copy the archive to C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear
Initialize C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear begins...
Unpacking JavaWebServiceEmp-GetDates-WS.ear
Done unpacking JavaWebServiceEmp-GetDates-WS.ear
Unpacking WebServices.war
Done unpacking WebServices.war
Initialize C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS.ear ends...
Starting application : JavaWebServiceEmp-GetDates-WS
Initializing ClassLoader(s)
Initializing EJB container
Loading connector(s)
Starting up resource adapters
Initializing EJB sessions
Committing ClassLoader(s)
Initialize WebServices begins...
Initialize WebServices ends...
Started application : JavaWebServiceEmp-GetDates-WS
Binding web application(s) to site default-web-site begins...
Binding WebServices web-module for application JavaWebServiceEmp-GetDates-WS to site default-web-site under context root JavaWebServiceEmp-GetDates-context-root
Operation failed with error:
Error compiling :C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home\applications\JavaWebServiceEmp-GetDates-WS\WebServices: compilation error occurred
Deployment failed
Elapsed time for deployment: 1 minute, 50 seconds
==========================================================
Please could somebody help me out with this? Basically I am not able to understand how to deploy the EAR file created under the MyWork folder under jdeveloper\jdev to the applications folder of j2ee\home. I am new to both EAR deployment as well as web services and would like to get a good understanding of the working of a web service which includes SOAP components and the like.
Any help with regards to building and deploying a web service on standalone OC4J would be appreciated. Thanks a lot.Initially I followed the following steps to start up OC4J:-
Settings :-
1) Jdeveloper is setup under C:\Lester\Testing as Jdev10.1.3 folder
2) I downloaded the extended oc4j zip folder and unzipped it under a new folder oc4j at the location C:\Lester\Testing\Jdev10.1.3
Steps followed to run oc4j and deploy application
1) Setup a standalone oc4j from the jdeveloper ide giving C:\Lester\Testing\Jdev10.1.3\oc4j as the root folder for oc4j.
2) While doing step 1 added password and deployed it. Changed server.xml under C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/config
to include the following:-
<shared-library name="global.libraries" version="1.0" library-compatible="true">
<code-source path="C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/applib"/>
</shared-library>
AND
<java-compiler name="javac" in-process="false" options="-J-Xmx1024m -encoding UTF8" bindir="C:\Jdeveloper\jdk" extdirs="C:\Jdeveloper/jdk" />
3) Opened a command prompt and went to the location C:\Lester\Testing\JDev10.1.3\oc4j\j2ee\home and ran the following command:-
--> java -jar oc4j.jar
4) Deployment: Then I deployed my primewebservice application from command prompt at C:\Lester\Smart Cylinder\Example code\prime\PrimeNumberService>
using:-
--> java -jar C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/admin.jar ormi://172.20.13.164:8888 oc4jadmin welcome -deploy -file PrimeNumberService.ear -deploymentName DocStyleWebService
5) Web Binding: Then I bound my primewebservice application from command prompt at C:\Lester\Smart Cylinder\Example code\prime\PrimeNumberService>
using:-
--> java -jar C:\Lester/Testing/JDev10.1.3/oc4j/j2ee/home/admin.jar ormi://172.20.13.164:8888 oc4jadmin welcome -bindWebApp DocStyleWebService PrimeNumberService_web http-web-site /docws
6) Steps 4 and 5 went through without error.
7) However when trying to access the web service using the following link I get the standard HTTP 404 (Page not found) error:-
http://localhost:8888/docws/prime
This was before I tried deploying the web service through jdeveloper IDE.
I had tried the document web service given at the following link:-
http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/docservice/index.html
from the web services how to links
http://www.oracle.com/technology/sample_code/tech/java/codesnippet/webservices/index.html
Please could somebody help me out? Also periodically I recieve the ojc.exe not found error when trying to deploy an application using jdeveloper ide. There are two conflicting jdeveloper versions one comes with this exe and one without.
Message was edited by:
Lester N -
BPEL Compilation Error: Load of wsdl "with Message part element undefined..
Hi Friends,
I am getting following error while compiling my BPEL process:
Error: Load of wsdl "FTPWrite.wsdl with Message part element undefined in wsdl [file:/D:/MyData/_MyProjects/052_Amazon_MetadataInterface/001_SVN/002_Intl/trunc/MetadataInterfaceIntl_2013Apr15_WorkingCode/MetadataInterface_Intl/MetadataInterface_Intl.wsdl] part name = reply type = {http://com.fox.metadata/MetadataInterfaceIntl/MetadataInterface_Intl/types}processResponse" failed
However the reply message is already defined in the MetadataInterface_Intl.wsdlas shown below:
Code for MetadataInterface_Intl.wsdl::::
"<?xml version= '1.0' encoding= 'UTF-8' ?>
<wsdl:definitions
name="MetadataInterface_Intl"
targetNamespace="http://xmlns.oracle.com/MetadataInterfaceIntl/MetadataInterface_Intl/MetadataInterface_Intl"
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:inp1="http://com.fox.metadata/MetadataInterfaceIntl/MetadataInterface_Intl/types"
xmlns:tns="http://xmlns.oracle.com/MetadataInterfaceIntl/MetadataInterface_Intl/MetadataInterface_Intl"
>
<wsdl:types>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:import namespace="http://com.fox.metadata/MetadataInterfaceIntl/MetadataInterface_Intl/types" schemaLocation="xsd/Metadata_Interface.xsd"/>
</xsd:schema>
</wsdl:types>
<wsdl:message name="requestMessage">
<wsdl:part name="request" element="inp1:process"/>
</wsdl:message>
*<wsdl:message name="replyMessage">*
*<wsdl:part name="reply" element="inp1:processResponse"/>*
*</wsdl:message>*
<wsdl:portType name="execute_ptt">
<wsdl:operation name="execute">
<wsdl:input message="tns:requestMessage"/>
<wsdl:output message="tns:replyMessage"/>
</wsdl:operation>
</wsdl:portType>
</wsdl:definitions>"
Surprisingly, this same code was compiling file last week and now I have no clue why I am getting this error. Can someone please shade some light on this issue?
Thanks,
Sachin.Hello
I have had the same problem in Oracle BPM and solved it using the following steps:
1- In your application navigator window, expand the project that contains the business rule.
2- In the SOA Content, double click on your wsdl file.
3- When the file opens, select the schema view from the bottom of the page.
4- In the schema view, expand all the schema nodes and check if you see any values in red. If you see one, that value has probably caused the error and you should correct it using the property inspector window.
In my case, the schema location value was set to a wrong path, so I changed it and the error resolved.
Also, some error that appear as warning in the rule editor will show as compile error later, such as input types not being used and such, so those must be resolved before compiling.
Hope that was helpful
good luck -
Hi,
I have compiled several programs for sbRIOs previously but have not run into compilation errors before. I can't seem to find any support to see what is actually going poorly. Any help with this would be appreciated!
The Compilation Status summary is as follows:
LabVIEW FPGA: The compilation failed due to a xilinx error.
Details:
ERROR:HDLCompiler:432 - "C:\NIFPGA\jobs\R6n310u_Z1R8lYC\NiFpgaAG_00000031_SequenceFrame.vhd" Line 87: Formal <eiosignal> has no actual or default value.
INFO:TclTasksC:1850 - process run : Synthesize - XST is done.
INFO:HDLCompiler:1408 - "C:\NIFPGA\jobs\R6n310u_Z1R8lYC\NiFpgaAG_00000032_CustomNode.vhd" Line 18. eiosignal is declared here
ERROR:HDLCompiler:432 - "C:\NIFPGA\jobs\R6n310u_Z1R8lYC\NiFpgaAG_00000031_SequenceFrame.vhd" Line 106: Formal <eiosignal> has no actual or default value.
INFO:HDLCompiler:1408 - "C:\NIFPGA\jobs\R6n310u_Z1R8lYC\NiFpgaAG_00000033_CustomNode.vhd" Line 18. eiosignal is declared here
ERROR:HDLCompiler:432 - "C:\NIFPGA\jobs\R6n310u_Z1R8lYC\NiFpgaAG_00000031_SequenceFrame.vhd" Line 125: Formal <eiosignal> has no actual or default value.
INFO:HDLCompiler:1408 - "C:\NIFPGA\jobs\R6n310u_Z1R8lYC\NiFpgaAG_00000034_CustomNode.vhd" Line 18. eiosignal is declared here
ERROR:HDLCompiler:432 - "C:\NIFPGA\jobs\R6n310u_Z1R8lYC\NiFpgaAG_00000031_SequenceFrame.vhd" Line 144: Formal <eiosignal> has no actual or default value.
INFO:HDLCompiler:1408 - "C:\NIFPGA\jobs\R6n310u_Z1R8lYC\NiFpgaAG_00000035_CustomNode.vhd" Line 18. eiosignal is declared here
ERROR:HDLCompiler:432 - "C:\NIFPGA\jobs\R6n310u_Z1R8lYC\NiFpgaAG_00000031_SequenceFrame.vhd" Line 163: Formal <eiosignal> has no actual or default value.
INFO:HDLCompiler:1408 - "C:\NIFPGA\jobs\R6n310u_Z1R8lYC\NiFpgaAG_00000036_CustomNode.vhd" Line 18. eiosignal is declared here
ERROR:HDLCompiler:432 - "C:\NIFPGA\jobs\R6n310u_Z1R8lYC\NiFpgaAG_00000031_SequenceFrame.vhd" Line 182: Formal <eiosignal> has no actual or default value.
INFO:HDLCompiler:1408 - "C:\NIFPGA\jobs\R6n310u_Z1R8lYC\NiFpgaAG_00000037_CustomNode.vhd" Line 18. eiosignal is declared here
ERROR:HDLCompiler:432 - "C:\NIFPGA\jobs\R6n310u_Z1R8lYC\NiFpgaAG_00000031_SequenceFrame.vhd" Line 201: Formal <eiosignal> has no actual or default value.
INFO:HDLCompiler:1408 - "C:\NIFPGA\jobs\R6n310u_Z1R8lYC\NiFpgaAG_00000038_CustomNode.vhd" Line 18. eiosignal is declared here
ERROR:HDLCompiler:432 - "C:\NIFPGA\jobs\R6n310u_Z1R8lYC\NiFpgaAG_00000031_SequenceFrame.vhd" Line 220: Formal <eiosignal> has no actual or default value.
INFO:HDLCompiler:1408 - "C:\NIFPGA\jobs\R6n310u_Z1R8lYC\NiFpgaAG_00000039_CustomNode.vhd" Line 18. eiosignal is declared here
ERROR:HDLCompiler:854 - "C:\NIFPGA\jobs\R6n310u_Z1R8lYC\NiFpgaAG_00000031_SequenceFrame.vhd" Line 50: Unit <vhdl_labview> ignored due to previous errors.
VHDL file C:\NIFPGA\jobs\R6n310u_Z1R8lYC\NiFpgaAG_00000031_SequenceFrame.vhd ignored due to errors
-->
Total memory usage is 189944 kilobytes
Number of errors : 9 ( 0 filtered)
Number of warnings : 4 ( 0 filtered)
Number of infos : 0 ( 0 filtered)
Process "Synthesize - XST" failed
Solved!
Go to Solution.Hi DiracDeltaForce,
As a first pass, I would recommend disabling or deleting a section of code that you suspect may cause the compile error and see if you can get through synthesis. Once you get through a compile, you have at least isolated the trouble spot.
Something I would look for in your code is attempts to access the same IO node in multiple clock domains, ie inside and outside of SCTL (single-cycle timed loops), timed sequence structures, or in muliple timed structures with different clock rates. Attempting this would force LabVIEW to create arbitraion and hand-shaking logic to safely pass data between clock domains. This type of logic doesn't work in a timed structure because the hand-shaking operation takes multiple clock cycles.
If you are only using traditional sequence structures (rather than the timed sequence structures) I wouldn't suspect this type of issue.
-spex
Spex
National Instruments
To the pessimist, the glass is half empty; to the optimist, the glass is half full; to the engineer, the glass is twice as big as it needs to be... -
Labview 2011 FPGA Compile Error
Hi,
I'm new to FPGA. I want to use Labview 2011 SP1 with the Spartan 3E starter kit from Xilinx (Spartan 3E driver available from NI labview website).
I'm trying to work my way through the examples that came with the driver. I've run into the same compiler error with a number of the examples. The error is attached.
Error 7 occurred at Read from Text File in niFpgaCompileWorker_CheckForErrors.vi->niFpgaCompileWorker_JobComplete.vi->niFpgaCompile_Worker.vi:1
Possible reason(s):
LabVIEW: File not found. The file might have been moved or deleted, or the file path might be incorrectly formatted for the operating system. For example, use \ as path separators on Windows, : on Mac OS X, and / on Linux. Verify that the path is correct using the command prompt or file explorer.
C:\NIFPGA\compilation\Shift_FPGATarget_Shift_87E8371C\Spartan3EStarter.bld
I've checked the registry to ensure that the path to the compiler is correct.
Any assistance would be welcome.
Regards,
James.
Attachments:
Labview2011_FPGA_CompileError.JPG 96 KBHi,
I don't have any Xilinx tools installed - other than the ones that installed with the Labview FPGA module.
I have attached the compilation logs and output results from my attempt.
I have renamed the extension on the following files from .lvtxt to .txt
BuildResults.txt
CodeGenerationResults.txt
Regards,
James
Attachments:
BuildResults.txt 5 KB
XilinxLog.txt 42 KB -
I got this error when I tried to drop a TestStand Engine class onto my main form in VisualStudio.NET.
Compiler errors occurred when generating a Windows Forms wrapper for ActiveX control 'AxNationalInstruments.TestStand.Interop.API'
The error message went on to say that it saved the source in ./obj/AxInterop.TS.cs so I added that to the project. When I try to build it, I get this error:
The designer must create an instance of type 'System.Windows.Forms.AxHost' but it cannot because the type is declared as abstract.
I am using TestStand 3.0 evaluation, Version 7.1.3088 of Microsoft Development Environment 2003, and .NET Framework 1.1 Version 1.1.4322 SP1.
Is this aximp.exe problem?
Can someone suggest how to fix this?
Thanks,
JeffTestStand installs pre-built interop wrappers for the TestStand engine and all the TestStand UserInterface controls. You can find them in \API\DotNet\Assemblies\CurrentVersion\.
However, the best thing to do is usually to add the ApplicationMgr control to your .NET form and then call form.axApplicationMgr1.GetEngine() to get the engine. Doing this automatically adds references to the interop assemblies to your project. You can find this control in the TestStand tab of your .NET toolbox when you have a form active.
Ideally, you should start with the .NET simple operator interface examples which are in \OperatorInterfaces\NI\Simple\CSharp\ and \OperatorInterfaces\NI\Simple\VB.Net\
- James -
Compilation error, When moving from 32-bit to 64-bit code
Hello,
I m getting Compilation error, This program already compiled on 32 bit, but getting compilation error on 64 bit.
CC -V
CC: Sun C++ 5.9 SunOS_sparc Patch 124863-01 2007/07/25
make
Making dependencies...
cc -g -D__EXTENSIONS__ -D_SVID_GETTOD -I../h -I/app/oracle/product/9.2_32/precomp/public -I. -xcg92 `getconf LFS_CFLAGS | head -1` -D UT_TRACE_FUNCTION -Dbool=int -g -D -I. -m64 -xarch=sparcvis -H -w -E 2>&1 >/dev/null Bitmap.cc BitmapData.cc BitmapInputTxnStream.cc BitmapOutputStream.cc UnexpectedException.cc FieldData.cc FieldDataCollection.cc FieldDefinition.cc FieldDefinitionCollection.cc OutputFixedStream.cc ParsingEngine.cc Schema.cc Statistics.cc String.cc TraceStream.cc TxnStream.cc c_api.cc SocketImpl.cc Socket.cc ServerSocket.cc UnixSocket.cc Thread.cc test.cc | grep -v License | grep -v command | ../dvl.bin/mkdep >.depends
Dependencies updated...
CC -g -D__EXTENSIONS__ -D_SVID_GETTOD -I../h -I/app/oracle/product/9.2_32/precomp/public -I. -xcg92 `getconf LFS_CFLAGS | head -1` -D UT_TRACE_FUNCTION -Dbool=int -g -D -I. -m64 -xarch=sparcvis -c Bitmap.cc
"/opt/SUNWspro/prod/include/CC/Cstd/./limits", line 1046: Error: Multiple declaration for std::numeric_limits<int>.
"/opt/SUNWspro/prod/include/CC/Cstd/./ostream", line 192: Error: Multiple declaration for std::ostream::operator<<(int).
"/opt/SUNWspro/prod/include/CC/Cstd/./ostream", line 351: Where: While specializing "std::ostream ".
"/opt/SUNWspro/prod/include/CC/Cstd/./ostream", line 351: Where: Specialized in non-template code.
"/opt/SUNWspro/prod/include/CC/Cstd/./ostream", line 192: Error: Multiple declaration for std::wostream::operator<<(int).
"/opt/SUNWspro/prod/include/CC/Cstd/./ostream", line 354: Where: While specializing "std::wostream ".
"/opt/SUNWspro/prod/include/CC/Cstd/./ostream", line 354: Where: Specialized in non-template code.
"/opt/SUNWspro/prod/include/CC/Cstd/./istream", line 104: Error: Multiple declaration for std::istream::operator>>(int&).
"/opt/SUNWspro/prod/include/CC/Cstd/./istream", line 373: Where: While specializing "std::istream ".
"/opt/SUNWspro/prod/include/CC/Cstd/./istream", line 373: Where: Specialized in non-template code.
"/opt/SUNWspro/prod/include/CC/rw7/rw/defs.h", line 316: Error: A typedef name cannot be used in an elaborated type specifier..
"/opt/SUNWspro/prod/include/CC/rw7/rw/defs.h", line 317: Error: A typedef name cannot be used in an elaborated type specifier..
"/opt/SUNWspro/prod/include/CC/rw7/rw/defs.h", line 318: Error: A typedef name cannot be used in an elaborated type specifier..
"RuntimeException.h", line 131: Error: Function RuntimeException::~RuntimeException() can throw only the exceptions thrown by the function std::exception::~exception() it overrides.
"RuntimeException.h", line 97: Error: Could not find std::exception::exception(const char*) to initialize base class.
"RuntimeException.h", line 121: Error: xmsg is not a member of std::exception.
"Bitmap.cc", line 62: Error: Cannot return int(Bitmap::*)()const from a function that should return int.
11 Error(s) detected.
make: *** [Bitmap.o] Error 11
In Makefile CFLAGS setting are as follows,
### Setup common symbols for .depends
SRC = $(TEST_SRC)
INCLUDES = $(TEST_INC)
# clean objects, executeable, generated .pc -> .c
CLEAN = -r *.o $(PGM_EXEC) Templates.DB/* SunWS_cache/*
include $(ROOT)/h/common.mak
# The system include directory must be specifically included first because some of the
# ghost includes use system include file names (e.g., generic.h)
# Modified these section to compile on TVLAPP1HAG
CFLAGS += -D $(STDOUT_TRACE)
CFLAGS += -Dbool=int -g -D$(MAINLINE) $(OUR_COLLECTION)
#CFLAGS += -compat -Qoption ccfe -abirel=4.1
#CFLAGS += -Qoption ccfe -abirel=4.1
CFLAGS += -I. -m64 -xarch=sparcvis
#CFLAGS += -I. -mt
# Add the flag for multi-threaded apps
LDFLAGS += -lsocket -lnsl -lthread
# declare an empty macro for compiler directive flags, to be command-line
# driven (ie, for -D directives)
CCFLAGS=
CCFLAGS += -DRW_NO_CPP_RECURSION
# The following manipulation of CC and overriding the .cc.o suffix
# dependency is removed here to use what is supplied by default int
# the h/common.mak file.
#XX = CC
#CC = CC
#COMPILE = $(CC) -o $*.o $(CFLAGS) $(CCFLAGS) -c $*.cc
#.cc.o:
# $(COMPILE)
Please HelpHello,
Still I am not able to solve the error. please help me.. Please see the below code...
Error:
s3dvap983:/export/home/pshirode/rel_v95/cc_lib > make
Making dependencies...
cc -g -D__EXTENSIONS__ -D_SVID_GETTOD -I../h -I/app/oracle/product/9.2_32/precomp/public -I. `getconf LFS_CFLAGS | head -1` -D UT_TRACE_FUNCTION -g -D -I. -m64 -xarch=sparcvis -H -w -E 2>&1 >/dev/null Bitmap.cc BitmapData.cc BitmapInputTxnStream.cc BitmapOutputStream.cc UnexpectedException.cc FieldData.cc FieldDataCollection.cc FieldDefinition.cc FieldDefinitionCollection.cc OutputFixedStream.cc ParsingEngine.cc Schema.cc Statistics.cc String.cc TraceStream.cc TxnStream.cc c_api.cc SocketImpl.cc Socket.cc ServerSocket.cc UnixSocket.cc Thread.cc test.cc | grep -v License | grep -v command | ../dvl.bin/mkdep >.depends
Dependencies updated...
CC -g -D__EXTENSIONS__ -D_SVID_GETTOD -I../h -I/app/oracle/product/9.2_32/precomp/public -I. `getconf LFS_CFLAGS | head -1` -D UT_TRACE_FUNCTION -g -D -I. -m64 -xarch=sparcvis -c Bitmap.cc
"/opt/SUNWspro/prod/include/CC/rw7/rw/defs.h", line 316: Error: A typedef name cannot be used in an elaborated type specifier..
"/opt/SUNWspro/prod/include/CC/rw7/rw/defs.h", line 317: Error: A typedef name cannot be used in an elaborated type specifier..
"/opt/SUNWspro/prod/include/CC/rw7/rw/defs.h", line 318: Error: A typedef name cannot be used in an elaborated type specifier..
"RuntimeException.h", line 137: Error: Function RuntimeException::~RuntimeException() can throw only the exceptions thrown by the function std::exception::~exception() it overrides.
"RuntimeException.h", line 103: Error: Could not find std::exception::exception(const char*) to initialize base class.
"RuntimeException.h", line 127: Error: xmsg is not a member of std::exception.
"Bitmap.cc", line 62: Error: Cannot return int(Bitmap::*)()const from a function that should return int.
7 Error(s) detected.
make: *** [Bitmap.o] Error 7
96 class RuntimeException : public xmsg {
97 public:
98
99 /**
100 * Create an exception with a simple error message
101 * @param message The error message
102 */
103 RuntimeException(const char* msg) : xmsg(msg) {}
104
105 /**
106 * Create an exception with an error code, fileinfo, and message. This will
107 * produce an error message that looks like:
108 * in File:%s at line#: %d \n %error_message%
109 *
110 * @param error An integer error code. The catch block can use the error()
111 * method to examine this value
112 * @param fileinfo The location in a source file where the error occured
113 * @param msg The error message
114 * @see RuntimeException.error
115 */
116 RuntimeException(int p_error, const Fileinfo& f, const char* msg)
117 {
118 error = perror;
119 strstream buffer;
120 buffer << "in File:"
121 << f.filename()
122 << " at line#:"
123 << f.lineno() << endl << msg
124 << ends; // required for this strstream library, other versions
125 // like Borland the stream is always null terminated
126
127 xmsg::xmsg(buffer.str());
128 delete buffer.str(); // added by db 03-Jul-98 accoprding to the
129 // ssbuf(3C++) man page - other implementations may
130 // use malloc/free but Solaris uses new/delete
131 }
132
133 /** @return the error code */
134 int error() {return _error;}
135
136 /** Clean up instance */
137 virtual ~RuntimeException() {}
138
139
140 protected:
141
142 /**
143 * Default constructor - not very useful to throw an exception without at
144 * least an error message, so this is reserved for only subclasses.
145 */
146 RuntimeException() : xmsg() {}
147
148 private:
149
150 /** the error code associated with the error */
151 int _error;
152 };
153
Maybe you are looking for
-
Multiple Location of datafiles in Data Guard Environment
I have Data Guard setup in my oracle 10g database. Uptil now , all the datafiles were at same location, therefore db_file parameter setting in pfile was fine. Now I want to move my few of the datafiles at another location. Say, few of my datafiles wo
-
Issue in adding new tab in PO Header Level on ME21N
Hello, As there are many thread where it has mention how to implement badi to get the required output. Similarly, i had used the badi ME_GUI_PO_CUST and the method IF_EX_ME_GUI_PO_CUST~SUBSCRIBE. My Doubt : From the below sample code, from where i ha
-
Every time I send a message it says error not delivers :(
I have all ready tried to turn it off and on in the setting and turn on and off the wifi nothing works people have been tailing me to reset my iPad mini but I don't won't to.
-
How can I copy my slideshow to a dvd?
How can I copy my slideshow on a dvd?
-
Sorry if wrong section to post - Stolen Ipad
Hello, it doesn't seem like there is a lot of info out from Apple regarding a stolen iPAD, I been to police for report, insurance not helpful since under deductible, so its a lousy situation for sure, I am a mobile me subscriber and did sent out a si