Problem with Source:Object and Output:File

Hello dear people,
i have been found example like FileCompressTool.
But i have been coded for conversors or decompilers.
I have got error of File and FileStream
Look at my picture
I have been tried because my Adobe AIr Application has not error..
How do i fix this error? Or i must run Adobe Air as Administrator Right?
Code for Example:
<?xml version="1.0" encoding="utf-8"?>
<mx:WindowedApplication
          title="Half-Life Map Decompiler"
          xmlns:mx="http://www.adobe.com/2006/mxml"
          layout="absolute"
          showStatusBar="false">
          <mx:Script>
                    <![CDATA[
                              import com.valve.utils.mapEncorder;
                              import flash.filesystem.File;
                              private var bspSrc:File;
                              private var mapDes:File;
                              private function ChooseSrc():void
                                        if( bspSrc == null ) {
                                                  bspSrc = new File();
                                        bspSrc.addEventListener(Event.SELECT,  sourceSelectHandler);
                                        bspSrc.browseForOpen("Choose Half-Life 1 Bsp File", [new FileFilter("Half-Life 1 *.bsp", "*.bsp")]);
                              private function sourceSelectHandler(event:Event):void
                                        bspSrcText.text = bspSrc.nativePath;
                                        StateLog.text = bspSrc.nativePath + " has been selected.";
                              private function ChooseDes():void
                                        if ( mapDes == null ) {
                                                  mapDes = new File();
                                        mapDes.addEventListener(Event.SELECT, destinationSelectHandler);
                                        mapDes.browseForDirectory("Choose for decompiled Map file!");
                              private function destinationSelectHandler(event:Event):void
                                        mapDesText.text = mapDes.nativePath;
                                        StateLog.text = mapDes.nativePath + " has been selected.";
                              private function Decompile():void
                                        var bsp2map:mapEncorder = new mapEncorder();
                                        bsp2map.decompileBsp2map(bspSrc, mapDes);
                                        StateLog.text = "This Map File has been decompiled complety.";
                    ]]>
          </mx:Script>
          <mx:Label left="10" top="10" text="Choose your bsp ( used by Half-Life 1 ):"/>
          <mx:TextInput id="bspSrcText" left="15" right="63" top="36"/>
          <mx:Button right="15" top="36" label="..." click="ChooseSrc()"/>
          <mx:Label left="10" top="70" text="Choose your decompiled map in your directory:"/>
          <mx:TextInput id="mapDesText" left="15" right="63" top="96"/>
          <mx:Button right="15" top="96" label="..." click="ChooseDes()"/>
          <mx:Label left="10" top="130" text="View with decompiled details:"/>
          <mx:Button right="98" top="128" label="Decompile" click="Decompile()"/>
          <mx:Button right="192" top="128" label="Clean log"/>
          <mx:TextArea id="StateLog" left="15" right="15" top="156" bottom="15"/>
          <mx:Button right="15" top="128" width="75" label="About..."/>
</mx:WindowedApplication>
And com.valve.utils.mapEncorder.as
          Valve Software
          Half-Life 1 - Maps
package com.valve.utils
          import flash.filesystem.File;
          import flash.filesystem.FileMode;
          import flash.filesystem.FileStream;
          import flash.utils.ByteArray;
          public class mapEncorder
                    public function decompileBsp2map(bspSrc:Object, mapDes:File):void
                              if( bspSrc == null || mapDes == null ){
                                        throw new ArgumentError("Half-LIfe Bsp File and Half-Life Map File cannot be null.");
                              var bspSrcByte:ByteArray;
                              var mapFileTarget:File = new File(mapDes.nativePath);
                              var fileTime:Date;
                              if(bspSrc is File){
                                        var bspSrcFile:File = new File;
                                        if(bspSrcFile.exists || bspSrcFile.isDirectory){
                                                  throw new ArgumentError("If your bsp File is current version.");
                                        var bspFileStream:FileStream = new FileStream();
                                        bspFileStream.open(bspSrcFile, FileMode.READ);
                                        bspSrcByte = new ByteArray;
                                        bspFileStream.readBytes(bspSrcByte, bspFileStream.bytesAvailable);
                                        bspFileStream.close();
                                        if (mapFileTarget.isDirectory)
                                                  mapFileTarget = mapFileTarget.resolvePath(bspSrcFile.name + ".map");
                                                  fileTime = bspSrcFile.modificationDate;
                                        else if (bspSrc is ByteArray)
                                                  bspSrcByte = bspSrc as ByteArray;
                                                  if (mapFileTarget.isDirectory)
                                                            mapFileTarget = mapFileTarget.resolvePath("_decompiled.map");
                                                  fileTime = new Date();
                                        else
                                                  throw new ArgumentError("Bsp File must be complety.");
                                        var mapFileStream:FileStream = new FileStream();
                                        mapFileStream.open(mapFileTarget, FileMode.WRITE);
                                        mapFileStream.writeBytes(bspSrcByte);
                                        mapFileStream.close();
Thank you for help - If you find an error than you can tell me. If it doesn't work than i will try Flash Builder with Running as Admin.
Regards J. Eckervogt

I have been found problem because i have been found issus of if (...) with !
It is okay. I have been forgotten. I am sorry. Thanks.. I have been fixed this..
It is true
But is worng code :
          Valve Software
          Half-Life 1 - Maps
package com.valve.utils
          import flash.filesystem.File;
          import flash.filesystem.FileMode;
          import flash.filesystem.FileStream;
          import flash.utils.ByteArray;
          public class mapEncorder
                    public function decompileBsp2map(bspSrc:Object, mapDes:File):void
                              if( bspSrc == null || mapDes == null ){
                                        throw new ArgumentError("Half-LIfe Bsp File and Half-Life Map File cannot be null.");
                              var bspSrcByte:ByteArray;
                              var mapFileTarget:File = new File(mapDes.nativePath);
                              var fileTime:Date;
                              if(bspSrc is File){
                                        var bspSrcFile:File = new File;
                                        if(bspSrcFile.exists || bspSrcFile.isDirectory){
                                                  throw new ArgumentError("If your bsp File is current version.");
                                        var bspFileStream:FileStream = new FileStream();
                                        bspFileStream.open(bspSrcFile, FileMode.READ);
                                        bspSrcByte = new ByteArray;
                                        bspFileStream.readBytes(bspSrcByte, bspFileStream.bytesAvailable);
                                        bspFileStream.close();
                                        if (mapFileTarget.isDirectory)
                                                  mapFileTarget = mapFileTarget.resolvePath(bspSrcFile.name + ".map");
                                                  fileTime = bspSrcFile.modificationDate;
                                        else if (bspSrc is ByteArray)
                                                  bspSrcByte = bspSrc as ByteArray;
                                                  if (mapFileTarget.isDirectory)
                                                            mapFileTarget = mapFileTarget.resolvePath("_decompiled.map");
                                                  fileTime = new Date();
                                        else
                                                  throw new ArgumentError("Bsp File must be complety.");
                                        var mapFileStream:FileStream = new FileStream();
                                        mapFileStream.open(mapFileTarget, FileMode.WRITE);
                                        mapFileStream.writeBytes(bspSrcByte);
                                        mapFileStream.close();
Replace to:
          Valve Software
          Half-Life 1 - Maps
package com.valve.utils
          import flash.filesystem.File;
          import flash.filesystem.FileMode;
          import flash.filesystem.FileStream;
          import flash.utils.ByteArray;
          public class mapEncorder
                    public function decompileBsp2map(bspSrc:Object, mapFile:File):void
                              if( bspSrc == null || mapFile == null ){
                                        throw new ArgumentError("Half-LIfe Bsp File and Half-Life Map File cannot be null.");
                              var bspSrcByte:ByteArray;
                              var mapFileTarget:File = new File(mapFile.nativePath);
                              var fileTime:Date;
                              if(bspSrc is File){
                                        var bspSrcFile:File = bspSrc as File;
                                        if(!bspSrcFile.exists || bspSrcFile.isDirectory){
                                                  throw new ArgumentError("If your bsp File is current version.");
                                        var bspFileStream:FileStream = new FileStream();
                                        bspFileStream.open(bspSrcFile, FileMode.READ);
                                        bspSrcByte = new ByteArray();
                                        bspFileStream.readBytes(bspSrcByte, bspFileStream.bytesAvailable);
                                        bspFileStream.close();
                                        if (mapFileTarget.isDirectory)
                                                  mapFileTarget = mapFileTarget.resolvePath(bspSrcFile.name + ".map");
                                                  fileTime = bspSrcFile.modificationDate;
                                        else if (bspSrc is ByteArray)
                                                  bspSrcByte = bspSrc as ByteArray;
                                                  if (mapFileTarget.isDirectory)
                                                            mapFileTarget = mapFileTarget.resolvePath("_decompiled.map");
                                                  fileTime = new Date();
                                        else
                                                  throw new ArgumentError("Bsp File must be complety.");
                                        var mapFileStream:FileStream = new FileStream();
                                        mapFileStream.open(mapFileTarget, FileMode.WRITE);
                                        mapFileStream.writeBytes(bspSrcByte);
                                        mapFileStream.close();
Now it is working. Thanks!

Similar Messages

  • Newbie problem with new objects and tools.

    in chapter 4 of the after effects essential training series from Lynda.com in the section about controlling animation with the pick whip. when he applies the null object the red bar immediately populates (correct usage?) the timeline to the right. when i apply the null object it's hidden to the left, under all the layer info, and i need to drag it out into view.
    ive found that whenever i have a problem, e.g., im using a tool and nothing is happening, it always comes down to this same thing: the layer is not with everything else and i need to drag it out into view.
    not only am i new to mac, but im only marginally literate and a total newb to anything more advanced than iphoto, any advice would be appreciated.

    Rick Gerard wrote:
    I'm not understanding what you are asking.
    If you have a layer in the timeline, a null, and the parenting column is visible you simply click on the pickwhip next to the layer and drag it to the name of the null layer. The Parenting box now says that Layer 1 is connected to Null 1.
    Now, when you move the null, the layer will move.
    i understand what they do and how to set them up.
    my question is more specific, but also applies more generally to other tools and layers. when Ian creates his null layer in the video (as well as other layers ive seen him create) the red bar that represents his null layer immediately appears in the timeline with the begining of the red bar at the left end of the work area. it is fully visible. when i create one the file shows up in the list of layers on the panel to the left of the time line, but it is not visible in the comp window and the red bar is hidden to the left side of the visible timeline to where you have to click its right end and drag it out from behind the panel on the left.
    this has happened with other layers ive created using other tools and before i figured out what to look for it was very frustrating. now, whenever i can't find something, or a tool that im using isnt doing anyhting (besides creating more and more layers) ive learned to look and see if theyre just hidden. it seems like it's probably a setting. but clearly, something is different: he creates a null layer and it appears in the timeline, and mine appear slid to the left.

  • Problem with Retrieving objects and using info...

    Ok heres my problem.
    I have implemented a Queue using a linkedlist in java. Ok then i created a new object(in its own class - called Data) with two values, amount and price. I want the queue to store these two values in one Node. So i pass the values to it like this:
    Data A = new Data();
    A.price = Intger.parseInt(jTextField.getText());
    A.amount = Integer.ParseInt(jTextField.getText());
    Now I pass the Queue like this
    Queue B = new Queue ();
    B.enqueue(A);
    Which seems to work fine, the problem is that I need to work with the numbers in the Queue, update them, put them back and retrieve them.
    So I create a new Data object and try to dequeue like this:
    Data C = new Data();
    C = B.dequeue(); //So i can work with the two values
    but this doest work. It gives me the error that it needs an object.
    Am I doing it right?
    Anyone got any better ideas on how to do this? - Passing and retrieving two values to one Node.
    Plz help, im a newbie in Java, and cant find any tutorials on the internet.

    why don't you use vector.
    Vector queue = new Vector();
    Data a = new Data();
    a.price = Intger.parseInt(jTextField.getText());
    a.amount = Integer.ParseInt(jTextField.getText());
    queue.addElement(a);
    Data c = new Data();
    c.price = Intger.parseInt(jTextField.getText());
    c.amount = Integer.ParseInt(jTextField.getText());
    queue.addElement(c);

  • Problem With Business Object and printing job

    Hello,
    We are encountering a problem with the application "Business Objects FINANCE", and we would need your help quickly.
    In the application , itu2019s impossible to print Consolidated Subsidiaries nor the Securities Held. If we try so, the application freezes and we can't do anything but killing the application via the task manager.
    Though, other states can be printed without problem.
    We tried on several different PCs, and the problem occured equally on each one.
    The version installed is 10.5, and we can do any tests that you think would be useful to diagnose problem.
    Our society is AUBAY SA, and our credential to enter in your support website are : S0005386617
    In attachment youu2019ll find a screenshot of the event viewer from the server where the application is install.
    Thanks in advance for your answer,
    best regards.

    check the export parameters of the event triggering workflow.
    If there is a problem, try instantiating the object in your wf based on the key.
    Also check if the wf is able to import the data.
    regards,
    Sandeep Josyula

  • Problem with source tape and drop frames with capturing HDV

    I am having trouble capturing a tape. Every time I try and capture I get the message problem with tape, I try to change settings but after a few seconds of capturing the capture stops. I know that the tape is fine so it does not have anything to do with my tape. Capture also stops because it comes up with a message saying drooped frames.

    Are you capturing to an external or secod drive, right? What kind of drive? What camera?
      Alberto

  • Problem with serialized objects and JWS

    My JWS launched application fails when loading a serialized object that has been instatiated from a class not contained in the signed jar-file. Does anyone know why this happens and if there is some workaround for the problem?

    Where is the class contained then?

  • Problem with IOS7.1 and zip file on Exchange 2003

    After the update to IOS 7.1 an mail from Exchange 2003 mail server with a zip file.
    the zip file cannot unzipped by any app.

    There's a patch available for this problem.
    Contact [email protected] or wait until next SP goes to GA.
    Kumar
    Niranjan Soni wrote:
    >
    Hi
    I am facing few problems when i try to start my WLS 5.1 with Java 1.3
    When i try to start my Weblogic Server from Start Menu it gives me following
    error :--
    The dynamic link library javai.dll could not be found in the specified path
    D:\Weblogic\bin;;C:\WINNT\System32;C:\WINNT\System;C:\WINNT;d:\jdk1.3\jre\bi
    n;
    d:\Weblogic\bin;d:\Weblogic\bin;C:\WINNT\System32;C:\WINNT;d:\jdk1.3\bin;d:\
    Weblogic\bin;
    Also as per the installation document, it says to set java system path, java
    system classpath,
    Weblogic Classpath, weblogic.properties file, weblogic.policy file and
    licenese.
    Do i need to make above changes even if i decide to Start my Weblogic Server
    from Start Menu
    or as NT Service and not start it from Command line.
    If i run WLS5.1 from Start Menu.. do i need to make any specific changes in
    terms of path and classpath.
    I read the installation doc but i got quite confused with that as i am new
    to Weblogic...that's why i am posting the query over here.
    There is another problem that i am facing..it not related to WLS Start
    up......but it is of setting the
    classpath from java command line argument...I am running on NT and when i
    type in the following
    java -classpath -v c:/Weblogic/classes/boot
    it says "Unable to initial threads : Can not find class java/lang/thread"
    i have set the java classpath in my Classpath Environment Variable.
    Any help ??
    Thanks to all
    Niranjan

  • I use images for presentations. Recently I've noticed a decrease in quality ( sharpness and definition) of pictures copied into Keynote. Same problem with both JPEGs and TIFF files. I've recently upgraded to keynote 09, but with no improvement.

    I use images of paintings for presentations. Over the last 3 months or so I've noticed that I cannt copy images (either JPEg or TIFF) without a reduction in sharpness and definition. Hope someone can help with this problem.

    Figured it out myself! yay!  (only took my entire moring)
    The solution:
    Dont print to PDF!
    SAVE AS COPY, then select Adobe PDF and click SAVE, this will bring up a dialog box with the options you need (including the "High Quality Print" Adobe PDF Preset)
    This was not clear in any of the instructions i read

  • Problem with saplicense.exe and sharedlibrary files

    Hi All ,
       Recently I have done some changes in NSP for using sharedlibrary concept,  I replaced already existing MaXDB sharedlibrary dll with new downloaded dll files (ie; dbsdbslib). Later I added sharedlibrary dll files for MS SQL Server in the same folder....
    Now my question is ..........
    I am trying to extend the NSP license for 90 days but I am getting a popup with the message " Invalid key". How to resolve this problem..... can any one help me regarding this issue.       
    thanks,
    Vivek . Nellore

    Hi Dileep P
    I have the same problem in EP.
    Have you corrected the problem???
    If yes, please post the solution in the forum.
    Thanx & Regards
    Narinder

  • Run emigall with a "mig.object" and "input file" as parameters in a job?

    Hi!
    I'm looking for a way to run emigall with a "mig.object" and "input file" as parameters in a job. We will use emigall in a data load step of a process. Is this possible? Is emaigall designed for this use?
    Thanks for any help and suggestions.
    Best regards.

    Hi!
    I'm looking for a way to run emigall with a "mig.object" and "input file" as parameters in a job. We will use emigall in a data load step of a process. Is this possible? Is emaigall designed for this use?
    Thanks for any help and suggestions.
    Best regards.

  • I installed Lion and now seem to have problems with Microsoft Silverlight and other plug ins and applications.  I haven't ever used time machine to back up (my bad I know).  Is there a way to go back to snow leopard with messing up all my files and my set

    I installed Lion and now seem to have problems with Microsoft Silverlight and other plug ins and applications.  I haven't ever used time machine to back up (my bad I know).  Is there a way to go back to snow leopard with messing up all my files and my set?

    Are you using the latest version of Silverkeeper? - v.2.0.2 is stated to be compatible with Snow Leopard.
    http://www.lacie.com/silverkeeper/
    If it's messing things up you could try asking LaCie Support for assistance.

  • Problem occurring when opening and saving files in AI SC5 with Windows 7

    Hi, I ‘am a Graphic Designer and first time working in UAE Windows 7 is basically the only OS here. My PC is:
    HP Elite 7000
    Intel® Core™ i5 CPU 2.67GHz
    4GB RAM
    32-bit
    Now to the problem, not that knowledgeable in IT stuff so here goes:
    1. Problem occurring when opening and saving files in AI SC5 with Windows 7. (You will actually see a “Not Responding” word coming out while opening and saving files, whether small or large files)
    2. Locked layers occasionally are moved accidentally.(Working on multiple layers is normal so we need to lock it specially the once on top. But there are times I still manage to select locked layers)
    3. After typing and locking the text, pressing “V” for the arrow key shortcut is still added to the text that is locked. (After typing I lock the text layer with my mouse and Press “V” to activate the arrow key… yes the arrow key is activated but the text is still typing the actual keyboard pressed)
    I’ve only use the brand new PC and installer for a month now. Not sure if this is compatibility issues or something else I’m not aware of.
    Thanks in advance to people that will reply.
    Cheers!!!

    Well I’m still wondering if it is compatibility issues because I’m also having problem with Photoshop CS5. These 3 are all bought at the same time (PC, Illustrator and Photoshop installers). The problem I’m having in Photoshop is not that too important, every time I Ctrl+O to view files, all PSD are shown in white paper like icons, no preview, and saving as well.
    Or I just purchased a corrupted or pirated installers… Adobe updates are done every time I’m prompted.

  • Wrong input and output files path?

    When i tried to run my code i got wrong path of input and output files, why it was and where is the mistake? I did not meant the path \tmp\xorout.txt and C:\jar\org\joone\samples\engine\xor\xor.txt in the source code - where are they from? :
    * XOR.java
    * Sample class to demostrate the use of the Joone's core engine
    * see the Developer Guide for more details
    * JOONE - Java Object Oriented Neural Engine
    * http://joone.sourceforge.net
    package org.joone.samples.engine.xor;
    import java.io.File;
    import org.joone.engine.*;
    import org.joone.engine.learning.*;
    import org.joone.io.*;
    import org.joone.net.NeuralNet;
    public class XOR implements NeuralNetListener {
    /** Creates new XOR */
    public XOR() {
    * @param args the command line arguments
    public static void main() {
    XOR xor = new XOR();
    xor.Go();
    public void Go() {
    * Firts, creates the three Layers
    LinearLayer input = new LinearLayer();
    SigmoidLayer hidden = new SigmoidLayer();
    SigmoidLayer output = new SigmoidLayer();
    input.setLayerName("input");
    hidden.setLayerName("hidden");
    output.setLayerName("output");
    /* sets their dimensions */
    input.setRows(2);
    hidden.setRows(3);
    output.setRows(1);
    * Now create the two Synapses
    FullSynapse synapse_IH = new FullSynapse(); /* input -> hidden conn. */
    FullSynapse synapse_HO = new FullSynapse(); /* hidden -> output conn. */
    synapse_IH.setName("IH");
    synapse_HO.setName("HO");
    * Connect the input layer whit the hidden layer
    input.addOutputSynapse(synapse_IH);
    hidden.addInputSynapse(synapse_IH);
    * Connect the hidden layer whit the output layer
    hidden.addOutputSynapse(synapse_HO);
    output.addInputSynapse(synapse_HO);
    FileInputSynapse inputStream = new FileInputSynapse();
    /* The first two columns contain the input values */
    inputStream.setAdvancedColumnSelector("1,2");
    /* This is the file that contains the input data */
    inputStream.setInputFile(new File("c:\\xor.txt"));
    input.addInputSynapse(inputStream);
    TeachingSynapse trainer = new TeachingSynapse();
    /* Setting of the file containing the desired responses,
    provided by a FileInputSynapse */
    FileInputSynapse samples = new FileInputSynapse();
    samples.setInputFile(new File("c:\\xor.txt"));
    /* The output values are on the third column of the file */
    samples.setAdvancedColumnSelector("3");
    trainer.setDesired(samples);
    /* Creates the error output file */
    FileOutputSynapse error = new FileOutputSynapse();
    error.setFileName("c:\\xorout.txt");
    //error.setBuffered(false);
    trainer.addResultSynapse(error);
    /* Connects the Teacher to the last layer of the net */
    output.addOutputSynapse(trainer);
    NeuralNet nnet = new NeuralNet();
    nnet.addLayer(input, NeuralNet.INPUT_LAYER);
    nnet.addLayer(hidden, NeuralNet.HIDDEN_LAYER);
    nnet.addLayer(output, NeuralNet.OUTPUT_LAYER);
    nnet.setTeacher(trainer);
              FileOutputSynapse results = new FileOutputSynapse();
    results.setFileName("c:\\results.txt");
    output.addOutputSynapse(results);
    // Gets the Monitor object and set the learning parameters
    Monitor monitor = nnet.getMonitor();
    monitor.setLearningRate(0.8);
    monitor.setMomentum(0.3);
    /* The application registers itself as monitor's listener
    * so it can receive the notifications of termination from
    * the net.
    monitor.addNeuralNetListener(this);
    monitor.setTrainingPatterns(4); /* # of rows (patterns) contained in the input file */
    monitor.setTotCicles(2000); /* How many times the net must be trained on the input patterns */
    monitor.setLearning(true); /* The net must be trained */
    nnet.go(); /* The net starts the training job */
    public void netStopped(NeuralNetEvent e) {
    System.out.println("Training finished");
    public void cicleTerminated(NeuralNetEvent e) {
    public void netStarted(NeuralNetEvent e) {
    System.out.println("Training...");
    public void errorChanged(NeuralNetEvent e) {
    Monitor mon = (Monitor)e.getSource();
    /* We want print the results every 200 cycles */
    if (mon.getCurrentCicle() % 200 == 0)
    System.out.println(mon.getCurrentCicle() + " epochs remaining - RMSE = " + mon.getGlobalError());
    public void netStoppedError(NeuralNetEvent e,String error) {
    ERROR:
    C:\jar>java -cp joone-engine.jar org.joone.samples.engine.xor.XOR C:\\xor.txt C:
    \\xorout.txt
    [main] [ERROR] - org.joone.io.FileOutputSynapse - IOException in Synapse 6. Mess
    age is : \tmp\xorout.txt (The system cannot find the path specified)
    Training...
    [Thread-0] [WARN] - org.joone.io.FileInputSynapse - IOException in Synapse 3. Me
    ssage is : C:\jar\org\joone\samples\engine\xor\xor.txt (The system cannot find t
    he path specified)
    [Thread-0] [WARN] - org.joone.io.FileInputSynapse - IOException in Synapse 3. Me
    ssage is : C:\jar\org\joone\samples\engine\xor\xor.txt (The system cannot find t
    he path specified)
    java.lang.NullPointerException
    at org.joone.io.StreamInputSynapse.getStream(StreamInputSynapse.java:176
    at org.joone.io.StreamInputSynapse.readAll(StreamInputSynapse.java:288)
    at org.joone.io.StreamInputSynapse.fwdGet(StreamInputSynapse.java:106)
    at org.joone.engine.Layer.fireFwdGet(Layer.java:212)
    at org.joone.engine.Layer.fwdRun(Layer.java:1225)
    at org.joone.net.NeuralNet.stepForward(NeuralNet.java:1015)
    at org.joone.net.NeuralNet.fastRun(NeuralNet.java:970)
    at org.joone.net.NeuralNet.fastRun(NeuralNet.java:937)
    at org.joone.net.NeuralNet$1.run(NeuralNet.java:890)
    at java.lang.Thread.run(Thread.java:534)

    c:xor.txt
    c:/xor.txt
    i think c:xor stands for somthing else like a virtual drive but ima not sure

  • Problem with Data Model and Analysis View

    I create an analyze in BI Publisher and then i create a data model using this object.
    When i try to generate an XML with a number of rows the BI Publisher return an empty XML (Only with de DATA_DS tags but no data).   To bypass this problem i make and XML file by hand and this allow me to create reports and design it but when i try to view the reports i got the message that says "No Data Found".
    So i was check the analysis and all looks appears to be fine,  In the results tab it show me a complete table with the data i was looking to use.
    So i try to repeat the error and when  i try to create the XML for the Data Model i found this two error in the logs:
    [root@server ~]# [2013-07-17T16:37:22.844-04:00] [bi_server1] [WARNING] [] [oracle.xdo] [tid: 2361] [userId: <anonymous>] [ecid: ad7bb40a72b553c0:-3e5f91c5:13ecd037992:-8000-00000000000e2b34,0] [APP: bipublisher#11.1.1] Incomplete xslt._XDONFSEPARATORS: decimal separator: null, grouping separator: null
    [2013-07-17T16:37:26.828-04:00] [bi_server1] [WARNING] [] [oracle.xdo] [tid: 2361] [userId: <anonymous>] [ecid: ad7bb40a72b553c0:-3e5f91c5:13ecd037992:-8000-00000000000e2b3a,0] [APP: bipublisher#11.1.1] Incomplete xslt._XDONFSEPARATORS: decimal separator: null, grouping separator: null
    [2013-07-17T16:37:26.865-04:00] [bi_server1] [WARNING] [] [oracle.xdo] [tid: 2361] [userId: <anonymous>] [ecid: ad7bb40a72b553c0:-3e5f91c5:13ecd037992:-8000-00000000000e2b3a,0] [APP: bipublisher#11.1.1] oracle.xdo.servlet.CreateException: Path: /FOLDER/MODEL.xdm is not pointing to a report. Actual type: ReportItem, sub-type: DataModel[[
            at oracle.xdo.servlet.ReportException.fillInStackTrace(ReportException.java:124)
            at java.lang.Throwable.<init>(Throwable.java:196)
            at java.lang.Exception.<init>(Exception.java:41)
            at oracle.xdo.servlet.ReportException.<init>(ReportException.java:36)
            at oracle.xdo.servlet.CreateException.<init>(CreateException.java:18)
            at oracle.xdo.servlet.ReportRepository.getReport(ReportRepository.java:104)
            at oracle.xdo.servlet.ReportRepository.getReport(ReportRepository.java:128)
            at oracle.xdo.servlet.dataengine.DataProcessorFactory.getDataModelPath(DataProcessorFactory.java:207)
            at oracle.xdo.servlet.dataengine.DataProcessorFactory.isSemanticLayerDataModel(DataProcessorFactory.java:99)
            at oracle.xdo.servlet.dataengine.DataProcessorFactory.isSemanticLayerDataModel(DataProcessorFactory.java:78)
            at oracle.xdo.servlet.ReportModelContextImpl.getReportXMLData(ReportModelContextImpl.java:157)
            at oracle.xdo.servlet.CoreProcessor.process(CoreProcessor.java:346)
            at oracle.xdo.servlet.CoreProcessor.generateDocument(CoreProcessor.java:101)
            at oracle.xdo.servlet.ReportImpl.renderBodyHTTP(ReportImpl.java:1074)
            at oracle.xdo.servlet.ReportImpl.renderReportBodyHTTP(ReportImpl.java:639)
            at oracle.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:492)
            at oracle.xdo.servlet.XDOServlet.writeReport(XDOServlet.java:462)
            at oracle.xdo.servlet.XDOServlet.doGet(XDOServlet.java:280)
            at oracle.xdo.servlet.XDOServlet.doPost(XDOServlet.java:313)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
            at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
            at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
            at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
            at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.xdo.servlet.metadata.track.MostRecentFilter.doFilter(MostRecentFilter.java:64)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.xdo.servlet.security.SecurityFilter.doFilter(SecurityFilter.java:125)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.xdo.servlet.init.InitCheckingFilter.doFilter(InitCheckingFilter.java:63)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
            at java.security.AccessController.doPrivileged(Native Method)
            at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
            at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
            at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
            at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
            at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
            at java.security.AccessController.doPrivileged(Native Method)
            at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
            at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
            at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
            at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
            at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
            at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3715)
            at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3681)
            at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
            at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
            at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2277)
            at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2183)
            at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1454)
            at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
            at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)
    And when i try to view the report that use the analysis i got this two warning in the logs:
    [2013-07-17T16:58:01.615-04:00] [bi_server1] [WARNING] [] [oracle.xdo] [tid: 57] [userId: <anonymous>] [ecid: ad7bb40a72b553c0:-3e5f91c5:13ecd037992:-8000-00000000000e2d7c,0] [APP: bipublisher#11.1.1] Incomplete xslt._XDONFSEPARATORS: decimal separator: null, grouping separator: null
    [2013-07-17T16:58:02.034-04:00] [bi_server1] [WARNING] [] [oracle.xdo] [tid: 57] [userId: <anonymous>] [ecid: ad7bb40a72b553c0:-3e5f91c5:13ecd037992:-8000-00000000000e2d84,0] [APP: bipublisher#11.1.1] Incomplete xslt._XDONFSEPARATORS: decimal separator: null, grouping separator: null
    As i understand there is has a reference to a null value but i cant find what column of the analysis has the problem.
    Any ideas about how to solve or debug this?
    Thanks

    I follow your instructions and it works fine. I can create the XML and the reports can show data.
    So, i already know that there is no problem with the data and with the BI Publisher installation but i still doesn know what is the problem with the analysis view that fails.
    Any idea how to debug it?
    Thanks.

  • Problem with inherited Objects

    Hi,
    I have a problem with inherited objects inside Flex using
    wsdl as the source of the object. The AS-classes are generated
    inside Flex Builder 3.
    Inside the wsdl I have 2 complex types:
    <complexType abstract="true" name="PersistentObject">
    <sequence>
    <element name="id" nillable="true" type="xsd:string"/>
    <element name="insertTimeStamp" nillable="true"
    type="xsd:dateTime"/>
    <element name="insertUsername" nillable="true"
    type="xsd:string"/>
    <element name="updateTimeStamp" nillable="true"
    type="xsd:dateTime"/>
    <element name="updateUsername" nillable="true"
    type="xsd:string"/>
    </sequence>
    </complexType>
    and
    <complexType name="Contact">
    <complexContent>
    <extension base="tns3:PersistentObject">
    <sequence>
    <element name="birthday" nillable="true"
    type="xsd:dateTime"/>
    <element name="firstName" nillable="true"
    type="xsd:string"/>
    <element name="lastName" nillable="true"
    type="xsd:string"/>
    <element name="middleName" nillable="true"
    type="xsd:string"/>
    <element name="newPassword" nillable="true"
    type="xsd:string"/>
    <element name="password" nillable="true"
    type="xsd:string"/>
    <element name="title" nillable="true"
    type="xsd:string"/>
    <element name="username" nillable="true"
    type="xsd:string"/>
    </sequence>
    </extension>
    </complexContent>
    </complexType>
    The classes in actionscript seem plausable:
    public class PersistentObject
    * Constructor, initializes the type class
    public function PersistentObject() {}
    public var id:String;
    public var insertTimeStamp:Date;
    public var insertUsername:String;
    public var updateTimeStamp:Date;
    public var updateUsername:String;
    and
    public class Contact extends PersistentObject
    * Constructor, initializes the type class
    public function Contact() {}
    public var birthday:Date;
    public var firstName:String;
    public var lastName:String;
    public var middleName:String;
    public var newPassword:String;
    public var password:String;
    public var title:String;
    public var username:String;
    When I want to retreive an object of type Contact, it seems
    that only a couple of entries are filled. While debugging the flex
    XMLDecoder, I noticed something strange. It seems, like the decoder
    is expecting the result xml data to be in alphabetical order:
    birthday, firstname, lastname, etc. But since the object is
    inherited, the data that is actually received contains elements
    from the parent class: birthday, firstname, id, inserttimestamp,
    The resulting object has just birthday and firstname filled,
    which is somehow wrong. This seems to be a problem inside the
    parser itself. What can I do?

    I am having a problem with an extended class as well.
    When I step through the code, everything is going fine and the decoder (mx.rpc.xml::XMLDecoder) sees that the class is an extension and wants to get the values for the superclass first.  When it gets into getApplicableValues(), it's looking for the values to be in the order of the definition which would be ok if the values collection didn't include the values from the subclass as well!  It goes through the whole definition and doesn't find anything for the superclass because the values aren't where it expects them.  When it pops back up to the subclass and starts to decode those values, it finds them because the definition order and values order match.
    Is this a known issue?  Or, am I misunderstanding something?
    Thanks,
    Chuck

Maybe you are looking for

  • Data Merge with photos, for a photobook, and also a DVD(?)

    I'm using CS4 on a Mac - am considering upgrading to 5.5. I've used Data Mege to create documents for in-house printing with good success. It seems nearly fool-proof.  I viewed a David Blattner video on Lynda.com that shows how easy it is to incorpor

  • Atinav stack initialization

    Hello. I'm trying to send a file between 2 computers using belkin usb modules. Also i'm using the atinav software. the client searches for devices, discovers the server and then sends the file to it. it's over l2cap . it works fine. now i want to do

  • IWork/iLife?  Can I build a searchable database with PDF doclinks on my Mac

    Hi, I'm trying to figure out how to scan a library of PDF documents, where I can populate keywords into a searchable database with link(s) for every result back to the pdf file that pertains. I don't see that capability in any of the software package

  • I can NOT get on Line with Firefox at all, just IE

    my computer can get on line with no problen on internet explorer but firefox will not work at all. I have restored the computer & deleated firefox and reloaded it 2 times still No Good. I keep getting the message sauing it can not connect to firefox.

  • WLC/WCS upgrade questions

    Hi, we have 2 4402 controllers running with system software 4.2.130.0. The WCS is running 4.2.110.0. I would like to upgrade but are a bit confused about all the different versions. Is it recomended that I upgrade directly to the latest 6.0.182(WCS)/