Runtime error (already defined class)
I get a runtime error which says:
Class com.pictoflex.app.RecordPanel already defined in RecordPanel. It could be that your source file is not in the correct package..
The package defined for that class is com.pictoflex.app, the source file is placed in the right directory, and there is only one class definition (public abstract class ... extends JPanel). What is wrong (probably something very stupid I didn't see)?
Maybe you first compiled a RecordPanel class without package name, and now there exist two class files with the same name in different packages.
Similar Messages
-
Post Author: lkamesam
CA Forum: Integrated Solutions
Hi,
I am running Crystal Reports version 10 from IBM Rational 6.0.1 build 20050725_1800 XML data source. When I try to run the report under WAS 6.0.1 I get the following error:
Does any body have any clue how to resolve my problem? Thanks
Error 500: Error while defining class: com.crystaldecisions.data.xml.CRDB_XMLImpl This error indicates that the class: OCA.OCAdbdll.DbDLLOperations could not be located while defining the class: com.crystaldecisions.data.xml.CRDB_XMLImpl This is often caused by having the class at a higher point in the classloader hierarchy Dumping the current context classloader hierarchy: ==> indicates defining classloader *** indicates classloader where the missing class could have been found ==>[0] com.ibm.ws.classloader.CompoundClassLoader@163dd786 Local ClassPath: C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\classes;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\bobj_platform_jsf.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\cecore.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\celib.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\ceplugins.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\cereports.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\cesession.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\clientlogic.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\Concurrent.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\CorbaIDL.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\CRDBXMLExternal.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\CRDBXMLServer.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\CrystalCharting.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\CrystalCommon.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\CrystalContentModels.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\CrystalExporters.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\CrystalExportingBase.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\CrystalFormulas.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\CrystalQueryEngine.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\CrystalReportEngine.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\CrystalReportingCommon.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\ebus405.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\icu4j.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\jrcerom.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\jsf_common.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\keycodeDecoder.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\log4j.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\MetafileRenderer.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\rasapp.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\rascore.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\rpoifs.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\serialization.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\URIUtil.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\webreporting-jsf.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\webreporting.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\xercesImpl.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent\WEB-INF\lib\xmlParserAPIs.jar;C:\Documents and Settings\Administrator\IBM\rationalsdp6.0\workspace\sample1\WebContent; Delegation Mode: PARENT_FIRST [1] com.ibm.ws.classloader.JarClassLoader@338761606 Local Classpath: Delegation mode: PARENT_FIRST [2] com.ibm.ws.classloader.ProtectionClassLoader@38e75786 [3] com.ibm.ws.bootstrap.ExtClassLoader@7e475784 [4] sun.misc.Launcher$AppClassLoader@7e5a5784 [5] sun.misc.Launcher$ExtClassLoader@7e565784 -Original exception- java.lang.NoClassDefFoundError: OCA/OCAdbdll/DbDLLOperations at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java(Compiled Code)) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java(Compiled Code)) at com.ibm.ws.classloader.CompoundClassLoader._defineClass(CompoundClassLoader.java:576) at com.ibm.ws.classloader.CompoundClassLoader.findClass(CompoundClassLoader.java(Compiled Code)) at com.ibm.ws.classloader.CompoundClassLoader.loadClass(CompoundClassLoader.java(Compiled Code)) at java.lang.ClassLoader.loadClass(ClassLoader.java(Compiled Code)) at com.crystaldecisions.reports.queryengine.driver.i.<init>(Unknown Source) at com.crystaldecisions.reports.queryengine.driver.i.case(Unknown Source) at com.crystaldecisions.reports.queryengine.av.ak(Unknown Source) at com.crystaldecisions.reports.queryengine.av.else(Unknown Source) at com.crystaldecisions.reports.queryengine.av.byte(Unknown Source) at com.crystaldecisions.reports.queryengine.av.do(Unknown Source) at com.crystaldecisions.reports.queryengine.as.new(Unknown Source) at com.crystaldecisions.reports.queryengine.at.long(Unknown Source) at com.crystaldecisions.reports.reportdefinition.datainterface.j.a(Unknown Source) at com.crystaldecisions.reports.reportdefinition.datainterface.j.a(Unknown Source) at com.crystaldecisions.reports.reportdefinition.datainterface.j.a(Unknown Source) at com.crystaldecisions.reports.reportdefinition.cy.b(Unknown Source) at com.crystaldecisions.reports.reportdefinition.cy.long(Unknown Source) at com.crystaldecisions.reports.reportdefinition.a1.o(Unknown Source) at com.crystaldecisions.reports.reportdefinition.a1.a(Unknown Source) at com.crystaldecisions.reports.common.ab.a(Unknown Source) at com.crystaldecisions.reports.common.ab.if(Unknown Source) at com.crystaldecisions.reports.reportdefinition.a1.if(Unknown Source) at com.crystaldecisions.reports.reportdefinition.a1.o(Unknown Source) at com.crystaldecisions.reports.reportengineinterface.a.a(Unknown Source) at com.crystaldecisions.reports.reportengineinterface.JPEReportSource.a(Unknown Source) at com.crystaldecisions.reports.reportengineinterface.JPEReportSourceFactory.createReportSource(Unknown Source) at com.crystaldecisions.report.web.a.a.K(Unknown Source) at com.crystaldecisions.report.web.event.aa.a(Unknown Source) at com.crystaldecisions.report.web.event.aa.a(Unknown Source) at com.crystaldecisions.report.web.event.bx.a(Unknown Source) at com.crystaldecisions.report.web.event.b1.broadcast(Unknown Source) at com.crystaldecisions.report.web.event.as.a(Unknown Source) at com.crystaldecisions.report.web.WorkflowController.if(Unknown Source) at com.crystaldecisions.report.web.WorkflowController.doLifecycle(Unknown Source) at com.crystaldecisions.report.web.ServerControl.a(Unknown Source) at com.crystaldecisions.report.web.ServerControl.processHttpRequest(Unknown Source) at com.crystaldecisions.report.web.viewer.taglib.ServerControlTag.doEndTag(Unknown Source) at com.crystaldecisions.report.web.viewer.taglib.ReportServerControlTag.doEndTag(Unknown Source) at com.ibm._jsp._sample._jspx_meth_crviewer_viewer_0(_sample.java:135) at com.ibm._jsp._sample._jspService(_sample.java:77) at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:88) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1212) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:629) at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:117) at com.ibm.ws.jsp.webcontainerext.JSPExtensionServletWrapper.handleRequest(JSPExtensionServletWrapper.java:171) at com.ibm.ws.jsp.webcontainerext.JSPExtensionProcessor.handleRequest(JSPExtensionProcessor.java:230) at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:2837) at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:220) at com.ibm.ws.webcontainer.VirtualHost.handleRequest(VirtualHost.java:204) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:1681) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:77) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:421) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:367) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:276) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminaters(NewConnectionInitialReadCallback.java:201) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:103) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:548) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:601) at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:934) at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1021) atFor those who would have the same problem, here is how I could eventually fix it.
Since the Flex Test Drive is sometimes out of sync with flash builder 4, I recreated a project using other help pages on Adobe site :
Entry point :
http://help.adobe.com/en_US/Flex/4.0/AccessingData/WSbde04e3d3e6474c4-668f02f4120d422cf08- 7ffd.html
As suggested, I used the New Project wizard to create a new project, with :
Application server type : J2EE
Check the radio button "Use remote object access service : BlazeDS"
Then, as indicated in following pages (section "Accessing BlazeDS")... :
file:///C:/Mes%20documents%20C/Commun/Developpement/Documentation/HT-Tracks/AccessingData/ help.adobe.com/en_US/Flex/4.0/AccessingData/WSbde04e3d3e6474c4-668f02f4120d422cf08-7ffe.ht ml#WSbde04e3d3e6474c4-19a3f0e0122be55e1b7-8000
...I selected the "Data / Connect to Data/Services..." menu option, which started the Data/service connection wizard.
There, I selected a BlazeDS (and not Web Services) service type, and everything went fine.
Suggestion to adobe staff : maybe it would be useful to update the Flex Test Drive to reflect Flash Builder 4 ?
Very nice product anyway, so far, congratulations...
Rgds
Marc. -
Problem fixing XJC Errors ("already defined" in groups)
Hello,
I am using JAXB to generate code for some schemas created by a different group in my project, but I get an error that I kind of understand but don't know exactly how to resolve.
This is a pared-down version of the schema holding only the offending pieces:
MainSchema.xsd
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:ns_a="DATASET_A"
xmlns:ns_b="DATASET_B"
xmlns:ns_c="DATASET_C"
xmlns:ns_d="DATASET_D"
xmlns:ns_e="DATASET_E"
xmlns:ns_f="DATASET_F">
<xs:include schemaLocation="BASIC_TYPES.XSD" />
<!-- -->
<xs:import namespace="DATASET_A" schemaLocation="DATASET_A.xsd"/>
<xs:import namespace="DATASET_B" schemaLocation="DATASET_B.xsd"/>
<xs:import namespace="DATASET_C" schemaLocation="DATASET_C.xsd"/>
<xs:import namespace="DATASET_D" schemaLocation="DATASET_D.xsd"/>
<xs:import namespace="DATASET_E" schemaLocation="DATASET_E.xsd"/>
<xs:import namespace="DATASET_F" schemaLocation="DATASET_F.xsd"/>
<xs:complexType name="ReturnGetDataStatusType">
<xs:sequence>
<xs:element name="DATA_LIST">
<xs:complexType>
<xs:sequence maxOccurs="unbounded">
<xs:choice>
<xs:group ref="ns_a:ReturnGetDataItemType" minOccurs="0" maxOccurs="unbounded"/>
<xs:group ref="ns_b:ReturnGetDataItemType" minOccurs="0" maxOccurs="unbounded"/>
<xs:group ref="ns_c:ReturnGetDataItemType" minOccurs="0" maxOccurs="unbounded"/>
<xs:group ref="ns_d:ReturnGetDataItemType" minOccurs="0" maxOccurs="unbounded"/>
<xs:group ref="ns_e:ReturnGetDataItemType" minOccurs="0" maxOccurs="unbounded"/>
<xs:group ref="ns_f:ReturnGetDataItemType" minOccurs="0" maxOccurs="unbounded"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<!-- -->
<xs:complexType name="FileDataType">
<xs:sequence>
<xs:element name="DATA_LIST">
<xs:complexType>
<xs:choice>
<xs:group ref="ns_a:ReturnGetDataItemType" minOccurs="0" maxOccurs="unbounded"/>
<xs:group ref="ns_b:ReturnGetDataItemType" minOccurs="0" maxOccurs="unbounded"/>
<xs:group ref="ns_c:ReturnGetDataItemType" minOccurs="0" maxOccurs="unbounded"/>
<xs:group ref="ns_d:ReturnGetDataItemType" minOccurs="0" maxOccurs="unbounded"/>
<xs:group ref="ns_e:ReturnGetDataItemType" minOccurs="0" maxOccurs="unbounded"/>
<xs:group ref="ns_f:ReturnGetDataItemType" minOccurs="0" maxOccurs="unbounded"/>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:element name="RETURN_GET_DATA" type="ReturnGetDataStatusType"/>
<xs:element name="FILE_DATA" type="FileDataType"/>
</xs:schema>---
When I try to compile this schema and their underlying schemas, I get this error repeated for each "group" attribute of the FileDataType:
C:\dir\temp\fake_DataStore>xjc -d output -p com.company.stuff *.xsd *.XSD | more
parsing a schema...
[ERROR] Property "ReturnGetDataItemType" is already defined. Use <jaxb:property> to resolve this conflict.
line 49 of file:/C:/dir/temp/fake_DataStore/MainSchema.xsd
[ERROR] The following location is relevant to the above error
line 50 of file:/C:/dir/temp/fake_DataStore/MainSchema.xsd
[ERROR] Property "ReturnGetDataItemType" is already defined. Use <jaxb:property> to resolve this conflict.
line 50 of file:/C:/dir/temp/fake_DataStore/MainSchema.xsd
[ERROR] The following location is relevant to the above error
line 51 of file:/C:/dir/temp/fake_DataStore/MainSchema.xsd
[ERROR] Property "ReturnGetDataItemType" is already defined. Use <jaxb:property> to resolve this conflict.
line 51 of file:/C:/dir/temp/fake_DataStore/MainSchema.xsd
[ERROR] The following location is relevant to the above error
line 52 of file:/C:/dir/temp/fake_DataStore/MainSchema.xsd
[ERROR] Property "ReturnGetDataItemType" is already defined. Use <jaxb:property> to resolve this conflict.
line 52 of file:/C:/dir/temp/fake_DataStore/MainSchema.xsd
[ERROR] The following location is relevant to the above error
line 53 of file:/C:/dir/temp/fake_DataStore/MainSchema.xsd
[ERROR] Property "ReturnGetDataItemType" is already defined. Use <jaxb:property> to resolve this conflict.
line 53 of file:/C:/dir/temp/fake_DataStore/MainSchema.xsd
[ERROR] The following location is relevant to the above error
line 54 of file:/C:/dir/temp/fake_DataStore/MainSchema.xsd
Failed to parse a schema.---
It clearly has a problem with using the same group references in two different complexTypes, but I don't know how to use jaxb:property to resolve it.
Do I rename this ReturnGetDataItemType differently in the FileDataType complexType? If so, how?
Thank you for reading. Please let me know if you have any questions.
Edited by: jaylogan on Mar 18, 2010 6:49 PMyou need to pass a bindings file using the -b switch as explained here: http://java.sun.com/webservices/docs/1.5/tutorial/doc/JAXBUsing4.html
-
Runtime Error in ALV Tree Output
Dear All, I am trying to create a ALV Tree using Class cl_gui_alv_tree. The Report Shows the Output with the first Node but when i try to expand it is dumping with a runtime error GETWA_NOT_ASSIGNED in class CL_ALV_TREE_BASE and method SET_ITEMS_FOR_COLUMN. The Reason being the data which was copied in the initial node display to mt_outtab is getting refreshed.
Can any one of you help me the reason for the table getting refreshed. Do i need to pass any data.
I am doing the following steps.
1. Create Container,
2. Create Tree Class object
3. Generate the Field Catalog.
4. Set table for first display " With empty internal table
5. Generate the Hierarchy
6. Call the Method Frontend Update.
Let me know if i had missed any steps in the process.
Thank you,
Regards,
Swaroop PatriOne reason for getting this error is using local defined tables for it_outtab parameter in the below code:
To get rid of the dump, define two distinct output tables globally: one is an empty table which you will pass to the below method, other one is your real output table whose size increases dependently.
CALL METHOD go_tree->set_table_for_first_display
EXPORTING
is_hierarchy_header = ls_hier_header
CHANGING
it_outtab = gt_data_e "Empty table
it_fieldcatalog = gt_fcat_tree. -
Runtime error when running Init Infopack or delta infopack
Dear All,
I am getting following error when trying to init infopack
Runtime Errors MESSAGE_TYPE_X
Message class....... "RSM"
Number.............. 000
Variable 1.......... " "
Variable 2.......... " "
Variable 3.......... " "
Variable 4.......... " "
Program SAPLRSS1
Include LRSS1F11
Row 1,543
Module type (FORM)
Module Name RSM1_CHECK_FOR_DELTAUPD
And this is happening only with one particular infopack of billing item extractor.
Please help for the same.
Regards,
SSHi,
Can you just give more explanation on what you are trying to do, like conditions.
Are doing first time init.
Reg
Pra -
every time I try to open itunes I get a message saying "runtime error. An application has made an attempt to load the C runtime library incorrectly. I have already un- and re-installed it, but i get the same message as before. How do i fix this? I don't want to lose my music and would at least want to save that.
Follow the instructions of tt2 given in https://discussions.apple.com/thread/5822086 and note to run as admin
-
I moved my project from Flex 4.1 to Flex 4.5.1 and I noticed that setting VideoPlayer source to null when it is already null results in a runtime error. The same thing applies to the case where you specified as a source url some invalid location (no video found there) and then you try to set the source to null.
Here is the error:
TypeError: Error #1009: Cannot access a property or method of a null object reference.
at spark.components::VideoDisplay/cleanUpSource()[E:\dev\4.5.1\frameworks\projects\spark\src \spark\components\VideoDisplay.as:1956]
at spark.components::VideoDisplay/setUpSource()[E:\dev\4.5.1\frameworks\projects\spark\src\s park\components\VideoDisplay.as:1609]
at spark.components::VideoDisplay/set source()[E:\dev\4.5.1\frameworks\projects\spark\src\spark\components\VideoDisplay.as:1073 ]
at spark.components::VideoPlayer/set source()[E:\dev\4.5.1\frameworks\projects\spark\src\spark\components\VideoPlayer.as:1362]
The problem is that in the VideoDisplay cleanUpSource function, in some of the cases there properties on the videoObject are modified like this:
videoPlayer.displayObject.visible = true;
without checking if displayObject is null which is done in the rest of the videoDisplay functions.
So when it reaches this line: videoPlayer.displayObject.visible = true; it results in a runtime error.
Is this supposed to work this way now ? I didn't have this problem on Flex 4.1. Not sure if it is a bug, but if it is please report it, I don't have the time right now to be checking in on this.
I fixed it by checking if the source is set, of course... (that won't help me in cases where I provide a wrong or missing video url by mistake.. so it is important to be fixed!)
FHi
I found the same error displaying video on flex !
in my simple code, i have :
videoInfoDataVideo.source = videoName;
the full error is :
TypeError: Error #1009: Il est impossible d'accéder à la propriété ou à la méthode d'une référence d'objet nul.
at spark.components::VideoDisplay/cleanUpSource()[E:\dev\4.5.1\frameworks\projects\spark\src \spark\components\VideoDisplay.as:1956]
at spark.components::VideoDisplay/setUpSource()[E:\dev\4.5.1\frameworks\projects\spark\src\s park\components\VideoDisplay.as:1609]
at spark.components::VideoDisplay/set source()[E:\dev\4.5.1\frameworks\projects\spark\src\spark\components\VideoDisplay.as:1073 ]
at spark.components::VideoPlayer/set source()[E:\dev\4.5.1\frameworks\projects\spark\src\spark\components\VideoPlayer.as:1362]
at Function/item/private:updateVideo/anonymous/resultGetVideo()[C:\Users\randev\Adobe Flash Builder 4.5\visurbaCMS\src\item.mxml:800]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at HTTPOperation/http://www.adobe.com/2006/flex/mx/internal::dispatchRpcEvent()[E:\dev\4.5.1\frameworks\projects\rpc\src\mx\rpc\http\HTTPService.as:993]
at mx.rpc::AbstractInvoker/http://www.adobe.com/2006/flex/mx/internal::resultHandler()[E:\dev\4.5.1\frameworks\projects\rpc\src\mx\rpc\AbstractInvoker.as:318]
at mx.rpc::Responder/result()[E:\dev\4.5.1\frameworks\projects\rpc\src\mx\rpc\Responder.as:5 6]
at mx.rpc::AsyncRequest/acknowledge()[E:\dev\4.5.1\frameworks\projects\rpc\src\mx\rpc\AsyncR equest.as:84]
at DirectHTTPMessageResponder/completeHandler()[E:\dev\4.5.1\frameworks\projects\rpc\src\mx\ messaging\channels\DirectHTTPChannel.as:451]
at flash.events::EventDispatcher/dispatchEventFunction()
at flash.events::EventDispatcher/dispatchEvent()
at flash.net::URLLoader/onComplete()
did you solve the problem or someone else?
Thanks -
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 -
Runtime error - class not found using JDBC driver and thin client
Hi,
We are running a small Java application on a Sun server which acts as a thin client connecting to an Oracle 8i server running on a different server.
JDK version: 1.3.1_01
OS version: Solaris 7
JDBC classes file: classes12.zip
It compiles fine, but get a runtime error (the DriverManager.registerDriver method )
cruncher [40]% javac -classpath /export/home/mrscot/classes12.zip JDBCtest.java
cruncher [41]% java JDBCtest
Exception in thread "main" java.lang.NoClassDefFoundError: oracle/jdbc/driver/OracleDriver
at JDBCtest.main(JDBCtest.java:7)
cruncher [42]%
Program:
import java.sql.*;
import java.math.*;
class JDBCtest {
public static void main (String args []) throws SQLException {
try {
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Connection conn = DriverManager.getConnection(
"jdbc:oracle:thin@xxxxxxxxx:1521:xxxx", <userid>,<password>);
Statement stmt = conn.createStatement ();
ResultSet rset = stmt.executeQuery (".............");
while (rset.next ())
System.out.println (rset.getString ("......."));
rset.close();
stmt.close();
conn.close();
} catch (Exception e) {
System.out.println("Error: " + e);
Any ideas? Probably something very, very stupid I'm overlooking!
Thanks
Scotty ([email protected])Supplementary question:
Hi,
We are running a small Java application on a Sun server which acts as a thin client connecting to an Oracle 8i server running on a different server.The Oracle version is 8.1.6
Will the 'classes12.zip' for 8.1.7 work with
1.3.1 of the Java JDK, and Oracle 8i 8.16 ??
Thanks Scotty -
Hello,
where is now oracle\jsp\runtime\HttpJsp.class located?
thanks.
Oleg.Same problem,
Error: cannot access class oracle.jsp.runtime.HttpJsp; file oracle\jsp\runtime\HttpJsp.class not found
Thanks
aldo -
Hi ppl
I've been wrestling with this all afternoon.
I'm getting deployment errors, for example, /usr/local/j2sdkee1.3.1/repository/localhost.localdomain/gnrtrTMP/myPlans3/SizeOptionBean_PM.java:73: setProductCode(ProductLocal) is already defined in SizeOptionBean_PM
public void setProductCode(ProductLocal productCode) {
Size option bean defines:
// CMP relationship fields
public abstract ProductLocal getProductCode();
public abstract void setProductCode(String pProductCode);and in the deploytool productCode is listed, I've got it marked as persisting along with all the other fields, and there's a relationship set up between this and the product bean.
The error suggests the field is being set up virtually by the deploytool and that I've done something superfluous that duplicates the field, but I can't see where.
I do vaguely remember some situation where a field shouldn't be marked as persistent in the deploytool, but I've worked through all my notes and can't find it.
Gizzaclue someone :-)
Cheers
Jpublic abstract ProductLocal getProductCode();
public abstract void setProductCode(String pProductCode);Shouldn't you be passing ProductLocal to the setProduct() method? -
Class Inside MovieClip Giving Runtime Error
Hey guys.
I'm trying to place an instance of a movieclip (instance
name: tehMovieClip) from the library within another movieclip
(instance name: parentMovieClip) on the stage. tehMovieClip, the
movieclip going inside another movieclip, belongs to a class called
CollisonDetection (linkage properties, class:CollisonDetection,
Base Class: flash.display.MovieClip). When I put tehMovieClip
inside parentMovieClip, I get this runtime error:
TypeError: Error #1009: Cannot access a property or method of
a null object reference.
If I just place tehMovieClip on the stage by itself, it works
fine but I need it to be inside parentMovieClip. So what should I
do?
Just for your information, CollisonDetection extends the
project's DocumentClass which extends MovieClip.
Thanks in advanced!Thanks for that buddy.
quote:
Originally posted by:
SwapnilVJ
Is the movie clip your are placing linked from library to a
class?
The movieclip in question (the one I am placing inside
another movieclip) is linked to a class.
quote:
Originally posted by:
SwapnilVJ
If yes. Is the Class linked to the movieclip have a
Constructor method with parameters?
Well this is my current constructor:
public function CollisonDetection() {
playerRefFromCollisonDetection.x = 600;
Now that you've said that, I deleted that middle line and it
seemed to work
quote:
Originally posted by:
SwapnilVJ
If Yes. you found the problem.
And solution will be to update the class' constructor to have
no parameters.
Thanks buddy, but what if I need to have statements inside
the constructor such as triggering methods/functions inside the
class? -
Query 0: Runtime error There is already a line with the same key. with para
Dear all,
I have a query with several variables. One of the variables is Version. When I use certain values e.g. 1,2 or 3, I can generate the query without any problem. However, when I use the other values e,g, 4, 5, or 6, the query gives me with the following error messages :
1. Query 0: Runtime error There is already a line with the same key. with parallel processing via RFC
2. Error while reading data; navigation is possible
3. >> Row: 174 Inc: LRSDRPU02 Prog: SAPLRSDRP
Error 1
Query 0: Runtime error There is already a line with the same key. with parallel processing via RFC
Message no. DBMAN428
Error 2
Error while reading data; navigation is possible
Message no. BRAIN289
Diagnosis
An error occurred while reading the data. The query result is therefore empty or inconsistent and is not buffered in the OLAP cache.
Procedure
You can continue to navigate or return to the last navigation step.
Error 3
>> Row: 174 Inc: LRSDRPU02 Prog: SAPLRSDRP
Message no. RS_EXCEPTION301
Diagnosis
En error has been triggered. This message specifies where in the coding the error occurred. This helps you to localize the error quickly.
May I know what causes this error and how to troubleshoot it?
Thank you.Venkat,
You are either a genius or working for SAP.
In any case, your solution solved my problem.
Thanks heaps! -
Runtime error when executing F4 help on 0FISPER or 0FISCYEAR
Hi experts,
I got a problem on F4 help.
When executing F4 help on 0FISPER or 0FISCYEAR using tcode LISTCUBE,
abap dump occurs. The problem also exists when run query in BEx analyzer.
My BW version is NW2004s. And SAPKW70012 has been implemented.
Thanks very much for any advices.
<b>The error message when run in BEx analyzer:</b>
System error in program SAPLRRS2 and form EXTRA_FIELDS_SET-01- (see long
text)
Message no. BRAIN299
Diagnosis
This internal error is an intended termination resulting from a program
state that is not permitted.
Procedure
Analyze the situation and inform SAP.
If the termination occurred when you executed a query or Web template,
or during interaction in the planning modeler, and if you can reproduce
this termination, record a trace (transaction RSTT).
For more information about recording a trace, see the documentation for
the trace tool environment as well as SAP Note 899572.
<b>And the ABAP dump log:</b>
Runtime Errors UNCAUGHT_EXCEPTION
Exception CX_RSR_PROPAGATE_X
Date and Time 2007.04.28 15:08:47
Short text
An exception occurred that was not caught.
What happened?
The exception 'CX_RSR_PROPAGATE_X' was raised, but it was not caught anywhere
along
the call hierarchy.
Since exceptions represent error situations and this error was not
adequately responded to, the running ABAP program
'CL_RS_BASE====================CP' has to be
terminated.
What can you do?
Note down which actions and inputs caused the error.
To process the problem further, contact you SAP system
administrator.
Using Transaction ST22 for ABAP Dump Analysis, you can look
at and manage termination messages, and you can also
keep them for a long time.
Error analysis
An exception occurred which is explained in detail below.
The exception, which is assigned to class 'CX_RSR_PROPAGATE_X', was not caught
and
therefore caused a runtime error.
The reason for the exception is:
No text available for this exception
The occurrence of the exception is closely related to the occurrence of
a previous exception "CX_SY_NO_HANDLER", which was raised in the program
"CL_RSMD_RS_BUILD_QUERY========CP",
specifically in line 1 of the (include) program
"CL_RSMD_RS_BUILD_QUERY========CM00Y".
The cause of the exception was:
An exception with the type CX_RS_SQL_ERROR_SILENT occurred, but was neither
handled locally, nor declared in a RAISING clause
The occurrence of the exception is closely related to the occurrence of
a previous exception "CX_RS_SQL_ERROR_SILENT", which was raised in the program
"CL_RSDRS_SQL_QUERY============CP",
specifically in line 288 of the (include) program
"CL_RSDRS_SQL_QUERY============CM00J".
The cause of the exception was:
No text available for this exception
The occurrence of the exception is closely related to the occurrence of
a previous exception "CX_SQL_EXCEPTION", which was raised in the program
"CL_SQL_STATEMENT==============CP",
specifically in line 32 of the (include) program
"CL_SQL_STATEMENT==============CM004".
The cause of the exception was:
Invalid object name 'T009C'.
How to correct the error
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"UNCAUGHT_EXCEPTION" "CX_RSR_PROPAGATE_X"
"CL_RS_BASE====================CP" or "CL_RS_BASE====================CM005"
"X_PROPAGATE"
If you cannot solve the problem yourself and want to send an error
notification to SAP, include the following information:
1. The description of the current problem (short dump)
To save the description, choose "System->List->Save->Local File
(Unconverted)".
2. Corresponding system log
Display the system log by calling transaction SM21.
Restrict the time interval to 10 minutes before and five minutes
after the short dump. Then choose "System->List->Save->Local File
(Unconverted)".
3. If the problem occurs in a problem of your own or a modified SAP
program: The source code of the program
In the editor, choose "Utilities->More
Utilities->Upload/Download->Download".
4. Details about the conditions under which the error occurred or which
actions and input led to the error.
System environment
SAP-Release 700
Application server... "sapdev2"
Network address...... "192.168.1.74"
Operating system..... "Windows NT"
Release.............. "5.2"
Hardware type........ "4x AMD64 Level"
Character length.... 16 Bits
Pointer length....... 64 Bits
Work process number.. 1
Shortdump setting.... "full"
Database server... "SAPDEV2"
Database type..... "MSSQL"
Database name..... "BW1"
Database user ID.. "bw1"
Char.set.... "C"
SAP kernel....... 700
created (date)... "Sep 1 2006 00:19:17"
create on........ "NT 5.2 3790 Service Pack 1 x86 MS VC++ 14.00"
Database version. "SQL_Server_8.00 "
Patch level. 75
Patch text.. " "
Database............. "MSSQL 7.00.699 or higher, MSSQL 8.00.194"
SAP database version. 700
Operating system..... "Windows NT 5.0, Windows NT 5.1, Windows NT 5.2"
Memory consumption
Roll.... 16192
EM...... 14617568
Heap.... 0
Page.... 163840
MM Used. 4553264
MM Free. 663776
User and Transaction
Client.............. 100
User................ "HANDLCR"
Language key........ 1
Transaction......... "LISTCUBE "
Program............. "CL_RS_BASE====================CP"
Screen.............. "SAPMSHLP 0600"
Screen line......... 7
Information on where terminated
Termination occurred in the ABAP program "CL_RS_BASE====================CP" -
in "X_PROPAGATE".
The main program was "GP9QWV49ZUMYUSW6JLZIZ85P81N ".
In the source code you have the termination point in line 12
of the (Include) program "CL_RS_BASE====================CM005".
Source Code Extract
Line
SourceCde
1
METHOD X_PROPAGATE .
2
3
DATA: l_r_x TYPE REF TO cx_rs_no_check.
4
5
TRY.
6
l_r_x ?= i_r_root.
7
CATCH cx_root.
8
CLEAR l_r_x.
9
ENDTRY.
10
11
IF l_r_x IS INITIAL.
>>>>>
RAISE EXCEPTION TYPE cx_rsr_propagate_x
13
EXPORTING
14
previous = i_r_root.
15
ELSE.
16
RAISE EXCEPTION l_r_x.
17
ENDIF.
18
19
ENDMETHOD.I got reply from SAP. The problem can be solved by running program RSDG_XPRA_IOBJ_TO_NW05. Note 939484 describes this.
Note 939484 - Input help for tech characteristic and time characteristics
Summary
Symptom
You upgraded to SAP NetWeaver 2004s. An open SQL error occurs when you execute input help for a technical characteristic, a time characteristic or a unit.
The 'SAPSQL_INVALID_FIELDNAME' short dump in the 'CL_RSDM_READ_MASTER_DATA' class indicates that these characteristics have not been maintained. This error may also occur when you activate InfoProviders, for example.
The error MAY occur for the following InfoObjects:
0CALMONTH
0CALMONTH2
0CALQUART1
0CALQUARTER
0CALWEEK
0CALYEAR
0CURRENCY
0FISCPER
0FISCPER3
0FISCVARNT
0FISCYEAR
0LOGSYS
0SOURSYSTEM
0UNIT
0WEEKDAY1
0RATE_TYPE
0DATE
0LANGU
Other terms
Input help, F4, 0CALMONTH, 0CALMONTH2, 0CALQUART1, 0CALQUARTER, 0CALWEEK, 0CALYEAR, 0CURRENCY, 0FISCPER, 0FISCPER3, 0FISCVARNT, 0FISCYEAR, 0LOGSYS, 0SOURSYSTEM, 0UNIT, 0WEEKDAY1, 0RATE_TYPE, 0DATE, 0LANGU, RSDG_XPRA_IOBJ_TO_NW05
Reason and Prerequisites
The problem can have the following causes:
The characteristic does not have any master data, although you did define a master data read class.
There is no generated master data table for the characteristic (for example, 0CURRENCY) and you have not defined a corresponding master data read class in the meta data.
Solution
Technical characteristics and time characteristics were delivered again for SAP NetWeaver 2004s with new properties. The first time you call the data warehousing workbench, the system activates the technical content. If the (time) characteristic already exists in the active version, the system does not copy it from the technical content again. For SAP NetWeaver 2004s, however, the following conditions must be fulfilled:
The characteristic has the property "With master data", which ensures that the master data read class functions correctly.
If the active version of the characteristic does not have any master data, copy the characteristic from the content again. Make any necessary adjustments. Ensure that the "With master data" property is set.
The characteristic does not have a generated table, rather it has its own table, delivered by SAP (for example, unit 0CURRENCY -> table TCURC). The definition of the characteristic must include a relevant master data read class (for example, unit 0CURRENCY -> class CL_RSMD_RS_0CURRENCY).
The RSDG_XPRA_IOBJ_TO_NW05 XPRA defines a master data read class automatically. This XPRA is executed when you upgrade. It may, however, occur, that the XPRA is not executed successfully. If this happens, you can execute the XPRA again manually.
Start Transaction SE38.
Enter the name RSDG_XPRA_IOBJ_TO_NW05 in the 'Program' field.
Choose 'Execute' to execute the program. -
Runtime Error while creating FINANCIAL STATEMENT VERSION
Hi Experts,
The major concern of the problem is related with the new creation of FINANCIAL STATEMENT VERSION.
(SPRO --> IMG --> Financial Accounting --> General Ledger Accounting --> Business Transactinons --> Closing > Document> Define Financial Statement Versions.)
My quries is that is it possiable to maintain more then one FSV for the same company code or for same chart of account.
If yes then we are trying to do it . But the problem reflect, be the indication that we can`t maintain more then one code.
Its giving an runtime error
Runtime Errors SAPSQL_ARRAY_INSERT_DUPREC
Except. CX_SY_OPEN_SQL_DB
Date and Time 15.03.2008 18:36:04
Short text
The ABAP/4 Open SQL array insert results in duplicate database records.
What happened?
Error in the ABAP Application Program
The current ABAP program "SAPLFAGL_FSV" had to be terminated because it has
come across a statement that unfortunately cannot be executed.
Error analysis
An exception occurred that is explained in detail below.
The exception, which is assigned to class 'CX_SY_OPEN_SQL_DB', was not caught
in
procedure "FSV_TEXTS_CONVERT" "(FORM)", nor was it propagated by a RAISING
clause.
Since the caller of the procedure could not have anticipated that the
exception would occur, the current program is terminated.
The reason for the exception is:
If you use an ABAP/4 Open SQL array insert to insert a record in
the database and that record already exists with the same key,
this results in a termination.
(With an ABAP/4 Open SQL single record insert in the same error
situation, processing does not terminate, but SY-SUBRC is set to 4.)
We are trying Its giving an abap dump
Rest the technicall aspect that is comming in ABAP Dump i am not
getting.....so pls inquire according to yourself.
Kind Regards,
SudhanshuHello
Logically speaking, a company code can have more than one FSV as long as they share the same chart of accounts.
When COA is common, the FSV pattern can be designed seperatly to serve the purpose of varied reporting.
The dump you are getting is a temporary snag. Take a screen shot from SM54 after you execute the report and pass it to BASIS for analysis. They would fix that.
Reg
assign points if useful
Maybe you are looking for
-
What can I do to unlock the IPAD if I cannot access the device by using computer? When I connect to computer, it says I have to unlock the IPad to connect to itunes. I try everything but I cannot figure out what to do. I turn off IPAD and it still st
-
Disable iTunes automatic updates
hi guys i updated my iTunes 10.7 to 11, used it for a few hours trying out all the ''new functions'' , again i hated the white background ( already hated it when it was first introduced a couple of years ago... it just cooks my eyes after a while
-
What is the best strategy for sharing iPhoto libraries between two macs?
I have an iMac and a new Airbook. I want to keep my iMac as the"main" iPhoto location, but want to also keep copies of the photos on my Airbook. I could copy the library from one to the other to get the photos into the Airbook initially, but then h
-
Screen capture output is cropped incorrectly
I'm using the built-in screen capture functionality on OS X to grab screenshots, using Command-Shift-4 followed by space, then clicking on the window to be captured. The problem is that if the window fills the full screen area, it is partially cropp
-
Can I invoke Oracle Form from web page?
Does anyone know how can I invoke an Oracle Forms form from an html page?