Problem setting VI_ATTR_SUPPRESS_END_EN Attribute for my TCPIP MBSession

Hello,
im using the NI-VISA for c#.
I have to set the VI_ATTR_SUPPRESS_END_EN Attribute to false in order to get my query with an instrument working.
I have already checked it with MAX and its working perfectly. In MAX there is a checkbox on the VISA test panel to change this property.
Unfortunately i can't find a "VI_ATTR_SUPPRESS_END_EN" property of my TCPIP MBSession Object in my Visual Studio - C#.
There are lots of properties but this one is missing!!! :-(
Why is it missing? What else can i do to set this attribute?
Thanks in advance!

After a little more digging, I noticed that there are some public methods on Session to directly access VISA attributes. The tricky part is that they are decorated with the [EditorBrowsableAttribute(EditorBrowsableState.Never)] attribute, which hides them from Visual Studio Intellisense. This solved my problem:
session.SetAttributeBoolean(AttributeType.SuppresEndEn, false);
where session is a MessageBasedSession object
Thanks,
James

Similar Messages

  • Setting archive attribute for files

    Hi,
    I've written a program to make backups from files. I'd like to set archive attributes for files so the program knows which files have changed since the last backup.
    Is there any way to do that?

    nope,
    unless you write your own dll with VB or C++ and call this through native methods.
    Try to find a workaround.

  • Setting screen attributes for select-option in subscreen

    Hello SDN Community,  I have researched this extensively in forums and found much helpful information in getting the select-option working in a subscreen.  Also found information that discussed using standard AT SELECTION-SCREEN statements to process the sub-screen with. 
    I encountered problems when that from the LOOP AT SCREEN within the AT SELECTION-SCREEN OUTPUT,  I set the INPUT/OUPUT attributes to zero, the field was still open for input when it displayed.  For when I do this on other fields of my screen, they are "greyed out".
    Has anyone any experience setting field attributes from within loop at screen for embedded select-option subscreen?  Would appreciate any insight you might have.
    Thank you,
    Dean Atteberry.
    P.S.- I put this thru the debugger and I can see the INPUT and OUTPUT attributes getting changed.  But when displays, it is like the change didn't happen.
    Full description of my processing below...
    I have a screen with four radio-buttons.  Under the first radio-button is my embedded subscreen with one SELECT-OPTION for AUFNR.  Under the other three radio-buttons are single fields declared regular way in main screen.
    In my PBO of main screen I have loop at screen that enables/disables INPUT and OUPTUT attributes based on which radio-button is selected.  This prevents confusion from user entering values in fields other than the one the radio-button is selected for.
    For my embedded select-option subscreen, I have an AT SELECTION-SCREEN OUTPUT statement in which I have a LOOP AT SCREEN.  Within that, based on radio-buttons, I either enable or disable the INPUT and OUTPUT attributes for the S_AUFNR-LOW and S_AUFNR-HIGH fields.
    Edited by: Dean Atteberry on Mar 25, 2009 4:39 PM

    >> I think that you are trying to change select options within main screen, whereby it should be
    >> changed in PBO of that subscreen. You said you do it in AT SELECTION-SCRREN OUTPUT which
    >>  will be only applicable for selection screen (I guess your main screen here). Do loop at screen in
    >>  PBO module of this subscreen not in PBO of the selection screen and see if that helps.
    Hi Marcin,  thank you for your reply.  My "main screen" is not my "selection screen".  Please allow me to further clarify...
    My "main screen" has four radio buttons with a subscreen area under the first one and single fields under the others.
    My "subscreen" is auto-generated by Selection-Screen and Select-Options statements which are in my TOP module.
    I call my auto-generated select-option subscreen in my PBO with...
         call subscreen sca_ordr including sy-repid scr_0121.
    and in my PAI with...
         call subscreen sca_ordr.
    In order to do LOOP AT SCREEN for my system-generated select-option subscreen, I use the AT SELECTION-SCREEN OUTPUT event in which to put my loop. 
    When I walk thru this in the debugger, I can see it setting INPUT/OUTPUT fields to zero, but when the screen displays, there are no changes to my subscreen....  Fields should be "greyed out" instead they are open for intput.
    Doing my best to accurately describe in as few words as possible.  Thank you for your ideas!
    Dean.

  • Problem in  maintain attributes for position in maintain user attributes

    Hi All ,
    I am facing a problem in Maintain User Attributes
    I should get only 5 values for any user in attributes dropdown of attributes for position
    But for some users I am getting as 10 values
    and for some users I am getting it as 20 values ..
    What my doubt is
    will it be based on role dependency or anyother one ..
    Pls let me know if u have any idea ..
    Thanks
    Kumar

    Hello,
    The ability of changing attributes via User settings depends on the role
    assigned to the user and whether this role has the appropriate rights to
    change the attributes.
    In this regard, check the customizing below:
    SRM -> SRM Server -> Cross Application Basic Settings -> Roles ->
    Maintain Attribute Access Rights by Role.
    Here you define which parameter can be changed depending on the role
    assigned to user in question.
    Regards,
    Ricardo

  • Setting Node Attributes for a non singleton node

    HI,
    I want to know what is the correct way to set attributes for a non singleton node dynamically.
    I have node A which contains the non singleton node B.
    At runtime I want to change the attributes of node B dynamically. What is the correct way for this?
    When I try wdContext.nodeB().getNodeInfo I get a NullPointerException.
    For example this code works: wdContext.nodeA().getAElementAt(0).nodeB().getNodeInfo(). Here I get the node info.
    But when I set attributes for the second line, are there valid for all Elements in Node B?
    What is the correct way to set the attribut infos for non singleton Node B?
    Best regards,
    Peter

    Hi Peter
    The main rule here - do not touch node instances at all. Deal only with node metadata:
    IWDNodeInfo nodeBInfo = wdContext.getNodeInfo().getChild("node A").getChild("node B");
    nodeBInfo.getAttribute("xAttr");
    nodeBInfo.addAttribute(...);
    BR, Siarhei
    Edited by: Siarhei Pisarenka on Jan 13, 2010 12:55 PM

  • MM06E005 - how to set screen attributes for custom fields?

    Hi all,
    I have implemented enhancement MM06E005. I have added my custom fields to CI_EKPODB.  I have created and activated all the dynpros.  I modified subscreen 0111 (items) to contain my new custom fields.  I have activated the function exits (016,017,018) for the item screens.  I am able to save data using the new custom fields on subscreen 0111.
    What I am having trouble with is modifying the screen attributes for the new custom fields that I placed on subscreen 0111. I know it should be in exit 016(PBO) and I need to check the action type.  I tried a "loop at screen" but my fields were not there. 
    How do I modify the screen attributes?  Also, can I change the "Tab" text from "Customer Data" to be something else?
    Any help would be appreciated.
    Thanks, Mark

    Hi,
      In the PBO of the screen 0111, create a module. And in that module you can do LOOP AT SCREEN..where the screen elements will be available..
    Thanks
    Naren

  • Set XML-Attributes for multiply objects

    Hi everybody,
    this is my situation. I have a document with several pages and several objects on each page.
    now I want to get the coordinates and the dimensions of a object and write down the datas as a XML-attribute.
    The script should do this for every object in my document.
    That's what i got so far:
    function creatAtt(){
        for (var i = 0; i < app.selection.length; i++){
        var myObject     = app.selection[i];
        var myXMLobject = myObject.associatedXMLElement;
        var ycoords     = myObject.geometricBounds[0];
        var xcoords     = myObject.geometricBounds[1];
        var width         = myObject.geometricBounds[3] - myObject.geometricBounds[1];
        var height         = myObject.geometricBounds[2] - myObject.geometricBounds[0];
        myXMLobject.xmlAttributes.add ("Y-Koordinate", ycoords.toString() + " px");
        myXMLobject.xmlAttributes.add ("X-Koordinate", xcoords.toString() + " px");
        myXMLobject.xmlAttributes.add ("Width", width.toString() + " px");
        myXMLobject.xmlAttributes.add ("Height", height.toString() + " px");
    creatAtt();
    When I select a object and run the script it only writes the data for the selected object, not for all objects. Somebody a tip how to fix it???

    Hi,
    I have tried the script. And it only writes down the attributes for one object. Directly in the root. I have attached a screenshot. But i want to write the attributes in the hotspot Tags of the selected object.
    I hope you know what I mean .
    I dont know where he gets the datas bot that are not the datas of one of my three objects.
    I changed the scrip a little bit:
    var myDoc     = app.activeDocument; 
    var myPages = myDoc.pages;
    for (var i = 0; i < myPages.length; i++){
        var myActualPage = myPages[i].pageItems;
        for (var j = 0; j < myActualPage.length; j++){
            var myObject     = myActualPage[j];
            var myXMLobject = myObject.associatedXMLElement;
            var ycoords     = myObject.geometricBounds[0];
            var xcoords     = myObject.geometricBounds[1];
            var width         = myObject.geometricBounds[3] - myObject.geometricBounds[1];
            var height         = myObject.geometricBounds[2] - myObject.geometricBounds[0];
            myXMLobject.xmlAttributes.add ("Y-Koordinate", ycoords.toString() + " px");
            myXMLobject.xmlAttributes.add ("X-Koordinate", xcoords.toString() + " px");
            myXMLobject.xmlAttributes.add ("Width", width.toString() + " px");
            myXMLobject.xmlAttributes.add ("Height", height.toString() + " px");
    But then I get a error message:
    Errornumber: 21
    null is not an object.
    Row 60 --> He means this part of the script: myXMLobject.xmlAttributes.add ("Y-Koordinate", ycoords.toString() + " px");

  • Setting transaction attributes for EJB Create methods

    Dear developers
    How do I set transaction attributes at the method level. I am able to set this only at the bean level.
    I am trying to use container managed transactions.
    Thanks
    Naveen

    if you specify * in the <method-name> element, then it is the bean
    otherwise, you can specify a particular method name in the <method-name> element.
    Best regards...
    Dear developers
    How do I set transaction attributes at the method
    level. I am able to set this only at the bean level.
    I am trying to use container managed transactions.
    Thanks
    Naveen

  • Problem setting initial value for LOV

    Hello, everyone. This seems like it should be simple, but it's giving me lots of problems. I am trying to create my first LOV. I have a messageLovInput item called PFedFilingStatus. From the Property Inspector, I can set an Initial Value of "02", which displays when I run the page, and lets me change it and validate it using the associated LOV.
    What I would rather do is set the initial value programmatically, but here are my problems:
    If I set the value like this:
    OAMessageLovInputBean lovText = (OAMessageLovInputBean)pageLayout.findIndexedChildRecursive("PFedFilingStatus");
    lovText.setText("02");
    then the field displays properly at run time, but can't be changed. The LOV runs, but any value I select flips back to "02"
    If I set the value like this:
    lovText.setDefaultValue("02");
    then nothing seems to happen at run time. The value is not displayed at all.
    Can anyone tell me what I am doing wrong? Thanks for your help.
    --Dave                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Yes, that helps a bunch. Now can you tell me where that is set?
    Thanks so much.
    --Dave                                                                                                                                                                                       

  • Problems setting up iReport for SLM development

    Hi!
    I've been trying to set up Eclipse and iReport so that I can create
    some custom reports for SLM, but this has proven difficult. I'll explain
    what I've done and where it fails:
    1) I've followed all instructions on this page:
    'Sentinel Development Environment'
    (http://www.novell.com/developer/sent...vironment.html)
    I get the following error in step 4 in the section entitled
    "Enabling Previewing
    Reports That Query The Sentinel Log Manager Event Store"
    Exception in thread "main" 05.jan.2011 14:37:12
    esecurity.base.error.SentinelErrorCodes <clinit>
    INFO: There are 71 defined error codes.
    esecurity.base.exceptions.RemoteException:
    at
    esecurity.db.object.IndexedLogSearchServiceRemoteI mpl.startSearch(Ind
    exedLogSearchServiceRemoteImpl.java:54)
    at
    com.novell.reports.jasper.data.event.EventDataSour ce.nextEvent(EventD
    ataSource.java:156)
    at
    com.novell.reports.jasper.data.event.EventDataSour ce.next(EventDataSo
    urce.java:145)
    at
    com.novell.reports.jasper.data.event.ConnectionChe ck.main(ConnectionC
    heck.java:66)
    Caused by: esecurity.base.exceptions.RemoteException:
    at
    esecurity.base.datamodel.method.MethodResult.setEx ception(MethodResul
    t.java:55)
    at
    esecurity.base.ccs.comp.BaseRemoteObjectTask.execu te(BaseRemoteObject
    Task.java:120)
    at
    esecurity.base.ccs.comp.GenericRemoteObjectTask.pr ocessRequest(Generi
    cRemoteObjectTask.java:86)
    at
    esecurity.base.ccs.comp.GenericTask.process(Generi cTask.java:91)
    at
    esecurity.base.ccs.comp.GenericTask.process(Generi cTask.java:65)
    at esecurity.base.ccs.comp.BaseTask.run(BaseTask.java :52)
    at
    esecurity.base.ccs.comp.threadpool.TaskThreadPool$ RunWrapper.run(Task
    ThreadPool.java:89)
    at
    EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Wo rker.run(PooledExec
    utor.java:732)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(Native MethodAccessorImpl.
    java:39)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(De legatingMethodAcces
    sorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
    esecurity.base.ccs.comp.BaseRemoteObjectTask.execu te(BaseRemoteObject
    Task.java:113)
    ... 7 more
    Caused by: java.lang.RuntimeException: No param auditInfo for method id
    = _start
    Search_,name = startSearch
    param=startTime, type=java.util.Date, value=nullparam=limit, type=long,
    value=1p
    aram=sortFields, type=java.util.List, value=nullparam=searchString,
    type=String,
    value=sev:[9 TO 9] MAXCOUNT=1param=pageSize, type=integer,
    value=10000param=end
    Time, type=java.util.Date, value=nullparam=user, type=String,
    value=admin
    at
    esecurity.base.datamodel.method.ObjMethod.getParam (ObjMethod.java:250
    at
    esecurity.base.datamodel.method.ObjMethod.getDataO bjectValue(ObjMetho
    d.java:107)
    at
    esecurity.db.object.IndexedLogSearchServiceServerS tub._startSearch_(I
    ndexedLogSearchServiceServerStub.java:66)
    ... 12 more
    I noticed another thread on this error, but as you can see from the
    configuration.xml file I am using the system user so rights shouldn't be
    the cause here:
    <strategy active="yes" id="sentinel_client"
    location="com.esecurity.common.communication.strat egy.jmsstrategy.activemq.ActiveMQStrategyFactory"
    name="ActiveMQ">
    <jms
    brokerURL="ssl://x.x.x.x:61616??wireFormat.maxInactivityDuration=0"
    interceptors="compression"
    keystore="C:\\Users\\ragsto\\Development\\Sentinel
    SDK\\content\\dev\\sdk\\build\\config\\.activemqcl ientkeystore.jks"
    keystorePassword="password" password="832f515a51412dec5ec22dfa756693ab"
    username="system"/>
    </strategy>
    I decided test the reports even with this error, but whenever I open a
    TemplateReport.jrxml I immediately get the following error:
    net.sf.jasperreports.engine.JRRuntimeException:
    net.sf.jasperreports.engine.JRException: Class
    com.novell.reports.jasper.data.event.LuceneEventQu eryExecutorFactory not
    found.
    In the DOS window where I started iReport from, I get the following
    error:
    Can't find the translation for key =
    gui.elementpropertiessheet.sheetProperty.re
    nderType: using default (Render type)
    Can't find the translation for key =
    gui.elementpropertiessheet.sheetProperty.re
    nderType: using default (Render type)
    End event threw exception
    java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known
    Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at
    org.apache.commons.beanutils.MethodUtils.invokeMet hod(MethodUtils.jav
    a:216)
    at
    org.apache.commons.digester.SetNextRule.end(SetNex tRule.java:216)
    at org.apache.commons.digester.Rule.end(Rule.java:230 )
    at
    org.apache.commons.digester.Digester.endElement(Di gester.java:1130)
    at
    it.businesslogic.ireport.compiler.xml.SourceTraceD igester.endElement(
    SourceTraceDigester.java:159)
    at
    org.apache.xerces.parsers.AbstractSAXParser.endEle ment(Unknown Source
    at
    org.apache.xerces.impl.dtd.XMLDTDValidator.endName spaceScope(Unknown
    Source)
    at
    org.apache.xerces.impl.dtd.XMLDTDValidator.handleE ndElement(Unknown S
    ource)
    at
    org.apache.xerces.impl.dtd.XMLDTDValidator.endElem ent(Unknown Source)
    at
    org.apache.xerces.impl.XMLDocumentFragmentScannerI mpl.scanEndElement(
    Unknown Source)
    at
    org.apache.xerces.impl.XMLDocumentFragmentScannerI mpl$FragmentContent
    Dispatcher.dispatch(Unknown Source)
    at
    org.apache.xerces.impl.XMLDocumentFragmentScannerI mpl.scanDocument(Un
    known Source)
    at org.apache.xerces.parsers.XML11Configuration.parse (Unknown
    Source)
    at org.apache.xerces.parsers.XML11Configuration.parse (Unknown
    Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.AbstractSAXParser.parse( Unknown
    Source)
    at
    org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser .parse(Unknown Sour
    ce)
    at
    org.apache.commons.digester.Digester.parse(Digeste r.java:1647)
    at
    net.sf.jasperreports.engine.xml.JRXmlLoader.loadXM L(JRXmlLoader.java:
    239)
    at
    net.sf.jasperreports.engine.xml.JRXmlLoader.loadXM L(JRXmlLoader.java:
    226)
    at
    it.businesslogic.ireport.IReportCompiler.loadJaspe rDesign(IReportComp
    iler.java:2125)
    at
    it.businesslogic.ireport.DesignVerifyerThread.veri fyDesign(DesignVeri
    fyerThread.java:145)
    at
    it.businesslogic.ireport.DesignVerifyerThread.run( DesignVerifyerThrea
    d.java:92)
    at java.lang.Thread.run(Unknown Source)
    Caused by: net.sf.jasperreports.engine.JRRuntimeException:
    net.sf.jasperreports.
    engine.JRException: Class
    com.novell.reports.jasper.data.event.LuceneEventQu eryE
    xecutorFactory not found.
    at
    net.sf.jasperreports.engine.design.JRDesignDataset .queryLanguageChang
    ed(JRDesignDataset.java:914)
    at
    net.sf.jasperreports.engine.design.JRDesignDataset .setQuery(JRDesignD
    ataset.java:448)
    at
    net.sf.jasperreports.engine.design.JasperDesign.se tQuery(JasperDesign
    .java:806)
    ... 28 more
    Caused by: net.sf.jasperreports.engine.JRException: Class
    com.novell.reports.jas
    per.data.event.LuceneEventQueryExecutorFactory not found.
    at
    net.sf.jasperreports.engine.util.JRSingletonCache. createInstance(JRSi
    ngletonCache.java:98)
    at
    net.sf.jasperreports.engine.util.JRSingletonCache. getCachedInstance(J
    RSingletonCache.java:78)
    at
    net.sf.jasperreports.engine.util.JRQueryExecuterUt ils.getQueryExecute
    rFactory(JRQueryExecuterUtils.java:60)
    at
    net.sf.jasperreports.engine.design.JRDesignDataset .queryLanguageChang
    ed(JRDesignDataset.java:903)
    ... 30 more
    Caused by: java.lang.ClassNotFoundException:
    com.novell.reports.jasper.data.even
    t.LuceneEventQueryExecutorFactory
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Unknown Source)
    at
    net.sf.jasperreports.engine.util.JRClassLoader.loa dClassForRealName(J
    RClassLoader.java:179)
    at
    net.sf.jasperreports.engine.util.JRClassLoader.loa dClassForName(JRCla
    ssLoader.java:119)
    at
    net.sf.jasperreports.engine.util.JRSingletonCache. createInstance(JRSi
    ngletonCache.java:88)
    ... 33 more
    locationFileName does not exisit
    It looks to me like there's a problem with the Lucene connection, but
    the connection test works..?
    When I try to compile the report, I get the following errors:
    The method DatePrepare(String, String, String) is undefined for the
    type TemplateReportScriptlet
    The method DatePrepare(String, String, String) is undefined for the
    type TemplateReportScriptlet
    The method getKeyColors() is undefined for the type
    TemplateReportScriptlet
    The method getKeyColors() is undefined for the type
    TemplateReportScriptlet
    The method DatePrepare(String, String, String) is undefined for the
    type TemplateReportScriptlet
    This is similar to another users error, but I wasn't able to solve my
    problem by compiling in iReport 3.7.6 - I just get different errors.
    Since I am not very familiar with Java, I have no idea on how to
    troubleshoot this. Can anyone assist, please?
    Ragnar Storstrm
    rstorstrom
    rstorstrom's Profile: http://forums.novell.com/member.php?userid=5064
    View this thread: http://forums.novell.com/showthread.php?t=429304

    That fixed the problem with the connection check - thank you! But I
    still have two problems left:
    1) When I create a new report in Eclipse and try to compile it in
    iReport I get the following error:
    Compiling to file... C:\proj\content\dev\reports\Testing\Test av
    rapportlaging\6.1\TemplateReport.jasper ->
    C:\proj\content\dev\reports\Testing\Test av
    rapportlaging\6.1\TemplateReport.java
    net.sf.jasperreports.engine.design.J...va.lang.ClassNotFoundException:*TemplateReportClass
    Line:*21,*Column:*36*JRXML*Element:*/jasperReport
    Exception*in*thread*"AWT-EventQueue-0"*java.lang.ArrayIndexOutOfBoundsException:*2*>=* 2
    ****at*java.util.Vector.elementAt(Unknown*Source)
    ****at*javax.swing.plaf.basic.BasicTabbedPaneUI.ge tTextViewForTab(Unknown*Source)
    ****at*javax.swing.plaf.basic.BasicTabbedPaneUI.ca lculateTabHeight(Unknown*Source)
    ****at*javax.swing.plaf.basic.BasicTabbedPaneUI.ca lculateMaxTabHeight(Unknown*Source)
    ****at*javax.swing.plaf.basic.BasicTabbedPaneUI$Ta bbedPaneLayout.calculateTabRects(Unknown*Source)
    ****at*javax.swing.plaf.basic.BasicTabbedPaneUI$Ta bbedPaneLayout.calculateLayoutInfo(Unknown*Source)
    ****at*javax.swing.plaf.basic.BasicTabbedPaneUI$Ta bbedPaneLayout.layoutContainer(Unknown*Source)
    ****at*java.awt.Container.layout(Unknown*Source)
    ****at*java.awt.Container.doLayout(Unknown*Source)
    ****at*java.awt.Container.validateTree(Unknown*Sou rce)
    ****at*java.awt.Container.validateTree(Unknown*Sou rce)
    ****at*java.awt.Container.validateTree(Unknown*Sou rce)
    ****at*java.awt.Container.validateTree(Unknown*Sou rce)
    ****at*java.awt.Container.validateTree(Unknown*Sou rce)
    ****at*java.awt.Container.validateTree(Unknown*Sou rce)
    ****at*java.awt.Container.validateTree(Unknown*Sou rce)
    ****at*java.awt.Container.validate(Unknown*Source)
    ****at*javax.swing.RepaintManager.validateInvalidC omponents(Unknown*Source)
    ****at*javax.swing.SystemEventQueueUtilities$Compo nentWorkRequest.run(Unknown*Source)
    ****at*java.awt.event.InvocationEvent.dispatch(Unk nown*Source)
    ****at*java.awt.EventQueue.dispatchEvent(Unknown*S ource)
    ****at*java.awt.EventDispatchThread.pumpOneEventFo rFilters(Unknown*Source)
    ****at*java.awt.EventDispatchThread.pumpEventsForF ilter(Unknown*Source)
    ****at*java.awt.EventDispatchThread.pumpEventsForH ierarchy(Unknown*Source)
    ****at*java.awt.EventDispatchThread.pumpEvents(Unk nown*Source)
    ****at*java.awt.EventDispatchThread.pumpEvents(Unk nown*Source)
    ****at*java.awt.EventDispatchThread.run(Unknown*So urce)
    Exception*in*thread*"AWT-EventQueue-0"*java.lang.ArrayIndexOutOfBoundsException:*2*>=* 2
    ****at*java.util.Vector.elementAt(Unknown*Source)
    ****at*javax.swing.plaf.basic.BasicTabbedPaneUI.ge tTextViewForTab(Unknown*Source)
    ****at*javax.swing.plaf.basic.BasicTabbedPaneUI.ca lculateTabHeight(Unknown*Source)
    ****at*javax.swing.plaf.basic.BasicTabbedPaneUI.ca lculateMaxTabHeight(Unknown*Source)
    ****at*javax.swing.plaf.basic.BasicTabbedPaneUI$Ta bbedPaneLayout.calculateTabRects(Unknown*Source)
    ****at*javax.swing.plaf.basic.BasicTabbedPaneUI$Ta bbedPaneLayout.calculateLayoutInfo(Unknown*Source)
    ****at*javax.swing.plaf.basic.BasicTabbedPaneUI$Ta bbedPaneLayout.layoutContainer(Unknown*Source)
    ****at*java.awt.Container.layout(Unknown*Source)
    ****at*java.awt.Container.doLayout(Unknown*Source)
    ****at*java.awt.Container.validateTree(Unknown*Sou rce)
    ****at*java.awt.Container.validateTree(Unknown*Sou rce)
    ****at*java.awt.Container.validateTree(Unknown*Sou rce)
    ****at*java.awt.Container.validateTree(Unknown*Sou rce)
    ****at*java.awt.Container.validateTree(Unknown*Sou rce)
    ****at*java.awt.Container.validateTree(Unknown*Sou rce)
    ****at*java.awt.Container.validateTree(Unknown*Sou rce)
    ****at*java.awt.Container.validate(Unknown*Source)
    ****at*javax.swing.RepaintManager.validateInvalidC omponents(Unknown*Source)
    ****at*javax.swing.SystemEventQueueUtilities$Compo nentWorkRequest.run(Unknown*Source)
    ****at*java.awt.event.InvocationEvent.dispatch(Unk nown*Source)
    ****at*java.awt.EventQueue.dispatchEvent(Unknown*S ource)
    ****at*java.awt.EventDispatchThread.pumpOneEventFo rFilters(Unknown*Source)
    ****at*java.awt.EventDispatchThread.pumpEventsForF ilter(Unknown*Source)
    ****at*java.awt.EventDispatchThread.pumpEventsForH ierarchy(Unknown*Source)
    ****at*java.awt.EventDispatchThread.pumpEvents(Unk nown*Source)
    ****at*java.awt.EventDispatchThread.pumpEvents(Unk nown*Source)
    ****at*java.awt.EventDispatchThread.run(Unknown*So urce)
    net.sf.jasperreports.engine.design.JRValidationExc eption:*Report*design*not*valid*:*
    *****1.*java.lang.ClassNotFoundException:*Template ReportClass
    ****at*net.sf.jasperreports.engine.design.JRAbstra ctCompiler.verifyDesign(JRAbstractCompiler.java:26 0)
    ****at*net.sf.jasperreports.engine.design.JRAbstra ctCompiler.compileReport(JRAbstractCompiler.java:1 44)
    ****at*it.businesslogic.ireport.IReportCompiler.ru n(IReportCompiler.java:591)
    ****at*java.lang.Thread.run(Unknown*Source)
    In Ant I see the following:
    Buildfile: C:\proj\content\dev\reports\Testing\Test av
    rapportlaging\6.1\build.xml
    _checkrelease:
    [echo]
    [echo] The current release of this plug-in is version:
    [echo] "1" --> (Testing Test av rapportlaging_6.1r1)
    [echo] Do you want to increment the release number and create a
    new release?
    _newrelease:
    _init:
    [echo] Author information loaded from
    C:\proj\content/dev/dev.properties
    _typeInit:
    scrub:
    build-release:
    _build-checks:
    _init:
    [echo] Author information loaded from
    C:\proj\content/dev/dev.properties
    _typeInit:
    build-zip:
    [delete] Deleting directory
    C:\proj\content\build\Testing_Test-av-rapportlaging_6.1r1
    _copy-plugin:
    [copy] Copying 1 file to
    C:\proj\content\build\Testing_Test-av-rapportlaging_6.1r1\plugin
    [copy] Copying 1 file to
    C:\proj\content\build\Testing_Test-av-rapportlaging_6.1r1\tmp
    [copy] Copying 9 files to
    C:\proj\content\build\Testing_Test-av-rapportlaging_6.1r1\plugin
    [copy] Copying 6 files to
    C:\proj\content\build\Testing_Test-av-rapportlaging_6.1r1\plugin
    [copy] Copying 2 files to
    C:\proj\content\build\Testing_Test-av-rapportlaging_6.1r1\plugin
    [copy] Copying 1 file to
    C:\proj\content\build\Testing_Test-av-rapportlaging_6.1r1\plugin
    [copy] Copying 1 file to
    C:\proj\content\build\Testing_Test-av-rapportlaging_6.1r1\plugin
    [move] Moving 1 file to
    C:\proj\content\build\Testing_Test-av-rapportlaging_6.1r1\plugin
    [javac] Compiling 1 source file to
    C:\proj\content\build\Testing_Test-av-rapportlaging_6.1r1\plugin
    [javac] C:\proj\content\dev\reports\Testing\Test av
    rapportlaging\6.1\TemplateReportScriptlet.java:4: package
    it.businesslogic.ireport does not exist
    [javac] public class TemplateReportScriptlet extends
    it.businesslogic.ireport.IReportScriptlet {
    [javac]
    ^
    [javac] C:\proj\content\dev\reports\Testing\Test av
    rapportlaging\6.1\TemplateReportScriptlet.java:24: cannot find symbol
    [javac] symbol : variable super
    [javac] location: class TemplateReportScriptlet
    [javac] super.beforeColumnInit();
    [javac] ^
    [javac] C:\proj\content\dev\reports\Testing\Test av
    rapportlaging\6.1\TemplateReportScriptlet.java:30: cannot find symbol
    [javac] symbol : variable super
    [javac] location: class TemplateReportScriptlet
    [javac] super.afterDetailEval();
    [javac] ^
    [javac] C:\proj\content\dev\reports\Testing\Test av
    rapportlaging\6.1\TemplateReportScriptlet.java:36: cannot find symbol
    [javac] symbol : variable super
    [javac] location: class TemplateReportScriptlet
    [javac] super.afterGroupInit(groupName);
    [javac] ^
    [javac] C:\proj\content\dev\reports\Testing\Test av
    rapportlaging\6.1\TemplateReportScriptlet.java:42: cannot find symbol
    [javac] symbol : variable super
    [javac] location: class TemplateReportScriptlet
    [javac] super.afterPageInit();
    [javac] ^
    [javac] 5 errors
    As I recall, I can fix this by adding the right .JAR file to the dev
    directory of the report, so it's not a huge problem.
    2) When I try to preview a report with an active connection I get the
    following error:
    net.sf.jasperreports.engine.JRRuntimeException:
    net.sf.jasperreports.engine.JRException: Class
    com.novell.jasper.data.event.LuceneEventQueryExecu torFactory not found
    This is something I haven't found a fix for, unfortunately. Any ideas?
    PS:
    My apologies for the late reply - I was on holiday last week and was
    swamped both before going and once I got back.
    Ragnar Storstrm
    rstorstrom
    rstorstrom's Profile: http://forums.novell.com/member.php?userid=5064
    View this thread: http://forums.novell.com/showthread.php?t=429304

  • Problem setting up DSN for 10g ODBC driver

    Hello,
    I am simply trying to install an ODBC driver for 10g. To accomplish this, I first downloaded the odbc driver for 10g 10.2.0.2.0. The Readme notes said that I need to install the odbc driver using the Oracle Universal Installer. So I got a copy of just the OUI from our DBA. I installed the OUI 10.2. Using the installer, I installed the 10.2.0.2.0 odbc driver. The Readme notes said to look for the file "products.jar", which was not available, but "products.xml" was, so I used "products.xml", and the driver installed successfully.
    The next step was to set up an ODBC DSN for this driver. When I attempted to do this, the Microsoft ODBC Administrator threw this message: The setup routines for the Oracle in DEFAULT_HOME ODBC driver could not be loaded due to system error code 127, followed by Could not load the setup of translator library.
    Other threads suggested that I copy the DLLs mfc71.dll, msvcrt.dll, and msvcr71.dll from my C:\Windows\System32 directory to the directory where I installed the odbc driver (C:\orant\BIN) and to ensure that this directory path was defined under the PATH environmental variable. I followed all these instructions but to no avail - I am still having the same problem. PLEASE HELP!!! Thanks in advance!!

    Hi,
    >>could not be loaded due to system error code 127
    Did you try install it on other machine ? Maybe this current machine has a DLL versions problems ...
    Cheers

  • Problem setting up handlers for Jetty web app

    Hello,
    I am encountering a problem with setting up the handlers for my web application, what I want is : Having some requests handled by an HTTPServlet with doGet and doPost methods ( how can I load JSP pages from within these methods ? ) and also be able to load static content ( html, JS, CSS )
    The way I'm setting it right now, I can only have one or the other, I cannot get both working.
    I will explain :
        Server server = new Server(5000);
       // This is the resource handler for JS & CSS
        ResourceHandler resourceHandler = new ResourceHandler();
        resourceHandler.setResourceBase(".");
        resourceHandler.setDirectoriesListed(false);
       // This is the context handler for the HTTPServlet
        ServletContextHandler context = new ServletContextHandler(ServletContextHandler.SESSIONS);
        context.setContextPath("/");
        context.addServlet(new ServletHolder(new Main()),"/*");
       // this is the Handler list for both handlers
        HandlerList handlerList = new HandlerList();
        handlerList.setHandlers(new Handler[] { context ,resourceHandler});
         If I add them in this order, all requests will be handled by the "context" and no static resource is loaded
         If I invert the order, the index page page is loaded by the resource handler, which means, If I activate directory listings, it gives me a list of all directories, otherwise it's just a blank page
         I tried working with a WebAppContext to load JSP pages but I still had some problems with which handler should handle which requests
        server.setHandler(handlerList);
        server.start();
        server.join();
    Thank you

    Lync web app is designed mainly for external partners who are invited to Lync meetings. Thus, the feature cannot be achieved naturally on Lync side. You may post the issue on IIS forum to verify if this can be achieved by setting LWA directory.
    Thank you for your understanding.
    http://forums.iis.net/
    Kent Huang
    TechNet Community Support

  • Problem setting different width for images using HorizontalList tag

    Hi,<br />I succeeded using HorizontalList in my AdvancedDataGrid,<br /><br />  <mx:groupedColumns><br />...<br />...<br />  </mx:groupedColumns>  <br />  <mx:rendererProviders>            <br />        <mx:AdvancedDataGridRendererProvider   <br />            dataField="Actual" <br />            renderer="ChartRenderer" <br />            columnIndex="3" <br />            />         <br />    </mx:rendererProviders>  <br /><br />My Chartrenderer:<br /><br /><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" <br />     xmlns:local="*"><br />  <mx:Script><br />    <br />          import mx.collections.ArrayCollection;<br />          import mx.controls.Image;<br />          private var images:Array;                <br />          private var catalog:ArrayCollection;          <br />          private static var cat:Array = [<br />              "kpi_overtime_bar_10.png", "kpi_overtime_bar_20.png",<br />              "kpi_overtime_bar_30.png", "kpi_overtime_bar_40.png"<br />           ];<br />          <br />                    <br />           private function initCatalog(items:Array):void<br />           {<br />              catalog = new ArrayCollection(items);<br />              myList.dataProvider = catalog;<br />           }<br />                                     <br />      <br />    </mx:Script><br />     <mx:VBox height="20" width="40%" xmlns:mx="http://www.adobe.com/2006/mxml"<br />          horizontalScrollPolicy="off" <br />          verticalScrollPolicy="off"><br />          <mx:HorizontalList width="100%" id="myList"  <br />               horizontalScrollPolicy="off"<br />               verticalScrollPolicy="off"<br />               columnCount="4" <br />               creationComplete="initCatalog(cat)"><br />              <mx:itemRenderer><br />                    <mx:Component><br />                         <mx:Image width="50%" height="20"<br />                              maintainAspectRatio="false"/>                                <br />                    </mx:Component><br />               </mx:itemRenderer><br />          </mx:HorizontalList><br />     </mx:VBox><br /><br /></mx:Application><br /><br />This is a test I've done to see if I can palce a list of images in a cell,<br />and I can :)<br /><br />I have 2 problems:<br /><br />1. Here the size of each image is contant, I need a way to set each image in the list to be different,<br />Can I do it? <br />2. I need to load the images dynamically and not from a fixed Array,<br />Can I do it?<br /><br />It will be great to get help.....<br />Thanks<br />Jo

    On Sunday 15 Feb 2009, Yossi Bar wrote:
    > I think not all my descussion detailes were shown,
    I think you should be asking on FlexCoders...
    Tom Chiverton
    Helping to collaboratively enable 24/7 plug-and-play portals
    This email is sent for and on behalf of Halliwells LLP.
    Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the
    registered office together with a list of those non members who are referred to as partners. We use the word partner to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority.
    CONFIDENTIALITY
    This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500.
    For more information about Halliwells LLP visit
    www.halliwells.com.

  • Facing problem in adding attributes for sales  in organisation model

    hi i am murali
      for my organisation model in sales organisation i want to add division and distribution channel attributes.when i am in ooattrcust
    transaction,i found that they were in invisible maintenance and i am not able to change them.please help me

    Hi,
    Please read:
    Orgmodel-- Attributes
    1. Goto T. Code: SM30
    2. Enter T77OMATTR for Table/View and click Maintain Button.
    3. Now Double click on Attributes. Here create your oun Attribute by copying an existing one / Create a New Entry.
        Here you also have setting like Multi Values, Default Values etc.
    4. After creating New Attribute, double click on Scenarios and select your required scenario then click on Attributes/Scenarios.
        Here you include your newly created Attribute. Here you also have important settings like Inheritance Type, Reg Attr etc.
    Alternatively you use T.Code OOATTRCUST instead of SM30.
    Once this customization is done you can see your attribute in the Org Model Customization(T. Code: PPOMA_CRM).
    HRBCI_ATTRIBUTES_BUFFER_UPDATE
    Denis

  • Trouble setting AD attribute for UserAccountControl

    I am trying to set UserAccount Control value to 262658 so that Account is disabled and Smart card is required are checked.
    But for some reason the user is getting created the useraccount control value is not updating.
    This is simply what I am doing
    <set name='user.accounts[AD].userAccountControl '>
    <Integer>262658</Integer>
    </set>
    Just a background on this. I am creating a user with all the other attributes updated and then checkin the user view then set user as disabled. After that is done I am doing a checkout and then setting the accountControl Value as above and then checkin the view.
    Please let me know if you have any idea why I can't set the accountcontrol value.
    Thanks.

    You have to use the Postscript name of the font. Create a text layer with
    the font you want to use. Select the text layer and run this script:
    docRef = activeDocument;
    if (docRef.activeLayer.kind == LayerKind.TEXT)
    alert("Font name is " + app.fonts[docRef.activeLayer.textItem.font].name +
    "\n" +
    "Postscript name is "+
    app.fonts[docRef.activeLayer.textItem.font].postScriptName + "\n" +
    "Style is " + app.fonts[docRef.activeLayer.textItem.font].style+ "\n"
    +
    "Anti-alias is " + docRef.activeLayer.textItem.antiAliasMethod);
    else
    {alert("Active layer is not a text layer");
    Larry

Maybe you are looking for

  • Problem with Apple tv 1st gen. and Itunes display

    I am having an issue with my apple tv first generation. I had to reset it, sometimes I have to (to discuss another time) and when it came back up the movies, internet, settings options were fine, except for the music. All it displays in that option i

  • Error in Seeburger BIC Mapping

    Hi all, I am working on Seeburger BIC Mapping Designer. As i am starting off with it, i have planned to do a very simple scenario File to file. Source would be an XML and target also would be an xml. Compilation is fine, but while converting I am get

  • Mail says can't get more mail user folder full.

    i have been getting this message often and had found a suggestion on removing an envelope in the mail folder which I did and it seemed to have solved the problem for a couple of weeks. I can easily get 600 emails a days, different mac email groups th

  • Remove TestStand 4.0 comments

    My TS 3.5 sequence has comments on almost every step ( there are hundreds). In 4.0 this causes the a lot of confusion because there isn't a seperate column. Can I turn off all comments at once or do I have to go through and manually remove them? kph

  • Problem bei der Debuggen-Funktion in CS6

    hallo, ich muss eine internetseite aktuallisieren und habe flash cs5 dateien in dem neuen flash cs6 programm geöffnet. jetzt aber wenn ich wie bei der alten version die datei "debuggen" will kommt die meldung: " debugging dieser SWF ist nicht möglich