Output error trying to use Classes
I downloaded and installed the classes that come with "Flade"
I am trying to learn how to use the classes that comes with it.
In my actionscript I have:
import org.cove.flade.util.Vector;
import org.cove.flade.util.Line;
var p1:Vector = 5;
var p2:Vector = 40;
var x:Number = 10;
var y:Number = 40;
var MyLine:org.cove.flade.util.Line = new
org.cove.flade.util.Line(p1:Vector, p2:Vector);
var MyVector:org.cove.flade.util.Line = new
org.cove.flade.util.Vector(x:Number, y:Number);
and the error that I get is:
**Error** Scene=Scene 1, layer=Layer 1, frame=1:Line 9: ')'
or ',' expected
var MyLine:org.cove.flade.util.Line = new
org.cove.flade.util.Line(p1:Vector, p2:Vector);
Total ActionScript Errors: 1 Reported Errors: 1
What am I missing here? And am I going about this the right
way? Thanks for any help in advance.
Hi Marco,
I guess I need to install XML functions in my DB. Do you think anything else might be the problem?
Here is the table description:
SQL> describe resultstable;
Name Null? Type
TAXON NUMBER(38)
GENOMEID VARCHAR2(30)
REFSEQNA VARCHAR2(40)
CONTIGNAME VARCHAR2(40)
LOCATIONID CHAR(3)
SEQUENCEVERSIONID NUMBER(38)
EXTFEATUREID VARCHAR2(11)
GENEID NUMBER(38)
LEFTEND FLOAT(126)
RIGHTEND FLOAT(126)
STRAND VARCHAR2(30)
Similar Messages
-
I get an odd error when trying to use TreeSet on my computer... even in code that I know compiles on other computers...
C:\Program Files\JavaCompiler\Programs\Exam2\Prob03>javac Prob03.java
.\Prob03MyClass.java:1: cannot resolve symbol
symbol : class TreeSet
location: class Prob03MyClass
class Prob03MyClass extends TreeSet
^
1 error
I'm figuring that it doesn't know where to find TreeSet... even though I put in the command
import java.util.*;
So... anyone know what I can do to fix this?nevermind... I had the import java.util.* only in the driver program, and not in the class...
When I put it in the class, it worked... kinda... -
Error trying to use jsp:useBean
I am trying to use a class in a JSP that is basically a connection to an
Oracle database. It works fine when used from a servlet. However, when I try
to instantiate it from a JPS page, I get errors. Here is the snippet from
the JSP page:
<%@ page import="engr.projmgmt.*" %>
<jsp:useBean id="OB" class="engr.projmgmt.OracleBroker" />
The class is here:
/usr/local/apache/servlets/engr/projmgmt/OracleBroker.class
The weblogic class path contains /usr/local/apache/servlets.
I get the following error in the weblogic log:
Mon Aug 13 17:39:15 PDT 2001:<E> <ServletContext-General> Servlet failed
with Exception
java.lang.ClassNotFoundException: class engr.projmgmt.OracleBroker :
java.lang.IllegalAccessException: engr/projmgmt/OracleBroker
at java.beans.Beans.instantiate(Beans.java:215)
at java.beans.Beans.instantiate(Beans.java:55)
at jsp_servlet._PM._index._jspService(_index.java:90)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:120)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:915)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:879)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
Manager.java:269)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:365)
at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:253)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
--------------- nested within: ------------------
weblogic.utils.NestedRuntimeException: cannot instantiate
'engr.projmgmt.OracleBroker' - with nested exception:
[java.lang.ClassNotFoundException: class engr.projmgmt.OracleBroker :
java.lang.IllegalAccessException: engr/projmgmt/OracleBroker]
at jsp_servlet._PM._index._jspService(_index.java:92)
at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
at
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
:120)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:915)
at
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
l.java:879)
at
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
Manager.java:269)
at
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:365)
at
weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:253)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
Anyone have anyideas?
Thanks,
CC
I appears that your default constructor is not publicly accessible from the
exception.
Sam
"Chuck Carson" <[email protected]> wrote in message
news:[email protected]...
>
> I am trying to use a class in a JSP that is basically a connection to an
> Oracle database. It works fine when used from a servlet. However, when I
try
> to instantiate it from a JPS page, I get errors. Here is the snippet from
> the JSP page:
>
> <%@ page import="engr.projmgmt.*" %>
> <jsp:useBean id="OB" class="engr.projmgmt.OracleBroker" />
>
> The class is here:
> /usr/local/apache/servlets/engr/projmgmt/OracleBroker.class
> The weblogic class path contains /usr/local/apache/servlets.
>
> I get the following error in the weblogic log:
>
> Mon Aug 13 17:39:15 PDT 2001:<E> <ServletContext-General> Servlet failed
> with Exception
> java.lang.ClassNotFoundException: class engr.projmgmt.OracleBroker :
> java.lang.IllegalAccessException: engr/projmgmt/OracleBroker
> at java.beans.Beans.instantiate(Beans.java:215)
> at java.beans.Beans.instantiate(Beans.java:55)
> at jsp_servlet._PM._index._jspService(_index.java:90)
> at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
> at
>
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
> :120)
> at
>
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
> l.java:915)
> at
>
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
> l.java:879)
> at
>
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
> Manager.java:269)
> at
>
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:365)
> at
> weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:253)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
> --------------- nested within: ------------------
> weblogic.utils.NestedRuntimeException: cannot instantiate
> 'engr.projmgmt.OracleBroker' - with nested exception:
> [java.lang.ClassNotFoundException: class engr.projmgmt.OracleBroker :
> java.lang.IllegalAccessException: engr/projmgmt/OracleBroker]
> at jsp_servlet._PM._index._jspService(_index.java:92)
> at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
> at
>
weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
> :120)
> at
>
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
> l.java:915)
> at
>
weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
> l.java:879)
> at
>
weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
> Manager.java:269)
> at
>
weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:365)
> at
> weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:253)
> at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:129)
>
>
> Anyone have anyideas?
>
> Thanks,
> CC
>
>
-
I am running MS Word 2011, latest Mac OS, and trying to use the Mail Merge option with the Apple Address Book as the data source.
However whenever I select the Apple Address Book as the data source, I get the error "Word was unable to open the data source".
Anybody got any idea why?
Thanks for your helpI am guessing you could have solved this little problem already but perhaps someone else may benefit:
I struggled with the same problem - not being able to use Mac Address Book (i.e. Contacts) with Word 2013 for mac mail-merge (on Mountain Lion and, now, on Mavericks) - with the exact same error message reported by Klausngigtoas above .
So I read lots of techie stuff on forums which passed a nice few hours but didn't help. Finally, with slumped, defeated expression, I gave up.
But I just now (such is life) I accidentally stumbled upon the simple solution:
1. Enter System Preferences and click Security & Privacy.
2. Select the Privacy tab and then on Contacts on the left hand panel.
3. In the right hand panel ("Allow the apps below to access your contacts") just tick the Contacts box.
4. And Voilà! - at least it worked for me - hope it does for you. -
Error trying to use OLTCommandLine.jar
I have an error trying to run an OLT Scenario from command line using OLTCommandLine.jar as described in Chapter 4.3.6 of the OLT Load Testing Users Guide. (OATS 12.1) If anyone has input please let me know.
I am attempting to invoke OLTCommandLine.jar on the OATS Server with the following command line:
C:\OracleATS\jdk\bin\java.exe -jar C:\OracleATS\lib\OLTCommandLine.jar -run -scenarioFile="C:\OracleATS\OFT\Login_LOAD\Login_LOAD.scn" -session="Login_LOAD_CMD_test" -OLTServer=localhost:8088 -user=Administrator -password=XXXXX -log C:\Temp\myOLTlog.log
The error message is as follows:
Error initializing controller connection to t3://10.0.1.13:8088/Administrator\n\n(message id=ctl.initError)
Please make sure the OLT server is running!I was able to resolve this issue.
The error message indicated a problem using the t3 protocol. The local weblogic install did not have it enabled. I was able to login to the weblogic console (http://localhost:8088/console) as user "oats" with the install password. Then I figured out that I needed to click the "Enable Tunneling" checkbox. After that the OLTCommandLine.jar started working as desired. -
Getting Error Trying to Use addField Method
I am trying to use automation to add a field to a document but get an error stating Invalid Argument Type..
Here is part of my code:
avDocMM =
CreateObject("AcroExch.PDDoc")
If File(whatDrawingNumber) = .T. Then
ispdffilee = avDocMM.Open(whatDrawingNumber)
If ispdffilee = .T.
jse3MM = avDocMM.GetJSObject
*dfrnopMM = jse3MM.numPages
STORE 50 TO array1(1)
STORE 20 TO array1(2)
STORE 450 TO array1(3)
STORE 0 TO array1(4)
jse4MM = jse3MM.addField("test","text",0,array1)
avDocMM.
Close()Hi Marco,
I guess I need to install XML functions in my DB. Do you think anything else might be the problem?
Here is the table description:
SQL> describe resultstable;
Name Null? Type
TAXON NUMBER(38)
GENOMEID VARCHAR2(30)
REFSEQNA VARCHAR2(40)
CONTIGNAME VARCHAR2(40)
LOCATIONID CHAR(3)
SEQUENCEVERSIONID NUMBER(38)
EXTFEATUREID VARCHAR2(11)
GENEID NUMBER(38)
LEFTEND FLOAT(126)
RIGHTEND FLOAT(126)
STRAND VARCHAR2(30) -
Error trying to use VHV or diff
Hi,
I've installed SCM 9.0.4 on a 9i database. I'm trying to use it but I get the following error while trying to use RON's diff tool or VHV:
Message
CDR-03120: Internal Error - Problem making a repository connection
Cause
An internal Diff or Merge component has been
unable to make a repository connection.
How can I get this to work?
thanks
LapollaLapolla,
This is typically a problem with the entry in tnsnames.ora for the database instance. Can you check that it looks similar to:
UKP1111.ORACLE.COM =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP)(HOST = ukp1111)(PORT = 1521))
(CONNECT_DATA =
(SID = ORCL)
The connection used by the RON is vmia sqlnet, the VHV and Diff/Merge use a jdbc connection, thus your tns entries may work for the RON and not the java tools.
David -
Getting linker error in Visual studio while trying to use class ActiveSelectionObserver
I am trying to implement a selection observer. I am using public specifier to derive from class ActiveSelectionObserver and have included the header file SelectionObserver.h.
But I am getting the below error from linker while trying to do that.
Below is the my code:
class CSDTSelectionObserverImpl : public ActiveSelectionObserver
/* some code here**/
Below is the linker error:
CSDTSelectionObserverImpl.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl ActiveSelectionObserver::ActiveSelectionObserver(class IPMUnknown *,class IDType<struct PMIID_tag>)" (__imp_??0ActiveSelectionObserver@@QEAA@PEAVIPMUnknown@@V?$IDType@UPMIID_tag@@@@@Z) referenced in function "public: __cdecl CSDTSelectionObserverImpl::CSDTSelectionObserverImpl(class IPMUnknown *)" (??0CSDTSelectionObserverImpl@@QEAA@PEAVIPMUnknown@@@Z)Thanks Markus, this resolved the issue.
I Included below in properties> linker>input>Additional dependencies
$(ID_SDK_DIR)\build\win\objdx64\WidgetBin.lib
But is there some documentation to get this information? as what all .lib are needed for a particular class etc? -
Read-only errors trying to use MDS in JDeveloper 11.1.1.4.0
JDeveloper 11.1.1.4.0
I'm trying to set up MDS in our application using the usual docs, cue cards and blog posts.
We use our own LDAP-based authentication, which we'll set up later. In the meantime, I have a custom UserCC class which just returns one user name.
In the adf-config.xml setup, in "View", I set to track column.
In the code I have println statements for each method, my UserCC constructor is called.
When I rearrange the order of columns, I get the following error messages in my console:
<DocumentUtils> <getDocument> ADFv: Trouble getting the mutable document from MDS.
<DocumentUtils> <getDocument> ADFv: Trouble getting the mutable document from MDS.
<DocumentUtils> <getDocument> ADFv: Trouble getting the mutable document from MDS.
<DocumentUtils> <getDocument> ADFv: Trouble getting the mutable document from MDS.
<DocumentUtils> <getDocument> ADFv: Trouble getting the mutable document from MDS.
<DocumentUtils> <getDocument> ADFv: Trouble getting the mutable document from MDS.
<DocumentUtils> <getDocument> ADFv: Trouble getting the mutable document from MDS.
<DocumentUtils> <getDocument> ADFv: Trouble getting the mutable document from MDS.
<DocumentUtils> <getDocument> ADFv: Trouble getting the mutable document from MDS.
<DocumentUtils> <getDocument> ADFv: Trouble getting the mutable document from MDS.
<DocumentUtils> <getDocument> ADFv: Trouble getting the mutable document from MDS.
<DocumentUtils> <getDocument> ADFv: Trouble getting the mutable document from MDS.
<DocumentUtils> <getDocument> ADFv: Trouble getting the mutable document from MDS.
<DocumentUtils> <getDocument> ADFv: Trouble getting the mutable document from MDS.No other messages or indicators that other forum posts mention, nothing with any more details.
Here is my UserCC code, built as part of my Models project, put in ...\jdeveloper\jdev\lib\patches
package oracle.documaker.idocumaker.model;
import oracle.mds.core.MetadataObject;
import oracle.mds.core.RestrictedSession;
import oracle.mds.cust.CacheHint;
import oracle.mds.cust.CustomizationClass;
public class UserCC extends CustomizationClass {
private static final String DEFAULT_LAYER_NAME = "user";
private String mLayerName = "user";
public UserCC() {
System.out.println("XXX In the UserCC Constructor");
public CacheHint getCacheHint() {
System.out.println("XXX In the UserCC getCacheHint");
return CacheHint.USER;
public String getName() {
System.out.println("XXX In the UserCC getName");
return mLayerName;
public String[] getValue(RestrictedSession sess, MetadataObject mo) {
System.out.println("XXX I was asked about the user name");
return (new String[] { "alanabrams" });
}We've always had security on, the only thing that changed was my understanding of how we were doing security.
Before, I had written a custom UserCC that always returned the same name, after I used the standard UserCC. I had the same results both time.
The cause of my error message is "MDS repository may be configured incorrectly", which I kind of figured, but there's nothing to point me to diagnose how it is incorrectly configured or how to fix it. -
Ok I have complied my Hello.java and have a Hello.class file. When I try and run it using Java Hello I get the following error.
exception in thread "main" Java.Lang.NoClassDefFoundError:HelloWhen you type in "java Hello" the java.exe tries to find a file (or jar) that contains the Hello class. Then it tries to execute a method whose signature is:
public static void main (String[] args)
If it can't find the method, then it generates the error you posted. The method must be defined as static and void, must be named main (not Main, for example), and must use a String array as its single argument. -
Error in smartform using classes
Hi ,
I am trying create refernce object for a class in porgram lines of smartform.
it is giving error.
the code is
lo_act_rec type ref to cl_hrrcf_abstract_activity_rec.
lo_act type ref to cl_hrrcf_abstract_activity.
lo_act_rec ?= gs_activity-activity.
lo_act ?= lo_act_rec->infotype_records.
plz help meHi,
You have not yet instantiated the references you have declared before assignign values to them.
I would suggest you to use the following 2 statements to instantiate them:
CREATE OBJECT lo_act_rec.
CREATE OBJECT lo_act.
Or if you have any specific constructor methods within the corresponding classes, use them first before assigning values like this.
Very often you might have methods to create objects from a particular structure, etc... Please check for this in the class you are using.
Hope this helps.
Regards,
Archana -
Error trying to use OWB 10.2
Hi:
Could anybody help? I am using windows XP with service pack 2:
OWB client version 10.2.0.1.31
OWB repository 10.2.1.0
ORACLE DATABASE 10.1
I just installed OWB 10.2 in windows XP. I created repositories and I could open the design center, However trying to open a mapping or create a table, view etc. I get the following error:
API5072: Internal Error: Null message for exception. Please contact Oracle Support with the stack trace and details on how to reproduce it.
oracle.wh.util.Assert: API5072: Internal Error: Null message for exception. Please contact Oracle Support with the stack trace and details on how to reproduce it.
at oracle.wh.util.Assert.owbAssert(Assert.java:51)
at oracle.wh.ui.jcommon.OutputConfigure.showMsg(OutputConfigure.java:216)
at oracle.wh.ui.common.CommonUtils.error(CommonUtils.java:370)
at oracle.wh.ui.console.commands.TreeMenuHandler.error(TreeMenuHandler.java:132)
at oracle.wh.ui.console.commands.TreeMenuHandler.error(TreeMenuHandler.java:121)
at oracle.wh.ui.console.commands.CreateCmd.performAction(CreateCmd.java:86)
at oracle.wh.ui.console.commands.TreeMenuHandler$1.run(TreeMenuHandler.java:188)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
Could anybody help? I am using windows XP with service pack 2:
OWB client version 10.2.0.1.31
OWB repository 10.2.1.0SolutionTo implement the solution, please execute the following steps:
1. Log into OWB Design Center.
2. Navigate to Tools -> Preferences.
3. For Appearance, set locale to a value (use English US ).
4. Restart OWB Design Center.
5. Retest the issue.
8. Migrate the solution as appropriate to other environments. -
Error trying to use load-externs in a module project
Hi:
I am trying to implement modules in my application. I have
read the documentation and learned that if i want to reduce the
size of my modules i have to use the link-report and load-externs
compiler options (the first in the main project and the second in
the modules)
This is the line that i use in the "Additional compiler
arguments" section of the the main project:
-locale en_US -use-network=true -optimize=true
-link-report=C:\report.xml
The file is created in the specified location but......
when i try to use report.xml in the load-externs argument of
the module project i get the next error:
"could not open 'C:\report.xml' while processing
configuration variable 'load-externs'
The line tha i use is this:
-locale en_US -use-network=true -optimize=true
-load-externs=C:\report.xml
I am using Flex Builder 2.01
I'll appreciate your help
Thanks
GBYHi
This answer is 3 1/2 years too late, but someone else might find it helpful.
Saw your question and was looking for the same answer. Eventually translated this spanish site to english.
Solution: you need to copy the linkReport.xml to the root folder of your module project i.e. the same directory as
your [ModuleName].mxml file.
Good luck
Brian -
Error: Trying to use Photoshop automation
I am running Windows 7, 32-bit.
I tried to add a reference from Visual Studio but Photoshop was not visible. So I decided to try to register the type library manually.
I am trying to automate photoshop but I cannot get the type library registered.
The command from the photoshop directory is:
regsvr32 Typelibrary.tlb
There error I am getting is:
The module typelibrary.tlb may not be compatile with the version of windows tha tyou are running. check if the module is compatibe with an x86 (32 bit) or x64 (64-bit) version of regsvr32.exe
Any ideas?nevermind... I had the import java.util.* only in the driver program, and not in the class...
When I put it in the class, it worked... kinda... -
I get the following error trying to use buildtms with Tux 6.5 and Oracle 8.1.6
I do not get this error using tuxedo 7.1.
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (BS-30e9.o)
was detected. The linked output may not run on a PA 1.x system.
I received the same error when using the buildserver command with one of the -f
files built as a .o file using the CC compiler.If you run buildclient or buildserver -v, you will see the flags passed
to the compiler. TUXEDO 7 passes +DA1.1, which is going to build a
binary that can run on older HP systems, but not perform as well. If you
want to use the more modern instruction set, you can pass "-f+DA2.0" on
the build line, which will override the DA1.1.
In general, the TUXEDO build utilities are fairly conservative. If you
notice, they do not even pass the optimizer flag, -O, to the compiler.
We feel that you should be building your .o files yourself, using the
appropriate compiler options, and then use our build commands to do the
final linking.
And if you are running on HP, you really need to learn about the
different machine architectures and compiler options. Start with "man
cc".
Scott Orshan
Peter Martin wrote:
>
I do not get this error using tuxedo 7.1.
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (BS-30e9.o)
was detected. The linked output may not run on a PA 1.x system.
I received the same error when using the buildserver command with one of the -f
files built as a .o file using the CC compiler.
Maybe you are looking for
-
Is there a way to find the administrater password using terminal
i dont know, how do you find it out. I dont have the cd, and I really need to know soon ibook G4 Mac OS X (10.4.1) ibook G4 Mac OS X (10.4.1)
-
Idoc "missing" between SAP and PI
Hi! We have an issue with Idocs that are "missing" between SAP and PI. First 5 idocs were processed ok, then 3 went into yellow status. We have set up queue processing on this particular idoc type as there can be posted 2 at the same time. The proble
-
How do I import GoPro video into Final Cut Pro X?
I'm about to purchase Final Cut Pro X (10.1.4). Will I be able to import my GoPro files? Do I have to convert them to another file type? Has anybody imported GoPro video into their projects? I believe that GoPro Studio can convert the video files int
-
Sending Catalog by e-mail.
Hi, I want to send a RAW shoot that I corrected for another photographer to him, but by sending the .ircat file, so that he may re-open the original files in his Lightroom and update the changes. I used Export to Catalog and unchecked "include origin
-
Face-tags in photoshop elements 8
In photoshop elements 8, are the "face tags" written" in the IPCT (or other metatags, like XMP), or are they only recorded in the database of PSE. Is it possible to insert them in the IPTC. (Excuse-me for my bad English...) Michlvill