Try to Execute CRM_TEXT_MAINTAIN_OW
Hi Experts,
i am trying to execute the fm CRM_TEXT_MAINTAIN_OW, but i will not work, what is the mistake in my test report, i cannot find him.
*& Report ZTEST_CRM_TEXT_MAINTAIN_OW
REPORT ZTEST_CRM_TEXT_MAINTAIN_OW.
DATA: lv_guid_ref TYPE crmt_object_guid,
l_table_it_text TYPE CRMT_TEXT_COMT,
l_wrk_it_text TYPE CRMT_TEXT_COM,
l_wrk_line TYPE TLINE,
l_wrk_text TYPE CRMT_TEXT_WRK,
lt_input_fields TYPE CRMT_INPUT_FIELD_NAMES_TAB,
lt_changed_objects_guid_tab TYPE crmt_object_guid_tab,
l_wrk_input_field TYPE CRMT_INPUT_FIELD_NAMES.
CLEAR l_wrk_line.
l_wrk_line-tdformat = '*'.
l_wrk_line-tdline = 'TEST OK'.
APPEND l_wrk_line TO l_wrk_text-lines.
l_wrk_it_text-lines[] = l_wrk_text-lines[].
lv_guid_ref = '4A7B9459B27B2A4AE1000000AC116637'.
l_wrk_it_text-ref_guid = '4A7B9459B27B2A4AE1000000AC116637'.
l_wrk_it_text-ref_kind = 'A'.
"l_wrk_it_text-text_object = ''.
l_wrk_it_text-tdid = 'CD01'.
l_wrk_it_text-tdspras = 'D'.
l_wrk_it_text-tdform = 'SYSTEM'.
l_wrk_it_text-tdtexttype = ''.
l_wrk_it_text-tdstyle = 'SYSTEM'.
APPEND l_wrk_it_text to l_table_it_text.
l_wrk_input_field-fieldname = 'LINES'.
INSERT l_wrk_input_field INTO TABLE lt_input_fields.
CALL FUNCTION 'CRM_TEXT_MAINTAIN_OW'
EXPORTING
IT_TEXT = l_table_it_text
IV_OBJECT_GUID = lv_guid_ref
IV_OBJECT_KIND = 'A'
CHANGING
CT_INPUT_FIELD_NAMES = lt_input_fields
EXCEPTIONS
OBJECT_KIND_UNKNOWN = 1
READ_ERROR_OBJECT_BUFFER = 2
OTHERS = 3.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
INSERT lv_guid_ref INTO TABLE lt_changed_objects_guid_tab.
CALL FUNCTION 'CRM_ORDER_SAVE'
EXPORTING
IT_OBJECTS_TO_SAVE = lt_changed_objects_guid_tab
EXCEPTIONS
DOCUMENT_NOT_SAVED = 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.
Thanks for your help.
Whenever using external repositories, we may loose the track.
The Windows Space is empty.
What was the solution?
We have such a problem with creating notes as well.
Similar Messages
-
When i try to execute web report i am getting a error your not authorized t
Hi all,
when i try to execute web report i am getting a error your not authorized to view the page can somebody help me regarding this.
Thanks
Kiran KumarHi
Once you get the error, without leaving that screen, execute transaction /nsu53 or ask your basis guy to check it for you.
You will get details of missing authorization.
Regards
Rahul -
When I try to execute any workflow I get the error "Something went wrong.."
Hello,
Last weekend I updated the servers farm and I executed "SharePoint 2013 products configuration wizard" But I had an error and the wizard showed this: Conpleted configuration settings will not be rolled back.
From this moment when I try to execute any workflow in one of my site collections I always get the error "something went wrong.." Then I was checking the logs and I saw this:
04/08/2015 08:12:18.82 w3wp.exe (0x1318) 0x2070 SharePoint Foundation
General 8nca Medium Application error when access /_layouts/15/IniWrkflIP.aspx, Error=Requested
registry access is not allowed. at Microsoft.Win32.RegistryKey.OpenSubKey(String name, Boolean writable) at Microsoft.Win32.Registry.GetValue(String keyName, String valueName, Object defaultValue)
at Microsoft.Office.InfoPath.Server.Util.UrlManager.<>c__DisplayClass1.<OpenFileNameMap>b__0() at Microsoft.Office.Server.Security.SecurityContext.RunAsProcess(CodeToRunElevated secureCode) at Microsoft.Office.InfoPath.Server.Util.UrlManager.OpenFileNameMap()
at Microsoft.Office.InfoPath.Server.Util.UrlManager..cctor() 539dfa9c-f4fc-b08b-bdb7-dca4cb91a7b5
04/08/2015 08:12:18.82 w3wp.exe (0x1318) 0x2070 SharePoint Foundation
Runtime 6616 Critical Requested registry access is not allowed. 539dfa9c-f4fc-b08b-bdb7-dca4cb91a7b5
04/08/2015 08:12:18.82 w3wp.exe (0x1318) 0x2070 SharePoint Foundation
General ajlz0 High Getting Error Message for Exception System.TypeInitializationException:
The type initializer for 'Microsoft.Office.InfoPath.Server.Util.UrlManager' threw an exception. ---> System.Security.SecurityException: Requested registry access is not allowed. at Microsoft.Win32.RegistryKey.OpenSubKey(String name,
Boolean writable) at Microsoft.Win32.Registry.GetValue(String keyName, String valueName, Object defaultValue) at Microsoft.Office.InfoPath.Server.Util.UrlManager.<>c__DisplayClass1.<OpenFileNameMap>b__0()
at Microsoft.Office.Server.Security.SecurityContext.RunAsProcess(CodeToRunElevated secureCode) at Microsoft.Office.InfoPath.Server.Util.UrlManager.OpenFileNameMap() at Microsoft.Office.InfoPath.Server.Util.UrlManager..cctor()
--- End of inner exception stack tra... 539dfa9c-f4fc-b08b-bdb7-dca4cb91a7b5
04/08/2015 08:12:18.82* w3wp.exe (0x1318) 0x2070 SharePoint Foundation
General ajlz0 High ...ce --- at Microsoft.Office.InfoPath.Server.Util.UrlManager.GetConverterGeneratedFilePath(ConverterGeneratedFile
file, Document document) at Microsoft.Office.InfoPath.Server.SolutionLifetime.ScriptIncludes.RenderCssLinksToHeader(Control ctrl, Document document, Boolean ribbonEnabled, Boolean isDisplayMode) at Microsoft.Office.InfoPath.Server.Controls.XmlFormView.TryToAddCssLinksToHeader()
at Microsoft.Office.InfoPath.Server.Controls.XmlFormView.OnDataBindHelper() at Microsoft.Office.InfoPath.Server.Controls.XmlFormView.OnDataBinding(EventArgs e) at System.Web.UI.WebControls.WebParts.Part.DataBind()
at System.Web.UI.Control.DataBindChildren() at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.Control.DataBindChildren() at Sy... 539dfa9c-f4fc-b08b-bdb7-dca4cb91a7b5
04/08/2015 08:12:18.82* w3wp.exe (0x1318) 0x2070 SharePoint Foundation
General ajlz0 High ...stem.Web.UI.Control.DataBind(Boolean raiseOnDataBinding)
at System.Web.UI.Control.DataBindChildren() at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.Control.DataBindChildren() at System.Web.UI.Control.DataBind(Boolean
raiseOnDataBinding) at System.Web.UI.Control.DataBindChildren() at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at System.Web.UI.Control.DataBindChildren()
at System.Web.UI.Control.DataBind(Boolean raiseOnDataBinding) at Microsoft.Office.Workflow.IniWrkflIPPage.LoadFromWorkflowAssociation() at Microsoft.Office.Workflow.IniWrkflIPPage.OnLoad(EventArgs ea)
at System.Web.UI.Control.LoadRecursive() at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean inc... 539dfa9c-f4fc-b08b-bdb7-dca4cb91a7b5
04/08/2015 08:12:18.82* w3wp.exe (0x1318) 0x2070 SharePoint Foundation
General ajlz0 High ...ludeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) at System.Web.UI.Page.ProcessRequest() at System.Web.UI.Page.ProcessRequest(HttpContext context) at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) 539dfa9c-f4fc-b08b-bdb7-dca4cb91a7b5
But I cannot find any solution.
Please Help!Hello,
After some troubleshooting finally I opened a case to Microsoft, finally we solved the error:
I cleared the configuration cache:
http://blogs.msdn.com/b/jamesway/archive/2011/05/23/sharepoint-2010-clearing-the-configuration-cache.aspx
With this I could execute the wizard without any problem and the problem was solved.
But if with this the problem is not fix, Apart from that, you can check this:
Apparently, Microsoft change the number version of the SP1, then if you have the first sp1 versión, you will have problems with the wizard because is looking for the newer version.
The first SP1 number version was:
15.0.4569.1506
The currently SP1 version is:
15.0.4571.1502
You can check your versión with this script:
http://blogs.technet.com/b/stefan_gossner/archive/2015/04/20/powershell-script-to-display-version-info-for-sharepoint-product-and-language-packs.aspx
Finally if you have the first version the solution is download SP1 again (newer) and install it again (it is not necessary unistall the currently SP1) When you finish, try to execute wizard again and everything will work fine.
Hope this helps! -
Java error when I try to execute runInstaller
Hi all,
Someone can tell me why I get this error when I try to execute the runInstaller script ?
echoes:/temp/Disk1$ ./runInstaller
Starting Oracle Universal Installer...
No pre-requisite checks found in oraparam.ini, no system pre-requisite checks will be executed.
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2007-05-13_09-29-09PM. Please wait ...echoes:/temp/Disk1$ Oracle Universal Installer, Version 10.1.0.3.0 Production
Copyright (C) 1999, 2004, Oracle. All rights reserved.
Exception java.lang.UnsatisfiedLinkError: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries/libawt.jnilib: occurred..
java.lang.UnsatisfiedLinkError: /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Libraries/libawt.jnilib:
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1668)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:992)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)
at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)
at java.awt.Component.<clinit>(Component.java:545)
at oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager.<init>(OiifmGraphicInterfaceManager.java:189)
at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.createInterfaceManager(OiicSessionInterfaceManager.java:173)
at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.getInterfaceManager(OiicSessionInterfaceManager.java:182)
at oracle.sysman.oii.oiic.OiicInstaller.<init>(OiicInstaller.java:278)
at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:714)
at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:628)
Exception in thread "main" java.lang.NoClassDefFoundError
at oracle.sysman.oii.oiif.oiifm.OiifmGraphicInterfaceManager.<init>(OiifmGraphicInterfaceManager.java:189)
at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.createInterfaceManager(OiicSessionInterfaceManager.java:173)
at oracle.sysman.oii.oiic.OiicSessionInterfaceManager.getInterfaceManager(OiicSessionInterfaceManager.java:182)
at oracle.sysman.oii.oiif.oiifm.OiifmAlert.<clinit>(OiifmAlert.java:112)
at oracle.sysman.oii.oiic.OiicInstaller.runInstaller(OiicInstaller.java:772)
at oracle.sysman.oii.oiic.OiicInstaller.main(OiicInstaller.java:628)
I'm trying to install the 10g db on a PowerMac G5 with 4 gig ram, OSX 10.4.9 with all the latest patches.
The oracle user shell config is the following :
=====================================
ORACLE_BASE=/opt/oracle
ORACLE_HOME=$ORACLE_BASE/product/10.1.0/db_1
ORACLE_SID=mydb
export ORACLE_BASE ORACLE_SID ORACLE_HOME
if [ $DYLD_LIBRARY_PATH ]
then
DYLD_LIBRARY_PATH=$DYLD_LIBRARY_PATH:$ORACLE_HOME/lib
else
DYLD_LIBRARY_PATH=$ORACLE_HOME/lib
fi
HTDOCS=/usr/local/htdocs
export DYLD_LIBRARY_PATH HTDOCS
PATH=/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:$ORACLE_HOME/bin
export PATH
PS1='\h:\w\$ '
export PS1
alias l='ls -la'
alias svrmgrl='sqlplus /nolog'
================================
Thanks in advance,
MaxIs the Oracle runInstaller message telling me that it wants IBMJava2 -1.3.1, even though is says to install 1.3.1 or higher?Yeah, it has been known to act a bit funny on newer releases of JRE.
~Jer -
i have a button in a form that run on forms10g that tri to execute a report in the web :
the trigger is this
**** when i try to execute the button the error is that the is impossibile to find the "report ID"???
there is a easist solution to execute a report from a form button ????
thank's !
DECLARE
report_id Report_Object;
BEGIN
report_id:= find_report_object('imm_print_01');
PROCEDURE RUN_REPORT_OBJECT_LIST(report_id , 'repSRV' , 'pdf');
END;
the procedure run_report_object_list is the follow :
PROCEDURE RUN_REPORT_OBJECT_LIST(report_id REPORT_OBJECT, reportserver
varchar2,
runformat varchar2) IS
report_job_id VARCHAR2(100);
vc_rep_status VARCHAR2(20);
paramlist_id ParamList;
paramlist_name VARCHAR2(10):=âtmplistâ;
BEGIN
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_COMM_MODE,
SYNCHRONOUS);
SET_REPORT_OBJECT_PROPERTY(report_id,REPORT_SERVER,
reportserver);
paramlist_id:= get_parameter_list(paramlist_name);
IF NOT id_null(paramlist_id) THEN
destroy_parameter_list(paramlist_id);
END IF;
paramlist_id:=create_parameter_list(paramlist_name);
add_parameter(paramlist_id,âDESTYPEâ,TEXT_PARAMETER,âCACHEâ);
add_parameter(paramlist_id,âPARAMFORMâ,TEXT_PARAMETER,âNOâ);
add_parameter(paramlist_id,âdesformatâ,TEXT_PARAMETER,
runformat );
report_job_id:=RUN_REPORT_OBJECT(report_id,paramlist_id);
END;Please see that in your form you have created a "report object" with the same name ie "imm_print_01" . This is done using Forms builder in object navigator
(For forms-reports intg pls see "forms reports integration whitepaper" (link below)
[ All Docs for all versions ]
http://otn.oracle.com/documentation/reports.html
[ Publishing reports to web - 10G ]
http://download.oracle.com/docs/html/B10314_01/toc.htm (html)
http://download.oracle.com/docs/pdf/B10314_01.pdf (pdf)
[ Building reports - 10G ]
http://download.oracle.com/docs/pdf/B10602_01.pdf (pdf)
http://download.oracle.com/docs/html/B10602_01/toc.htm (html)
[ Forms Reports Integration whitepaper 9i ]
http://otn.oracle.com/products/forms/pdf/frm9isrw9i.pdf
--------------------------------------------------------------------------------- -
Error when i try to execute a program on my Mac
Hi,my program work very well on my Pc with xp,but when i try to execute it on my mac(with macosx tiger)the compiler gives me this error:
java.net.BindException: Permission denied
maybe it is a permisson error,root/user or buh?
this program runs on port 440....can u help me?You can choose a higher port, above 1024. Or run the program as root like this:
sudo java your.classname.here ... -
Function: I get ORA-04063 if I try to execute from another schema
Hi All,
I have a schema named "SCHEMA_A" and in this schema I have a function named TEST" that gets a numeric parameter "ID" and returns a string.
Then I have a schema named "SCHEMA_B" with a grant on functions SCHEMA_A.TEST. I want to use function "TEST" from SCHEMA_B.
If I try to execute SELECT SCHEMA_A.TEST(1) FROM DUAL inside schema SCHEMA_B I get ORA-04063.
But if I try to execute TEST(1) from owner schema (SCHEMA_A) and then again from SCHEMA_B it works. But it works only for parameter with value = 1.
If I try SELECT SCHEMA_A.TEST(2) FROM DUAL I get again ORA-04063. It seems that to use a specific value for function parameter, I need to execute first in the owner schema and only after that I can execute from the other schema.
Function code is very simple:
+CREATE OR REPLACE FUNCTION TEST(ID IN NUMBER)+
+RETURN VARCHAR2+
+IS+
+l_return VARCHAR2(256);+
+BEGIN+
+l_return := 'hello world';+
+RETURN (l_return);+
+END TEST;+
I use Oracle 11g R2.
Any idea why it happens?...I can compile and grant as you did.
But if I try to execute from a schema different by owner (in your case SCOTT) something like
SELECT <your schema>.TEST(1) FROM DUAL
I get an error.
To fix, I have to execute this function in the owner schema with exactly the same parameter.
If I execute with a parameter in the owner schema (suc as 1,2 and 3), I can execute also in schema different by owner (in your case SCOTT). But if I try with a new parameter (es: 4) from SCOTT it give me an error.
Strange... -
Error if I try to execute the Script BI Java / Technical configuration
Hello everybody,
I get the follow error back, if I try to execute the BI Java / Technical Configuration of BI - Java (repeatable, reproducible):
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.
We sure, that the Porperties are the current parameters correct.
Any ideas ?
Kind regards
Stephan KohlerHii Stephan
I am facing the exact problem as you are did. The SLD connection failed when BI-java template installer. Were you able to solve this? Is the problem due to user missing in the central SLD as in BI ABAP. Please let me know the solution if it had worked for you.
Thanks, Raj -
Error on report server when try to execute
when i try to execute a report from FORMS i view this problem :
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Oracle-HTTP-Server/1.3.28 Server at 69.134.144.123 Port 80Mike,
how do you access Reports from Forms and can you run a stand-alone Reports from the browser URL (using the Reports Services and the Reports Services servlet rwservlet).
if you can't run a Reports directly then the problem is in teh confoguration itself and you should contact customer support via metalink.oracle.com
Frank -
I try to executed expdp.... ora-31634
I try to executed expdp but I'm get the following error messages,
ora-31634
D:\scripts>expdp system/nima2345 parfile=repositorio.par
Export: Release 10.2.0.3.0 - Production on Tuesday, 29 January, 2008 12:43:52
Copyright (c) 2003, 2005, Oracle. All rights reserved.
Connected to: Oracle Database 10g Release 10.2.0.3.0 - Production
ORA-31634: job already exists
ORA-31664: unable to construct unique job name when defaulted
respositorio.par
schemas=(repositorio,repoprocesos)
DIRECTORY=RESPALDO
dumpfile=repositorio%U.dmp
LOGFILE=exprepositorio.log
COMPRESSION=METADATA_ONLY
filesize=1G
what happed?
Message was edited by:
MEXMANHi,
Oracle Error: ORA-31634 - job already exists
Cause: Job creation or restart failed because a job having the selected name is currently executing. This also generally indicates that a Master Table with that job name exists in the user schema. Refer to any following error messages for clarification.
Action: Select a different job name, or stop the currently executing job and re-try the operation (may require a DROP on the Master Table).
So, drop the job master table ...
Cheers
Legatti -
Suddenly started getting error: Unable to start program 'DTS' when try to execute SSIS Package
Me and my team member suddenly started getting following error when try to execute SSIS Package in SSDT (VS 2010)
I searched everywhere but virtually no information available about this Error. Anyone has suggestion on how to fix this error?
NOTE: Tried to execute package from command line and it works...
Error starting debugging.
ADDITIONAL INFORMATION:
Unable to start program 'DTS'.
Operation not supported. Unknown error: 0x80040038. (Microsoft Visual Studio Debugger)
Thanks,
Nayan
<a href="http://binaryworld.net/blogs"> Visit My Blog</a>Hi Nayan,
According to your description, the SSIS package works fine when you execute it with command line, when you execute it in SSDT, you got the error message: Unable to start program 'DTS'.
To troubleshoot the problem, I would suggest you to upgrade SSDT to latest patch. Please refer to the following steps:
Download and install the latest Microsoft SQL Server Service Pack.
Cumulative Update package SQL Server Service Pack.
Download and install Microsoft Visual Studio 2010 Feature Pack 2.
For more information about Visual Studio 2010 Feature Packs, please refer to the following document:
https://msdn.microsoft.com/en-us/vstudio/ff655021.aspx
If the problem remain unresolved, i would appreciate it if you could give us detailed information about the error, it will help us move more quickly toward a solution.
Thanks,
Wendy Fu
If you have any feedback on our support, please click
here.
Wendy Fu
TechNet Community Support -
I get an error when i try to execute a function that returns a date value
Hi,
I'm new in ODP.NET, i'm make a package that contains a function that returns a date i.e.
Package Body General_pkg is
Function Get_Day Return Date is
vd_day date;
Begin
select sysdate into vd_day from dual;
return vd_day;
end Get_Day;
End General_pkg;
i use the next code to execute the function:
OracleCommand cmdData = new OracleCommand("General_pkg.Get_Day", cnx);
cmdData.CommandType = Commandtype.StoredProcedure;
OracleParameter PRM;
PRM = new OracleParameter();
PRM.ParameterName = "VDATE";
PRM.OracleDbType = OracleDbType.Date;
PRM.Direction = ParameterDirection.ReturnValue;
cmdData.Parameters.Add(PRM);
try
cmdData.ExecuteNonQuery();
catch(OracleException e);
When i execute this code, i have and exception, which say "identifier GENERAL_PKG.Get_Day must be declare..."
Obviously the package is correctly created in ORACLE i tested first in sql plus and it works but in ODP.NET they don't recognize the package or the function i don't know... please help!!!OOOOOPSS.... i forgot that i change the user in my conecction string that's why it didn't work...
i guess i had to much beer last night.;. :)
thanks. -
Runtime error when i try to execute this program
I get a runtime error when i run this file using appletviewer. Please help me in getting out of this problem.
The runtime errror is:
C:\prashanth>appletviewer HelloMedia.java
java.lang.NoClassDefFoundError: javax/media/ControllerListener
at java.lang.ClassLoader.defineClass0(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:486)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:11
1)
at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:142)
at java.lang.ClassLoader.loadClass(ClassLoader.java:297)
at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:108)
at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
at sun.applet.AppletClassLoader.loadCode(AppletClassLoader.java:373)
at sun.applet.AppletPanel.createApplet(AppletPanel.java:579)
at sun.applet.AppletPanel.runLoader(AppletPanel.java:515)
at sun.applet.AppletPanel.run(AppletPanel.java:293)
at java.lang.Thread.run(Thread.java:484)
The code is :
<applet code=HelloMedia.class width=500 height=400>
<param name=FILE value="globe.avi">
</applet>
import java.applet.*;
import java.awt.*;
import java.net.*;
import javax.media.*;
public class HelloMedia extends Applet implements ControllerListener
Player player;
public void init()
setLayout(new BorderLayout());
String mediaFile = getParameter("FILE");
try
URL mediaURL = new URL(getDocumentBase(), mediaFile);
player = Manager.createPlayer(mediaURL);
catch(Exception e)
System.err.println("Exception : " + e);
player.addControllerListener(this);
public synchronized void controllerUpdate(ControllerEvent event)
if(event instanceof RealizeCompleteEvent)
Component compVisual = player.getVisualComponent();
Component compControl = player.getControlPanelComponent();
if(compVisual != null)
add("Center", compVisual);
if(compControl != null)
add("South", compControl);
validate();
public void start()
player.start();
public void stop()
player.stop();
player.deallocate();
public void destroy()
player.close();My classpath has the following value
.;.;.;C:\PROGRA~1\JMF21~1.1\lib\sound.jar;C:\PROGRA~1\JMF21~1.1\lib\jmf.jar;C:\Program Files\CosmoSoftware\CosmoPlayer\npcosmop211.zip;%systemroot%\java\classes;.;
Please help me out.
Prashanth -
This happens each time I try to start Firefox. I click the icon, my cursor goes into busy mode, then just stops. When I tried to run CCleaner, it tells me I need to stop Firefox. I pressed Ctrl/Alt/Delete and it doesn't show it as running. I went to processes tab and ended task of Firefox.exe and it still won't start.
Did you find the Firefox profile folder?
See http://kb.mozillazine.org/Profile_folder_-_Firefox
"Application Data" in XP/Win2K and "AppData" in Vista/Windows 7 are hidden folders, use %APPDATA% in the File name field<br />
Go to: Control Panel > Folder Options > "View" tab > under "Hidden files and folders", select "Show hidden files and folders"<br />
See http://kb.mozillazine.org/Show_hidden_files_and_folders
*XP: C:\Documents and Settings\<user>\Application Data\Mozilla\Firefox\Profiles\<profile>\
*Windows: %AppData%\Mozilla\Firefox\Profiles\<profile>\ -
When I try to execute Plam Desktop it does´t respond
I was using Palm Desktop from various months. This week I try to open and principal windows appears and then nothing else happens.
I have Palm Zire21 and Windows XP Pro.
I try to install in different ways (repair, uninstall-install) but nothing happens.
What could be the conflict?
Post relates to: Zire 21hello,,
you can try to remove the "username" from the palm folder
just cut the "username" folder
its is located on
c:/palm
c:/programfiles/palm(palmone)
this happens when there is a corruption on the data either on the handheld or on the pc
Post relates to: Palm TX
Maybe you are looking for
-
How can I extract the results of my squence?
Hello, I'm a beginer of test Stand. I've created a main squence with LabView & TestStand, and works well, when it finish TestStand automatically creates my report. I need to extract these results of my sequence in order to create a custom document au
-
Problem with ipod getting used to
My new ipod touch stops in the middle and I have trouble viewing the next video . It only plays for 5 minutes and then stops I have trouble getting to the next page Please help.
-
Java.lang.UnsatisfiedLinkError + servlets
Hi, While accessing JNI methods thru Servlets, am getting java.lang.UnsatisfiedLinkError. Am I missing on some configuration/deployement steps. Please let me know your thoughts. N
-
Why are some dots blue and some green?
When viewing showtimes in the trailers app, some showtimes are marked with a blue dot and some are marked with a green dot?
-
Why cant I export my movies?
Final Cut Pro 10.0 wont let me export my movie in any way and when I try it says I need to install compressor. This only recently started happening after it crashed yesterday.