Error of compiling RMI project in Linux

I have two project using RMI. They both have problem when compiling.
One of them has GUI, it generates the stub java files but fails to compile them into classes and the error message is
Exception in thread "main" java.lang.InternalError: unexpected exception during
linking: java.lang.ClassNotFoundException: javax.swing.JFrame
The other one does not have GUI, it does generate the stub classes and the message is
java.lang.NullPointerException
Some other simpler projects can be compiled and run.
All the javac's worked fine but none of the rmic's worked properly.
Please someone has the knowledge.
Thanks.

sorry, it's my mistake..it really Naming.lookup problem..i have solved it..anyway, thanks for your kindness..

Similar Messages

  • Error in compiling sample project of Indesign CC 2014

    Hi,
    I am trying to compile sample project of Indesign CC 2014 using VC++ 2013. but it is showing me following error:
    "error C2039: 'assert_not_arg' : is not a member of 'boost::mpl' (..\..\..\source\sdksamples\basicmenu\BscMnuSuiteLayoutCSB.cpp)    D:\Adobe InDesign CC 2014 SDK\external\dva\third_party\boost_libraries\boost\iterator\detail\facade_iterator_catego ry.hpp"
    Build result is also showing "Unknown compiler version - please run the configure tests and report the results".
    I have added following path in "Project properties->VC++ directories->Include directories"
    D:\Adobe InDesign CC 2014 SDK\external\dva\third_party\boost_libraries
    D:\Adobe InDesign CC 2014 SDK\external\dva\third_party\adobe_source_lib
    Please let me know if any kind of settings I need to change in VC++ 2013.
    I am using application Indesign CC 2014 and VC++ 2013 and OS is Windows 8
    Thanks in advance,
    Priyanka

    You probably need to post this over in the InDesign SDK forum, but I'm not sure that's even the right place. Can you explain in plain language what this "project" is?

  • Error in compiling sample project of photoshop CC 2014

    Hi,
    I am trying to compile sample project "Outbound" of Photoshop CC 2014, but it is showing me error, "Parse Issue: Unknown type name 'DialogPtr' " in DialogUtilities.h file .
    DialogUtilities.h is part of "samplecode:common:include" folder. I have also added this path in header search path, but it is still not working.
    Application I am using is "Photoshop CC 2014"
    and Xcode version is "Version 4.6.3 (4H1503)"
    If anyone have idea about this then please let me know.
    Thanks,
    Priyanka

    Are you using the CC 2014 release of the SDK?
    The DialogUtilities.h for mac do not work. They are the old Carbon API's. See the Dissolve example for an Objective-C UI.
    I would comment out the DialogUtilities.h include and other associated headers for Carbon UI. Some Carbon calls still work that are unrelated to UI.

  • Error when compiling orchestration project

    This is driving me nuts and I hope someone can help. I have a orchestration project and one of the orchestration uses request-response direct bound ports. Message sent to this port will be transformed to a wcf request on a send-receive port configured in
    the biztalk application. In the orchestration request-response port I am trying to catch faults so right clicked the operation and clicked "New Fault Message". This new fault is of the type "BTS.soap_envelope_1__1.Fault"
    Now when I compile the project, I am getting compile error
    Error 522 The type or namespace name 'soap_envelope_1__1' does not exist in the namespace 'MyNameSpace' (are you missing an assembly reference?) [Orchestration project path]\obj\Debug\BizTalk\XLang\File0.cs 
    I have verified that the project contains a reference to Microsoft.BizTalk.GlobalPropertySchemas dll
    I would appreciate any help.

    Hi,
    This is what I originally thought, namespace issue. Now that I think of it, it might not even need to be just the last bit of the namespace to make problem. I unfortunately don't really have to time now to demonstrate it or investigate it further
    but it is very possible.
    Anyhow, for your problem at hand, I am afraid that you will be left with no choice but to change your namespace. I have never been able to work around it.
    I learned this the hard way as well and since then I am always careful when choosing my namespace. I avoid any reserved words. Also when using .Net libraries in your BizTalk project, never give your class the same name as part of your namespace.
    Moreover, for schema namespace, I would avoid anything listed here:
    For now that is all I can advise you. If someone else has a work around or proper explanation I would be glad to hear about it as well.
    Good luck!
    Francois

  • Error when compiling jasper report on Linux

    Hey guys/gals :)
    I'm having trouble creating a jasper report on Linux. I'm getting the ff. error after i click the
    link to generate my report:
    Http status 500:
    exception:
    javax.servlet.ServletException: Servlet execution threw an exception
    root cause:
         java.lang.NoClassDefFoundError
         net.sf.jasperreports.engine.xml.JRBaseFactory.getColor(JRBaseFactory.java:90)
         net.sf.jasperreports.engine.xml.JRElementFactory.createObject(JRElementFactory.java:161)
         org.apache.commons.digester.FactoryCreateRule.begin(FactoryCreateRule.java:389)
         org.apache.commons.digester.Digester.startElement(Digester.java:1361)
         org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
         org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
         org.apache.xerces.impl.dtd.XMLDTDValidator.emptyElement(Unknown Source)
         org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
         org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
         org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
         org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
         org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
         org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
         org.apache.commons.digester.Digester.parse(Digester.java:1647)
         net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:238)
         net.sf.jasperreports.engine.xml.JRXmlLoader.loadXML(JRXmlLoader.java:225)
         net.sf.jasperreports.engine.xml.JRXmlLoader.load(JRXmlLoader.java:213)
         net.sf.jasperreports.engine.JasperCompileManager.compileReport(JasperCompileManager.java:195)
         com.bdo.clg.mrs.main.utils.ReportUtil.printUpldTxn(ReportUtil.java:112)
         com.bdo.clg.mrs.inquiry.action.PrintUpldTxnAction.execute(PrintUpldTxnAction.java:48)
         org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:446)
         org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:266)
         org.apache.struts.action.ActionServlet.process(ActionServlet.java:1292)
         org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:492)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
         javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    Background:
    I got a web application (java 1.4.2,Struts ) contained in Tomcat 5.0 server running on a Linux OS ver. 2.6.8.
    The application works fine except when generating a report. It seems that the error is thrown during compilation
    of the jasper template as suggested from the line ....JasperCompileManager.compileReport(JasperCompileManager.java:195) listed
    above . I'm able to build the reports on Win 2K though.
    What else needs to be done on the Linux side? All i've done so far is to set the path for java in the env. variables.
    Have checked out varous sites/forums for solutions but so far still no luck. Your suggestions or assistance will be greatly appreciated.

    To solve this issue, start your java environment with the option -Djava.awt.headless=true.
    It solves the issue... if you google for "Linux"+"JasperReports"+"NoClassDefFoundError" you will find the background info on this issue.
    Thx,
    Rob

  • Errors while compiling AIA project in Jdeveloper 11.1.1.5.0

    Hi
    I am using JDeveloper 11.1.1.5.0 for my AIA project.
    I created one ReqABCS using ServiceConstuctor in Jdev and at time of deployment I got the following errors.
    [scac] error: in SyncItemLotEbizReqABCSImplProcess.bpel(81): XML element "{http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2}Sender" of variable "Sender" is not defined
    [scac] error: in SyncItemLotEbizReqABCSImplProcess.bpel(83): XML element "{http://xmlns.oracle.com/EnterpriseObjects/Core/Common/V2}EBMHeader" of variable "EBM_HEADER" is not defined
    [scac] error: in SyncItemLotEbizReqABCSImplProcess.bpel(672): XML element "{http://schemas.xmlsoap.org/ws/2003/03/addressing}EndpointReference" of variable "EndpointReference" is not defined
    Same project is compiled and deployed successfully in earlier versions of JDeveloper.
    Please suggest the solution ASAP.
    Thanks in advance
    Venkata..

    Have you searched for the problem?
    I found Composite errors after upgrade to 11.1.1.5.0 which may help...
    Timo

  • Method not found in class errors when compiling project

    Hi,
    I am getting the following errors when compiling my project:
    Error(3,8): ReqLinesNotificationsVORowImpl not found
    Error(25,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(31,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Number) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(37,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(43,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Number) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(49,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(55,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Number) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(61,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(67,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(67,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(79,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(85,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(91,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(97,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(103,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(109,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(115,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(121,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(127,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Number) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(133,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(139,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Number) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(145,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(151,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Number) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(157,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(163,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(169,25): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(175,9): method setAttributeInternal(java.lang.String, java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(181,23): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(187,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Date) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(193,23): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    Error(199,9): method setAttributeInternal(java.lang.String, oracle.jbo.domain.Date) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImplError(205,23): method getAttributeInternal(java.lang.String) not found in class oracle.apps.icx.por.wf.server.ReqLinesNotificationsVOExRowImpl
    I have ReqLinesNotificationsVORowImpl and ReqLinesNotificationsVOImpl files in myprojects directory. Can anyone help please?
    Thanks

    Hi,
    From the error it seems that the code is refering ReqLinesNotificationsVOExRowImpl file.
    Please make sure that its class file is present in myclasses folder.
    Since u have mentioned that ReqLinesNotificationsVORowImpl is already placed in myclasses folder. Hope this should resolve your issue.
    Regards,
    Raj Papdeja

  • Errors in complex BC4J projects management - 10.1.2.1.

    Sometime we need to apply changes to BC4J entities (e.g. removing/renaming a field or an association).
    If some ViewObject / ViewLink is present in the same project I'm informed of the problem and I should repair it by hand.
    This is noisy.
    But if I've a project in a different workspace wich imports classes (suggested method) of the project I changed it gives me errors opening/compiling the project and the related Vo/Vl are corrupted ( I don't mean the file is corrupted but the file is inconsistent and should be edited by hand in order to try to repair it).
    I've hundreds of such projects and then the problem become impossible to handle.
    Is there any way to avoid BC4J xml files corruption ?
    Is there any way to verify / apply changes to many different projects ?
    Any new in 10.1.3 about that problem ?
    Tks
    Tullio

    I second Tullio's concerns...
    BC4J/ADF has many great features, but managing the various objects and dependencies across multiple projects is very tedious and error prone. You cannot have everything in one large project.
    I have tried various methods to control this; but eventually, you have to make changes to EO, VO, Links, etc., and Tullio's concerns are justified. I was in a recent conversation with others who expressed the same concerns based on experience; enough to consider alternatives to BC4J just from a management/change perspective.
    Dean

  • JDeveloper won't compile project on linux

    I have used jDeveloper on Windows to build BPEL Projects without a problem. However most of the time I work on a linux machine and wanted to install the Development Version of BPEL on it.
    Everyting installed successfully, and jDeveloper loads. However, when I try to complie any BPEL Project I get:
    INFO: Reading document at: file:/home/kmcgrath/jdevhome/mywork/TestBed/BPELProcess1/BPELProcess1.wsdl
    INFO: Reading document at: file:/home/kmcgrath/jdevhome/mywork/TestBed/BPELProcess1/BPELProcess1.wsdl
    INFO: Reading document at: file:/home/kmcgrath/jdevhome/mywork/TestBed/BPELProcess1/BPELProcess1.wsdl
    INFO: Reading document at: file:/home/kmcgrath/jdevhome/mywork/TestBed/BPELProcess1/BPELProcess1.wsdl
    INFO: Reading document at: file:/home/kmcgrath/jdevhome/mywork/TestBed/BPELProcess1/BPELProcess1.wsdl
    file:/home/kmcgrath/jdevhome/mywork/TestBed/BPELProcess1/BPELProcess1.wsdl
    validating "/home/kmcgrath/jdevhome/mywork/TestBed/BPELProcess1/BPELProcess1.bpel" ...
    /tmp/bpelc52374.tmp/BPEL-INF/src/bpel/p0/BPEL_BIN.java:0: Class org.collaxa.thirdparty.dom4j.dom.DOMElement not found in class com.collaxa.cube.xml.dom.CubeDOMElement.
    ^
    1 error
    The same exact workflow compliles and deploys successfully on windows. I've looked at all the classpaths and libraries and cannot find any differences between Windows and Linux installs. I even tried to copy the lib directories from the windows machine to the linux machine incase there was a bad .jar file or class, but still no luck. Is anyone successfully running jDeveloper on Linux and depolying BPEL Projects?
    Thanks,
    Kevin

    On my linux laptop, when I create a new BPEL project, I must add the ORABPEL library to the project. Then I can compile my project. Could this be the issue onyour side?

  • Compilation error while generating the form in linux

    Hello everyone,
    I am using Oracle Designer ver10.1.2.4 in windows to generate the forms with standard object library ofgwebol.olb and template form ofgwebt.fmb. form (with both .fmb and .fmx files) are generated without errors. Also when I open the forms in separately they compiles without errors. But when I copy the same .fmb file into linux enviroment and compile it using frmcmp.sh userid=user/password@database module_type=form compile_all=yes module=form_name it gives following errors.
    $> frmcmp.sh userid=odin/odin@ontw10g module_ty
    pe=form compile_all=yes module=LOGIN_SCHERM
    Forms 10.1 (Form Compiler) Version 10.1.2.0.2 (Production)
    Forms 10.1 (Form Compiler): Release - Production
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - 64bit Production
    With the Partitioning, OLAP and Data Mining options
    PL/SQL Version 10.1.0.4.2 (Production)
    Oracle Procedure Builder V10.1.2.0.2 - Production
    Oracle Virtual Graphics System Version 10.1.2.0.0 (Production)
    Oracle Multimedia Version 10.1.2.0.2 (Production)
    Oracle Tools Integration Version 10.1.2.0.2 (Production)
    Oracle Tools Common Area Version 10.1.2.0.2
    Oracle CORE 10.1.0.4.0 Production
    FRM-18108: Failed to load the following objects.
    Source Module:ofgwebol.olb
    Source Object: CGSO$CHAR_DO
    Source Module:ofgwebol.olb
    Source Object: CGSO$CHAR_DO
    Source Module:ofgwebol.olb
    Source Object: CGSO$BLOCK
    Source Module:ofgwebol.olb
    Source Object: CGSO$CANVAS
    Source Module:ofgwebol.olb
    Source Object: CGSO$WINDOW
    Compiling function CGTE$CHECK_CONSTRAINT_VIO...
    No compilation errors.
    Compiling procedure CGTE$INLOGGEN_ERRORS...
    No compilation errors.
    L/SQL ERROR 0 at line 17, column 3
    Statement ignored
    PL/SQL ERROR 201 at line 36, column 3
    identifier 'CGNV$.NAV_CLOSE_FORMS' must be declared
    PL/SQL ERROR 0 at line 36, column 3
    Statement ignored
    PL/SQL ERROR 201 at line 37, column 3
    identifier 'CGNV$.NAV_OPENING_WND' must be declared
    PL/SQL ERROR 0 at line 37, column 3
    Statement ignored
    Compiling KEY-HELP trigger on form...
    No compilation errors.
    Compiling WHEN-WINDOW-ACTIVATED trigger on form...
    Compilation error on WHEN-WINDOW-ACTIVATED trigger on form:
    PL/SQL ERROR 201 at line 6, column 8
    identifier 'CGNV$GET_ITEM_WINDOW' must be declared
    PL/SQL ERROR 0 at line 4, column 3
    Statement ignored
    Compiling POST-TEXT-ITEM trigger on form...
    Compilation error on POST-TEXT-ITEM trigger on form:
    PL/SQL ERROR 201 at line 4, column 3
    identifier 'CGNV$.STORE_WND_ITEM' must be declared
    PL/SQL ERROR 0 at line 4, column 3
    Statement ignored
    Compiling WHEN-WINDOW-CLOSED trigger on form...
    Compilation error on WHEN-WINDOW-CLOSED trigger on form:
    PL/SQL ERROR 201 at line 5, column 3
    identifier 'CGNV$.TERMINATE_WINDOW' must be declared
    PL/SQL ERROR 0 at line 5, column 3
    Statement ignored
    Compiling WHEN-FORM-NAVIGATE trigger on form...
    Compilation error on WHEN-FORM-NAVIGATE trigger on form:
    PL/SQL ERROR 201 at line 3, column 3
    identifier 'CGNV$.REMOVE_CHILD_FORM' must be declared
    PL/SQL ERROR 0 at line 3, column 3
    Statement ignored
    Compiling KEY-EXIT trigger on form...
    Compilation error on KEY-EXIT trigger on form:
    PL/SQL ERROR 201 at line 5, column 3
    identifier 'CGNV$.NAV_ENTER_QUERY' must be declared
    PL/SQL ERROR 0 at line 5, column 3
    Statement ignored
    PL/SQL ERROR 201 at line 9, column 5
    identifier 'CGNV$.CLOSE_ALL_WINDOWS' must be declared
    PL/SQL ERROR 0 at line 9, column 5
    Statement ignored
    Compiling KEY-CLRFRM trigger on form...
    No compilation errors.
    Compiling ON-ERROR trigger on INLOGGEN data block...
    No compilation errors.
    Compiling KEY-PREV-ITEM trigger on AGB_ID item in INLOGGEN data block...
    Compilation error on KEY-PREV-ITEM trigger on AGB_ID item in INLOGGEN data block
    PL/SQL ERROR 201 at line 4, column 3
    identifier 'CGNV$GO_PREV_ITEM' must be declared
    PL/SQL ERROR 0 at line 4, column 3
    Statement ignored
    Compiling KEY-NEXT-ITEM trigger on AGB_NAAM item in INLOGGEN data block...
    Compilation error on KEY-NEXT-ITEM trigger on AGB_NAAM item in INLOGGEN data blo
    ck:
    PL/SQL ERROR 201 at line 4, column 3
    identifier 'CGNV$GO_NEXT_ITEM' must be declared
    PL/SQL ERROR 0 at line 4, column 3
    Statement ignored
    Compilation errors have occurred.
    Form not created
    I think some standard library are missing in Linux environment. But I do not know the name of them and neither I can find. Please suggest the what need to be done to resolve the problem. The reason I am compiling the form in Linux is that I can run the form in windows because of corrupted installation of OC4j.
    Thanking you all much in advance.
    Edited by: Deepank on Dec 2, 2008 1:49 AM

    Deepank-
    When generating forms from Designer, Designer attaches libraries - like ofgmes.pll, ofgnavl.pll, etc. You will need to copy these libraries to the same directory where your forms reside on your Linux box. To find out what libraries ate attached to your form, open it on your windows PC after generating it from Designer and you will see the attached libraries. Also, watch out for the case-sensitivity of Linux. If you have the Designer libraries on your linux box and you still get errors, try changing the case of the names of the libraries.
    Hope this helps,
    Dan

  • TRIM() not found? Compile error: Can't find project or library in Excel 2007

    I am preparing to make a few alterations to a spreadsheet that another person built.  I have NOT made any changes to it yet.
    They put in a button that allows portions of the worksheet to print.  I am now using Excel 2007.  Their code ran fine in 2003.
    The button had worked in Excel 2003- but now (without any changes) throws an error "Compile Error: Cant find project or library."
    TRIM is highlighted in the following code:  (See below for the whole sub)
    If Trim(Worksheets("Measurements").Cells(RowCounter, ColumnCounter).Value) <> "" Then
                    If RowCounter > PrintRowMarker Then
                        PrintRowMarker = RowCounter
                    End If
                    If ColumnCounter > PrintColumnMarker Then
                        PrintColumnMarker = ColumnCounter + 1
                    End If
                End If
    I have added in the following references into Excel via the big button in the upper left and the "Excel Options" screens:
    Analysis Toolpak and Analysis Toolpak-VBA.  The sheet "Measurements" is present.
    1)  Are these the right packages for the TRIM function?
    2)  Is there a different Add-in that is needed?
    3)  Is there an additional step I must use to actually add in these packages?
    4)  Is there something else I should do?
    Thanks-
    Loralee
    P.S. Access 2003 finds (it's version of) TRIM fine- so a version is on the machine.  This spreadsheet if failing in the same way on 2 machines- both with Office 2007 installed.
    Private Sub BtnPrint_Click()
        Dim RowStarter  As Integer      'Where to start checking rows for content
        Dim RowCounter  As Integer      'The current row being checked
        Dim ColumnCounter  As Integer   'The current column being checked
        Dim PrintRowMarker  As Long   'The last row with data
        Dim PrintColumnMarker As Long 'The last column with data
        Dim NoMoreData As Boolean       'Look for a blank record
        Dim RangeValue As String        'Define the range string value
        Dim EndRangeValue As String
        PrintColumnMarker = 0
        PrintRowMarker = 0              'Initialize the row printing marker
        RowStarter = 5                  'Print Starting Point
        For RowCounter = 2005 To RowStarter Step -1
            For ColumnCounter = 50 To 2 Step -1
                If Trim(Worksheets("Measurements").Cells(RowCounter, ColumnCounter).Value) <> "" Then
                    If RowCounter > PrintRowMarker Then
                        PrintRowMarker = RowCounter
                    End If
                    If ColumnCounter > PrintColumnMarker Then
                        PrintColumnMarker = ColumnCounter + 1
                    End If
                End If
            Next ColumnCounter
                If PrintRowMarker > 0 Then
                End If
        Next RowCounter
        EndRangeValue = IndexToString(PrintRowMarker, PrintColumnMarker)
        RangeValue = "$A$1:" & EndRangeValue
        Worksheets("Measurements").PageSetup.PrintArea = RangeValue
        Worksheets("Measurements").PageSetup.PrintGridlines = True      'Turn on gridlines
        Worksheets("Measurements").PrintPreview                         'PRINT THAT PUPPY!
    End Sub

    Appears OK to me but the error message " Cant find project or library." suggests it could possibly be the references in VBA.
    In VBA select menu item Tools - References.
    Ensure that the following are checked:-
    Visual Basic for Applications
    Microsoft Excel 12.0 Object Library
    OLE Automation
    Microsoft Office 12.0 Object Library
    It there are any references displayed as Missing then scroll down to find the equivalent reference and check it and then uncheck the Missing one/s.
    Regards, OssieMac

  • Errors while trying to compile rdf file on LINUX

    hi all,
    We are trying to compile rdf file on linux using this command line:
    $ORACLE_HOME/bin/rwconverter.sh userid=scott/tiger@dbname batch=no source=test.rdf stype=rdffile dtype=repfile overwrite=yes.
    The following errors occured:
    REP-0004: Warning: Unable to open user preference file.
    REP-3000: Internal error starting Oracle Toolkit.
    What's the problem!
    plz help.

    Hi,
    These Metalink (http://metalink.oracle.com) notes might help you:
    210795.1 : Troubleshooting Guide for REP-4 error
    200474.1 : Comprehensive REP-3000 Troubleshooting and Overview Guide
    Navneet.

  • Compile Error on Final Arrays Project

    I'm sure this is an elementary problem, but I'm relatively new to Java. Can someone glance at this code for any apparent errors. I'm pretty sure the fillArrays() method and average() method are correct. I've tried everything, and there's no one I can ask. Any help would be greatly appreciated. This program is the final project of my java programming intro class.
    Thanks
    import ann.easyio.*;
    public class DoubleArrayOps
    public static double[] subArray(double data[], int start, int stop)
    double newData[] = new double[stop-start+1];
    int storeAt = 0;
    for (int i = start; i<= stop; i++)
    newData[storeAt++] = data;
    return newData;
    public static void printArray(Screen out, double data[])
    for (int i = 0; i< data.length; i++)
    out.print(data[i] + " ");
    public double average(double [] scoreArr)
    int numValues = scoreArr.length;
    double sum = 0.0;
    for(int i = 0; i < numValues; i++)
    sum += scoreArr[i];
    if(numValues > 0)
    return (sum / numValues);
    else
    System.err.println();
    return 0.0;
    public double standardDev(double [] scoreArr)
    int numValues = scoreArr.length;
    if(numValues > 0)
    double avg = average(scoreArr);
    double sumSqrTerms = 0.0;
    double term;
    for(int i = 0; i < numValues; i++)
    term = (scoreArr[i] - avg);
    Math.pow(term,2) += sumSqrTerms;//Compile error.
    return(Math.sqrt(sumSqrTerms / numValues));
    else
    System.err.println();
    return 0.0;
    import ann.easyio.*;               
    import hoj.*;
    class Grades extends Object
    static Screen theScreen = new Screen();
    static Keyboard theKeyboard = new Keyboard();
    public static void main(String args[])
    String [] nameArr;
    double [] scoreArr = new double [1000];
    double scores = fillArrays( nameArr, scoreArr);
    scoreArr = DoubleArrayOps.subArray(scoreArr, 0, scores-1);
    theScreen.print( "\nMean score: "
    + DoubleArrayOps.average(scoreArr)
    + "\n"
    + "Std. Dev: "
    + DoubleArrayOps.standardDev(scoreArr)
    +"\n");
    char [] gradeArr;
    gradeArr = computeLetterGrades(scoreArr);
    displayArrays( nameArr, scoreArr, gradeArr);
    public static double fillArrays(String [] nameArr, double [] scoreArr)
    int n = 0;
    String name;
    double score;
    while(true)
    Keyboard theKeyboard = new Keyboard();
    theScreen.print("\nPlease enter students name: ");
    name = theKeyboard.readWord();
    if (name.equals("done"))
              break;
    nameArr[n]=name;
    score = theKeyboard.readDouble();
    scoreArr[n]=score;
    n += 1;
    return n;
    public static char computeLetterGrades(double [] scoreArr)
    int numValues = scoreArr.length;
    char [] gradeArr = scoreArr.length;
    if(numValues > 0)
         double avg = average(scoreArr);
              double sDev = standardDeviation(scoreArr);
              double F_CUT_OFF = (avg - 1.5 * standardDev);
              double D_CUT_OFF = (avg - 0.5 * standardDev);
              double C_CUT_OFF = (avg + 0.5 * standardDev);
              double B_CUT_OFF = (avg + 1.5 * standardDev);
    for(int i = 0; i < numValues; i++)
              if(scoreArr < F_CUT_OFF)
              return gradeArr['F'];
              else if(scoreArr < D_CUT_OFF)
              return gradeArr['D'];
              else if(scoreArr < C_CUT_OFF)
              return gradeArr['C'];
              else if(scoreArr < B_CUT_OFF)
              return gradeArr['B'];
              else
              return gradeArr['A'];
              return gradeArr[];
    public static double displayArrays(String [] nameArr, double [] scoreArr, char [] gradeArr)
    Screen theScreen = new Screen();
    theScreen.print(+ Grades.fillArrays(nameArr,scoreArr)
    + Grades.computeLetterGrades(gradeArr);

    All my errors are compile errors. Here are the errors I get, and I've tried everything I know with null results. :) Thanks for the responses!
    Grades.java:115: 'class' or 'interface' expected
    public static char computeLetterGrades(double [] scoreArr)
    ^
    Grades.java:31: subArray(double[],int,int) in DoubleArrayOps cannot be applied to (double[],int,double)
    scoreArr = DoubleArrayOps.subArray(scoreArr, 0, scores-1);
    ^
    Grades.java:34: non-static method average(double[]) cannot be referenced from a static context
    + DoubleArrayOps.average(scoreArr)
    ^
    Grades.java:37: non-static method standardDev(double[]) cannot be referenced from a static context
    + DoubleArrayOps.standardDev(scoreArr)
    ^
    Grades.java:42: cannot resolve symbol
    symbol : method computeLetterGrades (double[])
    location: class Grades
         gradeArr = computeLetterGrades(scoreArr);
    ^
    Grades.java:44: cannot resolve symbol
    symbol : method displayArrays (java.lang.String[],double[],char[])
    location: class Grades
         displayArrays( nameArr, scoreArr, gradeArr);
    ^
    DoubleArrayOps.java:69: unexpected type
    required: variable
    found : value
              Math.pow(term,2) += sumSqrTerms;//Compile error.

  • Error when compile linux-selinux

    I got this issue when compiling linux-selinux 3.4.5-1:
    mkdir: cannot create directory /tmp/yaourt-tmp-user/aur-linux-selinux/pkg/linux-selinux/usr: File exists
    ==> ERROR: A failure occurred in package_linux_selinux().
    Aborting...
    ==>ERROR: Makepkg was unable to build linux-selinux
    ==>Restart....
    any suggestion?

    Hm maybe you should delete this directory?? Seems like you have tried to build it before and the build was aborted, leaving the directory. Just clean your /tmp (easiest way: reboot) and try to build it again and check if you get the same or different error messages.

  • Error running RMI program in Linux

    hi,
    hope can get some advices and help from you all..my problems is like this:
    There is no problem when i run my RMI client in Windows to send message to server. but when i run my RMI client in Linux to send message to server, exception occurs..here are the source codes...
    ****interface Task2*****
    public interface Task2 extends Serializable {
        Object getSender();
        Object getReceiver();
        Object getText();
    }****sdMssg.class********
    public class sdMssg implements Task2{
            Sring sender, receiver, text;
         public sdMssg(String s, String r, String t) {
                 sender = s;
              receiver = r;
              text = t;
         public Object getSender(){
              return sender;
         public Object getReceiver(){
              return receiver;
         public Object getText(){
              return text;
    }when i click "send" in my message box,
    public void actionPerformed(ActionEvent e){
         if(e.getActionCommand().equals("Send")){
         try{
         String input = lsd2.getText(0, lsd2.getLength());
         String mssg = new String(sender.getText()+": ");
         mssg = mssg.concat(input);
         try{
              sdMssg task = new sdMssg(sender.getText(), receiver.getText(), mssg);                    
              uL.sendMessage(task); //uL is the reference to the remote 
                                       //object.sendMessage is remote
                                       //method to send task object to
                                       //server
         }catch(Exception ex){
              ex.printStackTrace();
         lsd.insertString(lsd.getLength(), mssg + newline, attrs);
         lsd2.remove(0, lsd2.getLength());
         }catch(BadLocationException ex){}************************************************************************
    the exception : java.lang.NullPointerException() at line uL.sendMessage(task)..do you know what is the problem? it's running very well in Windows but not in Linux..what should i do? i really need yours help..
    Thanks a lot here..

    sorry, it's my mistake..it really Naming.lookup problem..i have solved it..anyway, thanks for your kindness..

Maybe you are looking for