Use of the bug level variable  -Dsun.nio.ch.bugLevel=1.4

Hi,
I wanted to understand how java uses the variable sun.nio.ch.bugLevel .. and what is the value that it needs to be set. searching for this variable gave me a result where some one has set -Dsun.nio.ch.bugLevel=1.4 as the jvm option.
ISSUE: I am randomly encountering a NullPointerException while calling Selector.open
CAUSE:
Here is the stack trace:
"java.lang.NullPointerException
at sun.nio.ch.Util.atBugLevel(Util.java:326)
at sun.nio.ch.SelectorImpl.<init>(SelectorImpl.java:40)
at sun.nio.ch.WindowsSelectorImpl.<init>(WindowsSelectorImpl.java:104)
at sun.nio.ch.WindowsSelectorProvider.openSelector(WindowsSelectorProvider.java:26)
at java.nio.channels.Selector.open(Selector.java:209)
This is cause due to a bug in java 1.5 (which has been fixed in Java 7)
http://bugs.sun.com/bugdatabase/view_bug.do;jsessionid=9ea0db6110bd136e5288fa753945f?bug_id=6427854
This bug has not yet been fixed in Java 1.5
Here is the excerpt from the java 7 code:
https://openjdk.dev.java.net/source/browse/openjdk/jdk/trunk/jdk/src/share/classes/sun/nio/ch/Util.java?rev=257&view=markup
// -- Bug compatibility --
private static volatile String bugLevel = null;
static boolean atBugLevel(String bl) { // package-private
if (bugLevel == null) {
if (!sun.misc.VM.isBooted())
return false;
String value = AccessController.doPrivileged(
new GetPropertyAction("sun.nio.ch.bugLevel"));
bugLevel = (value != null) ? value : "";
return bugLevel.equals(bl);
java -version "1.5.0_15"
Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_15-b04)
Java HotSpot(TM) Client VM (build 1.5.0_15-b04, mixed mode, sharing)
Thanks in advance
Vijay

Hi Tim,
This is a know issue, the bug has already been logged. Parameters(param1, param2 etc) works only on Non Repeating Heading Section, but not in Repeating Section and Non Repeating Footer Section.
Thanks,
Seshan K.

Similar Messages

  • Upload single level variable cost in SNP PPM in mass by MASSD

    Hi experts,
    I am trying to upload single level variable cost in SNP PPM in mass by MASSD by following selections:-
    Selection
    Object Type:- PPM
    Selction Criteria:-
    Component:- Plan        Attrib:- Use of Plan
    Component:- Plan        Attrib:- Plan
    Components & Attributes to be Maintained
    Component:- Plan        Attrib:- Var.Sing.Lvl Costs
    While maintaining the cost, under selection criteria, compoment: PLAN and attribute: PLAN I am unable to maintain multiple plan names.
    The single level variable cost that I have to maintain for all these plans is the same and therefore was trying to use transaction MASSD
    Can you please throw some light on how multiple PLAN selections can be done?
    Regards
    Chetan

    DEAR GURUS,
    *There is a question regarding the resoucre  consumptions  relevant to PDS in SNP,*
    ****The inputs are:****
    ****1) Base Qty= 7700 TH****
    ****2) Set Up =45 MIN****
    ****Resource consumed by operation activity is 112 207 seconds = 31,17 hours.****
    ****Unfortunately we didnu2019t understand how this figure is calculated.****
    ****Can you please help us in this****

  • What does the top level instance name "iop" mean?

    What does the top level instance name "iop" mean?

    Dear Humility,
    In general term higher level account group means which account group is used to the higher level customers in the Customer Hierarchy process.
    Or
    Which of these account groups are valid for higher-level customers in the hierarchy.
    I hope this will help you,
    Regards,
    Murali.

  • [svn] 869: Bug: BLZ-92 - catch IOException and log at the info level to keep from polluting the logs

    Revision: 869
    Author: [email protected]
    Date: 2008-03-19 15:21:25 -0700 (Wed, 19 Mar 2008)
    Log Message:
    Bug: BLZ-92 - catch IOException and log at the info level to keep from polluting the logs
    QA: Yes
    Doc: No
    Details:
    Tomcat 5+ throws a ClientAbortException when it receives a TCP RST while writing a response to a client that has exited. This custom exception extends IOException, and we were only doing lighter INFO-level logging for SocketExceptions so the ClientAbortException was getting past this leading to ERROR level logging. This little tweak will mean less pollution of the server logs during QE load tests.
    Ticket Links:
    http://bugs.adobe.com/jira/browse/BLZ-92
    Modified Paths:
    blazeds/branches/3.0.x/modules/core/src/java/flex/messaging/endpoints/BaseHTTPEndpoint.ja va

    Hi AbhijitRoy2005,
    Other then climbing in the phone and calling the vendor, you could try:
    1. To use a BufferedInputStream to wrap the SocketInputStream before you wrap that in the DataInputStream. So basically:
    DataInputStream dis = new DataInputStream(new BufferedInputStream(socket.getInputStream());On one of my implementations this made a difference of a factor of 200+! So instead of processing 500 messages per second, I could process 10000 messages per second!
    2. Or to take it to the next level and take a look at using NIO. That is New IO, available since Merlin (Java 1.4). But that would take you way more time then the first attempt.
    The thing addressed by the possible solutions above is the blocking nature of the Stream based socket handling. Using a buffered input stream reads ahead. The NIO thing is all about non-blocking IO, which uses Channels and Buffers instead of Sockets and Streams (note that these are not equivalent!).
    Of course, if you didn't change something in your own code, it might just very well be that the vendor just screwed up his ;)
    Regards,
    Frens

  • How can I use Server level variables in a business model based report

    hi gems..
    I have declared one server level variable in the BI Analytics repository.
    Now I have made one business model based report.
    In one column I want to use that server level varible.
    I go to the formula tab of that column and then clicked on variable--> session --> put the name of the variable and click ok.
    But when i viewed the report, it is not showing the dates, rather it is showing the date format I chosed i.e DD-MMM-YYYY.
    please help..

    actually the previous problem got resolved...
    Now when I am trying to apply a filter on a particular column using that server variable, then it is showing that the varible has no value definition.
    I have clicked on the filter tab of that column-->add-->variables-->session variables-->then I put the name of the variable-->click OK.
    the following error is comming-
    Error Codes: YQCO4T56:OPR4ONWY:U9IM8TAC:OI2DL65P
    Odbc driver returned an error (SQLExecDirectW).
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 23005] The repository variable, Variable_name, has no value definition. (HY000)
    I have made that server variable from manage-->variables-->(right click) create new initialisation block-->gave the name and wrote the query and aslo gave the connection pool name and test that and it worked fine..

  • How to find out the variable using in the system.

    Hi Friends,
    When I am trying to create a new variable for a infoobject. It is giving me a warning that Change the tecnical name 'New Variable.....' Before save
    This is not allowing me to create any new variable.
    In the system I find out one variable is there with the name  'New Variable.....'
    And It is being used some where. When I am trying to delete this variable it is giving me a msg that it is being used in ZSCEMESTS.
    But I am not able to find out where this ZSCEMESTS is exists.
    Is there any TCODE for find out this object.
    I want to delete this New Varable.....  So can any body pls provide me the solution?
    Regards,
    Sridhar

    Hi Sridhar.
    Can you please tell me, is the variable entry mandatory? If yes please make the variable entry is optional.
    Hi Sridhar,
    Can you please tell me which type of variable it is? On which object this variable built?
    Variable is available global level, so you can view this variable on the same object right click restrict --- variable --- select --- delete.
    If it though it is already used in another query then use where used list then go to respective query and delete the same.
    Regards,
    Lokanatha.

  • Multiplication using header level variable and table field

    Have header level field (conversion rate) I want to use in calculation with a field in table (transaction currency). I can get my variable using
    <?xdoxslt:set_variable($_XDOCTX, 'X', ACCTD_EXCHG_RATE )?> in the header level field
    and <?xdoxslt:get_variable($_XDOCTX, 'X')?> in the field.
    What is the syntax I use to perform a calculation on the variable and the transaction currency field.
    Thanks in advance,
    Nancy Hoye

    Please help me................ still i am having the problem....
    Need to increase the field width on popup and colum height.

  • Does Mainstage 2.2 fix the bug when using Ultrabeat as your click track / metronome?

    There was a bug where the Ultrabeat sequencer would run, but no sound would come through the channel strip.  It's pretty annoying to have to pay $30 for a bug fix, but I might do it, if it would indeed fix the bug.
    Does anyone know?   Thanks

    I'm currently using UB as my click track. I created a custom template in UB and imported my click samples. I do not set up UB at concert level but instead set up UB at each one of my SETS level. I set the tempo and time signature under each SET.
    I then map a button to ACTIONS>PLAY/STOP not to CLICK(name of channel strip)>ULTRABEAT (Drum Synth)>SEQUENCER PLAY/STOP. This allows me to stop and start the click track and for the drummer to count the song off whenever he feels like.
    I then use PLAYBACK to play my backing tracks in time with the click. I map a button for PLAYBACK to NAME OF PLAYBACK TRACK>PLAYBACK>TRANSPORT>PLAY/STOP (From Start).
    Under my PLAYBACK options I set SNAP TO>BEAT and PLAY FROM>CURRENT POSITION.
    The only problem I've found with this is that if you start the PLAYBACK before the UB click it will turn on the UB click. Other than that it has been working well for me.
    Also, add a button mapped to PANIC somewhere in your setup so you can cease any/all midi/tracks at anytime.
    Devin

  • HT4437 Is it possible to zoom in photos when using airplay? It seems not to work at all. I can only zoom in if i use mirroring and even then i have to reconnect mirroring each time I chage an albumor even go from the photo to the album level.

    Is it possible to zoom in photos when using airplay? It seems not to work at all. I can only zoom in if i use mirroring and even then i have to reconnect mirroring each time I chage an albumor even go from the photo to the album level.

    No.
    I find it extremely frustrating that Apple does not care for such an obvious bug affecting one of the basic funcionalities of AirPlay. Unless, of course, if there's something I don't know - but I've done some research and it seems that plenty of people have same issue and no solution is settled.

  • I want to be able to totally block the FaceTime functionality in my home network.  I would like to do this at the router level.  Does anyone know the hostname or IP address that the FaceTime application uses? Or which port it connects to?

    I want to be able to totally block the FaceTime functionality in my home network so my 4 kids aren't using the Facetime feature- It was easy for Skype just had to enter the work Skype on my Router Security list- and it denies access. I would like to do this at the router level for FaceTime? Only site I find in init.ess.apple.com - is this the startup site for Facetime?   Does anyone know a site I can block, hostname or IP address that the FaceTime application uses? Or which port it connects to?

    I would presume so, but it might be worth your while to experiment and play around with different combinations to see if you can block FaceTime while keeping Game Center open.  Good luck!

  • How can I use the same Sound variable for multiple sounds?

    I need my program to play many different mp3 files at different times.  I'm reading that you can not load different mp3 files into the same Sound variable.  But there must be a way around this right?  Can I Unload mp3 files some how?  Or can I delete the Sound variable and declare it again?  I don't want to have hundreds of Sound variables so what do I do?  Thank you.

    delete doesn't work in as3.  you must remove all listeners and references including nulling the variables.  for displayobjects, they need to be removed from the display list.
    p.s.  you don't need to create a sound instance until you need to load an mp3 using one.  so, if you're waiting for user input to start loading an mp3, you should wait for that input to create that sound instance.

  • How do I find iPod's MAC and the encryption level used to login?

    I have a wireless network with WEP security Wireless Encryption Level 128 bit and also Wireless Network Access activated.
    I need to add the MAC of the iPod. How do you get the iPod's MAC?
    Also how do I know iPod is using 128 bits instead 64bits in the encryption level?
    Does anybody know this?
    I cannot connect to the network I disabled the Wireless Network Access and still cannot login, the password is correct and I am thinking that the iPod is using 64 bit with WEP which is totally useless when you have a network already configured.
    I will appreciate your help.

    Hello and Welcome to Apple Discussions. 
    You'll find the +iPod touch's+ MAC address in Settings > General > About > Wi-Fi Address.
    The +iPod touch+ will use 128/40bit WEP depending on what you have the router set to.
    Are you entering the password in the correct case? You may need to put $ infront of your password.
    Merry Christmas
    mrtotes

  • How to Use different icons for JTree in the same level

    Hi guys, i come cross a problem with JTree. The module need a JTree which need to represent items in the same level using different icons. For example:
    [Icon for Root]Root
    |
    |_____________[Icon for Table] TABLES
    |
    |_____________[Icon for Index] INDEXS
    |
    |_____________[Icon for Views] VIEWS
    As i know, the default behavior for JTree is using the same icon for all leaves and
    the same icon for all node that has children. How can i achieve that?
    Thansk a lot!

    subclass DefaultTreeCellRenderer. if you overwrite the method below, then you can set the icon to whatever you want....!
        public Component getTreeCellRendererComponent(JTree tree, Object value,
                                    boolean sel,
                                    boolean expanded,
                                    boolean leaf, int row,
                                    boolean hasFocus) {
         String         stringValue = tree.convertValueToText(value, sel,
                               expanded, leaf, row, hasFocus);
            this.tree = tree;
         this.hasFocus = hasFocus;
         setText(stringValue);
         if(sel)
             setForeground(getTextSelectionColor());
         else
             setForeground(getTextNonSelectionColor());
         // There needs to be a way to specify disabled icons.
         if (!tree.isEnabled()) {
             setEnabled(false);
             if (leaf) {
              setDisabledIcon(getLeafIcon());
             } else if (expanded) {
              setDisabledIcon(getOpenIcon());
             } else {
              setDisabledIcon(getClosedIcon());
         else {
             setEnabled(true);
             if (leaf) {
              setIcon(getLeafIcon());
             } else if (expanded) {
              setIcon(getOpenIcon());
             } else {
              setIcon(getClosedIcon());
            setComponentOrientation(tree.getComponentOrientation());
         selected = sel;
         return this;
        }

  • How to use the variables used in the message mapping

    Hi ,
    In the message mapping we can declare variables in the JAVA section , these variables could be used across the mapping .
    I have tried using it but I am unable to retrieve the values assigned to the variables in one UDF into the another UDF .
    Please guide me how to use the variables declared in the JAVA section in the message mapping .
    Thanks
    Anita Yadav

    Anita,
    I have worked on the Global variables and i found no issues. Make sure that the variable is declared in the Declaration Section and then initlaized in the Initialization section.
    If you declare a variable in the Declaration Section ,
    int i;
    then in any udf you can use if directly. No need to re declare  the variable in the UDF. If you do this, then it becomes a local variable.
    Regards,
    Bhavesh

  • HT4314 Hi I have clash of clans only Game Center on my iPhone and on my iPad and I want to get rid of the one on my iPad, on my iPhone it always comes up with 'would you like to use you town hall level 4' help!

    Hi I have clash of clans only Game Center on my iPhone and on my iPad and I want to get rid of the one on my iPad, on my iPhone it always comes up with 'would you like to use you town hall level 4' help!

    Please help me back my clash of clans game. I cant access my games. But im steel can visit. Please hepl me.

Maybe you are looking for

  • Mini DisplayPort to 3D TV?

    is it possible to output 3d content from a mac to a 3d capable tv. im just wondering because im seeing more and more 3D Bluray image files on the net, and if i was to download one would i be able to just run it over hdmi to my sony 3d tv rather then

  • After updating to iOS 7 the contact photos no longer appear when I receive a call. How can I get them to show again?

    After updating to iOS 7 the contact photos no longer appear when I receive a call. How can I get them to show again?

  • APD with query data source

    Hi, I'm facing a problem, i created APD which have query data source, this query have so many calculated keyfigure and these calculated keyfigure has Exception Aggregation field is "Use Standard Aggregation" and on Calculations tab "local calculation

  • Chinese menues in Pages - how to?

    i am having a hard time changing the menu dialogues of iwork - pages and keynote - to chinese. tried it with iwork 05 and 06 (got two computers) which i want to donate for a good purpose here in taiwan. os x runs in its latest version 10.4.8 in tradi

  • Light leaking from lower left corner

    Just got my iphone 4, and there's a light leak in the lower left corner of the display. It's only noticeable when the surrounding area is black, as when booting up. Anyone else have this issue?