Strange problem of Debug with System.out.println

Hello

I have an interesting question that I have not been able to solve and I reach out for more help.

Earlier today my app stopped writing System.out.println messages in the console.

It is not a fact that I'm not running it in debug mode, because all debugging information is still there. I see that things get focus, etc.

But none of my system.out.println messages are written.

Even with System.out.println ("main entry method"); on the first line of the main method does not appear.

Is this a problem with the Simulator?

Restart the Simulator, restart eclipse and restarted my computer, I tried the Simulator, cleaning.

I use 8900 Blackberry Simulator.

Any help you offer is very appretiated!

Updated, I guess I was a bit premature in posting about me.

After rebooting my computer again, by disabling the Simulator a few times and restart Eclipse once again, its started to work again.

Strange strange question...

Well, ~ FIXED ~

Tags: BlackBerry Developers

Similar Questions

  • How do you see the System.out.println (without using Eclipse and BlackBerry JDE)

    Hi all

    I just want to know if there is no solution to see System.out.println.

    I use neither Eclipse nor BlackBerry JDE for my development.

    I have my jar, jad files. I convert my jar file using the CAP tool. The .cod files are generated.

    I start the trainer. Now I have 2 windows: Windows Simulor and the output (see picture).

    Then I load my .cod files. But I see not all System.out.println ("...") in the output windows.

    How can I see these System.out.println ("...")?

    Please help me.

    Thank you all.

    Thanks for your help.

    I try your solution EventLogger.

    But I have another problem:

    My request is not a native application (it is a midlet in J2ME, not a UIApplication). Do you think that it will work with EventLogger?

    How can I make a registry for EventLogger:

    static boolean register(long guid, String name) 
    Registers the name and the guid of the calling application.
    static boolean register(long guid, String name, int viewerType) 
  • System.out.println)

    I have a question.
    I tend to use a lot of System.out.println () in my codes for debugging purposes.
    Now, when we deploy our code in the case of Oracle applications, what happens to these System.out.println ()?

    Hi pradeep,.

    System.out.println () does not store the output anywhere in the server.
    But as Summit says that this unnecessary code lead to performance problems.

    There is only one output and one error in the JVM. Multiple threads calling these methods must be synchronized and will potentially block. Also in production (iAS 1,0.2.2.2), STD on is not to redirect to a file and is lost.

    Prasanna-

  • System.out.println () + Eclipse + Simulator

    I expected that System.out.println () would be exit in the Blackberry Simulator output Console, but I don't get anything in this window.  Y at - there a trick to getting the output here?

    Thanks in advance,

    You must attach the Simulator in debug mode. To do this simply right click on the project > Debug as > BlackBerry Simulator. That should fix the Simulator for the Eclipse JDE plugin and println (s) should now appear in the Console output for the Blackberry Simulator.

    To connect a device in debug mode, right-click on the project > Debug as > BlackBerry device. It attach the unit to the Eclipse JDE plugin and as above, println (s) should appear in the Console output for the Blackberry Simulator.

  • System.out.println () in the performance of blackberry

    Hello everyone.

    Can I print the messages during execution of an application from BlackBerry device? I would like to make something the link tipical System.out.println ("' you are in" ");

    I don't want messages between class and then use add (ritchtext...), etc. I want just a feeling at this moment. It is possible that in blackberry?

    Otherwise, there is another way to simulate something similar?

    Thack you.

    You can attach the debugger to the real blackberry as well.

    We use a loggerservice making:

    -DD

    -Journal newspaper of the device (EventLogger class)

    -Journal of a persistent internal newspaper

    the simplest solution would be to use http://www.blackberry.com/developers/docs/6.0.0api/net/rim/device/api/system/EventLogger.html

  • System.out.println in the controller log

    Where can I find the exit from my System.out.println calls made in my controller?  I looked in the logs and diagnostics but did not meet my output.  When I run into JDeveloper, they are found in the built-in console OC4J tab.  So I know they work.  I can't find the on the server.

    Thank you

    Hello

    You can take a look at the tables of FND_LOG_MESSAGES.

    Please refer to the link below and configure the profile to the user level options and check.

    http://oraclemaniac.com/2012/08/15/how-to-generate-logs-for-tracing-OAF-page-errors/

    Thank you

    Sandeep

  • Custom defined function and "System.out.println".

    Hello

    After some cdf sample looking on the web and bring them to work on my development machine, I was wondering if the many order System.out.println (...) in the java classes indeed out there messages to. I wasn't able to find them in all the log files, I was looking at, IE. or ESSBASE. JOURNAL, or the exemple.log where I was testing the functions.

    Someone at - it an idea where messages from System.out.println (...) Finally end and that there is a log file containing these messages.

    Volker

    Hello

    Try to run essbase in a command window (run it from the start menu or type essbase on windows OS) and not as a service, then you should see the output of the command in the window.

    See you soon

    John
    http://John-Goodwin.blogspot.com/

  • Get java & quot; System.out.println & quot; content in a CF model

    All,
    I am a newbie to CF/JAVA integration and inherited about 20 java applications that are called from a template CF. abounding in all the java code (in hundreds of places) it is System.out.println () statements. So far I have not been able to get this output to display on the web page.

    CF Code:

    < CFSET UploadName = UploadsDir & "-" & cffile.serverFile >
    < CFSET ExceptionName = UploadsDir & "-" & ExPrefix & BaseName >
    < cfobject type = 'java' name = "UploadObject" class = "UploadProgram" action = "crΘer" >
    < cfset params = ArrayNew (1) >
    < cfset params [1] = UploadName >
    < cfset params [2] = ExceptionName >
    #UploadObject.main (params) #.

    Excerpt from Java:

    System.out.println("");
    System.out.println (recCount + "entry" records);
    System.out.println (hdrCount + "header");
    System.out.println ("good" account +);
    System.out.println (errCount + "bad");
    System.out.println (ignCount + "ignored");
    System.out.println("");
    System.out.Flush ();

    Any help will be appreciated. Thank you!

    I have it!

    I finally understand how to redirect the output stream, then return the var. toString().

    Java:

    public static main (String [] args) String
    throws the Exception
    {
    ByteArrayOutputStream outstream = new ByteArrayOutputStream();
    PrintStream ps = new PrintStream (outstream);
    System.setOut (ps);

    If (args.length< 1="">
    {
    System.out.println ("use: java InetLoad inet_sales_spreadsheet");
    Return (outStream.ToString ());
    }
    inetLoad.run ();
    Return (outStream.ToString ());
    }

    CF:


    #UploadObject.main (params) #.

    Time for a beer.

  • Display of output with System.out.print

    I think (hope) it is a relatively simple question... How can I get
    System.out.print("a");
    System.out.print("b");
    System.out.print("c");
    Display the form "a b c".

    Instead of

    'a '.
    b
    c » ?

    jschell wrote:

    851204 wrote:
    I know that I was just using a, b and c as placeholders for objects. I say /had/ to write my code with 3 separate Print orders. How can I get each new string on the same line?

    As noted your example produces no output you suggested.

    IF you use printing, and the output is on different lines, this means that the objects, not of print(), is the source of multiple lines.

    In this case, your options are
    1 modify the objects to remove the end of line of code.
    2 consume objects as strings and delete the end of characters in the line of these chains, then print the result.

    Specifically, an easy way to remove breaks at the end of the strings is 'trim()' of the String class method. It will remove the spaces and the newlines from the beginning and the end of a string.

  • System.out.println (significantly) slows an application?

    I couldn't find any other posts about this, but I've always wondered to this topic.  Of course if you have the debug window open and print much info, it certainly slows down due to the scrolling in the IDE.  However, it affects the application once it is on the device and is not being debugged via USB?

    The guys take off your println when you compress your code for immediate release?

    From my experience, this output does not slow down the program significantly when running on the device. I think the BONE to eat out if there is no connection of USB debugging.

    That said, we take 'more' these lines for a production version.

  • Strange problem (bug?) with access to a specific geometry

    We have a database with hundreds of thousands of polygons (among others).
    We have a number of queries that retrieve polygons in a (rectangular) area chosen by the user.

    In general, everything works fine.

    However, in trying to retrieve data of a particular area, we found that oracle kept throwing at the end of the file (03113)
    or 'no more to read shooting Data' exception and disconnection.

    Our first was that the region contained too many data [we often get this exception when you try to return large amounts of data, but it's another

    question]. But no, we could limit the area such that it contained only a handful of polygons and he always threw the exception.

    After more testing, we were able to narrow the problem down to a single geometry.

    It validates ok, and geo raptor in sql Developer, it can display ok (it is a torus lying, somewhat like a race track).
    However, do not attempts to run the query on the matter.

    We have reduced the query as follows:

    INSERT INTO RDTESTIDS
    SELECT RDTestTA.Polygon
    OF RDTestTA, RDTestPoly
    WHERE RDTestTA.Polygon = RDTestPoly.ID
    AND (SDO_ANYINTERACT)
    RDTestPoly.geometry,
    SDO_GEOMETRY (2003, NULL, NULL,)
    SDO_elem_info_array (1,1003,3),
    SDO_ordinate_array (531250,163965,531310,164000)
    )
    ) = "TRUE";

    Where:

    RDTestTA is an array that contains two fields: TAID (NUMBER) and POLYGON (NUMBER)
    RDTestPoly is an array that contains two fields: ID (NUMBER) and GEOMETRY (SDO_GEOMETRY)
    RDTestIDs is a table containing the unique field: ID (NUMBER)


    Success of this operation for each geometry, we met so far except the 'circuit '.
    and we do not know what could be the cause of the problem.


    Curiously, if we remove the "INSERT INTO RDTestIDs" or joining with RDTestTA, it works!

    Suggestions of the ad hoc to avoid the problem by rewriting etc. are not really what is needed here
    -He should know what he is this geometry that is causing Oracle to fail
    where it occurs with other geometries and/or queries we encounter in the future.


    Any help to fix this would be greatly appreciated.

    Richard



    ---------------------------

    The complete example that produces the error can be recreated using the following script:


    -Create the tables RDTestPoly and RDTestTA

    CREATE TABLE 'RDTESTPOLY1 '.
    ('ID' NUMBER (38.0),)
    "GEOMETRY" 'MDSYS. "" SDO_GEOMETRY. "
    ) ;

    CREATE TABLE 'RDTESTTA1 '.
    ("TAMTAM" NUMBER (38.0) BY DEFAULT, 0,)
    "POLYGON" NUMBER (38.0) DEFAULT 0
    ) ;

    -The index, including the spatial index on a geometry

    INSERT INTO VALUES USER_SDO_GEOM_METADATA ("rdtestpoly1", "geometry",
    MDSYS. SDO_DIM_ARRAY (MDSYS. SDO_DIM_ELEMENT ('X', 0, 800000, 0.00001),
    MDSYS. SDO_DIM_ELEMENT ('Y', 0, 1300000, 0.00001)), NULL);

    CREATE AN INDEX UNIQUE 'PK_RDTESTPOLY1' ON 'RDTESTPOLY1' ('ID');

    CREATE INDEXES 'RDTESTPOLY1_IDX' ON 'RDTESTPOLY1' ("GEOMETRY")
    INDEXTYPE IS 'MDSYS. "" SPATIAL_INDEX SETTINGS "("sdo_indx_dims = 2 layer_gtype = POLYGON");

    CREATE AN INDEX UNIQUE 'PK_RDTESTTA1' ON 'RDTESTTA1' ('TAMTAM");

    -Insert geometry "Hippodrome" of the problem and the line in RDTestTA

    INSERT INTO RDTESTTA1 (tamtam, polygon)
    VALUES (1,2410547);

    INSERT INTO RDTESTPOLY1 (id, geometry)
    VALUES (2410547, MDSYS. SDO_GEOMETRY (2003, NULL, NULL,)
    MDSYS. SDO_ELEM_INFO_ARRAY (1,1003,1,293,2003,1),
    MDSYS. SDO_ORDINATE_ARRAY (531265.19,163994.89,531266.05,163993.75,531267.35,163992.25,531268.7,163990.85,
    531270.2,163989.5,531271.75,163988.25,531273.4,163987.15,531274.75,163986.4,531276.15,163985.7,531277.6,
    163985.05,531278.95,163984.5,531280.3,163984.0,531281.65,163983.55,531283.65,163983.1,531285.6,163982.8,
    531287.65,163982.6,531289.05,163982.55,531290.45,163982.6,531291.85,163982.7,531293.0,163982.8,531293.81,
    163982.95,531295.2,163983.2,531297.43,163983.71,531300.0,163984.3,531314.5,163987.75,531353.55,163996.65,
    531356.55,163997.45,531357.25,163997.75,531358.0,163998.0,531358.7,163998.3,531359.6,163998.6,531360.45,
    163998.95,531361.3,163999.35,531363.1,164000.0,531365.8,164001.7,531366.8,164002.45,531367.8,164003.25,
    531368.71,164004.06,531368.75,164004.1,531369.88,164005.29,531370.65,164006.1,531371.5,164007.15,531372.25,
    164008.13,531372.45,164008.4,531373.35,164009.65,531374.2,164011.0,531375.05,164012.45,531375.49,164013.28,
    531375.85,164013.95,531376.55,164015.55,531377.1,164017.05,531377.6,164018.6,531378.0,164020.15,531378.3,
    164021.65,531378.5,164023.2,531378.53,164023.51,531378.65,164024.7,531378.75,164026.25,531378.8,164027.8,
    531378.77,164028.78,531378.75,164029.3,531378.6,164030.7,531378.45,164032.05,531378.15,164033.4,531377.85,
    164034.5,531377.45,164035.55,531377.0,164036.6,531376.74,164037.16,531376.4,164037.9,531375.75,164039.2,
    531375.05,164040.45,531374.5,164041.5,531373.9,164042.5,531373.25,164043.5,531372.5,164044.55,531371.7,
    164045.6,531370.9,164046.6,531370.05,164047.65,531369.15,164048.65,531368.2,164049.6,531367.2,164050.5,
    531366.1,164051.35,531365.0,164052.1,531363.65,164052.8,531362.25,164053.45,531360.85,164054.05,531359.4,
    164054.65,531357.95,164055.2,531356.45,164055.75,531354.8,164056.2,531353.1,164056.55,531351.35,164056.8,
    531350.05,164056.95,531348.65,164057.05,531347.3,164057.05,531346.05,164056.95,531344.75,164056.75,
    531343.5,164056.5,531339.0,164055.55,531333.9,164054.3,531325.95,164052.55,531319.63,164051.06,531316.03,
    164050.21,531284.3,164042.75,531282.9,164042.5,531280.2,164041.8,531278.75,164041.35,531277.4,164040.8,
    531276.0,164040.2,531274.9,164039.6,531273.8,164038.95,531272.75,164038.3,531271.55,164037.5,531270.4,
    164036.65,531269.3,164035.75,531268.35,164034.8,531267.5,164033.75,531266.65,164032.65,531265.75,164031.4,
    531264.9,164030.15,531264.1,164028.8,531263.35,164027.3,531262.7,164025.75,531262.05,164024.15,531261.4,
    164022.75,531260.85,164021.3,531260.35,164019.85,531260.0,164018.55,531259.7,164017.2,531259.5,164015.85,
    531259.35,164014.5,531259.3,164013.15,531259.3,164011.8,531259.4,164010.35,531259.55,164008.95,531259.69,
    164008.02,531259.75,164007.6,531260.35,164004.6,531260.8,164003.15,531261.2,164002.05,531261.6,164001.05,
    531262.05,164000.0,531262.85,163998.4,531263.8,163996.85,531264.85,163995.35,531265.19,163994.89,531303.15,
    163987.96,531295.62,163986.17,531293.8,163985.75,531293.2,163985.7,531292.5,163985.6,531291.7,163985.55,
    531289.0,163985.55,531288.0,163985.65,531286.95,163985.75,531286.8,163985.75,531286.15,163985.85,531285.5,
    163985.9,531284.8,163986.0,531284.15,163986.15,531283.5,163986.25,531283.25,163986.3,531281.95,163986.6,
    531281.3,163986.8,531280.4,163987.15,531277.8,163988.15,531276.55,163988.75,531275.45,163989.35,531274.4,
    163990.0,531273.35,163990.7,531272.2,163991.6,531271.1,163992.6,531270.05,163993.65,531269.53,163994.23,
    531269.2,163994.6,531268.45,163995.55,531267.7,163996.55,531266.9,163997.7,531266.2,163998.8,531265.55,
    164000.0,531264.35,164002.35,531264.15,164002.7,531264.0,164003.1,531263.85,164003.45,531263.55,164004.55,
    531263.45,164005.1,531263.15,164006.55,531262.65,164009.15,531262.55,164009.7,531262.5,164010.3,531262.45,
    164010.85,531262.35,164012.45,531262.35,164013.75,531262.4,164014.3,531262.45,164014.9,531262.55,164015.8,
    531262.7,164016.7,531262.9,164017.55,531263.1,164018.35,531263.35,164019.15,531263.6,164019.9,531263.65,
    164020.07,531263.75,164020.4,531263.85,164020.9,531264.05,164021.35,531264.3,164022.05,531265.0,164023.45,
    531265.8,164025.25,531266.6,164026.95,531267.0,164027.75,531267.45,164028.55,531267.9,164029.25,531268.4,
    164029.95,531268.9,164030.6,531269.4,164031.3,531269.95,164031.95,531270.53,164032.57,531271.1,164033.05,
    531271.65,164033.55,531272.3,164034.05,531273.15,164034.75,531274.1,164035.4,531275.0,164036.0,531275.9,
    164036.55,531277.8,164037.55,531279.4,164038.25,531280.25,164038.6,531281.0,164038.8,531281.8,164039.0,
    531282.6,164039.15,531291.52,164041.25,531299.66,164043.15,531306.3,164044.71,531312.28,164046.12,531318.35,
    164047.54,531325.2,164049.15,531333.29,164051.05,531342.25,164053.15,531344.0,164053.45,531345.75,164053.65,
    531347.5,164053.75,531348.65,164053.75,531349.85,164053.7,531351.05,164053.6,531352.75,164053.35,531354.45,
    164052.95,531356.1,164052.45,531357.55,164051.95,531358.95,164051.35,531360.35,164050.7,531361.35,164050.25,
    531362.3,164049.8,531363.25,164049.3,531364.1,164048.8,531364.9,164048.25,531365.7,164047.65,531366.65,
    164046.8,531367.55,164045.85,531368.35,164044.85,531369.55,164043.15,531370.1,164042.25,531370.85,164041.15,
    531371.6,164040.0,531372.25,164038.85,531372.75,164037.9,531373.65,164036.0,531374.7,164033.75,531375.0,
    164032.75,531375.25,164031.9,531375.7,164025.5,531375.6,164024.65,531375.5,164023.85,531375.4,164023.0,
    531375.3,164022.1,531375.15,164021.2,531374.95,164020.3,531374.55,164019.1,531374.35,164018.55,531374.05,
    164017.75,531373.45,164016.25,531373.0,164015.35,531372.0,164013.55,531371.45,164012.6,531370.9,164011.7,
    531369.8,164010.0,531368.7,164008.4,531368.0,164007.7,531367.3,164007.05,531366.55,164006.4,531365.85,
    164005.8,531364.35,164004.6,531363.45,164004.0,531362.6,164003.4,531361.7,164002.85,531360.3,164002.05,
    531359.6,164001.7,531358.15,164001.0,531356.65,164000.4,531355.3,164000.0,531354.42,163999.69,531353.43,
    163999.51,531347.11,163998.19,531346.9,163998.15,531341.48,163996.8,531337.5,163995.8,531334.61,163995.15,
    531327.82,163993.61,531322.22,163992.35,531316.05,163990.95,531314.9,163990.75,531308.53,163989.24,531303.15,
    163987.96)));

    -Finally, to create the output table to store IDs

    CREATE TABLE 'RDTESTIDS1 '.
    (NUMBER of 'IDENTIFIER'
    );



    -Now, for the test question itself
    -Leading to end-of-file on communication channel error 3113

    DELETE FROM RDTESTIDS1;

    INSERT INTO RDTESTIDS1
    SELECT rdtestta1.polygon
    OF rdtestta1, rdtestpoly1
    WHERE rdtestta1.polygon = rdtestpoly1.id
    AND sdo_anyinteract (geometry, SDO_Geometry (2003, NULL, NULL, SDO_elem_info_array (1,1003,3),))
    SDO_ordinate_array (531250,163965,531310,164000))

    ) = "TRUE";

    All I can say is that I have improved my 10.2.0.1 precisely because I often got what experienced you:

    However, in trying to retrieve data of a particular area, we found Oracle kept throwing the exception of 'No more to read shooting Data' or end of file (03113) and disconnect.

    In other words, the dreaded ORA-03113 error.

    So, I'm afraid that I can't test your problem on 10.2.0.1.

    But I can confirm, as Luc, it works on 10.2.0.2 Patch 18 on Windows XP.

    I would recommend you get down the relevant updated version + its patches for your operating system from Metalink.

    concerning
    Simon

  • Strange problem of minimization with satellite notebook

    My screen is reduced to a minimum when I click on something without reason, then he's fine.

    Help, please.

    Are you sure that there is no reason for this? ;)
    Check the mouse settings. There you can define mouse buttons action. One of these options is to reduce the current window. Please make sure that this option is not set.

    Par_defaut, it must be set to check primary * select Normal, Normal Drag).

    If you have changed something?

  • println method static of System.out?

    In Lesson 1-5, the System.out::println is an example of a reference to a static method, (~ 5 min)

    But it seems to me that println is a non-static method of PrintStream (PrintStream (Java Platform SE 8) (System.out is an instance of PrintStream))

    I'm wrong or have I missed something?

    You are right; println is not a static method, whereas System.out is a static variable, which may be where the confusion arises. I posted a similar request on this a few days ago. You can hear some hesitancy in the audio at that point, where I suspect an element of doubt has crept in Simon's mind as it has been described.

    Another example would use something like the whole parseInt method, as I suggested to my request.

    David

  • a strange problem by OptionsProvider

    Here is my code:

    public class NewClass extends UiApplication
    {
      public static Timer s1;
      public static int remain =0;
      public static void main(String[] args)
      {
          NewClass app = new NewClass();
          s1 = new Timer();
          s1.scheduleAtFixedRate(new TimerMainEvent(),1000,1000);
          NewClass.remain = 50;
          op provider = new op();
          OptionsManager.registerOptionsProvider(provider);
          app.enterEventDispatcher();
      }
      public NewClass()
      {
          pushScreen(new testscreen());
      }
    }
    class testscreen extends MainScreen {
        public testscreen(){
        super();
        ButtonField b1 = new ButtonField("test",ButtonField.CONSUME_CLICK);
            add(b1);
            b1.setChangeListener(new FieldChangeListener() {
                public void fieldChanged(Field field, int context) {
                    NewClass.remain = 100;
                    System.out.println("****Log****:now ="+ NewClass.remain);
                    if(NewClass.s1 != null){      // POINT A
                           System.out.println("****Log****:turn off s1");
                           NewClass.s1.cancel();
                    }
                }
            });
        }
    }
    class TimerMainEvent extends TimerTask {
        public TimerMainEvent() {
        }
    
        public void run() {
            System.out.println("****Log****:now ="+ NewClass.remain);
        }
    }
    class op implements OptionsProvider {
        public op(){
        }
       public String getTitle() {
           return "aaa";
        }
        public void populateMainScreen(final MainScreen mainScreen) {
            ButtonField b1 = new ButtonField("test",ButtonField.CONSUME_CLICK);
            mainScreen.add(b1);
            b1.setChangeListener(new FieldChangeListener() {
                public void fieldChanged(Field field, int context) {
                    NewClass.remain = 100;
                    System.out.println("****Log****:now ="+ NewClass.remain);
                    if(NewClass.s1 != null){    //   POINT B
                           System.out.println("****Log****:turn off s1");
                           NewClass.s1.cancel();
                    }
                }
            });
        }
        public void save() {
        };
    }
    

    The strange thing is when I press the button on the screen of the app, the NewClass.s1 is back not null (i, then it will be cancel. Yes, this is what I want.    See the line of POINT A.

    But when I press the button of option-aaa, the NewClass.s1 return null. I think that this is not correct, because the timer is running.    See the line of POINT B.

    I do not miss anything here?

    Your answer will be appreciated!

    OK .i find the result myself.

    It is two processes.

  • Metadata of data user not found! -read the problem of network with Netbeans

    Hi all,

    I have Oracle11gR2 and Fedora 13 operating system.
    I have to do the analysis (in the calculation of the shortest path) on a network with IFN.
    I'll use the APIs of LOD, but the network is not yet partitioned.
    Before partitioning, I want to see if Netbeans can read my network. When I run the code to do this:
    String url = "jdbc:oracle:thin:@IP_of_machine:1521:dbSID";
    
        try {
    
                    Class.forName("oracle.jdbc.OracleDriver").newInstance();
                    
                    Connection conn = DriverManager.getConnection(url,"italia","italia");
                    System.out.println("Connect to Database");
                    conn.setAutoCommit(false);
       
                    Network net = NetworkManager.readNetwork(conn, "ITALY_NET");
                    System.out.println("Network has been read");
    but the output is:

    run:
    Connect to the database

    oracle.spatial.network.NetworkDataException: oracle.spatial.network.NetworkDataException: user not found data metadata!
    at oracle.spatial.network.NetworkAdapterSDO.readNetwork(NetworkAdapterSDO.java:792)
    at oracle.spatial.network.NetworkAdapterSDO.readNetwork(NetworkAdapterSDO.java:552)
    at oracle.spatial.network.NetworkManager.readNetwork(NetworkManager.java:176)
    to calcolopercorso. Main.main (hand. Java:62)
    Caused by: oracle.spatial.network.NetworkDataException: user not found data metadata!
    to oracle.spatial.network.UserDataMetadataImpl. < init > (UserDataMetadataImpl.java:108)
    to oracle.spatial.network.NetworkMetadataImpl. < init > (NetworkMetadataImpl.java:585)
    at oracle.spatial.network.NetworkAdapterSDO.readNetworkMetadata(NetworkAdapterSDO.java:4148)
    at oracle.spatial.network.NetworkAdapterSDO.readNetwork(NetworkAdapterSDO.java:766)
    ... 3 more
    BUILD successful (total time: 1 second)

    It has successfully connected to the database, but I have error when it should read the network
    What am I wrong?
    Thank you much in advance.

    Published by: crystal13 on Sep 16, 2010 03:05

    Note that network has been properly validated:
    SQL> SELECT SDO_NET.VALIDATE_NETWORK('ITALY_NET') FROM DUAL;
    SDO_NET. VALIDATE_NETWORK ('ITALY_NET')
    --------------------------------------------------------------------------------
    TRUE

    It seems that you have probably set user_defined_data 'Y', but do not fill your data defined by the user to the user_sdo_network_user_data.

    Follow these steps:

    select network,user_defined_data from user_sdo_network_metadata where network = 'ITALY_NET';
    

    If user_defined_data is set to 'Y', you can set it to "n" then IFN will no definition of user data search in user_sdo_network_user_data.
    If you intend to use your network user data, you must set user_defined_data 'Y' and
    fill your user data information in user_sdo_network_user_data.

    desc user_sdo_network_user_data;
    

    You can get the user to more data information form the white paper in ndm_whitepaper_11gR2 under the Section of the data defined by the user.
    https://spatial.SampleCode.Oracle.com/servlets/ProjectProcess?PageID=0Zl7oV

    I guess you know you use the API in memory of 10g instead of the API of NDM LOD 11 g.

    Jack

Maybe you are looking for

  • Firefox browser will let me see all the info site. other browser does.

    Key information are not loaded on my banking site using Firefox as my browser. When I contacted my bank they asked to use Internet Explorer and the browser loading all the information requested. My Bank suggested that contact Firefox to correct the p

  • "HP Envy 15": HP Envy 15 "hinge Florence

    My Envy 15 "screen laptop touch hinge right is Florence, seems to be a known issue. Y at - it no recall on this problem? I called HP support and they asked c $260 to solve the problem. It's unacceptable, almost all users have the same problem... Need

  • Equium A60 - ATI Mobility Raedeon 7000 IGP Graphics Driver

    My laptop has been crashing like crazy these days. It was deleted and reinstalled using the recovery disk, however the problems is still as bad as ever. The error message would advise to check updates - but I can't find on the site - they have one fo

  • Setting position of the dialog box

    I'll call the dialog function a simple button on the palette of the dialog box.  When running, the dialog box always appears in the center of the VI window, regardless of where the VI window.  The dialog box covers indicatorsthat, the user should see

  • «Go back to the factory default» deletes all documents and data personal?

    I'm selling my laptop, so return to the factory default. Someone can always retrieve driver information? Thank you. Moved to virus & malware Original title: Is 'back to factory default' totally Virgin pilot?