Tricky bug!!

Hi there, ive been using lucence for a assignment that i am doing i was wondering if some you could have a look that this piece of code that i have been working on.
The code that i am working on this below
package Search;
import org.apache.lucene.analysis.Analyzer;
import org.apache.lucene.analysis.standard.StandardAnalyzer;
import org.apache.lucene.document.Document;
import org.apache.lucene.index.FilterIndexReader;
import org.apache.lucene.index.IndexReader;
import org.apache.lucene.queryParser.QueryParser;
import org.apache.lucene.search.Hits;
import org.apache.lucene.search.IndexSearcher;
import org.apache.lucene.search.Query;
import org.apache.lucene.search.Searcher;
import java.io.BufferedReader;
import java.io.FileReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
/** Simple command-line based search demo. */
public class searchHTML {
/** Use the norms from one field for all fields. Norms are read into memory,
* using a byte of memory per document per searched field. This can cause
* search of large collections with a large number of fields to run out of
* memory. If all of the fields contain only a single token, then the norms
* are all identical, then single norm vector may be shared. */
private static class OneNormsReader extends FilterIndexReader {
private String field;
public OneNormsReader(IndexReader in, String field) {
super(in);
this.field = field;
public byte[] norms(String field) throws IOException {
return in.norms(this.field);
public searchHTML() {}
/** Simple command-line based search demo. */
public String querySearch(String[] args,String searchValue) throws Exception
     String result = "";
String usage =
"Usage: java Lucene.SearchFiles [-index dir] [-field f] [-repeat n] [-queries file] [-raw] [-norms field]";
if (args.length > 0 && ("-h".equals(args[0]) || "-help".equals(args[0])))
System.out.println(usage);
System.exit(0);
String index = "{index-dir}";
String field = "contents";
String queries = null;
int repeat = 0;
boolean raw = false;
String normsField = null;
for (int i = 0; i < args.length; i++) {
if ("-index".equals(args)) {
index = args[i+1];
i++;
} else if ("-field".equals(args[i])) {
field = args[i+1];
i++;
} else if ("-queries".equals(args[i])) {
queries = args[i+1];
i++;
} else if ("-repeat".equals(args[i])) {
repeat = Integer.parseInt(args[i+1]);
i++;
} else if ("-raw".equals(args[i])) {
raw = true;
} else if ("-norms".equals(args[i])) {
normsField = args[i+1];
i++;
IndexReader reader = IndexReader.open(index);
if (normsField != null)
reader = new OneNormsReader(reader, normsField);
Searcher searcher = new IndexSearcher(reader);
Analyzer analyzer = new StandardAnalyzer();
BufferedReader in = null;
if (queries != null) {
in = new BufferedReader(new FileReader(queries));
} else {
in = new BufferedReader(new InputStreamReader(System.in, "UTF-8"));
QueryParser parser = new QueryParser(field, analyzer);
if(true)
     if (queries == null) // prompt the user
     System.out.println("Enter query: " + searchValue);
     String line = searchValue;
     if (line == null || line.length() == -1)
          System.out.println("test");
     //break;
     line = line.trim();
     if (line.length() == 0)
          System.out.println("test2");
     //break;
     Query query = parser.parse(line);
     System.out.println("Searching for: " + query.toString(field));
     Hits hits = searcher.search(query);
     // if (repeat > 0) {                           // repeat & time as benchmark
     // Date start = new Date();
     // for (int i = 0; i < repeat; i++) {
     // hits = searcher.search(query);
     // Date end = new Date();
     // System.out.println("Time: "+(end.getTime()-start.getTime())+"ms");
     System.out.println(hits.length() + " total matching documents");
     final int HITS_PER_PAGE = hits.length();
     int end = Math.min(hits.length(), HITS_PER_PAGE);
     for (int start = 0; start < end; start++)
     //for (int i = start; i < end; i++)
     //if (raw)
          //     {                              // output raw format
     // System.out.println("doc="+hits.id(i)+" score="+hits.score(i));
     // continue;
     Document doc = hits.doc(start);
     // System.out.println(hits.length());
     for(int i = 0; i<hits.length(); i++)
          ArrayList<String> st = new ArrayList<String>();
          st.add(doc.toString());
          // System.out.println(st);
     String path = doc.get("path");
     if (path != null)
          System.out.println((start + 1) + ". " + path);
     String title = doc.get("title");
     if (title != null)
          ArrayList<String> r = new ArrayList<String>();
          r.add(result = "Title:" + doc.get("title"));
          //System.out.println(result.length());
          //result = " Title: " + doc.get("path");
     else
     result = (start+1) + ". " + "No path for this document";
     //if (queries != null) // non-interactive
     // break;
     if (hits.length() > end)
     System.out.println("more (y/n) ? ");
     line = in.readLine();
     if (line.length() == 0 || line.charAt(0) == 'n')
     break;
     reader.close();
else
     System.out.println("finished");
return result;
At the mintue i am using JSP pages to display the result however, i am getting different results on the jsp page from what i am getting on the consle.
This is the result from the jsp page
Value Searched on:myspace
1Title:MySpace
2Title:MySpace
3Title:MySpace
4Title:MySpace
5Title:MySpace
6Title:MySpace
7Title:MySpace
8Title:MySpace
9Title:MySpace
10Title:MySpace
11Title:MySpace
12Title:MySpace
13Title:MySpace
14Title:MySpace
The title MySpace is the title of the html document
and from the console this is what i am getting : -
3 total matching documents
1. H:/Lucenetext/output4.html
2. H:/Lucenetext/output8.html
3. H:/Lucenetext/output1.html
Ive been looking at this for a couple of weeks and was wondering if i could have a fresh pair of eyes to look at it.
Any help would be very grateful
Yours
Chris

OK
             System.out.println("Enter query: " + searchValue); What's the point of that unless you then read some input from the user?
           if (line == null || line.length() == -1) line.length() can never be -1. This is rubbish.
          // if (repeat > 0) {                           // repeat & time as benchmark
           //  Date start = new Date();
           //  for (int i = 0; i < repeat; i++) {
            //   hits = searcher.search(query);
           //  Date end = new Date();
           //  System.out.println("Time: "+(end.getTime()-start.getTime())+"ms");
          // } Remove this junk.
           System.out.println(hits.length() + " total matching documents"); This goes to the console. A JSP doesn't have a console so you will never see it - it might be in a log file somewhere if you're lucky.
             //for (int i = start; i < end; i++) Remove all this commented-out junk.
               for(int i = 0; i<hits.length(); i++)
                    ArrayList<String> st = new ArrayList<String>();
                    st.add(doc.toString());
                   // System.out.println(st);
               } As 'st' now gets thrown away this is all junk. Remove it.
                  System.out.println((start + 1) + ". " + path); See above remarks about the console.
                 if (title != null)
                      ArrayList<String> r = new ArrayList<String>();
                      r.add(result = "Title:" + doc.get("title"));
                      //System.out.println(result.length());
                      //result = "   Title: " + doc.get("path");
                 } See above. 'r' gets thrown away. Remove this junk except for the assignment to 'result'.
               System.out.println("more (y/n) ? ");
               line = in.readLine(); See above re console. You need to think more clearly about the difference between a console application and a JSP. A JSP writes a page of HTML.

Similar Messages

  • Bridge Stacks - bug

    Hi all,
    I'm using Bridge to sort medias on a server. I added keywords and and created stackes with files.
    My medias are in a "server" who allow other users with Adobe Bridge to used them.
    I saw a tricky bug with my stackes. After fiews days of use, my stacks are deleted.
    I know that those informations are in the .BridgeSort file and this file stay in the right place.
    My problem is that this file is changed without my interference.
    Has someone an idea to solve this problem?
    In advance, thanks you for your help!
    Bye

    Supposing with stacks deleted you mean the files are still there but not any more in a stack?
    Stacks can be very tricky, and for some reason they can disappear all or partly in one folder. I have this sometimes when being to fast with renaming files or some other keystrokes. it is very troublesome indeed.
    Also Bridge is not officially supported for use over a network. It is very sad but sometimes I can do weeks without groups unstacking themselves and out of the blue the are gone.
    For me they are for saving space in the content window and can be easily redone. If you rely heavily on stacks you better use a second safety like rating or maybe better a specialized keyword so you can find them back.

  • ClassNotFountException when using GridCacheCustomizer

    Hi all,
    I have been trying to integrate Toplink Grid Cache with my application which uses Eclipselink JPA. Basically, I want to tie in the Eclipselink L2 cache with the grid. I am running my EAR file in WLS 10.3.3.
    I have used <customizer class="oracle.eclipselink.coherence.integrated.config.GridCacheCustomizer"/> to integrate my entities.
    I am getting the following exception ClassNotFound exception even after having specified the respective JARs in the rightplaces. Please note LookupValueEntity_Wrapper is not my class, but seems generated by Eclipselink for weaving. How to solve this issue?
    ClassLoader: null; nested exception is: (Wrapped: Failed request execution for EclipseLinkJPA service on Member(Id=2, Timestamp=2010-09-14 15:13:56.938, Addres
    =10.186.116.151:8090, MachineId=50327, Location=site:sg.oracle.com,machine:UDUPA-PC,process:956, Role=CoherenceServer)) java.io.IOException: readObject failed:
    java.lang.ClassNotFoundException: oracle.eclipselink.coherence.integrated.cache.wrappers.oracle.osl.lt.model.pref.LookupValueEntity_Wrapper
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:303)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
    at java.lang.Class.forName0(Native Method)
    at java.lang.Class.forName(Class.java:247)
    at java.io.ObjectInputStream.resolveClass(ObjectInputStream.java:604)
    at com.tangosol.io.ResolvingObjectInputStream.resolveClass(ResolvingObjectInputStream.java:68)
    at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1575)
    at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1496)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1732)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
    at com.tangosol.util.ExternalizableHelper.readSerializable(ExternalizableHelper.java:2180)
    at com.tangosol.util.ExternalizableHelper.readObjectInternal(ExternalizableHelper.java:2311)
    at com.tangosol.util.ExternalizableHelper.readObject(ExternalizableHelper.java:2254)
    at com.tangosol.util.ExternalizableHelper.readObject(ExternalizableHelper.java:2233)
    at com.tangosol.util.processor.ConditionalPut.readExternal(ConditionalPut.java:219)
    at com.tangosol.util.ExternalizableHelper.readExternalizableLite(ExternalizableHelper.java:2004)
    at com.tangosol.util.ExternalizableHelper.readObjectInternal(ExternalizableHelper.java:2308)
    at com.tangosol.util.ExternalizableHelper.readObject(ExternalizableHelper.java:2254)
    at oracle.eclipselink.coherence.integrated.cache.WrapperSerializer.deserialize(WrapperSerializer.java:84)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.Service.readObject(Service.CDB:1)
    at com.tangosol.coherence.component.net.Message.readObject(Message.CDB:1)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$InvokeRequest.read(PartitionedCache.CDB
    7)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.deserializeMessage(Grid.CDB:42)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:31)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.PartitionedService.onNotify(PartitionedService.CDB:5)
    at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onNotify(PartitionedCache.CDB:5)
    at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
    at java.lang.Thread.run(Thread.java:619)
    Thanks in advance for help.

    Eventually I stumbled on the last note 6.1.7 Grid Cache requires CacheLoader here:
    http://download.oracle.com/docs/cd/E21764_01/doc.1111/e15731/toplink.htm#BABHIGJE
    I ended up writing a shim into my startup to run the WrapperGenerator over all of my entity classes before starting Coherence. A better solution would be appreciated, it's odd that Grid Cache (Supposedly the simplest to setup) has this tricky bug.

  • Convert EXT to U64

    Hi all,
    I'm having trouble converting an EXT to a U64.
    I searched the forum and found this excellent post for going the other way:  converting a U64 to an EXT.  This solved half my problem beautifully.
    http://forums.ni.com/t5/LabVIEW/convert-64bit-UTC-time-since-1-jan-1601-to-current-time-labview/m-p/...
    Unfortunately, I need to be able to go the other way also and I'm having trouble ascertaining how by looking at this code. I understand parts of it, but not the whole.  I haven't been successful in finding a conversion algorithm online (normally Mr. Google is more helpful than he was today).
    Typecasting the EXT to a U64 doesn't give me accurate results (also discussed elsewhere on the forum, this is a lossy conversion).  Using the "to U64" function on the numeric conversion palette also does not give me accurate results.  I checked both of these things by inputting a U64 to the code shown in the link above, then taking the resulting EXT and attempting to convert it back to a U64 using either the numeric conversion function or a typecast.
    This post discusses the issue with the numeric conversion function:
    http://forums.ni.com/t5/LabVIEW/BUG-Large-floating-point-numbers-convert-to-the-wrong-integer/td-p/2...
    It's wonderful that this was resolved in LV 2013, but I'm using LV 2012.
    I think I need to figure out how to reverse the code I linked to above, but I don't understand it well enough to do so.  Can anyone help?
    Thanks!
    Diane

    Hi Diane,
    I have looked through the Bug report, but there was no mention of the workaround or fix documentation that was implemented in the 2013 version, so we'll have to find a workaround.
    Since this conversion issue only arises when the top 53 bits are set, I suggest starting up by checking your initial EXT. If those bits are set (you could do a conversion to string and compare the first 13 characters to FFFFFFFFFFFFF), then this is where the tricky bug comes in; if not it appears typecasting to U64 works out.
    In the problematic case, a possible idea (that looks similar yet a little simpler to the VI you mentioned) would be to convert the EXT to a string, split the string in two, convert those separatly, concatenate the strings and convert back to a U64.
    Xavier
    Applications Engineering Specialist
    National Instruments

  • Forms feature crashes

    It worked fine until yesterday, I create a form from an exisiting pdf, and when I try to edit the text field, it crashes

    I checked your problem against the bug database and your problem is reproduced in Bug #1309877
    Which is not yet fixed, but should be fixed in 6i Patch 1
    You can fix the problem, by finding an item that may point to a reference library item that does not exist.
    I would suggest that you start by looking at the WNBI trigger which may be referencing something in the form, which used to be there, but is now not there.
    This is a very tricky bug to screw down, but is possible.
    I would suggest that you invest in a support contract for these kind of problems, support are suitably qualified to give you this information and to supply patches.
    Jason Pepper
    Snr Product Manager
    Oracle Enterprise Internet Tools

  • Multiple return values (Bug-ID 4222792)

    I had exactly the same request for the same 3 reasons: strong type safety and code correctness verification at compile-time, code readability and ease of mantenance, performance.
    Here is what Sun replied to me:
    Autoboxing and varargs are provided as part of
    JSRs 14 and 201
    http://jcp.org/en/jsr/detail?id=14
    http://jcp.org/en/jsr/detail?id=201
    See also:
    http://forum.java.sun.com/forum.jsp?forum=316
    http://developer.java.sun.com/developer/earlyAccess/adding_generics/index.html
    Multiple return values is covered by Bug-ID 4222792
    Typically this is done by returning an array.
    http://developer.java.sun.com/developer/bugParade/bugs/4222792.html
    That's exactly the problem: we dynamically create instances of array objects that would better fit well within the operand stack without stressing the garbage collector with temporary Array object instances (and with their backing store: 2 separate allocations that need to be recycled when it is clearly a pollution that the operand stack would clean up more efficiently)
    If you would like to engage in a discussion with the Java Language developers, the Generics forum would be a better place:
    http://forum.java.sun.com/forum.jsp?forum=316
    I know that (my report was already refering to the JSR for language extension) Generics is not what I was refering to (even if a generic could handle multiple return values, it would still be an allocated Object
    instance to pack them, i.e. just less convenient than using a static class for type safety.
    The most common case of multiple return values involve values that have known static datatypes and that should be checked with strong typesafety.
    The simple case that involves returning two ints then will require at least two object instances and will not solve the garbage collection overhead.
    Using a array of variable objects is exactly similar, except that it requires two instances for the components and one instance for the generic array container. Using extra method parameters with Integer, Byte, ... boxing objects is more efficient, but for now the only practical solution (which causes the least pollution in the VM allocator and garbage collector) is to use a custom class to store the return values in a single instance.
    This is not natural, and needlessly complexifies many interfaces.
    So to avoid this pollution, some solutions are used such as packing two ints into a long and returning a long, depacking the long after return (not quite clean but still much faster at run-time for methods that need to be used with high frequencies within the application. In some case, the only way to cut down the overhead is to inline methods within the caller code, and this does not help code maintenance by splitting the implementation into small methods (something that C++ can do very easily, both because it supports native types parameters by reference, and because it also supports inline methods).
    Finally, suppose we don't want to use tricky code, difficult to maintain, then we'll have to use boxing Object types to allow passing arguments by reference. Shamely boxed native types cannot be allocated on the operand stack as local variables, so we need to instanciate these local variables before call, and we loose the capacity to track the cases where these local variables are not really initialized by an effective call to the method that will assign them. This does not help debugging, and is against the concept of a strongly typed language like Java should be:
    Java makes lots of efforts to track uninitialized variables, but has no way to determine if an already instanciated Object instance refered in a local variable has effectively received an effective assignment because only the instanciation is kept. A typical code will then need to be written like this:
    Integer a = null;
    Integer b = null;
    if (some condition) {
    //call.method(a, b, 0, 1, "dummy input arg");
    // the method is supposed to have assigned a value to a and b,
    // but can't if a and b have not been instanciated, so we perform:
    call.method(a = new Integer(), b = new Integer(), 0, 1, "dummy input
    arg");
    // we must suppose that the method has modified (not initialized!)
    the value
    // of a and b instances.
    now.use(a.value(), b.value())
    // are we sure here that a and b have received a value????
    // the code may be detected at run-time (a null exception)
    // or completely undetected (the method() above was called but it
    // forgot to assign a value to its referenced objects a and b, in which
    // case we are calling in fact: now.use(0, 0); with the default values
    // or a and b, assigned when they were instanciated)
    Very tricky... Hard to debug. It would be much simpler if we just used:
    int a;
    int b;
    if (some condition) {
    (a, b) = call.method(0, 1, "dummy input arg");
    now.use(a, b);
    The compiler would immediately detect the case where a and b are in fact not always initialized (possible use bere initialization), and the first invoked call.method() would not have to check if its arguments are not null, it would not compile if it forgets to return two values in some code path...
    There's no need to provide extra boxing objects in the source as well as at run-time, and there's no stress added to the VM allocator or garbage collector simply because return values are only allocated on the perand stack by the caller, directly instanciated within the callee which MUST (checked at compile-time) create such instances by using the return statement to instanciate them, and the caller now just needs to use directly the variables which were referenced before call (here a and b). Clean and mean. And it allows strong typechecking as well (so this is a real help for programmers.
    Note that the signature of the method() above is:
    class call {
    (int, int) method(int, int, String) { ... }
    id est:
    class "call", member name "method", member type "(IILjava.lang.string;)II"
    This last signature means that the method can only be called by returning the value into a pair of variables of type int, or using the return value as a pair of actual arguments for another method call such as:
    call.method(call.method("dummy input arg"), "other dummy input arg")
    This is strongly typed and convenient to write and debug and very efficient at run-time...

    Can anyone give me some real-world examples where
    multiple return values aren't better captured in a
    class that logically groups those values? I can of
    course give hundreds of examples for why it's better
    to capture method arguments as multiple values instead
    of as one "logical object", but whenever I've hankered
    for multiple return values, I end up rethinking my
    strategy and rewriting my code to be better Object
    Oriented.I'd personally say you're usually right. There's almost always a O-O way of avoiding the situation.
    Sometimes though, you really do just want to return "two ints" from a function. There's no logical object you can think of to put them in. So you end up polluting the namespace:
    public class MyUsefulClass {
    public TwoInts calculateSomething(int a, int b, int c) {
    public static class TwoInts {
        //now, do I use two public int fields here, making it
        //in essence a struct?
       //or do I make my two ints private & final, which
       //requires a constructor & two getters?
      //and while I'm at it, is it worth implementing
      //equals(), how about hashCode()? clone()?
      //readResolve() ?
    }The answer to most of the questions for something as simple as "TwoInts" is usually "no: its not worth implementing those methods", but I still have to think about them.
    More to the point, the TwoInts class looks so ugly polluting the top level namespace like that, MyUsefulClass.TwoInts is public, that I don't think I've ever actually created that class. I always find some way to avoid it, even if the workaround is just as ugly.
    For myself, I'd like to see some simple pass-by-value "Tuple" type. My fear is it'd be abused as a way for lazy programmers to avoid creating objects when they should have a logical type for readability & maintainability.
    Anyone who has maintained code where someone has passed in all their arguments as (mutable!) Maps, Collections and/or Arrays and "returned" values by mutating those structures knows what a nightmare it can be. Which I suppose is an argument that cuts both ways: on the one hand you can say: "why add Tuples which would be another easy thing to abuse", on the other: "why not add Tuples, given Arrays and the Collections framework already allow bad programmers to produce unmainable mush. One more feature isn't going to make a difference either way".
    Ho hum.

  • LR 4.1RC2 bug reports: 1) no saving of video metadata 2) out of place dynamiclinkmediaserver folder

    Hi,
    testing LR 4.1 RC2 x64 on a fresh Win 7 x64 system. Having noticed two bugs, I'm not sure where to report them... (and there is no official or Adobe-endorsed bug tracking system afaik).
    1b)
    I have a bunch of digicam videos from my Panasonic LX3, originally in Mjpeg-in-Mov format, that I convert to vanilla h264 avi for more ease of use/saving storage space. Each video comes with an out-of-camera low-res Jpeg sidecar.
    Having imported the converted avi + jpeg into the LR catalog, it appears that metadata can be saved neither in the videos nor in the Jpeg sidecars. As a side-effect, videos permanently appear as "Metadata unsaved" in various LR filters/smart collections.
    1b)
    after import, the capture date of these videos is set to the converted file creation date (probably due to the lack of embedded capture date metadata in videos) which is wrong - there has to be a better solution than assuming filesystem stamps are reliable metadata.
    And of course, here again this metadata can not be edited & saved. A tricky workaround is to read the capture date from the sidecar, set with a commandline utility the creation date of the video file, then import the video file.
    Please consider fixing these two points: by allowing to read metadata first from videos, and if metadata missing, from companion sidecars (xmp, jpg...), then allowing to save edited metadata to these sidecar files (xmp, jpg...) if video files are not writable or their metadata too tricky to manage. Although not foolproof, that'd be better than no metadata capabilities for videos at all.
    (Or perhaps allow users to permanently disable the video/Quicktime part of the software, leaving it to other third-part tools or the OS)
    2)
    Upon using LR 4 RC2, some "Adobe\dynamiclinkserver\6.0" empty directory tree is created under %User%\Documents. If deleted, the folder gets recreated after later use of LR4. Guess it relates to the video-management part of the software.
    Please consider fixing this or, if such a folder is really needed, placing it out of the users' Documents...
    (Or perhaps allow users to permanently disable the video/Quicktime part of the software, leaving it to other third-part tools or the OS)
    • As a sidenote, LR 4.1RCs still complain about the incompatibility with Photoshop CS5.5. Not sure if there's any easy fix for this annoying fact, besides installing some trial Adobe PS CS6 [beta] on top of a fully-working CS 5.5 Suite.

    Re video metadata not getting saved, please add your vote and opinion to this topic in the official forum for giving feedback to Adobe:
    http://feedback.photoshop.com/photoshop_family/topics/lr4_beta_video_tagging_not_complete
    Re the capture date of videos, please add your vote and opinion to this topic:
    http://feedback.photoshop.com/photoshop_family/topics/inconsistent_dates_for_files_missing _date_time_metadata

  • Bug list/feature observations for BB10 on Z10

    BUG LIST/FEATURE OBSERVATIONS - Z10/BB10:
    1. CRITICAL granular control of notifcations/alerts e.g. a different sound/volume/vibration per mailbox or alert type has been completely removed in BB10 and needs to be reinstated as an urgency
    2. support for BBM and Calendar in Landscape mode is missing. A workaround for BBM can be found via the Hub, not the BBM icon.
    3. the sound alert for a text message sometimes doesn't play. It seems to vibrate okay, but every 5th or so text message, it doesn't play the alert sound.
    4. CRITICAL if you set the display format for your emails to 'conversation style' (so that messages on the same thread are grouped - very helpful) but a folder which one of the messages is in isn't synced, then fresh inbox replies to that chain won't get shown to you in the Hub. It transpires that /GOOGLEMAIL/SENT ITEMS is a sub folder that's affected by this. It means any chain you reply to using your Blackberry, subsequent replies will not be displayed in the Hub. "Solution" is to disable 'conversation style' for thread display.
    5. WhatsApp, Bloomberg Mobile (not the terminal login App) and BeBuzz should be top App conversion targets.
    6. when you click the Text Messages icon it should take you to your text messages, not the Hub (which is what happens if you have an email open).
    7. the lock screen currently has just one icon for emails - ALL emails, regardless of mailbox. It has a fairly generic number for unread messages in ALL of the boxes combined e.g. "200 emails" - this needs to be split our per mailbox.
    8. opening a tenth App closes a previously opened App. It should ask you before closing the other App as it's a pain if the App it kills is Skype, Voice, Maps etc
    9. the current battery icon is too small to tell the difference between 30% and 15% (for example) - touching it should display the %, or something similar.
    10. the screen rotation can be extremely slow. Often you can count 1.. 2.. 3.. 4 before the screen switches orientation. Given how often you'll switch between orientations during use, it quickly gets annoying. 
    11. when the screen finally rotates (see point 10) the position your cursor was in in the previous orientation is lost
    12. it's not quick to put a question/exclamation mark into text. Fine, have a sub menu for general punctuation - but not these extremely common marks (which is exactly why comma and full-stop (period) are full-time keys)
    13. the super-useful "delete from device OR delete from device & server" has been removed entirely!
    14. using the browser in Landscape mode means "open in new tab" is in a sub-menu. As it's one of the most used features in any browser, and unlike Apple iOS you can't just hold a press to activate 'open in new tab', it really slows you down.
    15. sometimes numbers are included in the on-screen keyboard, sometimes not. Can they be made permanent?
    16. twice now my 'enter password to unlock' screen has appeared without the keyboard, meaning I couldn't enter my password. About 2 times out of 200, or 1%
    17. new messages - have some small icons in the status bar at the top of the screen rather than require a swipe UP&RIGHT to see the Hub
    18. in the Hub, the icons for each message don't show if the message was successfully sent. To check if an email/text was sent okay, you have to go into the message (2 levels)
    19. you STILL can't see when a text message you received was actually sent by the other party. Quite a basic function.
    20. you STILL can't swap email accounts when forwarding a message
    21. Calendar reminders often don't trigger the red LED. In fact, the LED is generally pretty inconsistent, often not flashing, or flashing only for a short while.
    22. the device supplied ring tones/alert tones are pretty terrible and you cannot set variable volume levels (see point 1).
    23. you can select .mid files for your ringtone even though these aren't compatible (when someone calls, your phone will be silent).
    24. there's an awkward 3 second pause between clicking Send and a text message actually sending. Why awkward? Because you then have to wait/waste 3 seconds waiting to see if your click was registered, and if the message was sent.
    25. GMAIL - boring standard message in the Inbox, no labels or anything funky - Universal Search won't find it if it's more than 1 WEEK old?
    26. The power-user controls for Universal Search seem to have vanished? Indexing, Extended Search etc? All you can choose now is "source"?
    27. Weird one this. The phone stopped ringing! Checked and double-checked all Notification settings, even did a reboot but nope, phone will not ring for an incoming call! A fresh reboot finally fixed it - I was using a 206kb mp3 which may or may not be relevant
    28. I'd love to know why G Maps is missing (assume aggressive move from Google?)
    29. it's sometimes tricky to clear Missed Calls. I think you might have to go into the Missed Calls menu and then sub menu? Seems to be more effort than it should be - previously you just clicked the Dial button once to view and presto, missed call indicator cleared. Hardly a huge thing but then as with a lot on this list, it's all about saving a second here, a second there = a big saving over the day or week.
    30. Contentious I know, and certainly not a 'fault', but the charging points are gone so I can't get a desktop stand (ironic given the battery life is now more of an issue)
    31. when composing a text message you'd don't see the conversation history for that contact until you've sent the new message.
    Thanks
    edit: numbering

    CRITICAL:  You cant control the image size for pictures when sending as attachemtns in email. In previous Os 6 & 7 you could select, "smaller, mide size, large or original". These options are gone.

  • Has anyone noticed this V-Drums mapping bug in Drum Designer?

    Hi guys
    There seems to be a bug in the v-drums mapping for Drum Designer... wondering if anyone else has noticed this?
    On standard Roland V-Drums kits, the toms are mapped as follows:
    High tom: C2
    Low tom: A1
    Floor tom: G1
    On some of the Drum designer kits, such as "Neo Soul" and "Retro Rock", the above tom mapping works correctly.
    However, for other kits, such as "SoCal" and "Roots Kit", the low tom is played when either the low tom (A1) or the floor tom (G1) is played on the V-Drums kit.
    It appears that for some reason, there are some kits such as the two mentioned above, that are mapped incorrectly so that the same low tom sound is played when the drummer is either hitting the low tom or the floor tom. I am using a standard Roland TD12 kit.
    I've raised this as a bug using Apple's "Logic Feedback" page - hopefully they will check it out soon!
    Cheers,
    Mike

    There are 2 work arounds for this situation.
    - edit the midi note sent by the module to set it to F1 (kit - inst - F4 - F5 - note number)
    - insert a midi transformer between your Roland module and the drummer track in logic's midi environnement window
    The second option is more tricky but it opens up a whole word of other tranformations which are worth exploring.
    HTH
    (I'm french, I hope this explanation  was clear enough ...)

  • Cover replaces cover (bug ?) iTunes 7.6.1. (9)

    After last update iTunes 7.6.1. (9) the old album-cover is REPLACED by the new added cover instead of adding it !! Enoying, because I sometimes like to add 2 or more images to the mp3 file like front and back-cover.
    Bug ???

    This was posted by Mimico Kid in another thread on the problem; perhaps it will help:
    This can be a tricky problem to figure out since iTunes doesn't specify what file name is "invalid or too long" and there's no documentation on what determines if a file name is "invalid or too long".
    We had one user report that he was able to use his/her keen eyesight to note the last file that appeared before the error message appeared and it turned out that file was the cause of his/her trouble.
    If your eyesight isn't that keen, I'd suggest concentrating on the file name being too long possibility.
    The entire directory path leading to the file is considered part of the file name so, as an example, iTunes' default settings might place a particular file at C:\Documents and Settings\ user name \My Documents\My Music\iTunes\iTunes Music\artist folder\album folder\whatever.m4a.
    Is the directory path leading to your consolidated location much longer than that?
    polydorus has suggested a way to look over your file names: Assuming your music is currently in the default location, make your way there with Windows Explorer and select List in the View menu menu and see if anything stands out as being unusual.

  • Word 2011 for Mac Book pro - I have found that my cursor disappears sometimes when I click on a toolbar function. I found out it is a bug, that the Mac loses 'focus'. I can correct it temporarily by clicking on Format - Font - Cancel. Any info?

    I have Word 2011 on a Mac Book Pro and have had problems with a dissapearing cursor - it makes editing tricky
    After googling it I found out that there is a bug where the Mac loses focus if you click away from the document - it also does this with italics according to other users.
    I had a play with it and found out that when I click on the toolbar in a document where this happens, the cursor disappears, e.g. changing font colour etc. And then, when I click on Format - Font - Cancel it returns
    I'd be interested if anyone else has a comment to add, please do
    thanks

    BTW (speaking as a Dad of 3 daughters in Grad school) if you don't already have and use a DropBox account, or some other similar online "cloud" based backup of your school documents, you should start doing so immediately. By keeping all of your important documents in the Dropbox folder on your computer, you have instant access to them from any other computer (or iPad), should you be w/o your computer while in for repairs (or if, God forbid, it is stolen). It's free for 2 GB of online storage, which is more than enough for a few years worth of Word documents, etc. (If you get other people to sign up via your email "invitation", then Dropbox gives you even more free storage space.) Every time you close a document, it is updated on the Dropbox servers (encrypted), if it is in the Dropbox folder (assuming you give it a few seconds to update before turning off your computer). Do a google search of "Cloud based storage comparisons" to compare the amount of free space each of the competing services give you.

  • How do I tell Apple, Inc. of a bug in Preview?

    I can't seem to find anywhere in the product menus or on Apple's website to post a bug report for the Preview application in Snow Leopard (10.6.0). How does one go about letting them know so it gets fixed?
    Also - I can't seem to post a question in the 10.6.0 Snow Leopard Discussion Group. Did they remove that or am I blind?
    Thanks,
    Eric

    Ericw wrote:
    In 10.5 Leopard when I take several PDFs and add them to an open in Preview using the sidebar I can save it, and it will be a multipage PDF containing all the PDFs I added. In 10.6 I've tried doing this several times and each time it does not save the additional pages from the other PDF documents, it will only show the original PDF I started with.
    This is still possible in Snow Leopard. Apple has added an additional feature(s) to Preview that makes it just a bit trickier. You just have to be careful where you place the new PDFs in the original document.
    1. Open the first PDF and show the Sidebar.
    2. Highlight the additional PDFs you want to add (or open the PDFs and highlight the pages you want to add) to the first PDF.
    3. Drag the additional PDFs or pages to the Sidebar of the first PDF. Be sure that the background color in the Sidebar turns gray. Drop the additional PDFs or pages where desired. Just be sure that the background of the SIdebar of the receiving PDF has turned gray when you drop the additional material.
    4. Save the result.
    The tricky and confusing part is that you can drag and drop additional pages to the beginning or end of the original PDF and create two or more documents (look at the window title). If the background of the Sidebar remains white when you do the drag and drop, you will be viewing more than one document in the Preview window. When you go to save the document, you will not be adding the additional content to the original PDF.
    Matt

  • Tricky Issue with connecting to Lync server from my desktop lync client 2010

    I am facing a tricky situation here,
    Firstly i have 3 modes of connecting my laptop to the internet as follows:
    1)Using Wi-Fi connection.
    2)A physical LAN cable connection
    3)An internet data card (A USB data card).
    Now, i can comfortably use my Lync using 1st and 2nd mode of connectivity. But i am having a real issue using the 3rd mode of connectivity i.e using internet data card, it just doesn't connect to the Lync server at all, even though i can browse internet
    very well.
    Later i got a workaround to solve this, what i did was, i connect to internet first with 1st and 2nd modes i.e wifi or lan cable and then i also connect to internet using 3rd mode i.e data card.
    After this i start my Lync, which  now connects perfectly and then when it is connected and working.
    I disconnect my WiFi or LAN cable this causes Lync to restart, but this time it connect within minutes again using internet of my datacard, isn't this Bizarre ??
    Now Could someone please help me to connect the Lync just  by using my internet datacard?
    Atlast 2 thing which may be of help is :
    1)I can easily connect Outlook to the exchange server using my datacard and retrieve my mails.
    2)When i connect to internet using my internet datacard, I can still see "Not Connected Symbol"  in my network indicator on my Win7 PC, But i can still Brows
    internet.
    This problem may have something to do with networking, not sure. Please Help me to solve this !!!
    Ambrish

    Infact it was a Network Issue, found following on technet and solved the issue:
    I found a solution for (my version of) this problem.  My tray icon never showed the red X, but if I clicked on the icon, the popup showed a bigger icon with a red X, and said "Not connected".  As in your case, Internet worked, but I'm unable to setup
    a VPN connection because it insists on using a non-existent modem, obviously because I'm "not connected" (which I am). 
    I monitored the processes running the NlaSvc and Netprofm services (using ProcMon), and noticed that both were denied read/write access to subkeys within the HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList hierarchy.  
    The processes were running as NetworkService and LocalService, respectively, so I tried adding full access for these service accounts to the entire subkey
    mentioned above.  Notice that permissions are not automatically inherited in the registry, so you may need to explicitly "replace all child object permissions with inheritable permissions from this object".
    Within seconds, Network and Sharing Center tells me I'm connected to my domain.  Yay!
    A reboot was required to fix the tray icon and its popup.
    However, I'm still unable to add my VPN connection.
    I'm interested in hearing from you guys if your registries miss the same permissions?  If so, Windows 7 must have a bug somewhere with misaligned service permissions/rights.
    Ambrish

  • Using TFS and email for bug reports or feature requests

    We've just rolled out a beta of our website and are soliciting feedback from external customers.  We set up a distribution list in Exchange where those emails all come to, but it's not practical.  It's difficult to track, it's non threaded and
    we have different people responding and testing the same items.
    We recently installed TFS 2010 to give it a trial run (nobody has ever used TFS before at all nor is anyone really familiar with it) and I have to imagine that you can use TFS to provide this sort of functionality.  Is there a paper or website out there
    that discussion doing this via TFS?  Basically what I'm looking for is:
    1. User is presented with a webform, fills it out, clicks submit which generates an email sent to us (done)
    1b. An auto response message is sent to the user who submits the form (not done as Exhchange distro wont do this without going the public folder route)
    2. Instead of the email coming to us, it would go to TFS which would auto-open a ticket
    3. All of us would have access to the ticket queue and be able to do the following
    a. ask further questions to the end user, have it sent to them automatically, update the ticket with the emails so we can all follow the thread
    b. able to reassign the ticket to a backlog, or as a bug to a current iteration or simply close it
    I'm an IT guy/project manager rather than a developer but I'm pretty good at following documentation if I can find it for what I'm trying to do.  Thanks for any pointers.

    Ahh, thanks for the extra details and clarification.  The features that you are asking for are definitely not provided out of the box, but are implementable using the TFS SDK.  Inlining a suggestion of one way your developers could
    implement this:
    1. User is presented with a webform, fills it out, clicks submit which generates an email sent to us (done)
    Have the code for the webform make a call to TFS to add a new work item with a special iteration path, e.g. "UnconfirmedCustomerRequests" or a special field like "ActiveCustomerRequest" set to true.  You can add a potentially add customer
    email address field to the work item template to keep track of the email address.  Then send the email out, and include the TFS bug id (and a link to the bug in TFS web access, if desired) in the email.
    1b. An auto response message is sent to the user who submits the form (not done as Exhchange distro wont do this without going the public folder route)
    Why can't the code for your web form take care of that?
    2. Instead of the email coming to us, it would go to TFS which would auto-open a ticket
    Taken care of in step 1
    3. All of us would have access to the ticket queue and be able to do the following
    a. ask further questions to the end user, have it sent to them automatically, update the ticket with the emails so we can all follow the thread
    You can write a web service that listens for notifications from TFS when certain work items are changed.  Updating the work item from customer replies may be trickier without writing another web form that talks to TFS or an email
    parser.
    b. able to reassign the ticket to a backlog, or as a bug to a current iteration or simply close it.

  • Bug in Adobe Reader

    Oracle has informed us that their Outside In product's PDF output doesn't render (converted MS Word documents containing Cyrillic converted into PDF) in Reader because Reader has a font-choice-related bug: "This is a tricky issue in which one of the Adobe-defined character sets claims support for the Cyrillic characters, but the characters do not render properly in Acrobat Reader when we use that character set."
    Can someone confirm this is a Reader bug, and will it be fixed?

    Appears to be a printer driver issue.
    Printer is a Lexmark Optra E312.
    The problem occurred when printing in non-Postscript mode.
    If I print in Postscript mode, all's well.
    I'll check whether Lexmark has any updated drivers.

Maybe you are looking for

  • Why can't I use my normal mail account for synching notes

    Hi there, I maintain my father's iDevices/computers as he has Parkinsons and does not understand the technology behind how these services work. I need to maintain as simple a configuration as possible. As an example calendaring is difficult as new en

  • Safari and webmail email alerts - how to turn off?

    One of the webmails I use has annoying feature - it alerts me with every incoming email. Safari icon starts to jump at the Dock and a small window appears telling me that I have email! I have searched my webmail settings but there is no way to turn i

  • Can i safely delete the indexedDB folder from profile? 3gb+ is alot

    saving a backup of profile and discovered 3gb folder indexedDB was wondering if its safe to delete...or what it is even for.

  • How can we edit alv report output.

    hi all, how can we edit alv report output

  • Double Data Deal

    So Verizon is rolling out a double data deal starting today.  Pay for 2gb and you actually get 4gb for the same price.  Pay for 5gb and you get 10, etc... This is for new and existing customers, but there's a catch.  It is for 4G phones only.  I just