Trace into makes source code screen go blank

Trying to walk through this code segment on inner classes from Bruce Eckel's Thinking in Java. When I hit trace into (F7), the trace into starts (as I can watch the sequence in Context Browser, but I the source code window goes blank with just a highlighted 1st line with no code shown.
If I remove the extends to the interface and abstract class and comment out the respective casts and return values, the problem disappears. So, it must be related to the extending with inner classes.
Anyone seen this before??? try it.
abstract class Contents {
abstract public int value();
interface Destination {
String readLabel();
public class Parcel10 {
private static class PContents extends Contents {
private int i = 11;
public int value() { return i; }
protected static class PDestination implements Destination {
private String label;
private PDestination(String whereTo) {
label = whereTo;
public String readLabel() { return label; }
public static Destination dest(String s) {
return new PDestination(s);
public static Contents cont() {
return new PContents();
public static void main(String[] args) {
Contents c = cont();
Destination d = dest("Tanzania");
} ///:~

Chris,
I just tried your code using JDeveloper 3.2 - I can not reproduce your results.
What I did was:
-Created a Class named Parcel10,
-Pasted your code below into it (everything except package statement).
-Set a breakpoint on main
-Right clicked on Parcel10 and selected Debug
-Stepped into the code for all the steps and nothing odd happens.
If you can produce a simple reproduce case,
then we can look into this further.
Thanks,
-John
null

Similar Messages

  • Converting class files into java source codes

    Dear Friends,
    It is true that conversion of class files to its java source codes is possible through some software. I want to know, is there any way to protect my java source codes from viewing or copying illegally by other persons ?
    If I create JAR file from java files, can it be also convertible back to source codes ?
    Avi

    You can use code obfuscators in order to protect your code. And yes a jar file can also be decompiled.
    http://www.retrologic.com/
    http://www.2lkit.com/products/2LKitObf/
    http://www.codingart.com/codeshield.html
    http://www.drjava.de/obfuscator/

  • Import a class from a SWC into my source code

    Hi all --
    I'm a long-time Flash developer, relatively new to Flex.  I am using FlashBuilder 4.6.
    I have XMPCore.swc from Adobe, which I have added to my project in the libs/ directory.  It shows up in Project->Properties->Flex Builder Path->Library Path->Libs.
    XMPCore defines several classes, such as XMPMeta.
    In my source code, I want to be able to do
       var xmp:XMPMeta = new XMPMeta(...)
    but when I type that I get an orange error indicator, and when I compile I get a red error indicator stating that "Type was not found".  Just as a stab in the dark, I tried adding
    import XMPCore
    or
    import XMPCore.XMPMeta
    at the top of the file, but that gave error messages as well.
    I'm sure this is explained neatly somewhere, but I've spent several hours reading documentation and googling and I can't find that somewhere! 
    Any help greatly appreciated!  My project file is at
    http://dl.dropbox.com/u/63253361/eXeMPlary.fxp
    Bob

    Your import statement is not correct. Use the following:
    import com.adobe.xmp.core.XMPMeta;

  • Debugging into EntityManager source code

    Hi,
    I often want (need) to debug into persist and other methods instead of skipping over them , as the error often happens in there, and as the framework provides very poor error reporting, I need to be able to debug to the error myself. Is there any way I can configure JDeveloper to debug into the source of the ADF/JEE framework?
    thanks
    R

    OK, I take it back, the error reporting in JDeveloper is truly exception. The best ever. May I now have some help please? :P

  • Extra blank lines in source code

    I have built a website in Dreamweaver CS4 and have a client editing pages in Contribute CS5. Both of us are working on Windows 7, and the site is hosted on Linux. When she makes edits to the page, something is introducing a GAZILLION blank lines in the source code. A typical page for this site is about 380 lines of code. The problem page is now more than 310,000 lines code with 100-200 blank lines between every "real" line of code. What the...?!
    I need to know how to stop this and how to remove the blank lines from the source code using Dreamweaver.
    The page in question lives here: http://www.alexandercitychamber.com/member-category.html
    HELP!!!
    Jeff

    Hello, Diane -
    We've got two separate issues here, but I think we have the solution to both.
    1. How to stop Contribute from adding blank lines in the code, and
    2. How to clean up a GAZILLION lines of blank code in a document.
    First, Number 1. I assume you're working in Dreamweaver. If not, I'm not sure how to guide you. But, when you define a Contribute Site, there is an area to specify administrative roles and permissions. Under each Role, at the bottom, you will see a popup for what kind of server the site is hosted on. The default is Windows. I had to change this to Unix (Linux) to match the hosting of our problem site. Find out what platform your host is using. You will have to specify this under each admistrative Role. After doing this, I had the client make some edits, then I opened the files in Dreamweaver. No new blank lines. I admit, I still have my fingers crossed somewhat.
    Okay, now how to clean up your source code and remove blank lines. A developer friend found this on some forum I had not seen. I don't know where, but I am grateful to the person who wrote it. It didn't get all the blank lines in my files, but I think some of the others, which I removed manually, were probably from the client pasting content in from Word. Here's what to do:
    1. Open the file in Dreamweaver
    2. Click CTRL + F, or go to EDIT > FIND AND REPLACE
    3. Select "Current document" in "Find In" (You can also select the folder if you have multiple files.
    4. Search in "Source Code"
    5. Check the box labeled "Use regular expression"
    6. Type "[\r\n]{2,}" (without quotes) in "Find"
    7. Type "\n" (without quotes) in "Replace"
    8. Press "Replace All"
    The operation chugged for a few minutes with my 301,000-line document. Yours may a take a little longer, but it did work. Good luck!
    Jeff
    [email protected]

  • How to edit Java source code of a generated Web Service?

    I generated a Jax RPC (1.4) Web Service using the JDev Wizard . Everything works fine. But now I need to make some changes in the business logic contained in the source code. The problem is there is no easy way to get to the source code - JDeveloper shows the web service but right clicking on it only lets me go to the WSDL or Mapping file - not the Java source.
    So - how do I get to the source.
    I could do a file -> open and open up the java file and edit it - but this seems like a round about way . Why doesn't JDev let me go back to the Source code easily?
    It does provide a Regeneate from Source option but there is no way (as far as I could tell) to actually jump back into the source code after I've generated the Web Service.
    Thanks!

    Hi,
    just to confirm that Jan is ight. If you seect the generated WSDL icon, which is shown in the Application Navigator, open the Structure Window and you'll see all teh generated interfaces and sourcefiles, as well as your WebService file.
    Alternatively you can use teh System navigator which will show all files in one view (ctrl+shift+N)
    Frank

  • Extra indent in source code created in dreamweaver

    When I open a html file created in dreamweaver with a browser
    and view source code from the browser, there are extra indents
    added to the source code.
    For example, if I write a line of code in dreamweaver
    [tab]<p>one indent</p>
    it becomes
    [tab][tab]<p>one indent</p> in a browser
    Is there a setting in dreamweaver to make this from
    happening?

    Hello, Diane -
    We've got two separate issues here, but I think we have the solution to both.
    1. How to stop Contribute from adding blank lines in the code, and
    2. How to clean up a GAZILLION lines of blank code in a document.
    First, Number 1. I assume you're working in Dreamweaver. If not, I'm not sure how to guide you. But, when you define a Contribute Site, there is an area to specify administrative roles and permissions. Under each Role, at the bottom, you will see a popup for what kind of server the site is hosted on. The default is Windows. I had to change this to Unix (Linux) to match the hosting of our problem site. Find out what platform your host is using. You will have to specify this under each admistrative Role. After doing this, I had the client make some edits, then I opened the files in Dreamweaver. No new blank lines. I admit, I still have my fingers crossed somewhat.
    Okay, now how to clean up your source code and remove blank lines. A developer friend found this on some forum I had not seen. I don't know where, but I am grateful to the person who wrote it. It didn't get all the blank lines in my files, but I think some of the others, which I removed manually, were probably from the client pasting content in from Word. Here's what to do:
    1. Open the file in Dreamweaver
    2. Click CTRL + F, or go to EDIT > FIND AND REPLACE
    3. Select "Current document" in "Find In" (You can also select the folder if you have multiple files.
    4. Search in "Source Code"
    5. Check the box labeled "Use regular expression"
    6. Type "[\r\n]{2,}" (without quotes) in "Find"
    7. Type "\n" (without quotes) in "Replace"
    8. Press "Replace All"
    The operation chugged for a few minutes with my 301,000-line document. Yours may a take a little longer, but it did work. Good luck!
    Jeff
    [email protected]

  • When ever i insert microsim my screen goes blank with just apple logo on screen ...Without sim it is ok...I dont know what to do

    I just recently bought IPAD2....Whenever i inserted my microsim into sim tray, the screen goes blank with only apple logo to show...It does not start till i remove the sim and press both Home and Power buttons simulataneously...Can somebody help what shall i do????

    Try:
    - iOS: Not responding or does not turn on
    - If not successful and you can't fully turn the iPod fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - If still not successful that indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.

  • Embedding html in source code?

    hello,
    im trying to insert some code into the source code of the site, in order to then be able to embed specific html on specfic pages pertaining to specific videos i have for sale.
    how do i access the source code?
    cheers
    daniel

    Hello,
    Please refer to the link below on embedding HTML in Muse.
    http://helpx.adobe.com/muse/topics/embedding-html.html
    If you are willing to insert certain code in Body then you can use Object > Insert HTML.
    If you want to put the code in head then you need to go to the page and go to Page > Page Properties > Metadata > HTMl for <head> > Paste the code.
    For more options you can refer to the link above.
    Regards
    Vivek

  • How are the source code in the functions? Blank?

    In my SAP the source code of the some functions are blank.
    Is this correct?
    Can you view in your Systems and put the result, please?
    Functions:
    LSO_COL_GET_ROOM_PRIVACYTYPES
    LSO_COL_GET_ROOMS
    So, when i will to test, the functions return System Failure
    Thanks for Help.

    Hi,
    In our system in blank too.
    This is a RFC it means that others systens connect into this FM and it means that the implementation must be in the FM not in the other system.
    The note 1316954 - Integration: Collaboration for SAP NetWeaver 7.01 talks about the FM LSO_COL_GET_ROOMS.
    Best regards,
    Caíque Escaler

  • Load CF varibales into javascript array without outputing to source code

    I have a javascript array for dynamic dropdowns - Automobile, makes,models, etc.
    The javascript arrays are populated by by cf queries
    Everythign works and functions fine - but it also loads the entire array (hundreds of lines of code) into the browser source code.
    I would like to have the javascript arrays hidden from the browser source code by calling it:
    <script language="JavaScript" type='text/javascript' src='../js/super.js'></script>
    But when I code like this, the js file 'super.js' does not run the cf variables.
    The only way I can get it to function right now is to save a cf file called 'super.cfm' and have it run the cf query, then list the javascript code under the query on this cf template.
    THis works - but again, it causes the entire javascript code to be visible to the browser source code...
    any ideas? - I am on cf 7
    thanks in advance

    thanks for your idea
    I ended up rethinking the whole process and realized that I only update my vehicle make/model list about once a week
    So what I ended up doing was creating the the dynamic javascript arrays through cf - and rendered them in a browser, then took the browser source code (the fully rendered javascript arrays) and saved them as a static js file
    My website uses this js file on every page, so I no longer need to call queries on every single page to populate the javascript arrays - they are already built and I am guessing cached by the browser  (browsers cache js files right?)
    SO this runs more efficiently.
    The only draw back is that when I add a new vehicle to the list in my database, I will need to manually do the same process of rendering the new js code, then cutting and pasting it into my static js file that gets called by all pages.
    So it loses the realtime updates - but this only happened once a week anyway - and it only takes me five minutes to create the new file.
    We'll see if I get sick of manually creating a new js file each week - probably, but this seems better than making the server re-render the code on each page.
    Does this make sense? - would this be less overhead on the server than implimenting your concept?
    thanks.

  • How to put source code into procedure ?

    let's suppose that we have a source code for store Schema like this schema that you can download it from follow Link :-
    http://www.zshare.net/download/1322967884dcdbab/
    and now I want to wrap it ,until get the plb file , and then no one can know the content of the schema source code , and as I know the ( procedure , function and package ) only could wrapped , so I tried to embed the source code in procedure , but the process failed Sad
    Is there anyway to embed the source code schema into procedure until wrap the procedure later to get the plb file ?!

    1* select * from v$version
    SQL> /
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    I'm working in Windows XP SP2 , I use Oracle 10gr2 , I use forms6i
    All what I want to know is :-
    How we make normal Procedure like this style :-
    CREATE OR REPLACE PROCEDURE proc_name
    IS
    BEGIN
    EXECUTE IMMEDIATE ' here we will put the schema creation script , download it from that like ( http://www.zshare.net/download/1322967884dcdbab/ ) ' ;
    end proc_name;
    don't worry about the wrap operation , I will adjust it ..... but the important here .... how we embed the "schema creation script" after EXECUTE IMMEDIATE like in previous procedure ?

  • 50L4353DB - Screen goes blank and unresponsive after logging into Skype

    After successfully logging into Skype on our Toshiba 50L4353DB, I am presented with my contacts momentarily, then the screen goes black and there is no response from the TV. Upon exiting from Skype, the screen remains blank. 
    Here is the solutions I have tried to no aveil:
    I have updated to the latest firmware
    Tried connect through both a wired and wireless connection
    Tried loggin with and without the webcam installed (Freetalk 7291)
    Reseting the TV back to factory settings
    Has anyone else had this problem?
    Is the problem with the Skype app or the TV itself?
    Thanks

    I have had the same problem.  I first got the 65L7350U 3D TV, and did the complete setup.  I orderd the FreeTalk video camera indicated as the ONLY one that is compatible with this TV.  At first, around Christmas 2013 it was working fine, and the video was awesome.  But, in the past 2 weeks, Skype no longer works.  Presently when SKYPE is chosen, it will not even start, and the black screen appears, and stays till you exit to the cloud.
       I have reset the TV on 6 separate occasions, and here is what has come from that:
    Each time, I signed back into my cloud account, then booted Skype, and each time Skype asked me to sign in, as if it was the first time the app was running.  I signed into the Skype site, and the connection was correct.  I saw my photo, and my list of contacts, but then the app quits, leaving a black screen, and no response from any keyboard or remote buttons, except for the Home button for return to the Cloud. I do ge the screen that asks if I want to exit the current mode, and the only choice is yes, because a no will give you the same black screen with no Skype running.  On one occasion in the past 6 TV resets I was able to make one call to the Skype Call Testing Service, and check the sound and microphone.  It worked perfectly with the sound and the microphone, but as soon as the Testing Service disconnected the call, the screen went blank, back to black, and locked up, again requiring return to the Cloud page. 
         Apparenlty when the screen goes blank, Skype is still running, but there is no way to access its functions.
    It appears to be a Software problem with that app, but I have  been unable to find a way to delete that app and install either a previous version or an upgraded version of the current one.  Any suggestions? 
    drjohn2014

  • Cant get into BIOS via DEL key, screen goes blank on load RD240

    Hello group, having an issue with a RD240 rackmount server attempting to bring it online for the first time. Currently in a one CPU configuration with one stick on RAM in the correct slot, using SAS. When the computer first boots prompting you to hit either DEL or TAB those keyboard commands are non-effective. Once it bypasses that screen it will move towards the LSI connfiguration utility. If you hit Ctrl +C it will say that the utility will become active after initialization. The screen then  just goes blank. At that point I can hit Ctrl Alt Delete and it will reboot the server and then in the same mess again, Del is ignored, I can't boot off the CDROM, cleared the BIOS using the jumpers, nada. Any thoughts on this would be great, at this point I can't get in to configure and if I just let it boot always ends in a black screen. Checked the cables for the SAS and everything looks good across the board to me. Tried different RAM sticks, unplugging the SATA CDROM, etc. I can get into the Mgmt via the web and sensor show everything green across the board etc but something is borked. There is a LED screen on the mainboard with the number 78. I couldn't reference what that means. All drives I can hear click on, Cheetah 15k all around. Steady green light on bottom, top light out. Any input would be greatly appreciated!

    Try pressing F1 at the Thinkserver Screen. When Setup Bios appears, you can exit out by pressing Esc.  After the screen goes blank, press Ctrl+H to get the Web Bios screen which will allow you to configure your server.  I hope that this will help.

  • Source code organization: How to divide large JavaScript files into several smaller JavaScript files?

    Hello,
    some of my JavaScripts have become considerably large over time. What I would like to do is to split a single (large) JavaScript source file into several smaller source files plus an additional JavaScript file containing code or directives to recombine the split files.
    In other words, I would like to organize my JavaScript source code into re-usable modules.
    Although I searched the Acrobat JavaScript developer documentation and did a lot of Web searching, I still have no idea...
    whether the Acrobat JavaScript scripting environment itself does provide a code structuring mechanism
    how to properly organize large Acrobat JavaScripts in general.
    Any help would be greatly appreciated! Thanks a lot in advance!
    Sebastian

    Document-level scripts are not accessible to other documents/scripts, so they're not a good option.
    Folder-level scripts, on the other hand, are accessible to all other documents/scripts. So if you have a general function that creates a 3D annotation, for example, you can place it in a folder-level script and then call it from other scripts (you will probably need to provide it a handle for the document and properties of the annotation).
    One thing to be aware of, though, is that the folder-level scripts are loaded alphabetically, so don't put a reference in script aaa.js to something that loads in zzz.js, or you will get an error message when you open Acrobat. (this is not a problem if zzz.js is not called during the launch of Acrobat)

Maybe you are looking for