Error occured when using javap (Java Class File Disassembler)
Hi,
I have tried to use Java Class File Disassembler by using javap and i'm getting the error shown below,
C:\> javap abc.class
ERROR: Could not find abc.class
abc.class present in C:\ drive.
Please let me know how to solve the problem
Thanks in Advance
Soundar
Hi,
Thanks for your information, it works fine. Please let me know is there any option to display the method and variable implemation in abc.class.
I have tried javap abc it displays the method name only.
Thanks in advance,
Soundar
Similar Messages
-
ERROR MESSAGE WHEN USING PACK COMMAND Missing file ////presenter.css Command then fails
Also: "This course requires JavaScript to be enabled in your browser. Please enable JavaScript, then relaunch the course." I have Java enabled in all browsers
Thoughts? Using Presenter 10 Win 8.1 Intel I7 new HP with plenty of memory
ThanksI had saved one copy as an .asp but then resaved it to .xhtml
I'm assuming this is a static web site. Rename (F2) all your pages with .html or .htm extension.
.xhtml is not a valid extension.
Nancy O. -
TNS-12666 error occures when using database link
When I am trying to use database link
defined in my database the following error occures:
TNS-12666 Dedicated server: outbound transport protocol different from inbound.
In documentation is stated to resolve such an error to
specify the same protocol in the SQL*Net connect string or alias for the outbound connection as that used for the inbound connection.
I have in tnsnames.ora defined network service name
by which I can connect to such a database by SQL*Plus
without any problems, why can I not do such a thing
via database link?
Thanks a lot for advise, ...Could you change the following entry in your 'sqlnet.ora' file and try?
SQLNET.AUTHENTICATION_SERVICES = (NONE) -
Problem when using a new class "File" in JSP
I'm using Weblogic 4.52sp2 under Solaris 2.6 with JDK 1.2.1_04. I've got a problem with a JSP that uses a commercial bean which contains a specific "File" class. This class has its own package: com.jspsmart.upload.File. While compiling, Weblogic raises an exception:
Fri Mar 09 14:41:38 CET 2001:<I> <ServletContext-Servlets> weblogic.servlet.JSPServlet: Generated java file: /data/html/compiledJSP/_jspsmartupload/_jsp/_sample2.java
Fri Mar 09 14:41:43 CET 2001:<E> <ServletContext-Servlets> weblogic.servlet.JSPServlet: Compilation of /data/html/compiledJSP/_jspsmartupload/_jsp/_sample2.java failed:
/data/html/compiledJSP/_jspsmartupload/_jsp/_sample2.java:46: Ambiguous class: java.io.File and com.jspsmart.upload.File
f = new File("/data/html/jspsmartupload/jsp/sample2.jsp");
I looked at the .java generated file but it seems that everything is OK: f is a java.io.File
public class _sample1 extends weblogic.servlet.jsp.JspBase implements weblogic.servlet.jsp.StaleIndicator {
// StaleIndicator interface
public boolean _isStale() {
java.io.File f = null; long lastModWhenBuilt = 0L, lastMod = 0L;
f = new File("/data/html/jspsmartupload/jsp/sample1.jsp");
lastModWhenBuilt = 984144952000L;
lastMod = f.lastModified();
if (!f.exists() || lastMod > lastModWhenBuilt) return true;
return false;
We can't neither change the bean (no sources) nor Weblogic JSP engine (of course). Has anyone a solution ?
[att1.html]
i think you should try this
f = new java.io.File("/data/html/jspsmartupload/jsp/sample1.jsp");
"Laurent PAILLARD" <[email protected]> wrote in message
news:[email protected]...
I'm using Weblogic 4.52sp2 under Solaris 2.6 with JDK 1.2.1_04. I've got a
problem with a JSP that uses a commercial bean which contains a specific
"File" class. This class has its own package: com.jspsmart.upload.File.
While compiling, Weblogic raises an exception:
Fri Mar 09 14:41:38 CET 2001:<I> <ServletContext-Servlets>
weblogic.servlet.JSPServlet: Generated java file:
/data/html/compiledJSP/_jspsmartupload/_jsp/_sample2.java
Fri Mar 09 14:41:43 CET 2001:<E> <ServletContext-Servlets>
weblogic.servlet.JSPServlet: Compilation of
/data/html/compiledJSP/_jspsmartupload/_jsp/_sample2.java failed:
/data/html/compiledJSP/_jspsmartupload/_jsp/_sample2.java:46: Ambiguous
class: java.io.File and com.jspsmart.upload.File
f = new File("/data/html/jspsmartupload/jsp/sample2.jsp");
I looked at the .java generated file but it seems that everything is OK: f
is a java.io.File
public class _sample1 extends weblogic.servlet.jsp.JspBase implements
weblogic.servlet.jsp.StaleIndicator {
// StaleIndicator interface
public boolean _isStale() {
java.io.File f = null; long lastModWhenBuilt = 0L, lastMod = 0L;
f = new File("/data/html/jspsmartupload/jsp/sample1.jsp");
lastModWhenBuilt = 984144952000L;
lastMod = f.lastModified();
if (!f.exists() || lastMod > lastModWhenBuilt) return true;
return false;
We can't neither change the bean (no sources) nor Weblogic JSP engine (of
course). Has anyone a solution ?
-
Runtime error occurs when using DropdownByKey
I run into a runtime error when I use the DropDowByKey with fixed value set: the value seletedKey = "001" in DropDownByKey "DDBK_APP_STATE" does not exist in the value list and is not initial either. But I have already added the value pair of the selectedKey using
"NODE_INFO->SET_ATTRIBUTE_VALUE_SET(
NAME = 'APP_STATE'
VALUE_SET = LT_VALUESET )." and I can select it from view. But when I use the attribute bound to the dropdownbykey in select statement as where condition and bind result into table. Before the screen reflash , the error occurs.I have two dropdownbykeys, DROP1(bound to attribute APP_AGENT),DROP2( bound to attribute APP_STATE). Selecting the first will change the content of the other.
The code in the onSelect event of the drop1, which will change the select list of DROP2:
DATA:NODE_INFO TYPE REF TO IF_WD_CONTEXT_NODE_INFO.
DATA: LT_VALUESET TYPE WDY_KEY_VALUE_TABLE,
L_VALUE TYPE WDY_KEY_VALUE.
NODE_INFO = WD_CONTEXT->GET_NODE_INFO( ).
NODE_INFO = NODE_INFO->GET_CHILD_NODE( 'NODE_SEARCH' ).
"**************************set value set for drop down***************
DATA lo_nd_node_search TYPE REF TO if_wd_context_node.
DATA lo_el_node_search TYPE REF TO if_wd_context_element.
DATA ls_node_search TYPE wd_this->element_node_search.
DATA lv_app_agent LIKE ls_node_search-app_agent.
DATA lv_app_state LIKE ls_node_search-app_state.
navigate from <CONTEXT> to <NODE_SEARCH> via lead selection
lo_nd_node_search = wd_context->get_child_node( name = wd_this->wdctx_node_search ).
get element via lead selection
lo_el_node_search = lo_nd_node_search->get_element( ).
lo_el_node_search->get_attribute(
EXPORTING
name = `APP_STATE`
IMPORTING
value = lv_app_state ).
get single attribute
lo_el_node_search->get_attribute(
EXPORTING
name = `APP_AGENT`
IMPORTING
value = lv_app_agent ). -
get the value of DROP1
clear the selected value of drop down
lo_el_node_search->set_attribute(
EXPORTING
name = `APP_STATE`
value = '' ).----
I want to clear the selected value of DROP2
IF lv_app_agent IS INITIAL.
L_VALUE-VALUE = 'SUBMIT'.
CLEAR L_VALUE-KEY .
INSERT L_VALUE INTO TABLE LT_VALUESET.
NODE_INFO->SET_ATTRIBUTE_VALUE_SET(
NAME = 'APP_STATE'
VALUE_SET = LT_VALUESET ).
exit.
ENDIF.
CASE lv_app_agent .----
there are 2 cases
WHEN 'SUPP_APP'.
L_VALUE-VALUE = 'APPROVE'.
L_VALUE-KEY = '1'.
INSERT L_VALUE INTO TABLE LT_VALUESET.
L_VALUE-VALUE = 'INITIAL'.
L_VALUE-KEY = '0'.
INSERT L_VALUE INTO TABLE LT_VALUESET.
WHEN OTHERS.
L_VALUE-VALUE = 'APPROVE'.
L_VALUE-KEY = '1'.
INSERT L_VALUE INTO TABLE LT_VALUESET.
L_VALUE-VALUE = 'INITIAL'.
"CLEAR L_VALUE-KEY.
L_VALUE-KEY = '000'.
INSERT L_VALUE INTO TABLE LT_VALUESET.
L_VALUE-VALUE = 'REJECT'.
L_VALUE-KEY = '2'.
INSERT L_VALUE INTO TABLE LT_VALUESET.
ENDCASE.
NODE_INFO->SET_ATTRIBUTE_VALUE_SET(
NAME = 'APP_STATE'
VALUE_SET = LT_VALUESET ).
Then in the another method, I will fetch the value of attribute APP_STATE. I can successfully get the value and put it into where clause and get result. But I will get a runtime error then. -
When using just the class files
I have passed my app over to someone else by just passing over the .class files and the dlls and a text file that I need to generate an id.
Everything seems to be working fine apart from generating the id number I get a blank dialog box with no id inside. Has anyone anyideas why??Your question will be very hard to answer, because we don't have a clue how you create the id using the text file. Please explain how you do that, possibly post some source code.
Jesper -
Hi All,
I am using the Fm REUSE_ALV_GRID_DISPLAY to display output in the ALV grid.
I am getting the following error
"Field symbol has not yet been assigned."
Error analysis
You attempted to access an unassigned field symbol
(data segment 32820).
This error may occur for any of the following reasons:
- You address a typed field symbol before it is set using ASSIGN
- You address a field symbol that points to a line in an internal table
that has been deleted
- You address a field symbol that had previously been reset using
UNASSIGN, or that pointed to a local field that no longer exists
- You address a global function interface parameter, even
though the relevant function module is not active,
that is it is not in the list of active calls. You can get the list
of active calls from the this short dump.
I used the Fm as :
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_INTERFACE_CHECK = ' '
I_BYPASSING_BUFFER = 'X'
I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = sy-repid
I_CALLBACK_PF_STATUS_SET = ' '
I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
I_CALLBACK_TOP_OF_PAGE = 'TOP_OF_PAGE'
I_CALLBACK_HTML_TOP_OF_PAGE = ' '
I_CALLBACK_HTML_END_OF_LIST = ' '
I_STRUCTURE_NAME =
I_BACKGROUND_ID = ' '
I_GRID_TITLE =
I_GRID_SETTINGS =
IS_LAYOUT = t_layout
IT_FIELDCAT = ls_slis_fieldcat
IT_EXCLUDING =
IT_SPECIAL_GROUPS =
IT_SORT =
IT_FILTER =
IS_SEL_HIDE =
I_DEFAULT = 'X'
I_SAVE = 'A'
IS_VARIANT =
IT_EVENTS =
IT_EVENT_EXIT =
IS_PRINT =
IS_REPREP_ID =
I_SCREEN_START_COLUMN = 0
I_SCREEN_START_LINE = 0
I_SCREEN_END_COLUMN = 0
I_SCREEN_END_LINE = 0
I_HTML_HEIGHT_TOP = 0
I_HTML_HEIGHT_END = 0
IT_ALV_GRAPHICS =
IT_HYPERLINK =
IT_ADD_FIELDCAT =
IT_EXCEPT_QINFO =
IR_SALV_FULLSCREEN_ADAPTER =
IMPORTING
E_EXIT_CAUSED_BY_CALLER =
ES_EXIT_CAUSED_BY_USER =
TABLES
t_outtab = gt_output
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Any help on this would be appreciated,
Thanks in advance.
Sharat.This is the error i get when i try to read the input data entered on the ALV grid. The code shown is from the class cl_gui_alv_grid.
183 translate ls_cells_temp-value to upper case. "#EC TRANSLANG
184 assign ls_cells_temp-value to <l_currency>.
185 else.
186 assign ls_cells_temp-value to <l_currency>.
187 clear <l_currency>.
188 endif.
189 if <l_currency> is initial.
190 assign component ls_fieldcat-qfieldname
191 of structure <ls_wa> to <l_currency>.
192 endif.
193 if <l_currency> is initial.
194 assign ls_fieldcat-QUANTITY to <l_currency>.
195 if sy-subrc ne 0.
196 assign space to <l_currency>.
197 endif.
198 endif.
199 endif.
200 else.
201 if not ls_fieldcat-currency is initial.
202 assign ls_fieldcat-currency to <l_currency>.
203 elseif not ls_fieldcat-quantity is initial.
204 assign ls_fieldcat-quantity to <l_currency>.
205 else.
206 assign space to <l_currency>.
207 endif.
208 endif.
209
210 * If field has not DDIC referencen
211 if ls_fieldcat-ref_table is initial.
212 *-- Formal field check without DDIC reference
>>>> call method me->formal_field_check_no_ddic
214 exporting
215 i_currency = <l_currency>
216 i_value = ls_cells-value
217 i_row_id = ls_cells-row_id
218 i_tabix = l_tabix
219 is_fieldcat = ls_fieldcat
220 importing
221 eflg_invalid = eflg_invalid
222 changing
223 c_field = <l_field>
224 ct_good_cells = et_good_cells
225 ct_mod_cells = et_mod_cells.
226 else.
227 *-- Formal field check with DDIC reference
228 call method me->formal_field_check_ddic
229 exporting
230 i_currency = <l_currency>
231 i_value = ls_cells-value
232 i_row_id = ls_cells-row_id -
Error occurred when using db link in procedure
Hi
I have a problem. As COLL_OWNER, I failed to compile this procedure.
CREATE OR REPLACE PROCEDURE Arch_Session_Order_Queue
IS
-- declarations
BEGIN
-- many lines
SELECT COUNT (1)
INTO v_wols_count
FROM [email protected];
-- many lines
END;
The error says "PL/SQL: ORA-00980: synonym translation is no longer valid"
But when I run it as COLL_OWNER like that,
SELECT COUNT (1) FROM [email protected]
I get the result.
Why that happens? How to resolve the problem?
Appreciate your advice.
KevinHi Jens
Here is the result
SELECT * FROM [email protected] WHERE synonym_name='ORDER_QUEUE;
OWNER SYNONYM_NAME TABLE_OWNER TABLE_NAME DB_LINK
OMDBPP_OWNER ORDER_QUEUE ORDER_QUEUE WOLSPP.WORLD
SELECT owner, object_name, object_type, status
FROM [email protected] WHERE object_name='ORDER_QUEUE';
OWNER OBJECT_NAME OBJECT_TYPE STATUS
OMDBPP_OWNER ORDER_QUEUE SYNONYM VALID
The ORDER_QUEUE on O9IPRD.WORLD is a synonym that points to the real table.
The way that happen is that we have Oracle 10g. The business logic needs to use Oracle 8.1.5 database. Oracle10g cannot talk to Oracle8.1.5. We created an Oracle 9i database having the synonym that points to the real table of Oracle 8.1.5.
I am wondering why I can get the result in SQL but failed to get procedure work.
Thanks,
Kevin -
Error occurs when using the LeCroy Waverunner driver.
Hi
I downloaded a Lecroy Waverunner driver in Instrument Driver Network and installed it. However, when I used it in block diagram. An error message "lcltxxxx_32.DLL is not a 32-bit DLL" appeared. What's the matter with that?
Bill.Hello Bill,
It sounds like you have the wrong IVI engine installed. The current LeCroy Waverunner software on the website requires the 1.83 IVI Engine and NI-VISA 2.5 or later. If you have old versions of the IVI engine and/or NI-VISA, remember to delete the old versions before reinstalling.
Regards,
Ray Kong -
Error occured when using flash 9 in firefox
I installed Flash CS3 Professional (trial) for doing
assignment. After that, I think flash player also be upgraded to
version 9. It's no problem in IE, but when browsing website with
using firefox, it keeps pop up windows which ask
"Where is the debugger or host application running?", you can
choose localhost or other machine. Actually, i run it in my hom pc,
so it should be "localhost".After keep answering the same
question(it seems be asked for each flash), then it pop up "A
connection to the Debugger or Profiler cound not be established by
Adobe Flash Player 9."
how can I fix this problem??
please give me a hand. Thanks a lot.Sorry, there is a bug in the developer guide on page 183, it says to use " and you need to use '. Hopefully The specified item was not found. or Thomas Jung will get it fixed.
The code below activates successfully.
John
context test2 {
entity table1
key field1 : String(10);
field2 : String(10) default 'dummy'; -
Error occurs when using DBDataSource.SetValue method in sales order
Is it possiable to use the DBDataSource.SetValue method to update a cell in the Sales Order document
My code , but I am getting an error
Dim oDBDataSource As SAPbouiCOM.DBDataSource
oDBDataSource = oform.DataSources.DBDataSources.Item("RDR1")
oDBDataSource.SetValue("Price", 1, "111.22")
The following code works, but I do not want to use it because the cursor need to move to the cell before changing the value.
oMatrix.Columns.Item("14").Cells.Item(RowNum).Specific.value = 111.22
Sincerely yours
Riade AslehWell , I do not want to do it this way
I want to change the value using the setvalue method of the DBDatasource Object
I want to avoid the cursor from going to the cell for update or read.
Refer to orignal question (first question)
Sincerely yours
Riade Asleh -
Error occurred when use foreign Jms server[JMSClientExceptions:055142].
I want to use a foreign Jms server(Tibco EMS), after I have config the JNDI of foreign server,connectionfactory and destinations, the correct JNDI name can be find on the JNDI tree.
Then I deploy a demo mdb ear on the weblogic(version is 10.3),there's warnning tag on the ear application, and there is error message in the log:
<2011-1-10 上午10时15分07秒 CST> <Warning> <EJB> <BEA-010061> <The Message-Drive
n EJB: MDBDemo is unable to connect to the JMS destination: NotifyAlertAlertQueue. The Error was:
weblogic.jms.common.InvalidDestinationException: [JMSClientExceptions:055142]Foreign destination, Queue[notify.alert.alertQueue]>
NotifyAlertAlertQueue is the JNDI name of the destination defined on the weblogic console,and the same as ems jndi name for queue notify.alert.alertQueue.
It seems that the application has find the queue correctly, but why it throw that exception[JMSClientExceptions:055142]?
Thanks for any help.
Edited by: 826761 on 2011-1-9 下午6:40I suspect that somehow your configuration is messed up and the MDB ended up using a WebLogic connection to access a TIBCO EMS destination.
Please make sure that your JMS server configuration maps a TIBCO connection factory jndi name to a jndi name in WebLogic server JNDI tree, a TIBCO destination jndi name to a jndi name in WebLogic server JNDI tree, and your MDB configuration refers to the jndi names in the WebLogic JNDI tree.
Regards. -
Answer to question about "Error Occurring when convertion is tried for PDF to Word Document"
There are about ten questions about the "Error Occurring" when using Abode Reader XLto convert a PDF to a Word Doc, but no one has the answer? It has something to do with "signing in the wrong address". I have been working on this three days Now! Soimeone has the answer? Cataloochee
You must be kidding to say, "Adobe doesn't convert any version of Adobe Reader."' I must be in another world! When i move an Adobe Reader file pdf that goes to a wIndow that the top line says,'' Adobe reader X1 1001 Early Dutch History. pdf ". Then i click on the far left yellow marked icon that is used to move 1001 Early Dutch History.pdf to thye far right into a gray colored slot that reads "1001 Early Dutch History.pdf'. Under the file above or down below, the selected File for conversionis, a selection gray slot that ask if you want to convert this file(pdf) to a .docx.,.doc, tex. or Excell. After I make the selection and click onto Convert, a message comes into view where the word convert was that reads "An Error Occurred wilth Signing In OK" Even the use of another pdf file with a complete different address produces the same message. There are eight chapters in Dutch that I need to convert to word document by tommorrow or the class i teach "the Origin of Golf" will have to listen in Dutch and I can't speak Dutch. Cataloochee
-
When i executed this class file i am getting runtime errors
when i executed this class file i am getting runtime errors
code is :
import java.awt.event.*;
import java.awt.*;
public class Test extends Frame
java.awt.Window w;
TextField t;
Test()
t=new TextField(20);
add(t);
addWindowListener(new WindowAdapter()
public void windowDeactivated(WindowEvent ev) {
w.toFront();
System.out.println("hai");
setSize(300,300);
setVisible(true);
public static void main(String args[])
Test t =new Test();
after executing that class i am getting this errors
Exception occurred during event dispatching:
java.lang.NullPointerException:
at WindowEventDemo.windowActivated(WindowEventDemo.java:76)
at java.awt.Window.processWindowEvent(Window.java:612)
at java.awt.Window.processEvent(Window.java:576)
at java.awt.Component.dispatchEventImpl(Compiled Code)
at java.awt.Container.dispatchEventImpl(Compiled Code)
at java.awt.Window.dispatchEventImpl(Compiled Code)
at java.awt.Component.dispatchEvent(Compiled Code)
at java.awt.EventQueue.dispatchEvent(Compiled Code)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:68)
if anybody know how to pls help meYou are using w that you have not done anything with.
Add following code to the begining of your cinstructor:
w = this;
Then it should work.
//Anders ;-D -
UDESEncrypt Errors when using the JAVA engine (NW IDM 7.0)
Folks,
I'm seeing an error when I use the uDESEncrypt function with the Java Engine in NW IDM SP2 Patch 3.
The error I am getting is:
runFunctionsInString($FUNCTION.encrPWD()$$) got exception
org.mozilla.javascript.EvaluatorException: uDESEncrypt: Key should be exactly 24 bytes long.
The code calling it is:
// Main function: encrPWD
function encrPWD(Par){
//Example calling DSE internal function
//UserFunc.uStop("Terminated by user");
key = "C:\Program Files\SAP\IdM\Workflow\configs\KEY\keys.ini";
OutString = UserFunc.uDESEncrypt(key, Par);
return OutString;
I have also seen this error when using Patch 4.
Interestingly enough, the error does not occur when using the Windows Engine. Anyone else seeing this?
Thanks,
MattHi Matthew,
Try to replace the '\' with '
key = "C:
Program Files
SAP
IdM
Workflow
configs
KEY
keys.ini";
Alternative approaches,
1) setting key empty and it will look into %DSE_HOME%\KEY\key.ini
which should be C:\Program Files\SAP\IdM\Identity Center\Key\key.ini on default installation path.
2) or setting the key to something like = 6D5A2AF59B1CDD7F9592484F178331C891537A3F9B91D362
a 24 byte key...
Also when using DES you should ensure that in Identity Center underneath Options/General
you have encryption algorithm set to 3DES.
Normally if you intend to use this for password provisioning in IC you would also
on the identity store (for instance 'Enterprise people') underneath 'password policy' check
of for 'enable password provisioning.'
By doing so the MX_ENCRYPTED_PASSWORD with be set when operating through
workflow (3DES encryption version of the MX_PASSWORD) which allows you to obtain password
when provisioning to other target systems...
Maybe you are looking for
-
hii I need a report with PO number and GR document number with GR posting date . THere is any standard report available in SAP system. PO number + GR document + GR document posting date in a single transaction code like MB51 ..etc Can some suggest me
-
Node manager service not starting
Hi I am doing a uccx setup with cucm in VM ware. I am not able to open the appadmin page and when i triy to do so the node manger service get stopped . from the mvir loggs in "c:\program files\wfavvid\logs\mivr " i cann't see anything. what can be th
-
How to communicate labsql in labview 7.0
hi, i need your help.. guide me to do program in LABSQL... im using LABVIEW 7.0..i dont want to purchase database toolkit i plan to use labsql... i was download the labsql zip file... but i dont know to go further... i know the command set for the
-
I've been smoothly running a web and mail server under domain1.us. Recently, I added domain2.us to run webmail and a mail server under a virtual domain. Each domain has its own IP address, and DNS and reverse DNS resolve correctly for both as well as
-
Filesystem for 'bigger' partitions
Hi, I have a 500 GB partition currently with ext3, but the fsck is painfully slow on it. So I decided to change the filesystem. There are mainly movies, music on it, and also my documents for school. The only crucial thing is performance and that my